Re: [NTG-context] bug in \headnumber[section] in LMTX?
On 3/7/21 1:21 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 07.03.2021 um 10:49: >> Dear list, >> >> I have the following sample: >> >>\starttext >> \section{Section} >>\currentheadnumber\\ > > You need \determineheadnumber[section] before you can use > \currentheadnumber. Many thanks for your reply, Wolfgang. I didn’t know that, but it makes sense now. >>\headnumbercontent\\ > > You can use \headnumbercontent only when you create a new section layout > with \defineheadalternative. So, I didn’t make any sense in my sample. Many thanks for your help again, 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] bug in \headnumber[section] in LMTX?
Pablo Rodriguez schrieb am 07.03.2021 um 10:49: Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ You need \determineheadnumber[section] before you can use \currentheadnumber. \headnumbercontent\\ You can use \headnumbercontent only when you create a new section layout with \defineheadalternative. \headnumber[section] It's a bug. \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this may be a bug. Could anyone confirm both issues? Wolfgang ___ 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] --extra=select --once in LMTX
Dear list, I think there is a bug in LMTX with: context --extra=select --selection=15:30 a.pdf --once This gives 16 repetitions of page 30 (with any PDF document). If --once isn’t used or MkIV is deployed, selection is fine. Could anyone confirm the issue? 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] Write to tuc file
On 3/6/21 2:35 PM, Hans Hagen wrote: > On 3/6/2021 1:56 PM, Pablo Rodriguez wrote: >> [...] >> The select style could generate from start-identifier and >> stop-identifier, the result "identifier.pdf". > \startchapter[reference=whatever,title=foo] > \stopchapter > \startchapter[reference=moreover,title=oof] > \stopchapter > > and --pages=whatever,moreover will give you the info you need to call > context --extra=copy or whatever with the right arguments Hans, real-world needs may be complex, such as in the following sample: \starttext \completecontent \dorecurse{3} {\startpart \edef\pn{\recurselevel} \dorecurse{30} {\startchapter\markpage[start-\pn.\recurselevel] \dorecurse{\randomnumber{0}{30}} {\input knuth\par} \markpage[stop-\pn.\recurselevel]\stopchapter} \stoppart} \stoptext This generates a document to be split in 90 individual documents. I cannot even think in specifying them manually. It would be very useful to have something similar to: context --extra=select --selection=pages oeps --once --autopdf I hope my explanation is clearer now. 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 ___
[NTG-context] bug in \headnumber[section] in LMTX?
Dear list, I have the following sample: \starttext \section{Section} \currentheadnumber\\ \headnumbercontent\\ \headnumber[section] \stoptext In LMTX, \headnumber[section] triggers an error message about missing number. BTW, \currentheadnumber outputs 0 in both MkIV and LMTX. I think this may be a bug. Could anyone confirm both issues? 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 ___