• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Manual
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by bger - 2006-07-26
Last edited by bluebrother - 2008-12-01

FS#5721 - The \\setting{} keyword generates bad/heavy html code

just an example: The following string (taken from rockbox_interface/main.tex)

“Rockbox lets you browse your music in either of two ways. The
\\setting{File Browser} lets you navigate through <…>”

in the H300 html manual looks like

“<p class=”indent”> Rockbox lets you browse your music in either of two ways. The <span
class=”small-caps”>e</span> B<span
class=”small-caps”>r</span> </span>lets you
navigate through <…>”

Also, i didn’t dig into how the credits list is generated, but there every single character of the developers’ names is surrounded by <span..></span> (just look at the source of ) This gives about 3100 <span></span> tags …

Closed by  bluebrother
2008-12-01 21:23
Reason for closing:  Fixed
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

now using the soul package for small caps in html output which addresses this issue.

This also applies to the credits list.

I haven’t found time to look into this further but it definitely is caused by the usage of \\textsc, not the setting macro itself (the setting macro simply uses textsc to display the text). A quick fix would be to use a different font style than textsc on the html output. I’ll dig into it when my free time increases again.

Also, as far as I tested the resulting code validates against, so this shouldn’t cause any serious trouble (except from a heavier load for the browser when rendering).

bger commented on 2006-07-26 07:50

Yep, the problem is just the heavier load … Try to load the credits page in Firefox on Duron @ 1300MHz :)


Available keyboard shortcuts


Task Details

Task Editing