ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* layers and \llap
@ 2019-11-19 14:16 Pablo Rodriguez
  2019-11-19 20:48 ` Henri Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2019-11-19 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: layers and \llap
  2019-11-19 14:16 layers and \llap Pablo Rodriguez
@ 2019-11-19 20:48 ` Henri Menke
  2019-11-19 21:10   ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Henri Menke @ 2019-11-19 20:48 UTC (permalink / raw)
  To: ntg-context

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
> ___________________________________________________________________________________
> 
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: layers and \llap
  2019-11-19 20:48 ` Henri Menke
@ 2019-11-19 21:10   ` Pablo Rodriguez
  2019-11-19 21:19     ` Otared Kavian
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2019-11-19 21:10 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: layers and \llap
  2019-11-19 21:10   ` Pablo Rodriguez
@ 2019-11-19 21:19     ` Otared Kavian
  0 siblings, 0 replies; 4+ messages in thread
From: Otared Kavian @ 2019-11-19 21:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <oinos@gmx.es> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-11-19 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 14:16 layers and \llap Pablo Rodriguez
2019-11-19 20:48 ` Henri Menke
2019-11-19 21:10   ` Pablo Rodriguez
2019-11-19 21:19     ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).