Re: [NTG-context] defs, variables and dimensions (was: passing variables/data between context and lua)

2019-09-29 Thread Martin Althoff
Hi Hraban, I can't answer your question counter or \define. However in my specific situation I would not use the number as a counter but just as a value. Actually my situation is an exam in which the total points are 44. From these I want to calculate percentages. And, as I find it easier to

Re: [NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
Many thanks. Is there also a simple way to place a 2 above the = character as the definition does. Thanks Jeroen Op zo 29 sep. 2019 om 18:47 schreef Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Jeroen schrieb am 29.09.2019 um 20:30: > > Dear list members, > > > > I am trying to get

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
I have condensed it into a single document. The footer has in the right side the page numbering and at the left the "section". Both only start at the second page, which is good. I was wondering if the "section" could have the "title" in front of it. The title always stays the same, and the section

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:36: This is the main file. Neither minimal nor complete and \stopdocument is also missing. \environment mkivcnotesenv \startdocument  [metadata:subject={MkIV Context},    affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter

Re: [NTG-context] general syntax for startparagraph command

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:30: Dear list members, I am trying to get the following with the 1 elevated and 2 above the = character. The square brackets and all in between I would like italic and OPT below both terms. *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph* Would

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
This is the main file. \environment mkivcnotesenv \startdocument [metadata:subject={MkIV Context}, affiliation=Context] \starttext \startfrontmatter \input{frontpage.tex} \stopfrontmatter \startbodymatter \section{Introduction} \dorecurse{10}{input knuth} \stopbodymatter \startappendices

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Henning Hraban Ramm
> Am 2019-09-29 um 20:16 schrieb Jeroen : > > Dear list members, > > I am using the following environment file. The document itself is made-up of > sections only. Instead of the section as footer, I would like to add a custom > footer text throughout the document, starting at the second page

[NTG-context] general syntax for startparagraph command

2019-09-29 Thread Jeroen
Dear list members, I am trying to get the following with the 1 elevated and 2 above the = character. The square brackets and all in between I would like italic and OPT below both terms. *\startparagraph [.1..] [..,..2=..,..] ..**.\stopparagraph* Would anybody be able to help. Would Metapost be

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
Jeroen schrieb am 29.09.2019 um 20:16: Dear list members, I am using the following environment file. The document itself is made-up of sections only. Instead of the section as footer, I would like to add a custom footer text throughout the document, starting at the second page as is the page

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
Dear list members, I am using the following environment file. The document itself is made-up of sections only. Instead of the section as footer, I would like to add a custom footer text throughout the document, starting at the second page as is the page numbering. I just don't seem to be able to

[NTG-context] beta

2019-09-29 Thread Hans Hagen
Hi, A week ago we had the (nice and pleasant) annual context meeting and as usual some new stuff has been presented there which was not yet in the distribution at that moment. Some pending code is now being moved into the distribution. Part is font related (lmtx only, not relevant for most

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Axel Kielhorn
> Am 29.09.2019 um 10:50 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 29.09.2019 um 10:36: >>> Am 2019-09-29 um 08:59 schrieb Axel Kielhorn : >>> >>> But I would prefer to write >>> >>> \startChangeA{V. 2.0} >>> Mit den Befehlen \type{\Changea}, \type{\Changer} und

Re: [NTG-context] passing variables/data between context and lua

2019-09-29 Thread Martin Althoff
Thanks for the quick answers. Both suggestions work for me. @Massi Thanks for the pointer into the cld-mkiv.pdf @Wolfgang: I have to admit that I don't completely comprehend your solution, though it works. Searching around for the commands you use, I came across an older posting you answered

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 29.09.2019 um 10:36: Am 2019-09-29 um 08:59 schrieb Axel Kielhorn : But I would prefer to write \startChangeA{V. 2.0} Mit den Befehlen \type{\Changea}, \type{\Changer} und \type{\Changec} werden hinzugefügte, gelöschte oder geänderte Satzteile gekennzeichnet.

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Henning Hraban Ramm
> Am 2019-09-29 um 08:59 schrieb Axel Kielhorn : > > But I would prefer to write > > \startChangeA{V. 2.0} > Mit den Befehlen \type{\Changea}, \type{\Changer} und \type{\Changec} werden > hinzugefügte, gelöschte oder geänderte Satzteile gekennzeichnet. Der Befehl > \type{\Changec} hat zwei

[NTG-context] Multi-letter words/identifiers in math

2019-09-29 Thread Shuxian Wang
Dear list, I am trying to typeset some multi-letter words/identifiers in mathematical formulas. Currently, doing things like `{\it variable}` or `{\mathit variable}` under math mode will cause the engine to shift all characters into the corresponding unicode mathematical alphanumeric block

Re: [NTG-context] Documentation of change / Evolving documents

2019-09-29 Thread Axel Kielhorn
> Am 19.01.2019 um 09:06 schrieb Axel Kielhorn : Earlier this year I wrote a first attempt to document evolving documents. In the meantime this document has evolved and I included the current version here. There is only one thing I don’t like: Currently I write: \ChangeA{V. 2.0}{Mit den