olsak / OpTeX

OpTeX - LuaTeX format with extended Plain TeX macros
http://petr.olsak.net/optex/
35 stars 14 forks source link

Strange colour behaviour with slides #29

Closed gromadan closed 3 years ago

gromadan commented 3 years ago

Consider the following

\slides
\slideshow
\Green A \Black B
\pg;
C \Green D
\pg.

Now the letter C is green although I would expect black.

olsak commented 3 years ago

Fixed the bug with colors, thanks for reporting. I added a piece of documentation about grouping when \slideshow is activated and I introduced new command \slideopen.

vlasakm commented 3 years ago

Should we revisit this, because of the new color system? What is expected, what works?

olsak commented 3 years ago

I hope that it is OK. Colors are respecting groups and we need not to do more.