Re: [NTG-context] LuaTeX and PDF.js

2021-01-07 Thread Hans Hagen
ine) transform matrices that are slightly different so what you then see is rounding to the device pixels i wouldn't loose sleep over it .. nowadays fonts also evolve and that gives larger differences H

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Henning Hraban Ramm
, who understand enough > of the innards to write, to document and to explain packages, > commands and settings.) Yes, but it’s in the concept of LaTeX that there is a gap between users and package writers. I prefer to copy a few settings (and adapt them to my needs) over using a package th

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Henning Hraban Ramm
usual in ConTeXt. >> Well we discourage the use of plain commands to avoid that new users >> trip over bewildering errors from stuff like "abc \hskip 2cm plus >> cde", but it is not forbidden to use them. > Hm, \hskip is not a plain command but a language primitive. And t

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Ulrike Fischer
Am Mon, 4 Jan 2021 15:30:43 +0100 schrieb Hans Hagen: >> Well we discourage the use of plain commands to avoid that new users >> trip over bewildering errors from stuff like "abc \hskip 2cm plus >> cde", but it is not forbidden to use them. > Hm, \hskip is not

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Hans Hagen
On 1/4/2021 2:18 PM, Ulrike Fischer wrote: Of course it helps to understand basic TeX stuff – but you’re not supposed to use (plain) TeX commands in LaTeX, while it is or was much more usual in ConTeXt. Well we discourage the use of plain commands to avoid that new users trip over bewildering

Re: [NTG-context] Migrating from LaTeX (was: A not so short introduction to ConTeXt Mark IV)

2021-01-04 Thread Hans Hagen
good news is that often on this list you get an answer (and sometimes looking at examples in e.g. the test suite also helps). But one aspect remains: learning (any) tex takes time. This is compensated by the fact that you can use it forever as it's unlike to stay (or taken over by some large co

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-04 Thread Ulrike Fischer
and basic TeX stuff – but you’re not > supposed to use (plain) TeX commands in LaTeX, while it is or was > much more usual in ConTeXt. Well we discourage the use of plain commands to avoid that new users trip over bewildering errors from stuff like "abc \hskip 2cm plus cde", but

Re: [NTG-context] SILE typesetter and other projects

2021-01-03 Thread Hans Hagen
these system (althouygh i remember reading about some postscript related thing decades ago). Just keep in mind that 'the problem doesn't change' no matter what tools are there .. it's no big deal to deal with the 80% but the left over bits often are the complication. All this typeseting is very much about

Re: [NTG-context] Text editor support via Digestif

2021-01-02 Thread Saša Janiška
for your work on digestif and improving ConTeX support! > Digestif plugs into any editor that support the Language Server > Protocol I'd probably like to use it with SublimeText which I favour over VScode... > Another nice thing is that Digestif is a Lua program, and can run on > t

Re: [NTG-context] Ducks in ConTeXt

2020-12-24 Thread Jairo A. del Rio
dinput, so just after the \protect (actually in your > case there is no need for \unprotect \protect). > > I want to do some additional trickery later, so \unprotect ... \protect are fine there, I think :) > Thanks, > > Thanks to you! I enjoy typesetting with ConTeXt and I'm

Re: [NTG-context] Ducks in ConTeXt

2020-12-24 Thread Hans Hagen
directly you get an example. No need to add \endinput, so just after the \protect (actually in your case there is no need for \unprotect \protect). Thanks, Hans (Who looks out over water where quite

Re: [NTG-context] Missing kerns with latest 22.12.2020 LMTX

2020-12-23 Thread Hans Hagen
ypeset with 2 kerns (a and v + v and o). Thanks \definefontfeature[myfeature][mode=node, kern=yes] \definefontfamily[mainfont][serif][EBGaramond][features=myfeature] \setupbodyfont[mainfont, 9pt] \showfontkerns \starttext Scavoir \stoptext fixed in next upload (left over from experiment r

Re: [NTG-context] upload / metafun

2020-12-15 Thread Otared Kavian
o that will take a while (most tagging is done > but checking left over cases take time). > > So, I wondered if we can do something similar in metapost: flag macros and > variables in order to issue a warnings when a dangerous overload happens. > > The current lmtx has th

[NTG-context] RE : upload / metafun

2020-12-15 Thread Joseph
that will take a while (most tagging is done but checking left over cases take time). So, I wondered if we can do something similar in metapost: flag macros and variables in order to issue a warnings when a dangerous overload happens. The current lmtx has this as an experiment: primitives, permanent

[NTG-context] upload / metafun

2020-12-15 Thread Hans Hagen
Hi, I uploaded a new lmtx. This time some work has been done at the metafun end. At the tex end we're working on some overload protection mechanism which involves tagging many macro so that will take a while (most tagging is done but checking left over cases take time). So, I wondered if we

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Bruce Horrocks
e word "yes" inside the box 2) in the 'Preview' app I see "yes" in the box 3) using Adobe Acrobat Reader DC I get: a) Initially a blank / grey box b) Hovering the mouse over the grey bit displays "yes" and the cursor changes from I-beam to hand c) Single clicki

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Stephen Gaito
enerally multi-threading TeX typesetting jobs is so hard as to > > be impossible in practise. About the only step that can be split off > > is the generation of the PDF, and even there the possible gain is > > quite small (as you noticed already). > > indeed, see above >

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Stephen Gaito
ation of the PDF, and even there the possible gain is > quite small (as you noticed already). > > Typesetting is a compilation job, so the two main ways to speed things > along are > > 1) split the source into independent tasks, like in a code compiler >that splits code over separate

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Hans Hagen
that splits code over separate .c / .cpp / .m / .p etc. files, and then combine the results (using e.g. mutool) 2) precompile recurring stuff (in TeX, that would mean embedding separately generated pdfs or images) right (and we are old enough and have been around long enough to have some gut

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-03 Thread Taco Hoekwater
practise. About the only step that can be split off is the generation of the PDF, and even there the possible gain is quite small (as you noticed already). Typesetting is a compilation job, so the two main ways to speed things along are 1) split the source into independent tasks, like in a code compil

[NTG-context] Parallelizing typesetting of large documents with lots of cross-references

2020-12-03 Thread Stephen Gaito
known to start on a page boundary rather than inside a page), and then re-combine the individual PDFs back into one single PDF for the whole document (complete with control over the page numbering). The inherent problem is that the *whole* of a ConTeXt document depends upon cross-references fr

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 2/2

2020-12-03 Thread Stephen Gaito
, at the moment, as part of my parallelization attempts I can interact with my ANSI-C code over a network so I will use this approach for the near to medium time frames. Regards, Stephen Gaito On Wed, 2 Dec 2020 14:17:54 +0100 Hans Hagen wrote: > On 12/2/2020 11:43 AM, Stephen Gaito wr

Re: [NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?

2020-12-02 Thread Rik Kabel
nd maintenance appears to be abandoned. I am sure that many would be happy to see work on this font resume, but projects like this are difficult to take over and support is thin. So, if you can find that satisfies your requirements as it is, use it. The Duffner versions (pre-Pardo) do not have

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 2/2

2020-12-02 Thread Stephen Gaito
wide range of CPU's. Again, to my knowledge, Lua v5.4 has only one implementation (though this implementation *can* be compiled for a very wide range of CPU's). The problem here is that Mathematicians are inherently very conservative about the concept of "proof" (it has taken well over

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-02 Thread Stephen Gaito
es (etc). Then, once > > the "*.tuc" file has converged, a full ConTeXt run with PDF output > > could be done. > > not sure what you mean here ... what is fast? or: how slow is it now? > what is the bottleneck? can you cache data that didn't change? > > a lar

Re: [NTG-context] Adding syntax highlighting when typesetting from xml (asciidoc/docbook)

2020-12-01 Thread Hans Hagen
On 11/30/2020 9:08 PM, Mojca Miklavec wrote: Hi, A while ago Hans provided an example of typesetting a document from a docbook source. I'm attaching an over-simplified version of the initial module (a somewhat more complete version exists, but it still needs lots of work) and a minimum working

[NTG-context] Adding syntax highlighting when typesetting from xml (asciidoc/docbook)

2020-11-30 Thread Mojca Miklavec
Hi, A while ago Hans provided an example of typesetting a document from a docbook source. I'm attaching an over-simplified version of the initial module (a somewhat more complete version exists, but it still needs lots of work) and a minimum working example with XML. I'm not sure how to extend

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Hans Hagen
be done. not sure what you mean here ... what is fast? or: how slow is it now? what is the bottleneck? can you cache data that didn't change? a large document is normally split up in sections that can be processed independent \starttext \dorecurse{1}{\samplefile{ward}\par} \stoptext ru

Re: [NTG-context] Install Problems with 64 bit ARM Linux

2020-11-28 Thread Hans Hagen
days ago, I believe that Hans just reinstalled everything on that tiny device (SD cards are a pain and like to wear out rather quickly if you keep running build jobs and rewriting the same memory cells over and over again; I thought we had set up an external disk properly, but well ...) We have

Re: [NTG-context] Install Problems with 64 bit ARM Linux

2020-11-28 Thread Christian Prim
that Hans just reinstalled everything on that tiny device (SD > cards are a pain and like to wear out rather quickly if you keep > running build jobs and rewriting the same memory cells over and over > again; I thought we had set up an external disk properly, but well > ...) > >

Re: [NTG-context] Install Problems with 64 bit ARM Linux

2020-11-28 Thread Mojca Miklavec
few days ago, I believe that Hans just reinstalled everything on that tiny device (SD cards are a pain and like to wear out rather quickly if you keep running build jobs and rewriting the same memory cells over and over again; I thought we had set up an external disk properly, but well ...) We could

Re: [NTG-context] new upload

2020-11-26 Thread Hans Hagen
On 11/26/2020 4:26 PM, Keith McKay wrote: Hi, I'm planning in the next few weeks to retire my 2012 16GB Mac mini which has served me well with ConTeXt (and other software) over these past few years. I was planning on getting the new entry level MAC min M1 with 8GB unified memory but I see

Re: [NTG-context] new upload

2020-11-26 Thread Keith McKay
Hi, I'm planning in the next few weeks to retire my 2012 16GB Mac mini which has served me well with ConTeXt (and other software) over these past few years. I was planning on getting the new entry level MAC min M1 with 8GB unified memory but I see that there will be no ConTeXt binaries

Re: [NTG-context] Setting and measuring boxes TeX/Lua

2020-11-25 Thread Hans Hagen
. * The content of the inner box is set on the Lua side (some computations). On TeX side boxes and their dimensions are accessible, but not at Lua side, until luacode is finished (iterations over boxes happen here). I would say Hans already named the problem in the list: /that is always tricky

Re: [NTG-context] Issue with tex.romannumeral output

2020-11-25 Thread Hans Hagen
On 11/25/2020 7:51 PM, Joseph wrote: Dear list, Following MWE outputs only ‘m’ characters (with latest upload). ah, some left over from a test, i'll fix it Hans - Hans Hagen | PRAGMA ADE

[NTG-context] Setting and measuring boxes TeX/Lua

2020-11-25 Thread Jano Kula
on the Lua side (some computations). On TeX side boxes and their dimensions are accessible, but not at Lua side, until luacode is finished (iterations over boxes happen here). I would say Hans already named the problem in the list: *that is always tricky as what happens is postponing till the group ends

[NTG-context] startCSV Wiki, Natural Table

2020-11-24 Thread Fabrice L
someone is interested, I use this to produce statistical tables for teaching. I can share.. ! % -- \starttext % Iterate over all the lines of text captured with \obeylines active % command to call is first argument, is not called for empty lines

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
some fancy theorem style for my math notes. For this I > > > > want > > > > to > > > > have a colored margin line next to my theorems. It should look like > > > > this: > > > > > > > > https://i.ibb.co/F6L59pD/idea.png > >

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not just the first line. (But the latter would be a beginning, though.) Important to note is that the line should be *on the margin*, not in the text. So do you have an idea on how I could do that? I would

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
For this I want >>> to >>> have a colored margin line next to my theorems. It should look like this: >>> >>> https://i.ibb.co/F6L59pD/idea.png >>> >>> The line should stretch over the whole theorem, not just the first line. >>>

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
ld look like this: > > > > https://i.ibb.co/F6L59pD/idea.png > > > > The line should stretch over the whole theorem, not just the first line. > > (But the latter would be a beginning, though.) > > > > Important to note is that the line should be *on the marg

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread mf
Il 19/11/20 10:39, Johann Birnick ha scritto: Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem

[NTG-context] Piecewise margin line

2020-11-19 Thread Johann Birnick
Hello, I want to setup some fancy theorem style for my math notes. For this I want to have a colored margin line next to my theorems. It should look like this: https://i.ibb.co/F6L59pD/idea.png The line should stretch over the whole theorem, not just the first line. (But the latter would

Re: [NTG-context] upload

2020-11-17 Thread Hans Hagen
install over an already installed system). This used to work before LMTX from 2020.09.20. In Linux, tex/install.sh from both versions (2020.11.17 and 2020.11.15) are exactly the same. I used a diff tool to allow no error. What are we doing wrong that prevents the update of the installation? I don't

Re: [NTG-context] upload

2020-11-17 Thread Pablo Rodriguez
MTX unless I remove the three tex/texmf-*.tma files (in both Windows and Linux). Other users have reported that this is the only method to get the update done. But this downloads all the files, overloading your servers (after all, this isn’t an update, just a complete install over an already inst

[NTG-context] MP background for text typeset by \typefile

2020-11-05 Thread context
Hello, is there a way to draw custom background (via MP) to a text typed by \typefile, which is so long so it spreads over more pages? - I'm asking because I know how to typeset some text via \typefile with: 1. this: \definetyping[Test] [before={\startbackground[background=color

[NTG-context] Is there any intuitive way of handling missing characters?

2020-11-04 Thread Sylvain Hubert
fine-grained control over unicode coverage or customizing a typeface with different serif/sans/math/... combinations from different typefaces. Thanks! Best, Sylvain ___ If your question is of interest to others

[NTG-context] A syntax sugar for ConTeXt

2020-11-02 Thread Sylvain Hubert
{{nx=6, "Decline of wealth in Dutch florine (Dfl)"}}, {foregroundstyle='bold', {width='1.2cm', 'Year'}, '1.000--2.000', '2.000--3.000', '3.000-5.000', '5.000-10.000', 'over 10.000'}, }, next={ {{nx=6, align='middle', foregroundstyle='bold', "Decline of we

[NTG-context] lmts status

2020-10-22 Thread Hans Hagen
in order to benefit from it and when I started doing that one quickly ends up in a chain reaction: from a dozen files to over 100 and fives times that amount pending. But it's actually kind of fun (also for users I think). And hopefully Wolfgang will find my many errors. In parallel I played

Re: [NTG-context] Introduction to ConTeXt Wiki pages

2020-10-22 Thread Damien Thiriet
I can. The Introduction to ConTeXt that > I have posted reflects the understanding of ConTeXt that I have gained over > these recent months of using it, however good or bad that understanding may > be. > > I welcome all manner of feedback on these pages (and of course feel fr

[NTG-context] Introduction to ConTeXt Wiki pages

2020-10-21 Thread type
. I am continuing to try to learn about ConTeXt, and I have decided that as I learn things and/or find things on the Wiki that could use supplementing, I'll try to add what I can. The Introduction to ConTeXt that I have posted reflects the understanding of ConTeXt that I have gained over these recent

[NTG-context] expansion / hz

2020-10-15 Thread Hans Hagen
detailed control over matters. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma

Re: [NTG-context] text surrounding graphic in columns

2020-10-15 Thread Jan U. Hasecke
ghly, but I've got these issues. I have problems with the grid on such a page. The last column of three does not align the lines at the grid. With columnsets the grid is ok. These columnsets as described in the manual looked very promising to me as I could change the column layout on the page. The colu

Re: [NTG-context] Consequences of \zwnj for hyphenation

2020-10-14 Thread Hans Hagen
test effe e{\nokerning v}ery}\quad { test effe e{\nokerning v}ery}\par with \nokerning and \noligaturing being macros that set some options (the old \noligs and \nokerns have therefore been dropped) ... so one has local control over matters (base mode and node mode

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
. I looked at \startpagefigure but that would be a very cumbersome way to go since there over 350 pages to include, given that it handles only one page at a time. I hope that this makes sense. I don't completely understand the question I guess something like this: \setupexternalfigures

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
in > each. > > I looked at \startpagefigure but that would be a very cumbersome way to go > since there over 350 pages to include, given that it handles only one page > at a time. > > I hope that this makes sense. I don't completely understand the question > Any suggestions or pointers

[NTG-context] numbering pages included by \copypages

2020-09-24 Thread Alan Bowen
there over 350 pages to include, given that it handles only one page at a time. I hope that this makes sense. Any suggestions or pointers will be most welcome. Alan ___ If your question is of interest to others as well

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
Stix Math, TeX > Gyre Math, and so on, but doing this the math-italic does not appear in these > fonts: does this mean that I have to set explicitely math-italic in > definefontfamily? > > Also what is the best math font adapted for Nimbus? > > Below is my definition of a

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
traat 27 | 8061 GH Hasselt | The Netherlands >>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >> ----- >> >> >> -- >> >> Message: 5 >&

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
; Below is my definition of a fontfamily for Nimbus fonts. > > Thanks in advance for any help: Otared K > > %% begin definefontfamily-nimbus.tex > \definefontfamily [mainface] [rm] [Nimbus Roman No9 L] > \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85] > \defi

[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
\it Italic \bf Bold \bi BoldItalic} And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 + t^2$. \startformula \int_{0}^{2\pi} \sin(x)dx = 0, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}. \stopformula \stoptext %% end

Re: [NTG-context] Allow pagebreaks in footnotes

2020-09-19 Thread Denis Maier
Thanks. I'll need to check what happens here. Am 19.09.2020 um 12:03 schrieb Hans Hagen: On 9/18/2020 11:10 PM, denis.maier.li...@mailbox.org wrote: 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

Re: [NTG-context] Allow pagebreaks in footnotes

2020-09-19 Thread Hans Hagen
On 9/18/2020 11:10 PM, denis.maier.li...@mailbox.org wrote: 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

[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] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
ppens during the generation of the format file and therefore the file never gets generated“. I don't know much about the internals. I don't really have any reason for using MacTeX over texlive; I was once told that this is the thing I want to use on a Mac when I was a student, and have used it ever si

[NTG-context] sidefloats and narrower

2020-09-16 Thread Henning Hraban Ramm
Hi again, this is related to “quotation with footnote“. If you compile the example with (latest) LMTX, all is good. But MkIV (--luatex) lets the quotations (“Zitat”) run over the float. Without the \setupdelimitedtext line, distances between paragraphs become irregular in both versions

[NTG-context] update and meeting

2020-09-15 Thread Hans Hagen
d the talk about implementers was probably only useful for wolfgang and me, but who knows. The datatypes are an overview over what is standard in tex and in lua as well as what we have extra on top of that. The seventh talk fits in the 'we also need to have some fun talks', and the eigths one was f

[NTG-context] [BUG] \registerexternalfigure doesn't work

2020-08-19 Thread Henri Menke
? \externalfigure[#1][#2][#3]% or \externalfigure[#1][#2,\c!display=,\c!mask=,\c!object=\v!no]% \stopnointerference} I guess this is not intentional and was left over at some point. Could you please fix this? Cheers, Henri

Re: [NTG-context] weird issue with xtable

2020-08-13 Thread Taco Hoekwater
t; > The single document (actually, an XML file) compiles just fine, but when > combined together to generate a PDF document over 1000 pages, I get the > error above. > > My questions are: what is the restricted horizontal mode (as different > from the horizontal mode)? Why might

[NTG-context] weird issue with xtable

2020-08-13 Thread Pablo Rodriguez
with that approach. I get the following error message (that breaks compilation) when I add \setupxtable[split=yes]: You can't use '\prevdepth' in restricted horizontal mode The single document (actually, an XML file) compiles just fine, but when combined together to generate a PDF document over 1000

Re: [NTG-context] limit of index entries?

2020-08-02 Thread Henning Hraban Ramm
> Am 02.08.2020 um 10:18 schrieb Hans Hagen : > > On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: >>> Am 01.08.2020 um 14:10 schrieb Hans Hagen : >>> >>> On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: >>>> Hi, >>>> my aforemen

Re: [NTG-context] limit of index entries?

2020-08-02 Thread Hans Hagen
On 8/1/2020 6:08 PM, Henning Hraban Ramm wrote: Am 01.08.2020 um 14:10 schrieb Hans Hagen : On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node

Re: [NTG-context] limit of index entries?

2020-08-01 Thread Hans Hagen
On 8/1/2020 1:54 PM, Henning Hraban Ramm wrote: Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I

[NTG-context] limit of index entries?

2020-08-01 Thread Henning Hraban Ramm
Hi, my aforementioned person index has more than 600 entries. If I get over ~500, ConTeXt (MkIV, several versions) breaks with ! error (push_node): stack overflow mtx-context | fatal error: return code: 256 Is there a hard limit? Can I change it? Hraban

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, 22 Jul 2020 at 20:38, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > James Withers schrieb am 22.07.2020 um 21:20: > > Dear list > > > > I have a document with section headings which include a title, date and >

Re: [NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread Wolfgang Schuster
James Withers schrieb am 22.07.2020 um 21:20: Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter

[NTG-context] Using variables and macros for styling of section title and line in table of contents

2020-07-22 Thread James Withers
Dear list I have a document with section headings which include a title, date and reference spread over two lines with different font style and justification, plus a slightly different text for the table of contents. So that I can alter the styling of the section headings without having

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-13 Thread Hans Hagen
On 7/12/2020 11:54 PM, Jairo A. del Rio wrote: El dom., 12 de jul. de 2020 a la(s) 16:20, Hans Hagen (j.ha...@xs4all.nl ) escribió: You get a list of defined color names in 'xwi' with:     attributes.colors.setlist("xwi") Nice, it works! I note the first

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Jairo A. del Rio
El dom., 12 de jul. de 2020 a la(s) 16:20, Hans Hagen (j.ha...@xs4all.nl) escribió: > You get a list of defined color names in 'xwi' with: > > attributes.colors.setlist("xwi") > Nice, it works! I note the first method only works when \usecolors[xwi] is present; otherwise, it prints an

Re: [NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Hans Hagen
On 7/12/2020 9:58 PM, Jairo A. del Rio wrote: Hi, list. I've got a question about color schemes in ConTeXt What if want to access the entire list of, say, xwi: for k,v in pairs(xwi_list) do --Supposing xwi_list is contains xwi colors   (whatever action I want) end So far I'm manually setting

[NTG-context] Iterate over color scheme in ConTeXt/Lua

2020-07-12 Thread Jairo A. del Rio
Hi, list. I've got a question about color schemes in ConTeXt What if want to access the entire list of, say, xwi: for k,v in pairs(xwi_list) do --Supposing xwi_list is contains xwi colors (whatever action I want) end So far I'm manually setting colors from colo-imp-xwi.mkiv, but I suspect

Re: [NTG-context] ConTeXt source browser website update

2020-07-05 Thread Hans Hagen
are welcome. The download feature for binary files is broken, at least a leading newline is prefixed to the download. But even then https://source.contextgarden.net/source/luametatex/luametatex-source.tar.xz is corrupted. just ignore it ... it's just a left over crap file from some test Hans

Re: [NTG-context] Multiple cases of unexpected behaviour in luametatex

2020-07-04 Thread Hans Hagen
and --jobname is one of then. That bit won't change but one can deal with that in Lua (there is an input line callback so i might even drop the left over bits of those terminal related features). Hans

[NTG-context] Fwd: TeX Annual Meeting 2020 going online

2020-07-02 Thread Taco Hoekwater
> The TeX annual user conference TUG 2020 is going digital on July 24, 25, 26. > Register for free! > > As we move TUG 2020 completely online, we look forward to offering you the > same vibrant programming, innovative and timely content from presenters, and > opportunities t

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
finitions): > > command a (no arguments) > command \bold (a macro with one one braced argument) > > And by the time “\bold" is seen, the “a” command has already been > processed completely. > > > In math mode, there *is* an expression state maintained, and

Re: [NTG-context] spacing before items

2020-06-29 Thread Mike Cooper
RC, I did find one solution this way. I think the biggest challenge with this approach is, as you mention, learning the best search keywords. I think that should improve over time. Thank you for this good advice! _

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
mean "Does context use callbacks?" You can bet on that. It is how we > came to implementing callbacks (over a decade ago now, Taco and I spend > quite some time exploring all these things in the process of luatex dev > ... fond memories and so). > > I don't know wh

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Hans Hagen
way or is a better alternative possible? Thank you very much. You mean "Does context use callbacks?" You can bet on that. It is how we came to implementing callbacks (over a decade ago now, Taco and I spend quite some time exploring all these things in the process of luatex dev

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Hans Hagen
On 6/29/2020 1:06 PM, Taco Hoekwater wrote: Sorry, that was a bit too much oversimplification: On 29 Jun 2020, at 12:36, Taco Hoekwater wrote: In math mode, there *is* an expression state maintained, and that is why \over and \atop work. Actually (still oversimplifying), the found

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
Sorry, that was a bit too much oversimplification: > On 29 Jun 2020, at 12:36, Taco Hoekwater wrote: > > In math mode, there *is* an expression state maintained, and that is why > \over and \atop work. Actually (still oversimplifying), the found commands are saved in a tem

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Taco Hoekwater
mode, there *is* an expression state maintained, and that is why \over and \atop work. For further information and actual details, you can just look at the luatex source (it is in C): https://github.com/TeX-Live/luatex/blob/trunk/source/texk/web2c/luatexdir/tex/maincontrol.c The function void main_co

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
>> >> where arguments come before. The only partial exceptions are commands >> like \atop or \over, which are in fact primitives. Is there a way to do >> this in ConTeXt? >> >> > you can build a lpeg and parse the your

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Jairo A. del Rio
le in TeX > > > > \def#1\macro{blabla#1} > > > > where arguments come before. The only partial exceptions are commands > > like \atop or \over, which are in fact primitives. Is there a way to do > > this in ConTeXt? > > > > Could it be a feature reque

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread luigi scarso
On Sun, Jun 28, 2020 at 10:48 PM Jairo A. del Rio wrote: > I've read the following is not possible in TeX > > \def#1\macro{blabla#1} > > where arguments come before. The only partial exceptions are commands like > \atop or \over, which are in fact primitives. Is

Re: [NTG-context] Commands with arguments before in ConTeXt

2020-06-29 Thread Hans Hagen
On 6/28/2020 10:48 PM, Jairo A. del Rio wrote: I've read the following is not possible in TeX \def#1\macro{blabla#1} where arguments come before. The only partial exceptions are commands like \atop or \over, which are in fact primitives. Is there a way to do this in ConTeXt? Could

[NTG-context] Commands with arguments before in ConTeXt

2020-06-28 Thread Jairo A. del Rio
I've read the following is not possible in TeX \def#1\macro{blabla#1} where arguments come before. The only partial exceptions are commands like \atop or \over, which are in fact primitives. Is there a way to do this in ConTeXt? Could it be a feature request for LuaMetaTeX? I've seen Hans

Re: [NTG-context] pagecolumns: get the current column

2020-06-26 Thread Hans Hagen
of a paragraph get distributed over columns. So sometimes it fails. You can see that in the MWE: the bold "1" between columns in the upper part of the page. It should be a bold "2" in the right margin. Is there a better way to read the current column? Because I want you to run t

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
{\bf \the\curCol} \input ward} \starttext \startpagecolumns[n=2,distance=25mm] \dorecurse{5}{\TestText\par} \stoppagecolumns \stoptext \c_page_col_current works most of the time, but unfortunately it tells you the current column before the lines of a paragraph get distributed over columns

Re: [NTG-context] spacing before items

2020-06-24 Thread Mike Cooper
> > I spent *days* trying to figure out how to add more whitespace > around a floated graphic (the default is too cramped in my opinion). I > finally just > threw up my hands and decided that no one else has this opinion but me so > nobody has ever "fixed" it and thus

[NTG-context] issue with remote \attachment

2020-06-15 Thread Pablo Rodriguez
Hi Hans, one of my documents uses \attachment to embed PDF documents (well, it contains many). I have been doing this for more than a year, but right now it is way slower: over 250s vs. 7s compilation time (with and without the attachment). It takes me 6s to download the document directly

<    1   2   3   4   5   6   7   8   9   10   >