Re: [NTG-context] lmtx
Hi, I am afraid that clip stops working in current version: 2021.01.18 18:19 \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm,voffset=10mm] {\externalfigure[cow.pdf][width=\textwidth]} \stoptext juh -- Autoren-Homepage: . http://literatur.hasecke.com Satiren & Essays: . http://www.sudelbuch.de Privater Blog: http://www.hasecke.eu Netzliteratur-Projekt: http://www.generationenprojekt.de ___ 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 ___
Re: [NTG-context] lmtx
On 1/19/2021 8:12 PM, Jan U. Hasecke wrote: Hi, I am afraid that clip stops working in current version: 2021.01.18 18:19 \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm,voffset=10mm] {\externalfigure[cow.pdf][width=\textwidth]} \stoptext hm, i access the wrong field (i removed some longer intermediate backend code) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] issue with doublesided layer
On 1/19/21 6:43 PM, Hans Hagen wrote: > On 1/19/2021 5:46 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >>\definelayer[layer] >> [doublesided=yes] >> [...] >> Simply defining a doublesided layer breaks compilation in LMTX. It works >> fine with MkIV. I’m using current latest from 2021.01.18 18:19. >> >> Am I missing something or is this something that needs a fix in LMTX? > i'll fix it Many thanks for the fix, Hans. 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 ___
Re: [NTG-context] running head for TOC
> Am 19.01.2021 um 10:34 schrieb jbf : > > I had tried that - I tried: > > \definehead > [tochead] > [chapter] > > and of course combined list does not contain tochead, but chapter. But what > happens then is that the Table of Contents disappears altogether) except for > the actually head 'Table of Contents')! Please try to come up with a MWE. Hraban ___ 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 ___
Re: [NTG-context] issue with doublesided layer
On 1/19/2021 5:46 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definelayer[layer] [doublesided=yes] \setlayer[layer] {layer} \setupbackgrounds[text] [background={layer}] \starttext \null \stoptext Simply defining a doublesided layer breaks compilation in LMTX. It works fine with MkIV. I’m using current latest from 2021.01.18 18:19. Am I missing something or is this something that needs a fix in LMTX? i'll fix it - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
[NTG-context] issue with doublesided layer
Dear list, I have the following sample: \definelayer[layer] [doublesided=yes] \setlayer[layer] {layer} \setupbackgrounds[text] [background={layer}] \starttext \null \stoptext Simply defining a doublesided layer breaks compilation in LMTX. It works fine with MkIV. I’m using current latest from 2021.01.18 18:19. Am I missing something or is this something that needs a fix in LMTX? 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 ___
Re: [NTG-context] demo-symbols not working with LMTX
On 1/19/2021 12:18 PM, Jairo A. del Rio wrote: Hi, list. I was looking for information about fonts in ConTeXt defined using MetaPost and I found demo-symbols.tex for an Unicode (?) character. However, it doesn't work. While LMTX just doesn't print the symbol, MkIV complains from the Lua side. Has something changed? i'll fix it for mkiv (has to be adapted to lua 5.3+) the lmtx example usage is like this: \showglyphs \startTEXpage[offset=10pt] \definemetafont[MyDemoA][demo-symbols][at 10pt]\MyDemoA\char9754 \definemetafont[MyDemoB][demo-symbols][at 30pt]\MyDemoB\char9754 \stopTEXpage (i'll add it to the test file) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] lmtx
Hello, On Tue, 19 Jan 2021 at 12:11, Hans Hagen wrote: > On 1/19/2021 11:57 AM, Floris van Manen wrote: > > > > > > On 18/01/2021 19:20, Hans Hagen wrote: > >> You can run > >> > >>meta-imp-punk.mkxl > >> > >> to get an idea. There's also a typescript: > >> > >>type-imp-punk.mkxl > > > > > > How to run these? > Normally with: > > context --global > when file has \continueifinputfile{} line. Below the command there is an example. Didn't know the --global switch. It searches the file in the distribution, but runs it in any actual folder, so one doesn't have to do a local copy of the source file. type-imp-punk.mkxl is a regular typescript file, which can be enabled by \setupbodyfont[punk] in any of your documents. Jano ___ 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 ___
[NTG-context] demo-symbols not working with LMTX
Hi, list. I was looking for information about fonts in ConTeXt defined using MetaPost and I found demo-symbols.tex for an Unicode (?) character. However, it doesn't work. While LMTX just doesn't print the symbol, MkIV complains from the Lua side. Has something changed? Jairo ___ 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 ___
Re: [NTG-context] lmtx
On 1/19/2021 11:57 AM, Floris van Manen wrote: On 18/01/2021 19:20, Hans Hagen wrote: You can run meta-imp-punk.mkxl to get an idea. There's also a typescript: type-imp-punk.mkxl How to run these? Normally with: context --global - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] lmtx
On 18/01/2021 19:20, Hans Hagen wrote: You can run meta-imp-punk.mkxl to get an idea. There's also a typescript: type-imp-punk.mkxl How to run these? .F ___ 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 ___
Re: [NTG-context] running head for TOC
I had tried that - I tried: \definehead [tochead] [chapter] and of course combined list does not contain tochead, but chapter. But what happens then is that the Table of Contents disappears altogether) except for the actually head 'Table of Contents')! On 19/1/21 8:23 pm, Henning Hraban Ramm wrote: Am 19.01.2021 um 05:55 schrieb jbf : I have a very long Table of Contents (runs across five pages) and the author would like the running head on recto pages for this to be 'Table of Contents'. I am using the following to create the TOC head: \definehead [tochead] [title] \starttochead[title={Table of Contents}] \setupheader[state=start] \placecombinedlist[content] \stoptochead And I use the following to set up the headertexts for the book as a whole: \setupheadertexts [{\hfill\getmarking[chapter]\hfill}][] %recto pages [{\hfill\documentvariable{metadata:title}\hfill}][] %verso pages The problem is that I am unable to get 'Table of Contents' as a running head for the two recto pages where I need it. I realise I need to get 'tochead' recognised somehow for this. If I set up a separate \setupheadertexts [{\hfill\getmarking[tochead]\hfill}][] then I end up with 'Table of Contents as the running head on all recto pages, which I don't want. Can anyone suggest how can I get 'Table of Contents' as the running head just for the two recto pages of a five page TOC? How about you inherit "tochead" from "chapter" and setup the combined list "content" so that it doesn’t include "tochead"? Hraban ___ 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 ___
Re: [NTG-context] running head for TOC
> Am 19.01.2021 um 05:55 schrieb jbf : > > I have a very long Table of Contents (runs across five pages) and the author > would like the running head on recto pages for this to be 'Table of Contents'. > > I am using the following to create the TOC head: > > \definehead > [tochead] > [title] > > \starttochead[title={Table of Contents}] > \setupheader[state=start] > \placecombinedlist[content] > \stoptochead > > And I use the following to set up the headertexts for the book as a whole: > > \setupheadertexts > [{\hfill\getmarking[chapter]\hfill}][] %recto pages > [{\hfill\documentvariable{metadata:title}\hfill}][] %verso pages > > The problem is that I am unable to get 'Table of Contents' as a running head > for the two recto pages where I need it. I realise I need to get 'tochead' > recognised somehow for this. If I set up a separate \setupheadertexts > [{\hfill\getmarking[tochead]\hfill}][] then I end up with 'Table of Contents > as the running head on all recto pages, which I don't want. > > Can anyone suggest how can I get 'Table of Contents' as the running head just > for the two recto pages of a five page TOC? How about you inherit "tochead" from "chapter" and setup the combined list "content" so that it doesn’t include "tochead"? Hraban ___ 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 ___