Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Fabrice Couvreur
Hi Pablo, It seems to be working, thanks for your help. Fabrice Le ven. 3 avr. 2020 à 22:22, Pablo Rodriguez a écrit : > On 4/3/20 7:21 PM, Fabrice Couvreur wrote: > > > > I reinstalled context and lmtx, followed your instructions because I got > > the same error message but now I get another er

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 7:21 PM, Fabrice Couvreur wrote: > > I reinstalled context and lmtx, followed your instructions because I got > the same error message but now I get another error message; my editor is > Emacs. > > Running `LmtX' on `ESSAI' with > ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --auto

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Fabrice Couvreur
I reinstalled context and lmtx, followed your instructions because I got the same error message but now I get another error message; my editor is Emacs. Thank you. Fabrice Running `LmtX' on `ESSAI' with ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf E

[NTG-context] Solved: Minimum example of problem getting curly braces printed in METAPOST

2020-04-03 Thread Gerben Wierda
Thanks to Taco, the solution was to simply use: function doubleQuotableEscapedConTeXtString( str) local rep = { [1] = { '{', '{\\textbraceleft}' }, [2] = { '}', '{\\textbraceright}' }, [3] = { '#', '{\\texthash}' }, [4] = { '$', '{\\textdollar}' }, [5] = { '&',

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 3:16 PM, Geert Dobbels wrote: > Pablo, > > Gracias, your suggestion with \rownums works.  I will try this one too, > since it is a simpler solution.  By the way, All information I have > about handlecsv comes from the PDF file you wrote.  \rownums and \lineno > are not explained in this d

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Geert Dobbels
Wolfgang, Thanks for this.  It works, however, the page where the table starts has three lines of text before the table starts.  After inserting "split=repeat", the table jumps to the next page, leaving the rest of the page with the three lines of text completely blank.  This did not happen withou

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Geert Dobbels
Pablo, Gracias, your suggestion with \rownums works.  I will try this one too, since it is a simpler solution.  By the way, All information I have about handlecsv comes from the PDF file you wrote.  \rownums and \lineno are not explained in this document.  Do you know of documentation that describ

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 2:18 PM, Fabrice Couvreur wrote: > Hi, > > I did the installation then I copied the files and finally I did mtxrun > --generate > The file does not compile and I get a file where it says ERROR. > > viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/ > [viserion@archli

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Fabrice Couvreur
Hi, I did the installation then I copied the files and finally I did mtxrun --generate The file does not compile and I get a file where it says ERROR. viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/ [viserion@archlinux texmf-modules]$ ls doc fonts ls-R metapost script

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 12:31 PM, Pablo Rodriguez wrote: > On 4/3/20 11:57 AM, Geert Dobbels wrote: >> [...] >> So in my second \doloopfromto I give the second argument a number >> high enough to be sure it reads all the lines. It works fine, but I >> would like to know if there is a way to read the number of li

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 12:38 PM, Fabrice Couvreur wrote: > Hi, > I'm sorry but I didn't necessarily follow all the threads. I use to make > my graphics Metapost or Metafun, but I also sometimes use TiKz. This > file compiles with context but not with lmtx because the modules are not > recognized. I am willing t

Re: [NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Hans Hagen
On 4/3/2020 12:38 PM, Fabrice Couvreur wrote: Hi, I'm sorry but I didn't necessarily follow all the threads. I use to make my graphics Metapost or Metafun, but I also sometimes use TiKz. This file compiles with context but not with lmtx because the modules are not recognized. I am willing to u

[NTG-context] Compile a file embedding modules with the lmtx engine

2020-04-03 Thread Fabrice Couvreur
Hi, I'm sorry but I didn't necessarily follow all the threads. I use to make my graphics Metapost or Metafun, but I also sometimes use TiKz. This file compiles with context but not with lmtx because the modules are not recognized. I am willing to use only lmtx which seems to be the future of ConteX

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Pablo Rodriguez
On 4/3/20 11:57 AM, Geert Dobbels wrote: > Hello, > > The sample below has 2 problems I cannot find the solution for: > > I am reading a table from a CSV file and want to typeset it via \xtable. > > The xtable as defined below works, it splits over several pages, but the > header does not repeat. I

Re: [NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Wolfgang Schuster
Geert Dobbels schrieb am 03.04.2020 um 11:57: Hello, The sample below has 2 problems I cannot find the solution for: I am reading a table from a CSV file and want to typeset it via \xtable. The xtable as defined below works, it splits over several pages, but the header does not repeat. I have

[NTG-context] xtable headers and handlecsv loop

2020-04-03 Thread Geert Dobbels
Hello, The sample below has 2 problems I cannot find the solution for: I am reading a table from a CSV file and want to typeset it via \xtable. The xtable as defined below works, it splits over several pages, but the header does not repeat. I have seen examples in the mailing list where people p

[NTG-context] lmtx vs mkiv

2020-04-03 Thread Hans Hagen
Hi, One problem of mixed usage of mkiv (with luatex) and lmtx (with luametatex) is that in the later we use a different (initial) context runner. Basically all platforms are now handled the same (in mkiv there was a stub and no texlua, in unix something shebang with texlua because of argument