From 6013614cdd0dff7a515fb795fe76a0920c4d596e Mon Sep 17 00:00:00 2001 From: Alex Parker Date: Tue, 9 Aug 2011 13:53:26 +0000 Subject: Manual: update %cs tag and make list more explicit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30271 a1c6a512-1295-4272-9138-f99709370657 --- manual/appendix/wps_tags.tex | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) (limited to 'manual/appendix/wps_tags.tex') diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 8946e21ef8..59ffe8ea5f 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -266,17 +266,41 @@ Example: \config{\%?mp} \section{Current Screen} \begin{tagmap} - \config{\%cs} & The current screen, 1-15, in the order: - Menus, WPS, Recording screen, FM Radio screen, Current Playlist screen, - Settings menus, File browser, Database, Plugins, Quickscreen, - Pitchscreen, Setting chooser, Playlist Catalog Viewer, Plugin, - Conext Menu, System Info screen, Time and Date Screen, - Bookmarks\\ + \config{\%cs} & The current screen, 1-18, in the order shown below\\ \end{tagmap} + +\begin{table} + \begin{rbtabular}{.75\textwidth}{lX}% + {\textbf{Number} & \textbf{Screen}}{}{} + 1 & Menus \\ + 2 & WPS \\ + 3 & Recording screen \\ + 4 & FM Radio screen \\ + 5 & Current Playlist screen \\ + 6 & Settings menus \\ + 7 & File browser \\ + 8 & Database browser \\ + 9 & Plugin browser \\ + 10 & Quickscreen \\ + 11 & Pitchscreen \\ + 12 & Setting chooser \\ + 13 & Playlist Catalogue Viewer \\ + 14 & Plugin \\ + 15 & Context menu \\ + 16 & System Info screen \\ + 17 & Time and Date Screen \\ + 18 & Bookmark browser \\ + \end{rbtabular} +\end{table} + The tag can also be used as the switch in a conditional tag. For players without -some capabilities (e.g. having no FM radio) some values will be never yielded. +certain capabilities (e.g. no FM radio) some values will never be returned. + +Examples: + +\config{You are in the \%?cs
} -Example: \config{You are in the \%?cs
} +\config{\%?if(\%cs, =, 2)} \section{List Title (\fname{.sbs} only)} \begin{tagmap} -- cgit v1.2.3