[NTG-context] Re: getting LuaTeX to work

2024-06-24 Thread Hans Hagen
--luatex works for me (on OSX), but context --make --luatex doesn’t since forever. Do you have a bin then? And ran mtxrun --generate --luatex ? Sorry, I didn’t want to hijack the thread. Good hint – of course I don’t have a luatex binary besides that from TeX live 2023 that doesn’t work

[NTG-context] Re: getting LuaTeX to work (was: Trouble installing on Alpine Linux)

2024-06-24 Thread Henning Hraban Ramm
--luatex doesn’t since forever. Do you have a bin then? And ran mtxrun --generate --luatex ? Sorry, I didn’t want to hijack the thread. Good hint – of course I don’t have a luatex binary besides that from TeX live 2023 that doesn’t work with latest LMTX/MkIV. hm, normally it should because nothign

[NTG-context] Re: weekend update

2024-06-24 Thread Gerion Entrup
Am Sonntag, 23. Juni 2024, 15:28:37 MESZ schrieb Hans Hagen: > On 6/23/2024 2:35 PM, Gerion Entrup wrote: > > Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context: > >> -- support for stacking at the tex end (maybe for presentations) &g

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen
a bin then? And ran mtxrun --generate --luatex ? Sorry, I didn’t want to hijack the thread. Good hint – of course I don’t have a luatex binary besides that from TeX live 2023 that doesn’t work with latest LMTX/MkIV. hm, normally it should because nothign gets added to luatex but maybe one

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Henning Hraban Ramm
? Sorry, I didn’t want to hijack the thread. Good hint – of course I don’t have a luatex binary besides that from TeX live 2023 that doesn’t work with latest LMTX/MkIV. Hraban ___ If your question is of interest

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Bryan Kaplan via ntg-context
t /tmp/test.tex startup error : no format file given, quitting $ which context /opt/context/tex/texmf-linuxmusl-64/bin/context $ /opt/context/tex/texmf-linuxmusl-64/bin/context /tmp/test.tex resolvers | formats | executing runner 'run luametatex format': [snip] So it's some kind of invocation bu

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
On 6/24/2024 4:05 AM, Bryan Kaplan via ntg-context wrote: On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth: i just tested again an install (using the latest musl installer) on an alpine WSL instance and it works ok; i can also process a tex file (when i set the path right

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
On 6/24/2024 7:20 AM, Henning Hraban Ramm wrote: Am 24.06.24 um 04:05 schrieb Bryan Kaplan via ntg-context: mtx-install | running: /opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket "/opt

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-24 Thread Hans Hagen via ntg-context
. Hraban Yes, that command which is run by install.sh — `/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate` — does indeed succeed when the `--luatex` flag is removed. (I have to wonder why install.sh attempts to run an unsupported command.) because luatex can

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Bryan Kaplan via ntg-context
mmand which is run by install.sh — `/opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate` — does indeed succeed when the `--luatex` flag is removed. (I have to wonder why install.sh attempts to run an unsupported command.) But still, after running `context --generate`, I still

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Henning Hraban Ramm
Am 23.06.24 um 22:15 schrieb Pablo Rodriguez via ntg-context: On 6/23/24 21:50, Henning Hraban Ramm wrote: [...] It would be really helpful for me to have the TeX source of an already published article, so I can adapt the template to my article. [...] Noting special, besides the header. I

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Henning Hraban Ramm
Am 24.06.24 um 04:05 schrieb Bryan Kaplan via ntg-context: mtx-install | running: /opt/context/tex/texmf-linuxmusl-64/bin/context --luatex --generate mtx-context | redirect luametatex -> luatex: luatex --luaonly --socket "/opt/context/tex/texmf-linuxmusl-64/bin/mtxrun.lua"

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Bryan Kaplan via ntg-context
On 2024-06-23 at 05:25:32-06:00, Hans Hagen via ntg-context set forth: > i just tested again an install (using the latest musl installer) on an > alpine WSL instance and it works ok; i can also process a tex file (when > i set the path right as reported by the installer) > \st

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Pablo Rodriguez via ntg-context
On 6/23/24 21:50, Henning Hraban Ramm wrote: >> [...] >> It would be really helpful for me to have the TeX source of an already >> published article, so I can adapt the template to my article. > [...] > Noting special, besides the header. I just thought about something s

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Henning Hraban Ramm
for me to have the TeX source of an already published article, so I can adapt the template to my article. \startArticle[% Title={Editorial Note}, %RunningTitle={editorial}, %SubTitle={}, Author={Henning Hraban Ramm}, %RunningAuthor={hraban ramm} ] \startAbstract \stopAbstract

[NTG-context] Re: weekend update

2024-06-23 Thread Hans Hagen via ntg-context
On 6/23/2024 2:35 PM, Gerion Entrup wrote: Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context: -- support for stacking at the tex end (maybe for presentations) \starttext \definestacking[one] \definestacking[two] \startbuffer This is a test \stacking [one

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
Am Sonntag, 23. Juni 2024, 14:35:13 MESZ schrieb Gerion Entrup: > Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context: > > -- support for stacking at the tex end (maybe for presentations) > > > > \starttext > > > > \definestac

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
Am Samstag, 22. Juni 2024, 02:47:31 MESZ schrieb Aditya Mahajan: > On Fri, 21 Jun 2024, Hans Hagen via ntg-context wrote: > > > Hi, > > > > -- support for stacking at the tex end (maybe for presentations) > > > > \starttext > > > &

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
Am Freitag, 21. Juni 2024, 19:00:03 MESZ schrieb Hans Hagen via ntg-context: > -- support for stacking at the tex end (maybe for presentations) > > \starttext > > \definestacking[one] > \definestacking[two] > > \startbuffer > This is a test \stacking [one] {and

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-23 Thread Hans Hagen via ntg-context
sl installer) on an alpine WSL instance and it works ok; i can also process a tex file (when i set the path right as reported by the installer) \starttext test \stoptext : mkiv lua stats > used platform: linuxmusl-64, type: unix, binary subtree: texmf-linuxmusl-64 mkiv lua stats > used

[NTG-context] Re: “call for articles” (context meeting 2023)

2024-06-23 Thread Pablo Rodriguez via ntg-context
On 6/22/24 20:29, Henning Hraban Ramm wrote: > Hey, don’t want a journal this year? > > Pretty please… Hraban, well, I think I could write something (so I get a permanent ban on using ConTeXt ever again ). It would be really helpful for me to have the TeX source of an already publishe

[NTG-context] Re: weekend update

2024-06-21 Thread Aditya Mahajan
On Fri, 21 Jun 2024, Hans Hagen via ntg-context wrote: > Hi, > > -- support for stacking at the tex end (maybe for presentations) > > \starttext > > \definestacking[one] > \definestacking[two] > > \startstackingsteps[one,two,{one,two}] > \startTEXpage

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Bryan Kaplan via ntg-context
I tried manually specifying this format file, but then get this error: ``` $ context --fmt=/opt/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt /tmp/test.tex startup error : missing find_format_file callback ``` So I'm no longer

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
i can do (will give some upload noise on the list) btw, i can compile luametatex on WSL alpine so i can use that binary you can do that as exercise: - apk add build-base - apk add cmake - go to tex/texmf-context/source/luametatex - chmod 755 build.sh - ./build.sh - copy bin from build/native

[NTG-context] weekend update

2024-06-21 Thread Hans Hagen via ntg-context
Hi, I uploaded a new version: -- fix for hraban's svg image (one character patch) -- more verbose link comments for pablo (for experimenting) -- support for stacking at the tex end (maybe for presentations) \starttext \definestacking[one] \definestacking[two] \startbuffer This is a test

[NTG-context] Re: Specify separator within setupbtx for custom bibliography rendering

2024-06-21 Thread Gerion Entrup
s (of one source). I want > to also specify the separator but did not get it to run. > > Here is a minimal example: > ``` > \setupinteraction[state=start] > > \startbuffer[testdata] > @Book{knuth1, > author = {Donald E. Knuth}, > title = {TEX and METAFON

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-21 Thread Hans Hagen via ntg-context
ure but probably not that well known. If needed I can make something similar at the tex end. Hans Thank you for the example, but learning metafun is another chapter and the graphics are much more complicated than the minimal example given. I saw that you pushed an updated version that fixes the b

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-21 Thread Gerion Entrup
stopTEXpage > > \startTEXpage[offset=.25ts] > \useMPgraphic{test}{stacking={1,2,13}} > \stopTEXpage > > \stoptext > > It's an already old feature but probably not that well known. If needed > I can make something similar at the tex end. > > Hans Thank yo

[NTG-context] Re: Trouble installing on Alpine Linux

2024-06-21 Thread Hans Hagen via ntg-context
On 6/21/2024 4:39 AM, Bryan Kaplan via ntg-context wrote: Hi all, I'm a *TeX novice trying and failing to install ConTeXt on Alpine Linux. *Attempt #1*: Following https://wiki.contextgarden.net/Installation <https://wiki.contextgarden.net/Installation> * Error: o install.sh

[NTG-context] Typesetting conversion tables, ref charts, scales, rulers in ConTeXt

2024-06-20 Thread John Magolske
a ruler, e.g. https://duckduckgo.com/?t=ffab=ruler+scale+inch+mm=web I found some interesting tips here: https://tex.stackexchange.com/questions/15157/how-to-make-a-ruler which pointed to: https://ctan.org/tex-archive/macros/generic/misc specifically this file typesets some nice rulers: https

[NTG-context] Trouble installing on Alpine Linux

2024-06-20 Thread Bryan Kaplan via ntg-context
Hi all, I'm a *TeX novice trying and failing to install ConTeXt on Alpine Linux. *Attempt #1*: Following https://wiki.contextgarden.net/Installation • Error: • install.sh: line 109: /opt/context/bin/mtxrun: not found • That file does exist, but attempting to execute it fails with that error

[NTG-context] Re: upgrade problem, more info

2024-06-20 Thread Hans Hagen via ntg-context
On 6/20/2024 2:39 AM, jbf wrote: I should give a little more info on the upgrade problem. My system is Linux (Mint). Context installed at /home/jbf/context/tex/texmf-linux-64/bin/context Current version after upgrade : 2024.06.18 22:04 I tried reinstalling, but same result: error, no format

[NTG-context] upgrade problem, more info

2024-06-19 Thread jbf
I should give a little more info on the upgrade problem. My system is Linux (Mint). Context installed at /home/jbf/context/tex/texmf-linux-64/bin/context Current version after upgrade : 2024.06.18 22:04 I tried reinstalling, but same result: error, no format found with name: cont-en

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-19 Thread Wolfgang Schuster
    > invalid \starttext ... \stoptext structure close source    > level 1, order 3, name './hover1.tex' (\end occurred when \ifcase on line 6 was incomplete) ... """ This should be \protected\de

[NTG-context] Re: (off-topic) hovering over links in Acrobat Reader

2024-06-19 Thread Henning Hraban Ramm
ource> level 1, order 3, name './hover1.tex' (\end occurred when \ifcase on line 6 was incomplete) ... """ Hraban ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: context / auctex problem?

2024-06-19 Thread Jim
them, I strongly advise you to upgrade to the newest auctex release. >> To the point that I, who >> am an Emacs user for almost everything, when I write in ConTeXt I prefer >> to use Vim. "The horror, the horror." - Marlon Brando On Tue, Jun 18, 2024 at 16:12 (+0

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-19 Thread Hans Hagen
\useMPgraphic{test}{stacking={2,12}} \stopTEXpage \startTEXpage[offset=.25ts] \useMPgraphic{test}{stacking={1,2,13}} \stopTEXpage \stoptext It's an already old feature but probably not that well known. If needed I can make something

[NTG-context] Re: context / auctex problem? half-solved

2024-06-18 Thread Jürgen Hanneder via ntg-context
Here just an inelegant half-solution: I added the whole program path to the 'TeX-command-list and it works, but this is hardly satisfying. At least it suggests that nothing else is wrong except that emacs 29.3 and auctex 14.0.5 together decide not to find a path, which is in .bashrc

[NTG-context] Re: expanded doif's

2024-06-18 Thread Hans van der Meer via ntg-context
ng in your code without a proper minimal example. As > the example below shows you can use \doifelsedefined in combination with > \xmlatt. > > \startbuffer[ifdefined] > > > > > \stopbuffer > > \startxmlsetups xml:document > \xmlflush{#1}

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-18 Thread Gerion Entrup
I tried to combine this with the code of the mail thread: "setuphead in > > connection with the command argument" but had not luck. > > ConTeXt always stops with: > > ``` > > close source> level 1, order 2, name './mwe.tex' > > tex error > runaway

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-18 Thread Gerion Entrup
g somewhere deeper? > next time check the file that you include ... it has no transparency (it > has zero values) I don't really have a clue about the PDF standard. It is made with the TikZ opacity flag therefore I thought it controls the transparency. See the attached tex file to re

[NTG-context] context / auctex problem?

2024-06-17 Thread Lizardo Reyna via ntg-context
Hi, You can update the command for ConTeXt as follows: Graphically: M-x customize-variable *↵* TeX-command-list *↵* find the appropriate section for ConTeXt commands and change it with (e.g.) "context --purgeall %t" (see attached image). Appl

[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-17 Thread Kip Warner
On Tue, 2024-06-18 at 00:54 +0200, Hans Hagen wrote: > complete example needed > > - tex file > - bib file Hello Hans, While trying to prepare a minimal for you I noticed that now all of my footnotes disappear. Here is a minimal using the buffer method so there is o

[NTG-context] Re: Upgrading from 2021.03.05.20230120 -> 2023.05.05.20230730 breaks BibTeX footnotes

2024-06-17 Thread Hans Hagen via ntg-context
\domycite}    \def\domycite[#1][#2]%    {\ifsecondargument    \footnote{\cite[alternative=entry,#1][main::#2]}%    \else    \footnote{\cite[alternative=entry][main::#1]}%    \fi} complete example needed - tex file - bib file Hans

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Wolfgang Schuster
ways stops with: ``` close source> level 1, order 2, name './mwe.tex' tex error > runaway error: end of file encountered mtx-context | fatal error: return code: 1 ``` Here is the MWE: ``` [...] \startsetups[my_chapter] \startlocalheadsetup \startfram

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread Joaquín Ataz López
e  --nonstop > context-test.tex'' > /bin/sh: Zeile 1: context: Kommando nicht gefunden. > > TeX Output exited abnormally with code 127 at Mon Jun 17 14:03:03 > -- Apparently, your Emacs doesn’t use the same PATH as your terminal. The e

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread seyal zavira
from the commandline works fine, so I guess I did not > > misspell the path, > > but when running "Context All" from emacs, the error is: > > > > - > > Running `ConTeXt' on `context-test' with ``context --once --nonstop > > context-test.tex'' > >

[NTG-context] Re: context / auctex problem?

2024-06-17 Thread Henning Hraban Ramm
' /bin/sh: Zeile 1: context: Kommando nicht gefunden. TeX Output exited abnormally with code 127 at Mon Jun 17 14:03:03 -- Apparently, your Emacs doesn’t use the same PATH as your terminal. The error message is from /bin/sh, I guess you usually run bash, zsh or the like, and that gets its

[NTG-context] context / auctex problem?

2024-06-17 Thread Jürgen Hanneder via ntg-context
not misspell the path, but when running "Context All" from emacs, the error is: - Running `ConTeXt' on `context-test' with ``context --once --nonstop context-test.tex'' /bin/sh: Zeile 1: context: Kommando nicht gefunden. TeX Output exited abnormally with code 127 at Mon Jun 1

[NTG-context] Re: expanded doif's

2024-06-17 Thread Wolfgang Schuster
{#1} \stopxmlsetups \startxmlsetups xml:macro \doifelsedefined{\xmlatt{#1}{name}} {\texdefinition{\xmlatt{#1}{name}}{\xmlatt{#1}{arg}}} {{\tttf macro \tex{\xmlatt{#1}{name}} not defined}} % \ifcsname\xmlatt{#1}{name}\endcsname % \lastnamedcs{\xmlatt{#1}{arg}} % \else % % % \fi

[NTG-context] Re: Combine \setupdelimitedtext with an author (define custom variable?)

2024-06-17 Thread Gerion Entrup
escartes] > Cogito ergo sum. > \stopextract > > \stoptext > > Wolfgang > I tried to combine this with the code of the mail thread: "setuphead in connection with the command argument" but had not luck. ConTeXt always stops with: ``` close source> level

[NTG-context] Re: Math manual

2024-06-17 Thread Gerion Entrup
Am Sonntag, 16. Juni 2024, 18:59:52 MESZ schrieb skyhorse--- via ntg-context: > > Mikael Sundqvist wrote: > > > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > > ./tex/texmf-context/doc/context/documents/general/manuals

[NTG-context] Re: Math manual

2024-06-16 Thread Wolfgang Schuster
skyhorse--- via ntg-context schrieb am 16.06.2024 um 18:59: Mikael Sundqvist wrote: ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf Sorry about my locational ignorance

[NTG-context] Re: Math manual

2024-06-16 Thread Jethro Djan
Hi, On Sun, 16 Jun 2024 at 5:13 PM, skyhorse--- via ntg-context < ntg-context@ntg.nl> wrote: > > Mikael Sundqvist wrote: > > > > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > > > ./tex/texmf-context/doc/context/doc

[NTG-context] Re: Math manual

2024-06-16 Thread skyhorse--- via ntg-context
Mikael Sundqvist wrote: > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf > Sorry about my locational ignorance, but where can I view this document? I only

[NTG-context] Re: Math manual

2024-06-16 Thread Fabrice Couvreur
hat the math manual is finally included. > > We have been working on and off since 2021 on math and therefore also > on this document, and we finally believe that both math and the > document are now in a state that should be sufficiently useful and not > too confusing. You can find a screen and

[NTG-context] Pocket Diary Photo Calendar: how to specify on which day the week begins?

2024-06-15 Thread Michael Guravage
\setupTABLE[c][7][foregroundcolor=red] \stopsetups % Define the macro for calling lua \define[1]\Photocalendarpages {\ctxlua{thirddata.calendar.Photo_calendar_page(#1)}} % Setup the \TEX\ side of the document \starttext % Add a title page \startstandardmakeup[page=yes,doubleside

[NTG-context] Re: Math manual

2024-06-15 Thread Jeong Dal via ntg-context
s finally included. >> >> We have been working on and off since 2021 on math and therefore also >> on this document, and we finally believe that both math and the >> document are now in a state that should be sufficiently useful and not >> too confusing. You can find a

[NTG-context] Re: Math manual

2024-06-15 Thread Jethro Djan
finally believe that both math and the > document are now in a state that should be sufficiently useful and not > too confusing. You can find a screen and a paper version: > > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > > ./tex/te

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-15 Thread Hans Hagen via ntg-context
her method). And, as mentioned, vertical extenders also use the same etechnology as we now use for radicals, it's just that there was never a concept like that in engines for radicals. Arrows sit in the same category and also use the same glyphs so there one can observe the same. Actually, even in tradi

[NTG-context] Re: Math manual

2024-06-14 Thread Otared Kavian
not > too confusing. You can find a screen and a paper version: > > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf > ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-paper.pdf > > The versions are generated from the same t

[NTG-context] Re: Math manual

2024-06-14 Thread Alex
the math manual is finally included. > > We have been working on and off since 2021 on math and therefore also > on this document, and we finally believe that both math and the > document are now in a state that should be sufficiently useful and not > too confusing. You can find a screen

[NTG-context] Math manual

2024-06-14 Thread Mikael Sundqvist
believe that both math and the document are now in a state that should be sufficiently useful and not too confusing. You can find a screen and a paper version: ./tex/texmf-context/doc/context/documents/general/manuals/mathincontext-screen.pdf ./tex/texmf-context/doc/context/documents/general/manuals

[NTG-context] Re: How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Otared Kavian
zontal extensible bars in math mode some time ago (as used in \frac, \sqrt, \overbar, ...) was similar to the way LaTeX (PDFLaTeX and LuaLaTeX) and Plain TeX handled this, but it has changed since then. Instead of one bar there are now multiple characters attached to each

[NTG-context] How to improve appearance of bars in frac, sqrt, etc. on screens?

2024-06-13 Thread Ralph
(as used in \frac, \sqrt, \overbar, ...) was similar to the way LaTeX (PDFLaTeX and LuaLaTeX) and Plain TeX handled this, but it has changed since then. Instead of one bar there are now multiple characters attached to each other. This makes it look more consistent with the font, but unfortunately

[NTG-context] Re: Cite-proc Lua - Following up

2024-06-12 Thread Max Chernoff
find them. The following layout seems to work: $ tree -a $TEXMFHOME /home/max/Projects/citeproc-lua/texmf/ ├── scripts │   ├── citation-style-language -> ../../citeproc/ │   └── lua-uca -> ../../submodules/lua-uca/src/lua-uca/ └── tex ├── generic │   └

[NTG-context] nearly on topic: BoVeX, AI alignment

2024-06-10 Thread Henning Hraban Ramm
Funny idea of replacing hyphenation with LLM-generated alternative wording, also explains a bit how TeX works: http://tom7.org/bovex/ (a SIGBOVIK submission) ;) hr ___ If your question is of interest to others

[NTG-context] suggestion: two templates for the wiki

2024-06-10 Thread Pablo Rodriguez via ntg-context
Dear Taco and Hraban, trying to improve the XML page from the wiki, I think it would be extremely useful to have two templates for inline code: {{xml|…}}: inline XML highlighted as for blocks. {{tex|…}}: inline TeX code highlighted as for blocks. As for the second, {{cmd|…}} includes a link

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Henning Hraban Ramm
integer\\measured{"..name.."}")     if asdimen then     return value .. "sp"     else     return tonumber(value)     end     end which is some 4 times slower. It'sindeed not documented (although there are some examples in accessors-001.te

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Hans Hagen via ntg-context
On 6/10/2024 7:08 AM, Max Chernoff wrote: Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: when I define a measure on the TeX side, I used to get at the value in Lua with tex.getdim, like: \definemeasure[Bleed][3mm] tex.getdimen("Bleed") But now I get

[NTG-context] Re: get measures as dimension in Lua

2024-06-09 Thread Max Chernoff
Hi Hraban, On Sun, 2024-06-09 at 22:12 +0200, Henning Hraban Ramm wrote: > when I define a measure on the TeX side, I used to get at the value in > Lua with tex.getdim, like: > > \definemeasure[Bleed][3mm] > > tex.getdimen("Bleed") > > But now I ge

[NTG-context] get measures as dimension in Lua

2024-06-09 Thread Henning Hraban Ramm
Hi, when I define a measure on the TeX side, I used to get at the value in Lua with tex.getdim, like: \definemeasure[Bleed][3mm] tex.getdimen("Bleed") But now I get "incorrect dimen name". I need it as a dimension, since I do calculations with other dimensions like &quo

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Wolfgang Schuster
our task (the one reserved to final users) to compose a proper introduction on how to typeset XML sources with ConTeXt. Borrowing the title from other work, “XML in Proper ConTeXt” (actually taken from https://www.berenddeboer.net/tex/LaTeX2ConTeXt.pdf). Hi, I've read Thomas Schmitt's My Way as an

[NTG-context] Re: ConTeXt source from XML

2024-06-08 Thread Denis Maier via ntg-context
https://www.berenddeboer.net/tex/LaTeX2ConTeXt.pdf).       Hi, I've read Thomas Schmitt's My Way as an excellent introduction in XML processing with ConteXt, but I can't find it anywhere anymore... Does anyone know what ha

[NTG-context] Re: ConTeXt source from XML

2024-06-07 Thread Pablo Rodriguez via ntg-context
be written that way. It is part of our task (the one reserved to final users) to compose a proper introduction on how to typeset XML sources with ConTeXt. Borrowing the title from other work, “XML in Proper ConTeXt” (actually taken from https://www.berenddeboer.net/tex/LaTeX2ConTeXt.pdf). All I c

[NTG-context] ConTeXt source from XML

2024-06-06 Thread Christoph Edenhauser
or TeX to be the format containing them. I mean, if you add explaining footnotes to your TeX file(s), XML won’t be source anymore. If you don’t want this to happen, you have to encode them in the TEI XML sources. In my case, the connection to the original source will be lost. While we will still

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Hans Hagen via ntg-context
to address the nodes of XML trees. About your sources, the real issue here is to define whether you want TEI or TeX to be the format containing them. I mean, if you add explaining footnotes to your TeX file(s), XML won’t be source anymore. If you don’t want this to happen, you have to encode them

[NTG-context] Re: ConTeXt source from XML

2024-06-06 Thread Pablo Rodriguez via ntg-context
. About your sources, the real issue here is to define whether you want TEI or TeX to be the format containing them. I mean, if you add explaining footnotes to your TeX file(s), XML won’t be source anymore. If you don’t want this to happen, you have to encode them in the TEI XML sources. One

[NTG-context] \item would fit, but was pushed to next page. Work-around or fix?

2024-06-05 Thread Jim
), but ConTeXt insisted on moving the last \item to the next page. I assume that its calculations were a bit conservative for whatever reason, but I really wanted the last item to be on the same page as its friends. I tried some "tricks" that would have worked for me in plain TeX, but ConTeXt was h

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Hans Hagen
On 6/5/2024 2:16 PM, Henning Hraban Ramm wrote: Am 05.06.24 um 12:00 schrieb Christoph Edenhauser: My Question is, is it possible to generate a second context file2.tex with the help of this first xml-mapping file1.tex, where all the xml-nodes from the xml file are mapped to contex commands

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Pablo Rodriguez via ntg-context
ate a second context file2.tex > with the help of this first xml-mapping file1.tex, where all the > xml-nodes from the xml file are mapped to contex commands which then > looks something like this: I‘m afraid this is not possible (it works in a different way) > I would th

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 12:00 schrieb Christoph Edenhauser: My Question is, is it possible to generate a second context file2.tex with the help of this first xml-mapping file1.tex, where all the xml-nodes from the xml file are mapped to contex commands Hi, I don’t find it hard to understand, but I

[NTG-context] Re: ConTeXt source from XML

2024-06-05 Thread Christoph Edenhauser
actually use context --environment xml-analyze-template.tex file.xml to typeset in a pdf file. But I would like to convert all the XML nodes into the ConTeXt typesetting language, and then edit/correct the text and maybe some structure in this *.tex file. And here comes my question

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
text should *not* be added. And yet the >> (previous) \blank page example does print the text (as well as the bullets) >> before the \starttext. Is there a discrepancy between what >> .../Help:Context says and what actually happens? > When you take a look at the sett

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Hans Hagen
file.xml     to typeset in a pdf file. But I would like to convert all the XML nodes into the ConTeXt typesetting language, and then edit/correct the text and maybe some structure in this *.tex file. And here comes my question: Can I use context to convert my XML-file 'file.xml

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
appears, compare begin example Before \tex{starttext} \starttext After \tex{starttext}. \stoptext end example with begin example \setupbodyfont[12pt] Before \tex{starttext} \starttext After \tex{starttext}. \stoptext end example The second example loads a font before

[NTG-context] Re: ConTeXt source from XML

2024-06-04 Thread Christoph Edenhauser
like to convert all the XML nodes into the ConTeXt typesetting language, and then edit/correct the text and maybe some structure in this *.tex file. And here comes my question: Can I use context to convert my XML-file 'file.xml' into a ConTeXt-file 'file.tex' instead of typesetting

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Jim
? > When no font has been loaded yet with \setupbodyfont ConTeXt prints text > which is put in a \hbox in a monospaced font as shown in the example below. > %%%% begin example > This is before \tex{starttext}. > \hbox{This is also before \tex{starttext}} > \starttext >

[NTG-context] Re: https://wiki.contextgarden.net/Command/blank

2024-06-04 Thread Wolfgang Schuster
example This is before \tex{starttext}. \hbox{This is also before \tex{starttext}} \starttext This is after \tex{starttext}. \stoptext end example Wolfgang ___ If your question is of interest to others as well

[NTG-context] Re: Number in a circle

2024-06-04 Thread Bruce Horrocks
usr/share/texmf/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2023.05.05 18:36 mtx-context | main context file: /usr/share/texmf/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2023.05.05 18:36 This at least works but it's an ancient version. I co

[NTG-context] Specify separator within setupbtx for custom bibliography rendering

2024-06-01 Thread Gerion Entrup
a minimal example: ``` \setupinteraction[state=start] \startbuffer[testdata] @Book{knuth1, author = {Donald E. Knuth}, title = {TEX and METAFONT. New directions in typesetting}, year = {1979}, publisher = {Addison-Wesley}, } @Article{someother, author = {S

[NTG-context] Re: Number in a circle

2024-05-30 Thread Bruce Horrocks
sults in a new nightly. >> You'll get a lot more people using and testing your newer release this >> way. Food for thought. > > I can assure you the worldwide TeX community has thought about their approach > a few times. > TeX Live packaging (i.e. mostly LaTeX packagin

[NTG-context] Re: self defined conversion in \date

2024-05-30 Thread Wolfgang Schuster
defined conversion in date: \date[d=1][day:mytest] (not OK) \stoptext Is this a bug, or a feature? How could one use self defined conversions in \date please? The \date mechanism can only use conversions which are defined on the Lua side but your custom conversion is only available on the TeX side

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
lder, edit as needed, and then you should be good. You can also set an automatic build recipe in the PPA so each commit to SCM results in a new nightly. You'll get a lot more people using and testing your newer release this way. Food for thought. I can assure you the worldwide TeX communi

[NTG-context] Re: Number in a circle

2024-05-30 Thread Kip Warner
case it might help, > > > > Thanks Pablo. I'm using the context package for Ubuntu Mantic which > > is > > version 2021.03.05.20230120+dfsg-2. I'm assuming that doesn't > > support > > the new unit. > > No. Debian/Ubuntu is known for outdated TeX Live pac

[NTG-context] Re: Number in a circle

2024-05-30 Thread Henning Hraban Ramm
+dfsg-2. I'm assuming that doesn't support the new unit. No. Debian/Ubuntu is known for outdated TeX Live packages. It doesn’t matter as long as it works for you, but on this mailing list we tend to assume latest versions. See "Integrating vanilla TeX Live with Debian"

[NTG-context] lua error in `back-exp.lmt`

2024-05-29 Thread Sylvain Hubert
ConTeXt LMTX version: 2024.05.27 18:16 Sample tex file: \setupbackend[export=yes] \starttext x \startsectionlevel \startitemize \item \startitemize \item \startitemize \item \stopitemize \stopitemize \stopitemize \stopsectionlevel \stoptext Error log: tex error > tex error on lin

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
gt; \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stoptext > > >

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
> > \stopsectionlevel > > \stopsectionlevel > > \stopsectionlevel > > \stoptext > > > > lua error > lua error on line 19 in file ./input.tex: > > > > registered function call [969]: > > ...mtx/tex/texmf-context/tex/context/base/mkiv/strc-l

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-28 Thread Denis Maier via ntg-context
\startsectionlevel \stopsectionlevel \stopsectionlevel \stopsectionlevel \stopsectionlevel \stopsectionlevel \stopsectionlevel \stopsectionlevel \stoptext lua error > lua error on line 19 in file ./input.tex: registered function call [969]: ...mtx/tex/texmf-context/tex/context/base/mkiv/s

  1   2   3   4   5   6   7   8   9   10   >