summaryrefslogtreecommitdiff
path: root/macros/optex/demo/op-slides.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/demo/op-slides.tex')
-rw-r--r--macros/optex/demo/op-slides.tex31
1 files changed, 16 insertions, 15 deletions
diff --git a/macros/optex/demo/op-slides.tex b/macros/optex/demo/op-slides.tex
index 50bcdaffa6..d1424b0d91 100644
--- a/macros/optex/demo/op-slides.tex
+++ b/macros/optex/demo/op-slides.tex
@@ -151,22 +151,22 @@ The previous page was created by:
\sec Notes to `\slideshow`
-* When `\slideshow` is active then you cannot reference sections by
- hyperlinked `\ref`. Only `\pgref` works (and goes to the last layer
- of the referenced page).
-* If the text overfull the page (slide) then it follows to the next page without
+* When `\slideshow` is active then references created by `\ref`
+ point to the first uncovering \"virtual" page where the destination is
+ and references created by `\pgref` point to the last \"virtual" page.
+* If the text overfulls the page (slide) then it follows to the next page without
saying explicitly `\pg;`. But `\slideshow` cannot work in this case.\pg+
* If `\slideshow` then each part of page between two `\pg`'s or between
`\slideshow` and the first `\pg` is processed in a local group.
* If not `\slideshow` then the document is not separated to groups.
- This can lead to different results. So, you can put `\slideopen` command
+ This can create different results. So, you can put `\slideopen` command
instead of `\slideshow`. Then local groups are opened exactly as when
`\slideshow` is used but `\slideshow` is not activated. Example:
\begtt
\slides
\def\foo...{...} % global definitions.
-%\slideshow % printing version, no slide show.
+%\slideshow
\slideopen % opens group for first page.
... first page
\pg; % closes group and opens group for second page.
@@ -216,7 +216,7 @@ The previous page was created by:
* `\putpic <right> <up> <width> <height> {<image-file>}`
puts the image with desired <width> and <height> at the position like
- `\puttext` puts the text.
+ `\puttext` puts the text.\pg+
\putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
* The ring above is the result of
@@ -249,10 +249,11 @@ If you really need something unsupported by `\pg+` then you can use
\endlayers
\endtt
-* The <layered text> should include conditions like
- `\ifnum\layernum...` or `\ifcase\layernum`.
- It is printed <number> times to more slide pages (layers) with the same
- surrounding text. See next page...
+* The `\layers` opens <number> following pages with the same
+ surrounding text. The counter `\layernum` is incemented from one to
+ <number> . The <layered text> should use `\layernum` including
+ conditions like `\ifnum\layernum` or `\ifcase\layernum`.
+ See next page...
\pg; %------------------------------------------------------------------
@@ -265,10 +266,10 @@ partially show):
\def\use#1#2{\ifnum\layernum#1\relax#2\fi}
\def\pshow#1{\use{=#1}\Red \use{<#1}\Transparent \ignorespaces}
\endtt
-`\use{=3}{do something}` does something only if `\layernum=3`.
+`\use{=<num>}{<something>}` does <something> only if `\layernum=<num>`.\kern-1em
The `{\pshow<num> <text>}` prints <text> in Red when current layer is equal
-to <num> or it prints <text> normally when current layers is greater than <num>.
+to <num> or it prints <text> normally when the current layer is greater than <num>.
The transparent (invisible) text is used in other cases.
The following dance:
@@ -288,7 +289,7 @@ was generated by
\pg+
* The <layered text> is treated as a macro parameter. So, you cannot use verbatim
nor `\sec` titles here. Maximal one `\layers` environment can be per one
- page (terminated by `\pg+` or `\pg;` or `\pg.`
+ page (terminated by `\pg+` or `\pg;` or `\pg.`).
\pg; %------------------------------------------------------------------
@@ -298,7 +299,7 @@ The \LaTeX{} package {\bf\Blue Beamer} gives much more features and many themes
are prepared for Beamer, {\bf\Red but}
\pg+
* the user of Beamer is forced to {\em program} his/her document using
- dozens of \code{\\begin{foo}} and \code{\\end{foo}} and many another
+ dozens of \code{\\begin{foo}} and \code{\\end{foo}} and many other
programming constructions,\pg+
* plain \TeX{} gives you a possibility to simply
{\em write} your document with minimal markup. The result is more compact.