Hi Hans, this comes from a previous message about an issue with \llap and layers. Here is the sample: \defineviewerlayer[print][state=stop,printable=yes] \defineviewerlayer[view][state=start,printable=no] \starttext \startviewerlayer[view]\color[red]{\TeX}\stopviewerlayer% \startviewerlayer[print]\llap{\ConTeXt}\stopviewerlayer% \input zapf \stoptext If the layer with \llap is placed last, disabling the view layer disables all the text. Everything works fine if the layer with \llap is placed first. I guess this might be a bug. Many thanks for your help, Pablo -- http://www.ousia.tk
On 11/20/19 3:16 AM, Pablo Rodriguez wrote:
Hi Hans,
this comes from a previous message about an issue with \llap and layers.
Here is the sample:
\defineviewerlayer[print][state=stop,printable=yes] \defineviewerlayer[view][state=start,printable=no]
\starttext \startviewerlayer[view]\color[red]{\TeX}\stopviewerlayer% \startviewerlayer[print]\llap{\ConTeXt}\stopviewerlayer%
\input zapf \stoptext
If the layer with \llap is placed last, disabling the view layer disables all the text.
Everything works fine if the layer with \llap is placed first.
I guess this might be a bug.
Works for me on both Evince and Foxit Reader. I can't test Adobe because I'm on Linux. Try also \dontleavehmode\llap{\ConTeXt} because \llap by itself does not start a paragraph. Cheers, Henri
Many thanks for your help,
Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 11/19/19 9:48 PM, Henri Menke wrote:
On 11/20/19 3:16 AM, Pablo Rodriguez wrote:
[...] Everything works fine if the layer with \llap is placed first.
I guess this might be a bug.
Works for me on both Evince and Foxit Reader. I can't test Adobe because I'm on Linux.
Try also \dontleavehmode\llap{\ConTeXt} because \llap by itself does not start a paragraph.
Hi Henri, many thanks for your reply. This is really weird, since I cannot make it work, either with Acrobat in Windows nor in Evince or Acrobat in Linux. I’m using latest beta from 2019.11.14 17:07 (either MkIV or MkXL). Which beta are you using? Many thanks for your help, Pablo -- http://www.ousia.tk
Hi Pablo, I can reproduce the issue on MacOS on Acrobat Reader, and also on Adobe Acrobat Pro. In fact turning off any last viewerlayer makes the text disappear. Best regards: OK
On 19 Nov 2019, at 22:10, Pablo Rodriguez
wrote: On 11/19/19 9:48 PM, Henri Menke wrote:
On 11/20/19 3:16 AM, Pablo Rodriguez wrote:
[...] Everything works fine if the layer with \llap is placed first.
I guess this might be a bug.
Works for me on both Evince and Foxit Reader. I can't test Adobe because I'm on Linux.
Try also \dontleavehmode\llap{\ConTeXt} because \llap by itself does not start a paragraph.
Hi Henri,
many thanks for your reply.
This is really weird, since I cannot make it work, either with Acrobat in Windows nor in Evince or Acrobat in Linux.
I’m using latest beta from 2019.11.14 17:07 (either MkIV or MkXL). Which beta are you using?
Many thanks for your help,
Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Henri Menke
-
Otared Kavian
-
Pablo Rodriguez