Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen wrote: > On 9/18/2020 11:23 AM, Christoph Reller wrote: > > Dear List, > > > > I have the following MWE: > > > > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > > \usemodule [fnt-10] > > \starttext > > (1)

[NTG-context] Allow pagebreaks in footnotes

2020-09-18 Thread denis . maier . lists
Hi Is there a setting that prevents footnotes from spreading over more than one page? I have a document where this seems to be the case, but I don't know why. It just looks like ConTeXt tries to keep the complete footnote on one page, which leads to ugly white space at the end of almost every

Re: [NTG-context] Best way to store text for later use

2020-09-18 Thread Denis Maier
Am 18.09.2020 um 19:02 schrieb Hans Hagen: On 9/18/2020 3:36 PM, Denis Maier wrote: I've tried using buffers, but this here doesn't work: Why not just fetch it when needed. There is no gain in storing it and fetching from the xml tree is fast. Most likely due to my limited understanding

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Hans Hagen
On 9/18/2020 2:49 PM, Arthur Reutenauer wrote: On Fri, Sep 18, 2020 at 01:48:16PM +0200, Felix Krause wrote: In your case validformatpath is a subdirectory of $TMPDIR, under /var/folders/. However, if your Mac is anything like mine, /var is actually a symbolic link to /private/var, so that

Re: [NTG-context] Best way to store text for later use

2020-09-18 Thread Hans Hagen
On 9/18/2020 3:36 PM, Denis Maier wrote: I've tried using buffers, but this here doesn't work: Why not just fetch it when needed. There is no gain in storing it and fetching from the xml tree is fast. Hans -

Re: [NTG-context] Problem with fonts in Lua

2020-09-18 Thread Pablo Rodriguez
On 9/15/20 1:15 PM, Wolfgang Schuster wrote: > \setuplanguage [es] [patterns={es,gr}] Just a minor issue, ancient Greek is "agr" (instead of "gr"). That being said, Heraklit is a good match for Palatino (both by Hermann Zapf). The digitized version is available from

Re: [NTG-context] Best way to store text for later use

2020-09-18 Thread Hans van der Meer
A possibility is saving the data as text in a Lua-table. If you are not afraid to use some Lua, I can send my code for saving files and data for repeated use. dr. Hans van der Meer > On 18 Sep 2020, at 15:36, Denis Maier wrote: > > Hi, > > For typesetting XML I'm wondering how to best store

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Hans Hagen
On 9/18/2020 11:23 AM, Christoph Reller wrote: Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id

[NTG-context] Best way to store text for later use

2020-09-18 Thread Denis Maier
Hi, For typesetting XML I'm wondering how to best store text for later use: I've tried using buffers, but this here doesn't work: == \startxmlsetups xml:article-meta     \setupdocument [ pub-year=\xmlfilter{#1}{/pub-date/year/command(xml:article-meta:pubdate:year)},

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Arthur Reutenauer
On Fri, Sep 18, 2020 at 01:48:16PM +0200, Felix Krause wrote: >> In your case validformatpath is a subdirectory of $TMPDIR, under >> /var/folders/. However, if your Mac is anything like mine, /var is >> actually a symbolic link to /private/var, so that dir.current() reports >> a path starting

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 12:50, Arthur Rosendahl wrote: > I think I may have found the origin of the error: > > In your case validformatpath is a subdirectory of $TMPDIR, under > /var/folders/. However, if your Mac is anything like mine, /var is > actually a symbolic link to /private/var, so that

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-18 Thread Geert Verhaag
On 18-09-2020 09:03, Hans Hagen wrote: On 9/17/2020 9:41 PM, Geert Verhaag wrote: Hi ConTeXt users, That's indeed magic and it works! Hans, thanks for your prompt answer! But I would like to take this a step further, by introducing a macro within the start/stopuseMPgraphic structure like so:

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 12:36, Thomas A. Schmitz wrote: > > > What does > > mtxrun --expand-var TEXMFCACHE > > return? selfautoparent:texmf-var;/Users/flyx/Library/texlive/2020/texmf-var Regards, Felix___ If your

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Arthur Rosendahl
I think I may have found the origin of the error: On Fri, Sep 18, 2020 at 09:41:23AM +0200, Felix Krause wrote: > resolvers | formats | changing to format path > '/var/folders/rj/hfjmjx796q102y4v23vh038cgp/T/luatex-cache/context/a86c089b384a3076dc514ba966a1fac9/formats/luatex' >

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Thomas A. Schmitz
On 18. Sep 2020, at 12:00, Felix Krause wrote: > > The directory name luatex-cache suggests it's used for caching. That doesn’t help a lot. > I interpret the output like „something happens during the generation of the > format file and therefore the file never gets generated“. I don't know

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 11:45, Henning Hraban Ramm wrote: Try to delete the luatex cache (i.e. all of /var/folders/rj/hfjmjx796q102y4v23vh038cgp/T/luatex-cache) and try again. Did that, it regenerates the contents of the directory and the error keeps coming up. Regards, Felix

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 11:43, Thomas A. Schmitz wrote: Then tell us a bit more about your system. What is the output of which -a context /Library/TeX/texbin/context which is an alias of /Library/TeX/texbin/context@ -> ../../texmf-dist/scripts/context/stubs/unix/context and texbin

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Henning Hraban Ramm
> Am 18.09.2020 um 09:41 schrieb Felix Krause : > > Hi all, > > with MacTeX 2020 on a newly installed Mac, I have the problem that ConTeXt > doesn't work anymore: > > $ context file.tex > mtx-context | warning: no format found, forcing remake (commandline > driven) > […] snip lots of

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Thomas A. Schmitz
> On 18. Sep 2020, at 11:35, Felix Krause wrote: > > Hm. I don't have this directory (not using MacPorts) and my error seems to be > quite different (the scripts to be executed seem to be found). > I dug through the thread but for all I can see, nothing there describes my > problem or a

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 11:20, Otared Kavian wrote: Hi Felix, Some time ago I encountered the same problem and we had a thread on this list about this: https://www.mail-archive.com/ntg-context@ntg.nl/msg95355.html The problem on my Mac came from the fact that a directory

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id 8: missing (2)

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Otared Kavian
Hi Felix, Some time ago I encountered the same problem and we had a thread on this list about this: https://www.mail-archive.com/ntg-context@ntg.nl/msg95355.html The problem on my Mac came from the fact that a directory /opt/local/etc/texmf/ existed (installed by MacPorts,

[NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
Hi all, with MacTeX 2020 on a newly installed Mac, I have the problem that ConTeXt doesn't work anymore: $ context file.tex mtx-context | warning: no format found, forcing remake (commandline driven) […] snip lots of lines resolvers | formats | changing to format

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-18 Thread Hans Hagen
On 9/17/2020 9:41 PM, Geert Verhaag wrote: Hi ConTeXt users, That's indeed magic and it works! Hans, thanks for your prompt answer! But I would like to take this a step further, by introducing a macro within the start/stopuseMPgraphic structure like so: \startuseMPgraphic{name}{s::lbl}  

Re: [NTG-context] \setbreakpoints[compound] with numbers

2020-09-18 Thread Denis Maier
Am 17.09.2020 um 19:07 schrieb Hans Hagen: On 9/17/2020 4:54 PM, Denis Maier wrote: Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is