[NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hugh Fisher via ntg-context
I have documents in LaTeX, and would like to generate XHTML (ePub) output without going through an intermediate DVI or PDF step. Markup to markup, translating or transpiling rather than typesetting. My use case is that I have two tabletop gaming books, 60 - 80 pages of text and diagrams, written

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 1:13 PM, Hugh Fisher via ntg-context wrote: I have documents in LaTeX, and would like to generate XHTML (ePub) output without going through an intermediate DVI or PDF step. Markup to markup, translating or transpiling rather than typesetting. My use case is that I have two

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
Hi, After perusing the texmfcnf.lua file, I created a file with the same name in my texmf-local folder, changing the settings for the node memory and step size, but it did not affect the compilation of the original MWE (without the enableexperiments switches), which still fails. What am I

Re: [NTG-context] Default page layout

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 7:26 AM, kauśika cittūr via ntg-context wrote: Dear List, I am using LMTX 2021.08.30 19:56. I have the following example – \starttext \showlayout \input knuth \stoptext which yields an output (attached here) with a "asymmetric" layout. Am I doing something wrong? Or have I

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
Hi, Hans The enableexperiments switches you pointed to solved the problem for the mwe I sent, but I'll take a look at the texmfcnf.lua configuration file to learn more. Thank you for your suggestions. Marcus Vinicius On Thu, Sep 9, 2021 at 5:12 AM Hans Hagen wrote: > On 9/9/2021 12:52 AM,

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Henning Hraban Ramm via ntg-context
> Am 10.09.2021 um 13:13 schrieb Hugh Fisher via ntg-context > : > > So (finally) my question: is LuaMetaTEX what I'm looking for? No. LuaMetaTeX is ConTeXt-only. You would need a LaTeX -> ConTeXt conversion, and there is none. Did you try pandoc? Hraban

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Hans Hagen via ntg-context
On 9/10/2021 1:45 PM, Marcus Vinicius Mesquita wrote: Hi, After perusing the texmfcnf.lua file, I created a file with the same name in my texmf-local folder, changing the settings for the node memory and step size, but it did not affect the compilation of the original MWE (without the

Re: [NTG-context] If you really absolutely need more capacity, you can ask a wizard to enlarge me

2021-09-10 Thread Marcus Vinicius Mesquita via ntg-context
Yes, in texmf-local/web2c Only mtxrun --generate But even after now also running context --make, when compiling the mwe, lmtx throws: tex error > tex error on line 540005 in file ./mwe.tex: TeX capacity exceeded, sorry [node memory size=5000] On Fri, Sep 10, 2021 at 8:49 AM Hans Hagen

[NTG-context] Why do we install context in $HOME/bin?

2021-09-10 Thread juh via ntg-context
Dear all, the installation documentation on the wiki says: mkdir $HOME/bin/context cd $HOME/bin/context wget http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip unzip context-linux-64.zip sh install.sh AFAIR we had $HOME/context before. Is this intended? Is it because $HOME/bin is

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
Oh, as a a more general response I can only reiterate what has been said already: Depending on your particular needs it might be better to start with some neutral input and generate output formats from there. There are plenty of options each with particular up- and downsides, e.g. markdown via

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
You may want to have a look at the lwarp package as an alternative to tex4ht. Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hugh Fisher via > ntg-context > Gesendet: Freitag, 10. September 2021 13:14 > An: ntg-context@ntg.nl > Cc: Hugh Fisher > Betreff:

[NTG-context] Setting up the double pages of part beginnings

2021-09-10 Thread Christian Dekant via ntg-context
Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there should be a full (printpaper)size image. If the part title ends up on an

[NTG-context] Weird error when using \startformula inside lua

2021-09-10 Thread Aditya Mahajan via ntg-context
I sometimes define lua functions for showing out worked out calculations. The following minimal example shows that context([[\startformula ... \stopformula]]) fails in LMTX with an error message: tex error > tex error on line 3 in file ./test.tex: Undefined control sequence