[NTG-context] Fwd: issue: "printable" viewer layers lack compatibility

2019-01-07 Thread User 19087
In 2017 ghostscript added support for the /Print and /View keys of the Optional Content /Usage dictionary[1]. The use of '-dPrinted' should display the print-only layer, per the documentation[2]: gs -o output.pdf -sDEVICE=pdfwrite -dPrinted input.pdf >From their repository you can see that popple

[NTG-context] Fwd: issue: multiple viewer layers

2019-01-07 Thread User 19087
Layers are not properly closed when using more than one layer, so that each layer subsumes all subsequent content. Tested in Adobe Reader 11. I first mentioned this at https://tex.stackexchange.com/a/467005/174577, so I'm basically rehashing all the examples: When \showallmakeup is enabled, all co

Re: [NTG-context] issue: multiple viewer layers

2019-01-08 Thread User 19087
You're right, my example was broken. With \stops it works as intended, as does your example. Thanks, ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

[NTG-context] Scaling down symbols and emojis

2019-01-16 Thread User 19087
I'm having trouble scaling down symbols and emojis. For a while I assumed these don't scale with the current font size. Then I scoured the mailing list and realized that while scaling down seems broken, scaling up works as expected: \usesymbols[mvs] \setupsymbolset[martinvogel 2] %\showallmakeu

Re: [NTG-context] Scaling down symbols and emojis

2019-01-16 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > When you need a switch for a smaller size which doesn’t has these > limitations you can just create them: > > \definefontsize [m] > \definefontsize [n] > > \setupbodyfontenvironment >[default] >[m=0.8, > n=0.6] In case the cur

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > > User 19087 schrieb am 16.01.19 um 21:56: > > I'm having trouble scaling down symbols and emojis. For a while I > > assumed these don't scale with the current font size. Then I scoured > > the mailing li

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > > % Which factor should I use to match \tfxx? > > \symbol[ShortForty] > > \scale[factor=4]{\symbol[ShortForty]} > x = 0.8 > xx = 0.6 That's what the ConTeXt Reference Manual also says, but that doesn't seem to match what ConTeXt does. The

Re: [NTG-context] Scaling down symbols and emojis

2019-01-18 Thread User 19087
On Wed, Jan 16, 2019 at 6:29 PM User 19087 wrote: >> Or I use {\switchtobodyfont[...]\symbol[ShortForty]} in the document. >> At that point the body font may have been switched to a size whose >> environment defines different values for 'x' and 'xx'. Or perha

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
On Fri, Jan 18, 2019 at 4:44 PM User 19087 wrote: > There must be some other method (at least via luatex) to > obtain the 'x' and 'xx' sizes as workable dimensions. I've come up with the following macro and I'd like some feedback. Will it work consistently? An

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
As far as I can tell (by experimentation), bodyfont environment features resolve in this order: * matching size in the current file * default environment in the current file * matching size in 'font-pre.mkiv' * default environment in 'font-pre.mkiv' * default to 1.0 otherwise This applies to indivi