[NTG-context] LuaMetaTeX code

2024-01-19 Thread Shiv Shankar Dayal
Dear Hans, I saw the C code of LuaMetaTeX and I saw a lot of gotos which is not good coding practice. These potions of code which have goto should be refactored. I am a C programmer, but I know very little of TeX. If you can point me towards where should I start for TeX(perhaps TeX Book or TeX

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread lynx--- via ntg-context
hi, Max The two suggestions don't work. I get a message, "Could not start the command..." each time. $ /usr/local/ConTeXt_Standalone/context-linux-64/bin/context --nofile results in " no such file or directory " which is, indeed, the case. NB: I have just let the installer program do its

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread Max Chernoff via ntg-context
Hi Lynx, > Today, I created a separate "user command" within TeXstudio, and it > points to "/usr/local/ConTeXt_Standalone/context-linux-64/bin/mtxrun" > This command generates the same log output as the example at > https://gitlab.com/islandoftex/images/texlive/-/issues/30. This is probably

Re: [NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-28 Thread lynx--- via ntg-context
Max & Hans: I installed the stand-alone ConTeXt installation just today. It seems like I have my $PATH set correctly now. I have been editing ConTeXt and running it within TeXstudio. I had set up a "user command" to execute arara on LaTeX and ConTeXt files when I did NOT have the "standalone"

[NTG-context] LuaMetaTeX doesn't find files when symlinked

2023-04-27 Thread Max Chernoff via ntg-context
Hi Hans, With the LuaMetaTeX-based ConTeXt wrapper, it's not generally possible to run ConTeXt from a symlinked binary in another directory. This shows up if someone makes symlinks in "/usr/bin" so that they can avoid adding anything to their $PATH. If you make run a symlink to the

[NTG-context] LuaMetaTeX insert nodes patch

2022-09-16 Thread Max Chernoff via ntg-context
Hi Hans, I see that you've released the LuaMetaTeX source code, yay! I'm really impressed with how easy it is to build, and with how quickly it builds. Can you please apply this patch to the LuaMetaTeX source code: diff

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

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:49 PM, Hugh Fisher via ntg-context wrote: It may be unfair, but my impression is that TeX and typesetting / layout systems based on TeX can do more interesting things than say XML or Sphinx. Moving to a more "universal" markup format might broaden my options, but I don't want a

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

2021-09-11 Thread Hans Hagen via ntg-context
On 9/11/2021 1:19 PM, Hugh Fisher wrote: On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: [ munch ] in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better

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

2021-09-11 Thread Hugh Fisher via ntg-context
Collating several suggestions into one: On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > Did you try pandoc? On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > you can consider coding your documents in xml and convert them to latex > and html .. neutral input so to say On Sat, 11

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

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:47, Hans Hagen wrote: > [ munch ] > > in this area there is nothing in luametatex that luatex can't do As in my earlier reply, I'm thinking about replacing Adobe Illustrator with Metapost, and LuaMetaTEX seems to have better integration? > > so, if your source uses a

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

2021-09-11 Thread Hugh Fisher via ntg-context
On Fri, 10 Sept 2021 at 21:26, Henning Hraban Ramm wrote: > > No. > > LuaMetaTeX is ConTeXt-only. > You would need a LaTeX -> ConTeXt conversion, and there is none. > Well I am thinking about switching to ConTeX/LuaMetaTEX anyway, because at the moment I draw vector art in the last

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

2021-09-10 Thread Denis Maier via ntg-context
Freitag, 10. September 2021 17:35 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) ; > hugo.fis...@gmail.com > Betreff: Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > You may want to have a look at the lwarp package as an alternative to tex4ht. >

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

2021-09-10 Thread Denis Maier via ntg-context
r > Betreff: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler? > > 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. &g

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] 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

[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: \hbox dir vs. direction

2020-12-18 Thread Hans Hagen
On 12/17/2020 11:48 AM, Henri Menke wrote: Dear Hans, In LuaMetaTeX the directional syntax for boxes \hbox dir TLT {...} is no longer supported. Currently this is necessary for PGF because certain things like shading have to always be typeset in TLT. Is there a simple workaround?

[NTG-context] LuaMetaTeX: \hbox dir vs. direction

2020-12-17 Thread Henri Menke
Dear Hans, In LuaMetaTeX the directional syntax for boxes \hbox dir TLT {...} is no longer supported. Currently this is necessary for PGF because certain things like shading have to always be typeset in TLT. Is there a simple workaround? Cheers, Henri See also:

[NTG-context] LuaMetaTex dereferences NULL pointer

2020-08-31 Thread Marcel Fabian Krüger
Hi, with the latest LuaMetaTeX upload (running on Linux x64), \normalunexpanded tries to write to address 0 and therefore segfaults: \normalunexpanded{abc} \starttext \stoptext ConTeXt fails with mtx-context | fatal error: return code: 139 The most interesting message from valgrind is

Re: [NTG-context] luametatex segmentation fault

2020-01-12 Thread Hans Hagen
On 1/12/2020 1:23 PM, Ramón Casares wrote: On Sun, 12 Jan 2020 12:00:55 +0100 Hans Hagen wrote: On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex so what is that call? luametatex --ini lmtx.tex what in that tex file? $ cat

Re: [NTG-context] luametatex segmentation fault

2020-01-12 Thread Ramón Casares
On Sun, 12 Jan 2020 12:42:50 +0100 Hans Hagen wrote: > On 1/12/2020 8:22 AM, Ramón Casares wrote: > > ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > next version will say: > > >luametatex --ini whatever.tex > This is LuaMetaTeX, Version 2.03.9 (INITEX) > startup error :

Re: [NTG-context] luametatex segmentation fault

2020-01-12 Thread Ramón Casares
On Sun, 12 Jan 2020 12:00:55 +0100 Hans Hagen wrote: > On 1/12/2020 8:22 AM, Ramón Casares wrote: > > ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex > > so what is that call? > > luametatex --ini lmtx.tex > > what in that tex file? $ cat $(~/context/tex/texmf-linux-64/bin/mtxrun

Re: [NTG-context] luametatex segmentation fault

2020-01-12 Thread Hans Hagen
On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex next version will say: >luametatex --ini whatever.tex This is LuaMetaTeX, Version 2.03.9 (INITEX) startup error : missing find_data_file callback --

Re: [NTG-context] luametatex segmentation fault

2020-01-12 Thread Hans Hagen
On 1/12/2020 8:22 AM, Ramón Casares wrote: ~/context/tex/texmf-linux-64/bin/luametatex --ini lmtx.tex so what is that call? luametatex --ini lmtx.tex what in that tex file? Hans -

Re: [NTG-context] luametatex segmentation fault

2020-01-11 Thread Ramón Casares
On Sat, 11 Jan 2020 22:14:21 +0100 Hans Hagen wrote: > On 1/11/2020 3:27 PM, Ramón Casares wrote: > > Hi list, > > > > I am new to LMTX, so before going any further > > I wanted to compile my plain TeX documents with LMTX. > > I am aware that LMTX is experimental, so perhaps > > what I am doing

Re: [NTG-context] luametatex segmentation fault

2020-01-11 Thread Hans Hagen
On 1/11/2020 3:27 PM, Ramón Casares wrote: Hi list, I am new to LMTX, so before going any further I wanted to compile my plain TeX documents with LMTX. I am aware that LMTX is experimental, so perhaps what I am doing is impossible for the moment or worse, it is not even in your plans. In any

[NTG-context] luametatex segmentation fault

2020-01-11 Thread Ramón Casares
Hi list, I am new to LMTX, so before going any further I wanted to compile my plain TeX documents with LMTX. I am aware that LMTX is experimental, so perhaps what I am doing is impossible for the moment or worse, it is not even in your plans. In any case, this is how I got a segmentation fault

[NTG-context] luametatex install as root in OpenBSD

2019-10-21 Thread Damien Thiriet
Hello, When I installed luametatex as root under OpenBSD amd64 this morning, I first had "no permission" to launch context. So I checked my /usr/local/context file (where I unpacked the zip). The symlink context had the right permissions after install process (-rwxr-xr-x root wheel) but not

Re: [NTG-context] Luametatex and modules

2019-08-26 Thread kaddour kardio
I followed the steps andt worked! Thnk you Aditya for both your help and the packages ;) Le dim. 25 août 2019 à 12:35, Aditya Mahajan a écrit : > On Sat, 24 Aug 2019, kaddour kardio wrote: > > > Hi everybody, i have luametatex installed in /opt/luametatex, thanks to > the > > [aur] package

Re: [NTG-context] Luametatex and modules

2019-08-25 Thread Aditya Mahajan
On Sat, 24 Aug 2019, kaddour kardio wrote: Hi everybody, i have luametatex installed in /opt/luametatex, thanks to the [aur] package maintainer , my question is how do i manage to get my modules working? If you are using the arch linux, install the context-minimals-git package from AUR and

[NTG-context] Luametatex and modules

2019-08-23 Thread kaddour kardio
Hi everybody, i have luametatex installed in /opt/luametatex, thanks to the [aur] package maintainer , my question is how do i manage to get my modules working? Thank you in advance. -- Dr YAHYAOUI Mohamed Kaddour, cardiologue .

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
a/context/tex/texmf-linux-64/bin to >> your PATH environment variable? >> >> >> >> Joseph >> >> >> >> *De : *Fabrice Couvreur >> *Envoyé le :*dimanche 7 avril 2019 13:13 >> *À : *mailing list for ConTeXt users >> *Objet :*[NTG-conte

Re: [NTG-context] luametatex : command not found

2019-04-08 Thread Fabrice Couvreur
Hi Fabrice, > > > > Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your > PATH environment variable? > > > > Joseph > > > > *De : *Fabrice Couvreur > *Envoyé le :*dimanche 7 avril 2019 13:13 > *À : *mailing list for ConTeXt user

Re: [NTG-context] luametatex : command not found

2019-04-07 Thread Joseph Canedo
Hi Fabrice, Have you added /home/viserion/data/context/tex/texmf-linux-64/bin to your PATH environment variable? Joseph De : Fabrice Couvreur Envoyé le :dimanche 7 avril 2019 13:13 À : mailing list for ConTeXt users Objet :[NTG-context] luametatex : command not found Hi, My system is unix

[NTG-context] luametatex : command not found

2019-04-07 Thread Fabrice Couvreur
Hi, My system is unix and my platform is linux-64. I installed ConTeXt LMTX as described, namely in my home and in the directory /data /context/ I then tried to compile but without success a file : [viserion@archlinux ~]$ /home/viserion/data/context/tex/texmf-linux-64/bin/context area.tex

Re: [NTG-context] Luametatex

2019-04-03 Thread Hans Hagen
On 4/3/2019 12:06 PM, Dmitry Starostin wrote: To sum up problems of setting up after installing context-lmtx (context mkiv on my machine is gone, so these are quite pressing questions): how gone ... all can live alongside Some were addressed, but I cannot resolve them 1. luametatex: works

[NTG-context] Luametatex

2019-04-03 Thread Dmitry Starostin
To sum up problems of setting up after installing context-lmtx (context mkiv on my machine is gone, so these are quite pressing questions): Some were addressed, but I cannot resolve them 1. luametatex: works as intended from within TexShop, but 'command not found' from terminal