From b57fe483be9c2f978e9c3239a2382ef696ae88ae Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Wed, 23 Dec 2009 20:05:29 +0000 Subject: [PATCH] Improve typesetting and fix a typo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24103 a1c6a512-1295-4272-9138-f99709370657 --- manual/advanced_topics/main.tex | 3 ++- .../advanced_topics/viewports/colour-uivp-syntax.tex | 5 +++-- manual/advanced_topics/viewports/colour-vp-syntax.tex | 11 ++++++----- .../viewports/grayscale-uivp-syntax.tex | 7 ++++--- .../advanced_topics/viewports/grayscale-vp-syntax.tex | 9 +++++---- manual/advanced_topics/viewports/mono-uivp-syntax.tex | 3 ++- manual/advanced_topics/viewports/mono-vp-syntax.tex | 5 +++-- 7 files changed, 25 insertions(+), 18 deletions(-) diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index 858b43c31c..cb20073d9e 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex @@ -160,7 +160,7 @@ file find the instructions on the Rockbox website: } Only the first two parameters \emph{have} to be specified, the others can - be omitted using '-' as a placeholder. The syntax is very similar to WPS + be omitted using `-' as a placeholder. The syntax is very similar to WPS viewports (see \reference{ref:Viewports}). Briefly: \nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-uivp-syntax.tex}} @@ -580,3 +580,4 @@ This can be used to test new firmware versions without deleting your current version. \opt{archos}{\input{advanced_topics/archos-flashing.tex}} + diff --git a/manual/advanced_topics/viewports/colour-uivp-syntax.tex b/manual/advanced_topics/viewports/colour-uivp-syntax.tex index e681f45fc8..cb759f8ad1 100644 --- a/manual/advanced_topics/viewports/colour-uivp-syntax.tex +++ b/manual/advanced_topics/viewports/colour-uivp-syntax.tex @@ -1,6 +1,6 @@ \begin{itemize} - \item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF. - \item 'font' is a number - '0' is the built-in system font, '1' is the + \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF. + \item `font' is a number: 0 is the built-in system font, 1 is the user-selected font. \end{itemize} @@ -11,3 +11,4 @@ This displays the menu starting at 15px from the left of the screen and 20px from the top of the screen. It is 100px wide and 150px high. The font and the foreground/background colours are defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu. + diff --git a/manual/advanced_topics/viewports/colour-vp-syntax.tex b/manual/advanced_topics/viewports/colour-vp-syntax.tex index c88451724c..de424dcd4e 100644 --- a/manual/advanced_topics/viewports/colour-vp-syntax.tex +++ b/manual/advanced_topics/viewports/colour-vp-syntax.tex @@ -3,13 +3,13 @@ {\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}% \begin{itemize} - \item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF. - \item 'font' is a number - '0' is the built-in system font, '1' is the + \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF. + \item `font' is a number: 0 is the built-in system font, 1 is the user-selected font. \item Only the coordinates \emph{have} to be specified. Leaving the other definitions blank will set them to their default values. - \note{The correct number of {\textbar}s with hyphens in blank fields - are still needed in any case.} + \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in + blank fields are still needed in any case.} \end{itemize} \begin{example} @@ -23,4 +23,5 @@ width/height & remaining part of screen \\ font & user defined \\ forground/background colours & defined by theme \\ -\end{rbtabular} \ No newline at end of file +\end{rbtabular} + diff --git a/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex b/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex index 3b420ce7d5..23bc0f38a5 100644 --- a/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex +++ b/manual/advanced_topics/viewports/grayscale-uivp-syntax.tex @@ -1,14 +1,15 @@ \begin{itemize} - \item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3' + \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3 (= white). - \item 'font' is a number - '0' is the built-in system font, '1' is the + \item `font' is a number: 0 is the built-in system font, 1 is the user-selected font. \end{itemize} \begin{example} \config{ui viewport: 15,20,100,150,-,-,-} \end{example} -his displays the menu starting at 15px from the left of the screen and 20px +This displays the menu starting at 15px from the left of the screen and 20px from the top of the screen. It is 100px wide and 150px high. The font and the foreground/background shades are defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu. + diff --git a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex index 9f15b514b2..ec8db029a5 100644 --- a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex +++ b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex @@ -3,14 +3,14 @@ {\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}% \begin{itemize} - \item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3' + \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3 (= white). - \item 'font' is a number - '0' is the built-in system font, '1' is the + \item `font' is a number: 0 is the built-in system font, 1 is the user-selected font. \item Only the coordinates \emph{have} to be specified. Leaving the other definitions blank will set them to their default values. - \note{The correct number of {\textbar}s with hyphens in blank fields - are still needed in any case.} + \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in + blank fields are still needed in any case.} \end{itemize} \begin{example} @@ -25,3 +25,4 @@ font & user defined \\ shade & black foreground on white background \\ \end{rbtabular} + diff --git a/manual/advanced_topics/viewports/mono-uivp-syntax.tex b/manual/advanced_topics/viewports/mono-uivp-syntax.tex index bdf0a28eaa..d8e8d5e067 100644 --- a/manual/advanced_topics/viewports/mono-uivp-syntax.tex +++ b/manual/advanced_topics/viewports/mono-uivp-syntax.tex @@ -1,5 +1,5 @@ \begin{itemize} - \item 'font' is a number - '0' is the built-in system font, '1' is the + \item `font' is a number: 0 is the built-in system font, 1 is the user-selected font. \end{itemize} @@ -9,3 +9,4 @@ This displays the menu starting at 15px from the left of the screen and 20px from the top of the screen. It is 100px wide and 150px high. The font is defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu. + diff --git a/manual/advanced_topics/viewports/mono-vp-syntax.tex b/manual/advanced_topics/viewports/mono-vp-syntax.tex index 3126d81a10..20c16c8420 100644 --- a/manual/advanced_topics/viewports/mono-vp-syntax.tex +++ b/manual/advanced_topics/viewports/mono-vp-syntax.tex @@ -7,8 +7,8 @@ user-selected font. \item Only the coordinates \emph{have} to be specified. Leaving the other definitions blank will set them to their default values. - \note{The correct number of {\textbar}s with hyphens in blank fields - are still needed in any case.} + \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in + blank fields are still needed in any case.} \end{itemize} \begin{example} @@ -22,3 +22,4 @@ width/height & remaining part of screen \\ font & user defined \\ \end{rbtabular} +