From 87b2ad14c7f4800a7e05c61de22a47f8f4df9d57 Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Thu, 20 May 2010 16:20:58 +0000 Subject: Another go at FS#11295 -- Use nice 'times' glyphs for describing dimensions. This time properly implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26198 a1c6a512-1295-4272-9138-f99709370657 --- manual/advanced_topics/main.tex | 6 +++--- manual/appendix/wps_tags.tex | 2 +- manual/getting_started/installation.tex | 2 +- manual/platform/archosfmrecorder.tex | 4 +++- manual/platform/archosondiofm.tex | 4 +++- manual/platform/archosondiosp.tex | 4 +++- manual/platform/archosplayer.tex | 4 +++- manual/platform/archosrecorder.tex | 4 +++- manual/platform/cowond2.tex | 4 +++- manual/platform/gigabeatfx.tex | 4 +++- manual/platform/gigabeats.tex | 4 +++- manual/platform/iaudiom3.tex | 4 +++- manual/platform/iaudiom5.tex | 4 +++- manual/platform/iaudiox5.tex | 4 +++- manual/platform/ipod1g2g.tex | 4 +++- manual/platform/ipod3g.tex | 4 +++- manual/platform/ipod4g.tex | 4 +++- manual/platform/ipodcolor.tex | 4 +++- manual/platform/ipodmini1g.tex | 4 +++- manual/platform/ipodnano1g.tex | 4 +++- manual/platform/ipodnano2g.tex | 4 +++- manual/platform/ipodvideo.tex | 4 +++- manual/platform/iriverh10.tex | 4 +++- manual/platform/iriverh100.tex | 4 +++- manual/platform/iriverh10_5gb.tex | 4 +++- manual/platform/iriverh300.tex | 4 +++- manual/platform/mrobe100.tex | 4 +++- manual/platform/sa9200.tex | 4 +++- manual/platform/sansac200.tex | 4 +++- manual/platform/sansaclip.tex | 4 +++- manual/platform/sansaclipplus.tex | 4 +++- manual/platform/sansaclipv2.tex | 4 +++- manual/platform/sansae200.tex | 5 +++-- manual/platform/sansae200v2.tex | 4 +++- manual/platform/sansafuze.tex | 4 +++- manual/platform/vibe500.tex | 4 +++- manual/plugins/chip8emulator.tex | 4 ++-- manual/preamble.tex | 3 +++ manual/rockbox_interface/main.tex | 2 +- 39 files changed, 110 insertions(+), 42 deletions(-) diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index d863453e78..a75e2505a8 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex @@ -125,7 +125,7 @@ file find the instructions on the Rockbox website: \subsection{\label{ref:LoadingBackdrops}Loading Backdrops} Rockbox supports showing an image as a backdrop in the \setting{File Browser} and the menus. The backdrop image must be a \fname{.bmp} file of the exact - same dimensions as the display in your \dap{} (\genericimg{} with the last + same dimensions as the display in your \dap{} (\dapdisplaysize{} with the last number giving the colour depth in bits). To use an image as a backdrop browse to it in the \setting{File Browser} and open the \setting{Context Menu} (see \reference{ref:Contextmenu}) on it and select the option @@ -221,11 +221,11 @@ are discussed below. \item Lines beginning with \# are comments and will be ignored. \end{itemize} -\note{Keep in mind that your \dap{} resolution is \genericimg{} (with +\note{Keep in mind that your \dap{} resolution is \dapdisplaysize{} (with the last number giving the colour depth in bits) when designing your own WPS, or if you use a WPS designed for another target. \opt{HAVE_REMOTE_LCD}{The resolution of the remote is - \opt{h100,h300}{128x64x1}\opt{x5,m5}{128x96x2} pixels.}} + \opt{h100,h300}{128$\times$64$\times$1}\opt{x5,m5}{128$\times$96$\times$2} pixels.}} \nopt{lcd_charcell}{ \subsubsection{\label{ref:Viewports}Viewports} diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 577d31eeef..f0adc22824 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -371,7 +371,7 @@ Examples: \begin{enumerate} \item Load albumart at position 20,40 and display it without resizing:\\ \config{\%Cl{\textbar}20{\textbar}40{\textbar}{\textbar}{\textbar}} - \item Load albumart at position 0,20 and resize it to be at most 100x100 + \item Load albumart at position 0,20 and resize it to be at most 100$\times$100 pixels. If the image isn't square, align it to the bottom-right corner:\\ \config{\%CL{\textbar}0{\textbar}20{\textbar}r100{\textbar}b100{\textbar}} diff --git a/manual/getting_started/installation.tex b/manual/getting_started/installation.tex index 02394248e9..8a07986aa7 100644 --- a/manual/getting_started/installation.tex +++ b/manual/getting_started/installation.tex @@ -82,7 +82,7 @@ follow the instructions at cards until we are satisfied the driver is safe to use.\\} \item There is only basic touchscreen support. Further work is required to make the UI more usable with a touchscreen in general. - \note{The touchscreen can be used in two modes, either a 3x3 grid mode + \note{The touchscreen can be used in two modes, either a 3$\times$3 grid mode which divides the screen into areas to emulate a set of physical buttons (the default setting), or ``absolute point'' mode where the touchscreen is used to point to items on the screen.\\} diff --git a/manual/platform/archosfmrecorder.tex b/manual/platform/archosfmrecorder.tex index 3464ffa914..bd7319313d 100644 --- a/manual/platform/archosfmrecorder.tex +++ b/manual/platform/archosfmrecorder.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Archos} \newcommand{\playertype}{Recorder V2/FM} \newcommand{\playerlongtype}{Recorder V2 and FM} -\newcommand{\genericimg}{112x64x1} +\newcommand{\dapdisplaywidth}{112} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{archosfmrecorder} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/archosondiofm.tex b/manual/platform/archosondiofm.tex index 40d0220bac..0bca03ea5b 100644 --- a/manual/platform/archosondiofm.tex +++ b/manual/platform/archosondiofm.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Archos} \newcommand{\playertype}{Ondio} \newcommand{\playerlongtype}{Ondio 128 FM} -\newcommand{\genericimg}{112x64x1} +\newcommand{\dapdisplaywidth}{112} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{archosondiofm} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/archosondiosp.tex b/manual/platform/archosondiosp.tex index f1eab45152..f984b17368 100644 --- a/manual/platform/archosondiosp.tex +++ b/manual/platform/archosondiosp.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Archos} \newcommand{\playertype}{Ondio} \newcommand{\playerlongtype}{Ondio 128 SP} -\newcommand{\genericimg}{112x64x1} +\newcommand{\dapdisplaywidth}{112} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{archosondiosp} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/archosplayer.tex b/manual/platform/archosplayer.tex index 1cdc67937a..89beb82655 100644 --- a/manual/platform/archosplayer.tex +++ b/manual/platform/archosplayer.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Archos} \newcommand{\playertype}{Studio/Player} \newcommand{\playerlongtype}{Jukebox 5000, 6000, Studio 10 and 20} -\newcommand{\genericimg}{charx11x1} +\newcommand{\dapdisplaywidth}{char} +\newcommand{\dapdisplayheight}{11} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{archosplayer} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/archosrecorder.tex b/manual/platform/archosrecorder.tex index e9ede9a2a7..2c0677f31d 100644 --- a/manual/platform/archosrecorder.tex +++ b/manual/platform/archosrecorder.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Archos} \newcommand{\playertype}{Recorder} \newcommand{\playerlongtype}{Recorder 6, 10, 15 and 20} -\newcommand{\genericimg}{112x64x1} +\newcommand{\dapdisplaywidth}{112} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{archosrecorder} %Used to name the player, e.g. ...to the \dap diff --git a/manual/platform/cowond2.tex b/manual/platform/cowond2.tex index be06b248cd..9dc14f894f 100644 --- a/manual/platform/cowond2.tex +++ b/manual/platform/cowond2.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Cowon} \newcommand{\playertype}{D2} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{320x240x16} +\newcommand{\dapdisplaywidth}{320} +\newcommand{\dapdisplayheight}{240} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{cowond2} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/gigabeatfx.tex b/manual/platform/gigabeatfx.tex index 56e8a7868b..642e402db3 100644 --- a/manual/platform/gigabeatfx.tex +++ b/manual/platform/gigabeatfx.tex @@ -13,7 +13,9 @@ \newcommand{\playerman}{Toshiba} \newcommand{\playertype}{Gigabeat F and X Series} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{240x320x16} +\newcommand{\dapdisplaywidth}{240} +\newcommand{\dapdisplayheight}{320} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{gigabeatfx} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/gigabeats.tex b/manual/platform/gigabeats.tex index 920eb1789f..917b678b6e 100644 --- a/manual/platform/gigabeats.tex +++ b/manual/platform/gigabeats.tex @@ -12,7 +12,9 @@ \newcommand{\playerman}{Toshiba} \newcommand{\playertype}{Gigabeat S Series} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{240x320x16} +\newcommand{\dapdisplaywidth}{240} +\newcommand{\dapdisplayheight}{320} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{gigabeats} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iaudiom3.tex b/manual/platform/iaudiom3.tex index cffcc8e128..b9beafaa84 100644 --- a/manual/platform/iaudiom3.tex +++ b/manual/platform/iaudiom3.tex @@ -11,7 +11,9 @@ \newcommand{\playerman}{Iaudio} \newcommand{\playertype}{M3} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{128x96x2} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{96} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{iaudiom3} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iaudiom5.tex b/manual/platform/iaudiom5.tex index da45a1810b..cb82597bdd 100644 --- a/manual/platform/iaudiom5.tex +++ b/manual/platform/iaudiom5.tex @@ -11,7 +11,9 @@ \newcommand{\playerman}{Iaudio} \newcommand{\playertype}{M5} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x2} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{iaudiom5} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iaudiox5.tex b/manual/platform/iaudiox5.tex index 15785ea74e..0c85ab9470 100644 --- a/manual/platform/iaudiox5.tex +++ b/manual/platform/iaudiox5.tex @@ -11,7 +11,9 @@ \newcommand{\playerman}{Iaudio} \newcommand{\playertype}{X5} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x16} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{iaudiox5} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipod1g2g.tex b/manual/platform/ipod1g2g.tex index 28679a5025..05579821ab 100644 --- a/manual/platform/ipod1g2g.tex +++ b/manual/platform/ipod1g2g.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{1G / 2G} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x2} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{ipod1g2g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipod3g.tex b/manual/platform/ipod3g.tex index 21ca69adbb..d4427a83bf 100644 --- a/manual/platform/ipod3g.tex +++ b/manual/platform/ipod3g.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{3G} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x2} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{ipod3g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipod4g.tex b/manual/platform/ipod4g.tex index 06483fa6e2..bc62b4a73a 100644 --- a/manual/platform/ipod4g.tex +++ b/manual/platform/ipod4g.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{4G} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x2} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{ipod4g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipodcolor.tex b/manual/platform/ipodcolor.tex index 04dc457a81..645a76d6ab 100644 --- a/manual/platform/ipodcolor.tex +++ b/manual/platform/ipodcolor.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{Color} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{220x176x16} +\newcommand{\dapdisplaywidth}{220} +\newcommand{\dapdisplayheight}{176} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{ipodcolor} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipodmini1g.tex b/manual/platform/ipodmini1g.tex index 4613ecd20c..bba6ca9380 100644 --- a/manual/platform/ipodmini1g.tex +++ b/manual/platform/ipodmini1g.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{Mini} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{138x110x2} +\newcommand{\dapdisplaywidth}{138} +\newcommand{\dapdisplayheight}{110} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{ipodmini1g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipodnano1g.tex b/manual/platform/ipodnano1g.tex index 62811c3a2b..3ec065e947 100644 --- a/manual/platform/ipodnano1g.tex +++ b/manual/platform/ipodnano1g.tex @@ -8,7 +8,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{Nano} \newcommand{\playerlongtype}{\playertype{} 1st generation} -\newcommand{\genericimg}{176x132x16} +\newcommand{\dapdisplaywidth}{176} +\newcommand{\dapdisplayheight}{132} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{ipodnano1g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipodnano2g.tex b/manual/platform/ipodnano2g.tex index 88b02f8e3e..55a79ed793 100644 --- a/manual/platform/ipodnano2g.tex +++ b/manual/platform/ipodnano2g.tex @@ -8,7 +8,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{Nano} \newcommand{\playerlongtype}{\playertype{} 2nd generation} -\newcommand{\genericimg}{176x132x16} +\newcommand{\dapdisplaywidth}{176} +\newcommand{\dapdisplayheight}{132} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{ipodnano2g} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/ipodvideo.tex b/manual/platform/ipodvideo.tex index ff18551266..7291f105ee 100644 --- a/manual/platform/ipodvideo.tex +++ b/manual/platform/ipodvideo.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Ipod} \newcommand{\playertype}{Video} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{320x240x16} +\newcommand{\dapdisplaywidth}{320} +\newcommand{\dapdisplayheight}{240} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{ipodvideo} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iriverh10.tex b/manual/platform/iriverh10.tex index 038003019b..f032df70a6 100644 --- a/manual/platform/iriverh10.tex +++ b/manual/platform/iriverh10.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Iriver} \newcommand{\playertype}{H10} \newcommand{\playerlongtype}{\playertype{} 20~GB} -\newcommand{\genericimg}{160x128x16} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{iriverh10} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iriverh100.tex b/manual/platform/iriverh100.tex index 062a928575..509a676c0a 100644 --- a/manual/platform/iriverh100.tex +++ b/manual/platform/iriverh100.tex @@ -13,7 +13,9 @@ \newcommand{\playerman}{Iriver} \newcommand{\playertype}{H100} \newcommand{\playerlongtype}{iHP100, iHP115, iHP120, iHP140, H120 and H140} -\newcommand{\genericimg}{160x128x2} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{2} \newcommand{\specimg}{iriverh100} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iriverh10_5gb.tex b/manual/platform/iriverh10_5gb.tex index d6f6c8649a..0624290f85 100644 --- a/manual/platform/iriverh10_5gb.tex +++ b/manual/platform/iriverh10_5gb.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Iriver} \newcommand{\playertype}{H10} \newcommand{\playerlongtype}{\playertype{} 5~GB and 6~GB} -\newcommand{\genericimg}{128x128x16} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{iriverh10_5gb} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/iriverh300.tex b/manual/platform/iriverh300.tex index a69af98455..354287c5c5 100644 --- a/manual/platform/iriverh300.tex +++ b/manual/platform/iriverh300.tex @@ -11,7 +11,9 @@ \newcommand{\playerman}{Iriver} \newcommand{\playertype}{H3xx} \newcommand{\playerlongtype}{H320 and H340} -\newcommand{\genericimg}{220x176x16} +\newcommand{\dapdisplaywidth}{220} +\newcommand{\dapdisplayheight}{176} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{iriverh300} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/mrobe100.tex b/manual/platform/mrobe100.tex index 16dc669fec..148028ecd3 100644 --- a/manual/platform/mrobe100.tex +++ b/manual/platform/mrobe100.tex @@ -12,7 +12,9 @@ \newcommand{\playerman}{Olympus} \newcommand{\playertype}{m:robe 100} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x1} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{mrobe100} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sa9200.tex b/manual/platform/sa9200.tex index f5c5e4514e..6d6bbebffe 100644 --- a/manual/platform/sa9200.tex +++ b/manual/platform/sa9200.tex @@ -9,7 +9,9 @@ \newcommand{\playerman}{Philips} \newcommand{\playertype}{GoGear SA9200} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{128x160x16} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{160} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{sa9200} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansac200.tex b/manual/platform/sansac200.tex index 3d4cc1bc46..ded04c7865 100644 --- a/manual/platform/sansac200.tex +++ b/manual/platform/sansac200.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{c200 Series} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{132x80x16} +\newcommand{\dapdisplaywidth}{132} +\newcommand{\dapdisplayheight}{80} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{sansac200} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansaclip.tex b/manual/platform/sansaclip.tex index a39528fdc4..d302915f6a 100644 --- a/manual/platform/sansaclip.tex +++ b/manual/platform/sansaclip.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{Clip} \newcommand{\playerlongtype}{Clip v1} -\newcommand{\genericimg}{128x64x1} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{sansaclip} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansaclipplus.tex b/manual/platform/sansaclipplus.tex index 871d1c0276..0360b49a54 100644 --- a/manual/platform/sansaclipplus.tex +++ b/manual/platform/sansaclipplus.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{Clip+} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{128x64x1} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{sansaclipplus} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansaclipv2.tex b/manual/platform/sansaclipv2.tex index ba053535a6..dcfe679592 100644 --- a/manual/platform/sansaclipv2.tex +++ b/manual/platform/sansaclipv2.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{Clip} \newcommand{\playerlongtype}{Clip v2} -\newcommand{\genericimg}{128x64x1} +\newcommand{\dapdisplaywidth}{128} +\newcommand{\dapdisplayheight}{64} +\newcommand{\dapdisplaydepth}{1} \newcommand{\specimg}{sansaclip} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansae200.tex b/manual/platform/sansae200.tex index 1703a0c309..4fdf7f43ba 100644 --- a/manual/platform/sansae200.tex +++ b/manual/platform/sansae200.tex @@ -10,8 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{e200 and e200R Series} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{176x220x16} -\newcommand{\specimg}{sansae200} +\newcommand{\dapdisplaywidth}{176} +\newcommand{\dapdisplayheight}{220} +\newcommand{\dapdisplaydepth}{16}\newcommand{\specimg}{sansae200} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} %For use when referring to the player. E.g. the \daps\ capacity ... diff --git a/manual/platform/sansae200v2.tex b/manual/platform/sansae200v2.tex index d1f4fdffc2..508e5b612b 100644 --- a/manual/platform/sansae200v2.tex +++ b/manual/platform/sansae200v2.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{e200v2 Series} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{176x220x16} +\newcommand{\dapdisplaywidth}{176} +\newcommand{\dapdisplayheight}{220} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{sansae200} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/sansafuze.tex b/manual/platform/sansafuze.tex index 9ba14c4d9b..6de548b3d7 100644 --- a/manual/platform/sansafuze.tex +++ b/manual/platform/sansafuze.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Sansa} \newcommand{\playertype}{Fuze} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{220x176x16} +\newcommand{\dapdisplaywidth}{220} +\newcommand{\dapdisplayheight}{176} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{sansafuze} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/platform/vibe500.tex b/manual/platform/vibe500.tex index 1dc515d846..7397796cea 100644 --- a/manual/platform/vibe500.tex +++ b/manual/platform/vibe500.tex @@ -10,7 +10,9 @@ \newcommand{\playerman}{Packard Bell} \newcommand{\playertype}{Vibe 500} \newcommand{\playerlongtype}{\playertype} -\newcommand{\genericimg}{160x128x16} +\newcommand{\dapdisplaywidth}{160} +\newcommand{\dapdisplayheight}{128} +\newcommand{\dapdisplaydepth}{16} \newcommand{\specimg}{vibe500} %Used to name the player, e.g. ...to the \dap \newcommand{\dap}{player} diff --git a/manual/plugins/chip8emulator.tex b/manual/plugins/chip8emulator.tex index c410396039..71859c0c7b 100644 --- a/manual/plugins/chip8emulator.tex +++ b/manual/plugins/chip8emulator.tex @@ -6,10 +6,10 @@ To start a game open a \fname{.ch8} file in the \setting{File Browser} There are lots of tiny Chip8 games (usually only about 256 bytes to a couple of KB) which were made popular by the HP48 calculator's emulator for them. The original Chip8 had -64x32 pixel graphics, and the new superchip emulator supports 128x64 +64$\times$32 pixel graphics, and the new superchip emulator supports 128$\times$64 graphics. -The only problem is that they are based on a 4x4 keyboard, but since most +The only problem is that they are based on a 4$\times$4 keyboard, but since most games do not use all of the buttons, this can easily be worked around. To do this, one may put a \fname{.c8k} file with the same name as the diff --git a/manual/preamble.tex b/manual/preamble.tex index 23724ab287..3eef5eb3b8 100644 --- a/manual/preamble.tex +++ b/manual/preamble.tex @@ -140,6 +140,9 @@ {\end{itemize}} +\newcommand{\dapdisplaysize}{\dapdisplaywidth$\times$\dapdisplayheight$\times$\dapdisplaydepth} +\newcommand{\genericimg}{\dapdisplaywidth x\dapdisplayheight x\dapdisplaydepth} + % add screenshot image. % Usage: \screenshot{filename}{caption}{label} % By using the 'H' (HERE) placement, the screenshots are placed where diff --git a/manual/rockbox_interface/main.tex b/manual/rockbox_interface/main.tex index 9a69dde57a..fd139e7572 100644 --- a/manual/rockbox_interface/main.tex +++ b/manual/rockbox_interface/main.tex @@ -20,7 +20,7 @@ Throughout this manual, the buttons on the \dap{} are labelled according to the picture above. \opt{touchscreen}{ -The areas of the touchscreen in the 3x3 grid mode are in turn referred as follows: +The areas of the touchscreen in the 3$\times$3 grid mode are in turn referred as follows: \begin{table} \begin{center} %\begin{tabularx}{.82\textwidth}{l|c|r} -- cgit v1.2.3