Re: [NTG-context] \startstaticMPfigure not producing .pdf or .mp.md5 files

2021-05-30 Thread Gavin
Hello Jairo and Everybody. > It seems \startstarticMPfigure ... \stopstaticMPfigure is now a wrapper for > reusable MP graphics, so auxiliary files are no longer generated. Are reusable MP graphics compiled only once per run, or only when the code is changed – which might not happen for many

Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps. dr. Hans van der Meer > On 30 May 2021, at 13:40, Adam Reviczky wrote: > > Hi Hans, > > Does this help: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > >

Re: [NTG-context] \startstaticMPfigure not producing .pdf or .mp.md5 files

2021-05-30 Thread Jairo A. del Rio
It seems \startstarticMPfigure ... \stopstaticMPfigure is now a wrapper for reusable MP graphics, so auxiliary files are no longer generated. I don't think this counts as an answer but you could use \typesetbuffer and \startMPpage ... \stopMPpage instead. Two auxiliary PDF files with funny names

[NTG-context] \startstaticMPfigure not producing .pdf or .mp.md5 files

2021-05-30 Thread Gavin
Hello colleagues, I’m writing a physics textbook with lots of figures, some quite complex. I’ve been using TikZ, but I’m experimenting with MetaPost. Consulting the ConTeXt wiki, I found that \startstaticMPfigure and friends are designed exactly for this sort of use. However, I’m not seeing

Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans, Does this help: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names ? \starttext \startchapter[title={First chapter}] \structurenumber\ - \structuretitle \stopchapter \stoptext Although getmarking is probably what you're really after:

[NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
With \pagenumber I can call up the current pagenumber and typeset it. But \chapternumber is not defined. How can I typeset the current chapternumber or even the current chapternumber.sectionnumber.subsectionnumber, for example? dr. Hans van der Meer

Re: [NTG-context] How to write readable source files?

2021-05-30 Thread Nicola
On 2021-05-29, Hans Hagen wrote: > so what does vim expect? isn't there some kind of common format for lexers? The output I need is very simple: syn keyword Group1 ... syn keyword Group2 ... ... where Group1, Group2, ... define arbitrary groups of keywords. For instance, for