diff options
Diffstat (limited to 'macros/optex/base/slides.opm')
-rw-r--r-- | macros/optex/base/slides.opm | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/macros/optex/base/slides.opm b/macros/optex/base/slides.opm index 0fed12ac7f..4a006c38c1 100644 --- a/macros/optex/base/slides.opm +++ b/macros/optex/base/slides.opm @@ -1,6 +1,6 @@ % This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \slideshow {Slides style for OpTeX <2021-04-22>} % loaded on demand by \slides +\_codedecl \slideshow {Slides style for OpTeX <2022-03-08>} % loaded on demand by \slides \_doc ----------------------------- Default margins and design is declared here. @@ -56,14 +56,8 @@ For transparency we need to define special graphics states. \_cod ----------------------------- -\_addextgstate{/Invisible <</ca 0 /CA 0>>} -\_addextgstate {/Visible <</ca 1 /CA 1>>} - -\_def\_Invisible {\_pdfliteral{/Invisible gs}} -\_def\_Visible {\_pdfliteral{/Visible gs}} -\_def\_Transparent {\_Invisible \_aftergroup \_Visible} - -\_public \Invisible \Visible \Transparent ; +\_def\_Transparent {\_transparency255 } +\_public \Transparent ; \_def\_use#1#2{\_ifnum\_layernum#1\_relax#2\_fi} \_def\_pshow#1{\_use{=#1}\Red \_use{<#1}\_Transparent \_ignorespaces} @@ -108,7 +102,7 @@ The `\bye` macro is redefined here as an alternative to `\pg.`. \_cod ----------------------------- -\_def\_endslides{\_byehook \_end} +\_def\_endslides{\_vfill \_supereject \_byehook \_end} \_def\bye{\_pg.} \_doc ----------------------------- @@ -298,6 +292,9 @@ The user manual of \OpTeX/ slides are in `op-slides.tex` file. +2022-03-08 \Transparent re-defined, \Visible, \Invisible removed +2022-03-05 \_addextgstate: new syntax used +2022-03-03 \supereject in \_endslides before \_byehook added 2021-04-22 \adef* moved back, bug fixed in more-macros.opm 2021-04-21 \adef* removed from slides.opm, bug fixed 2021-04-19 \_byehook added to \_endslides. |