Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
y tweaks, hence could not reproduce any >> error. >> >> cheers >> Heinrich >> >> ——— >> >> R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics" >> Copyright (C) 2022 The R Foundation for Statistical Computing >> Platform: x8

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
ot reproduce any > error. > > cheers > Heinrich > > ——— > > R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics" > Copyright (C) 2022 The R Foundation for Statistical Computing > Platform: x86_64-apple-darwin17.0 (64-bit) > > [R.app GUI 1.78 (8075

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Thangalin via ntg-context
form: x86_64-apple-darwin17.0 (64-bit) > > [R.app GUI 1.78 (8075) x86_64-apple-darwin17.0] > > > svg("/Users/hp/filename.svg"); > > plot(rnorm(200)); > > dev.off() > null device > 1 > > > > ——— > > % !TEX program = lmtx > >

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-09 Thread Heinrich Paeßens via ntg-context
75) x86_64-apple-darwin17.0]> svg("/Users/hp/filename.svg");> plot(rnorm(200));> dev.off()null device           1 > ———% !TEX program = lmtx\starttext  \externalfigure[/Users/hp/filename.svg][conversion=mp]\stoptext——— tst-svg-mp.pdf Description: Adobe PDF document On 9. May 2

Re: [NTG-context] SVG style ignored after double semicolon

2022-05-08 Thread Thangalin via ntg-context
Hi again, In tex/texmf-context/tex/context/base/mkxl/mlib-svg.lmt the following regex appears a few times (line 1502, 1556, and 1570): gmatch(VAR,"%s*([^:]+):%s*([^;]+);?") It may be helpful to first normalize the string by appending a semicolon to the end, allowing for: for

Re: [NTG-context] Is there a "smart" capitalisation implementation?

2022-05-08 Thread Hans Hagen via ntg-context
-cap.luafile to get a clue. But I used to use TeX exclusively and I have to admit that it's so overwhelming for a newbie. I really like the way wherebibtextreats words enclosed in curly braces are ignored. Or are there something that's less aggressive than\WORDso the LaTeX trick works: \def

[NTG-context] Is there a "smart" capitalisation implementation?

2022-05-07 Thread Zhichu via ntg-context
`...` to wrap it and replace it with \egroup ...\WORD\bgroup{} with lpeg. This kinda works, but that's so ugly. Besides, the actual story is that I also want to add markdown as an option, so the backticks actually have meanings. I also checked the typo-cap.lua file to get a clue. But I used to use TeX

[NTG-context] Wiki update: create a .vsix extension package for VisualStudio Code (or VSCodium)

2022-05-05 Thread mf via ntg-context
Hello list, I just added some instructions to the WIKI to build an extension file for VSCode, starting from the code you find in the LMTX installation at tex/texmf-context/context/data/vscode/extensions/context You find them at https://wiki.contextgarden.net/VSCode Massi

Re: [NTG-context] XML: calculations on attribute values before output

2022-05-05 Thread Duncan Hothersall via ntg-context
code: > > \startluacode > userdata.xmlfunctions = {} > function userdata.xmlfunctions.entry (t) > local rows = (t.at.morerows or 1) + 1 > context.bTD({nr=rows}) > lxml.flush(t) > context.eTD() > end > \stopluacode > > All of the tex-side commands also exist in

Re: [NTG-context] XML: calculations on attribute values before output

2022-05-05 Thread Taco Hoekwater via ntg-context
}{*}{xml:demo:*} \xmlsetfunction {\xmldocument}{entry}{userdata.xmlfunctions.entry} \stopxmlsetups and then add this lua code: \startluacode userdata.xmlfunctions = {} function userdata.xmlfunctions.entry (t) local rows = (t.at.morerows or 1) + 1 context.bTD({nr=rows}) lxml.flush(t) context.eTD() end \stopl

Re: [NTG-context] XML processing instructions

2022-05-03 Thread Duncan Hothersall via ntg-context
with the lua escape character which is % (which sends my editor haywire because it thinks I am putting in a TeX comment, but never mind!). So my now working code to translate historic processing instructions into directives without a separate pass is: \startluacode function lxml.preprocessor(data) data

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
tion in list > > On 5/2/2022 12:09 PM, Denis Maier via ntg-context wrote: > > > But, it’d still love to hear whether there is a solution on the tex side. > \processtokens {[before]} {[between]} {[after]} {[space]} {{one}{two}{three}} > > \def\whatever{a,b,c,d} > >

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Hans Hagen via ntg-context
On 5/2/2022 12:09 PM, Denis Maier via ntg-context wrote: But, it’d still love to hear whether there is a solution on the tex side. \processtokens {[before]} {[between]} {[after]} {[space]} {{one}{two}{three}} \def\whatever{a,b,c,d} \getcommacommandsize[\whatever] \scratchcounterone

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
("first:") tex.print(v) else tex.print("in between:") tex.print(v) end end \stopluacode \stoptext But, it'd still love to hear whether there is a solution on the tex side. Denis Von: Maier, Denis Christian (UB) Gesendet: Montag, 2. Mai 2022 09:15

Re: [NTG-context] XML processing instructions

2022-05-02 Thread Duncan Hothersall via ntg-context
startsetups xml:directive:injector:newline > > \crlf > > \stopsetups > > > > Also, I have learned that you can just use arbitrary context code in xml: > > > > \def\xmltexdirective#1#2{\doif{#1}{command}{#2}} > > > > \xmlinstalldirective{tex}{xmltexdirec

Re: [NTG-context] XML processing instructions

2022-05-02 Thread Denis Maier via ntg-context
learned that you can just use arbitrary context code in xml: \def\xmltexdirective#1#2{\doif{#1}{command}{#2}} \xmlinstalldirective{tex}{xmltexdirective} Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Montag, 2. Mai 2022 09:45 An: 'mailing list for ConTeXt users

Re: [NTG-context] recursion in a table

2022-05-02 Thread Hans Hagen via ntg-context
\NR \stoptabulate Remind me of a more-than-a-decade-old discussion on the mailing list, summarized here: https://adityam.github.io/context-blog/post/tex-programming/ Also, \HL doesn’t work at the end, and the second line of the error message makes no sense: As you're not afraid of low level

[NTG-context] Callbacks in LuaMetaTeX

2022-05-01 Thread Max Chernoff via ntg-context
break" produces a luatex warning > tex: left parfill skip is gone warning. I don't get this warning in Plain LuaTeX, LuaLaTeX, or MkIV, so I think that it's specific to LuaMetaTeX. The LuaMetaTeX manual hardly mentions "left parfill skip"/"parfillleftskip",

Re: [NTG-context] recursion in a table

2022-05-01 Thread Aditya Mahajan via ntg-context
me of a more-than-a-decade-old discussion on the mailing list, summarized here: https://adityam.github.io/context-blog/post/tex-programming/ > Also, \HL doesn’t work at the end, and the second line of the error >

[NTG-context] Fuzzy paragraph when exporting to XML

2022-04-29 Thread Aditya Mahajan via ntg-context
module at all). Compiling it using $context --trackers=export\* lines gives the fuzzy paragraph warning. Any hints on how to resolve this? Thanks, Aditya lines.tex Description: TeX document ___ If your qu

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-29 Thread Eduardo Bohoyo via ntg-context
   > lua error on line 112 in file de/c_intro.tex: callback error: ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: attempt to perform arithmetic on a nil value (field 'height') stack traceback:  ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: in funct

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Max Chernoff via ntg-context
n file de/c_intro.tex: callback error: ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: attempt to perform arithmetic on a nil value (field 'height') stack traceback: ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: in function <...local/tex/luatex/lua-widow-contr

Re: [NTG-context] context module t-account in LMTX

2022-04-28 Thread Heinrich Paeßens via ntg-context
Many thanks Wolfgang, I can see the 'values' in a table like form, nothing but the values — how can I switch on the 'lines' of the table?Best regards, HeinrichI took your file t-taccount.mkxland——% !TEX program = lmtx\usemodule[t][taccount]\startTEXpage[offset=5pt]\starttaccount[title=Bilanz

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Eduardo Bohoyo via ntg-context
issues, then having the TeX source would likely simplify things on my end. -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Henning Hraban Ramm via ntg-context
intro.tex: callback error: ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: attempt to perform arithmetic on a nil value (field 'height') stack traceback: ...local/tex/luatex/lua-widow-control/lua-widow-control.lua:510: in function <...local/tex/luatex/lua-widow-contr

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-28 Thread Max Chernoff via ntg-context
ill lingering issues, then having the TeX source would likely simplify things on my end. -- Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http:

[NTG-context] Fwd: lua-widow-control module error in LMTX

2022-04-27 Thread Eduardo Bohoyo via ntg-context
On 2022-04-26 3:45 a.m., Eduardo Bohoyo wrote: I can see "modules > 'lua-widow-control' is loaded". But, luckily, I can also see this: open source > level 2, order 4, name '/opt/luametatex/texmf-modules/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-27 Thread Max Chernoff via ntg-context
pen source > level 2, order 4, name '/opt/luametatex/texmf-modules/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl' resolvers   > lua > loading file '/opt/luametatex/texmf-modules/tex/luatex/lua-widow-control/lua-widow-control.lua' succeeded close source    > l

[NTG-context] context module t-account in LMTX

2022-04-26 Thread Heinrich Paeßens via ntg-context
-account.tex —— % !TEX program = lmtx \usemodule[t-account] \environment TACCOUNT \startDEBITS \debit [Auto] {2000} \debit [Bus] {5000} \startCREDITS \credit [Bank] {1000} \credit [Kasse] {200} \credit [Kasse] {200} \stopCREDITS \stopACCOUNT —— leads to error shown in the log: —— resolvers

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-26 Thread Eduardo Bohoyo via ntg-context
. In short, there are 613 new lines with the message "luatex warning > tex: left parfill skip is gone". But I didn't give it any importance, because I interpreted that they could be inherent to the module. I can see "modules > 'lua-widow-control' is loaded". But, luckil

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-26 Thread Eduardo Bohoyo via ntg-context
Hi: No line such as "Widow/orphan detected. Attempting to delete". I see interleaved new groups with the same line always repeating a warning message throughout the whole file. In short, there are 613 new lines with the message "luatex warning > tex: left parfill skip is g

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-25 Thread Max Chernoff via ntg-context
On 2022-04-25 6:51 p.m., Eduardo Bohoyo wrote: First things first.  I want to acknowledge and thank you for the tough mission that surely involves maintaining this module for the benefit of the TeX community and, most especially, for LMTX in particular, due to the very reasons you have just

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-25 Thread Eduardo Bohoyo via ntg-context
Hi, Max: First things first.  I want to acknowledge and thank you for the tough mission that surely involves maintaining this module for the benefit of the TeX community and, most especially, for LMTX in particular, due to the very reasons you have just explained. Regarding your remarks

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-25 Thread Max Chernoff via ntg-context
(Please keep me CC'd as I'm not subscribed to the list) Hi, I'm the lua-widow-control author. > lua error > lua error on line 74 in file > /opt/luametatex/texmf-modules/tex/context/third/lua-widow-control/t-lua-widow-control.mkxl > > The odd thing is that line 75 of the t-lu

[NTG-context] Why can I no longer place \input inside table after update?

2022-04-23 Thread Joel via ntg-context
After I ran an update on ConTeXt, my code gets an error: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex     \HL \stoptabulate \stoptext File test2.tex contains "\NC {\bf

[NTG-context] New Tool: tree-sitter-context_en Parser

2022-04-22 Thread Paul Mazaitis via ntg-context
Hi, everyone! I've been working on an updated tree-sitter parser for the ConTeXt file format. The parser has pretty good support for parsing a ConTeXt .tex file and producing a syntax tree for that file (and, optionally, highlighting). The parser also has support for using appropriate parsers

[NTG-context] lua-widow-control module error in LMTX

2022-04-21 Thread Eduardo Bohoyo via ntg-context
Hi, I would like to know if anyone has experienced the same error with the lua-widow-control module when compiling the pdf: modules > 'lua-widow-control' is loaded open source > level 2, order 3, name '/opt/luametatex/texmf-modules/tex/context/third/lua-widow-control/t-lua-widow-contro

Re: [NTG-context] lua-widow-control module error in LMTX

2022-04-21 Thread Eduardo Bohoyo via ntg-context
El 21/4/22 a las 22:08, Eduardo Bohoyo escribió: Hi, I would like to know if anyone has experienced the same error with the lua-widow-control module when compiling the pdf: modules > 'lua-widow-control' is loaded open source > level 2, order 3, name '/opt/luametatex/texmf-modul

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Heinrich Paeßens via ntg-context
>> just a quick question: >> >> Is there a command or package to embed the source-file (*.tex) into the >> resulting pdf-file, > > Hi Heinrich, > > I think this may be what you need: > > \setupinteraction[state=start] > \attachment[file=\jobname.tex] > \star

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Heinrich Paeßens via ntg-context
/22 16:47, Heinrich Paeßens via ntg-context wrote: >> Hi there >> >> just a quick question: >> >> Is there a command or package to embed the source-file (*.tex) into the >> resulting pdf-file, > > Hi Heinrich, > > I think this may be what you need:

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/19/22 16:47, Heinrich Paeßens via ntg-context wrote: > Hi there > > just a quick question:  > > Is there a command or package to embed the source-file (*.tex) into the > resulting pdf-file, Hi Heinrich, I think this may be what you need: \setupinteraction[state=start]

[NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
of the fraction. A short example showing this is attached (pdf, tex, and log) Therefore i have the following questions - would it help to sacrifice the updated standalone installation and do a fresh install - What else i would have to check and probably fix to make the math working as expected

[NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Christoph Hintermüller via ntg-context
of the fraction. A short example showing this is attached (pdf, tex, and log) Therefore i have the following questions - would it help to sacrifice the updated standalone installation and do a fresh install - What else i would have to check and probably fix to make the math working as expected

Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
20. 오전 4:18, Jeong Dal via ntg-context 작성: > > Dear Hans, > > A new upload solves the math font problem in MetaFun. The code > label(textext("$\sin\theta$”),origin); > is working well. > Also, your sample file adaptive-001.tex is also working without error which &

Re: [NTG-context] new upload

2022-04-19 Thread Jeong Dal via ntg-context
Dear Hans, A new upload solves the math font problem in MetaFun. The code label(textext("$\sin\theta$”),origin); is working well. Also, your sample file adaptive-001.tex is also working without error which is not compiled before. However, \vfill is not working in column mode

Re: [NTG-context] embed source-file in pdf

2022-04-19 Thread Rik Kabel via ntg-context
On 2022-04-19 10:47, Heinrich Paeßens via ntg-context wrote: Hi there just a quick question: Is there a command or package to embed the source-file (*.tex) into the resulting pdf-file, just like in LaTeX using package »embedall« <https://mirror.las.iastate.edu/tex-archive/macros/la

[NTG-context] embed source-file in pdf

2022-04-19 Thread Heinrich Paeßens via ntg-context
Hi there just a quick question: Is there a command or package to embed the source-file (*.tex) into the resulting pdf-file, just like in LaTeX using package »embedall« <https://mirror.las.iastate.edu/tex-archive/macros/latex/contrib/embedall/embedall.pdf>? Many thanks and kind r

Re: [NTG-context] TeXworks on Linux

2022-04-16 Thread Willi Egger via ntg-context
9/04/2022 à 21:52, Willi Egger via ntg-context a écrit : >> Good evening! >> >> Currently I am trying to test different editors on a Linux-box. — Tonight I >> installed TeXworks. Now I wanted to change the editor to use ConTeXt LMTX. I >> added in the tab “typesett

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
This is different from the path >>> given on the wiki. The directory contained three files, two of which were >>> aliases, libzint.2.10.dylib and libzint.dylib, and an exe file >>> libzint.2.10.0.0.dylib >> You have Hombrew installed in a non-standard location.

Re: [NTG-context] fatal error in LMTX

2022-04-13 Thread Pablo Rodriguez via ntg-context
arttext \startfrontmatter some text... \input c1.tex \stoptext Contents of 'c1.tex': \stopfrontmatter Compilation works fine, but checking doesn’t. Checking doesn’t also work with XML sources typeset with ConTeXt environments. XML is the most common format for the sources I use with ConTeXt.

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-12 Thread Keith McKay via ntg-context
les linked into /usr/local/bin. But, assuming other Homebrew commands work when run from Terminal then you might still be okay. 3) I created the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint and copied libzint.2.10.0.0.dylib into but replaced dylib with 'so' as suggested on the w

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-10 Thread Bruce Horrocks via ntg-context
a non-standard location. Mine is in /usr/local/Cellar with the executables linked into /usr/local/bin. But, assuming other Homebrew commands work when run from Terminal then you might still be okay. > 3) I created the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint and > copied libzint.2

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-10 Thread Luis Montgomery via ntg-context
On my macOS High Sierra your MWE works fine. Although I remember that I didn't use Homebrew, but had to build zint manually. >From log: optional > using library '/Users/monty/context/tex/texmf-osx-64/bin/lib/luametatex/zint/libzint.so' Here it is enough that libzint.so be a link: libz

[NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-10 Thread Keith McKay via ntg-context
aliases,  libzint.2.10.dylib and libzint.dylib, and an exe file libzint.2.10.0.0.dylib 3) I created the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint and copied libzint.2.10.0.0.dylib into but replaced dylib with 'so' as suggested on the wiki instructions. So I basically added lib

Re: [NTG-context] TeXworks on Linux

2022-04-10 Thread Alain Delmotte via ntg-context
" the path to the executables in the TeX tree. Then I added funder editing the processing tools following the Wiki as a programme mtxrun and as parameters —script context $fullname. After restarting the application I get the error: “unknown script ‘mtx-base.lua' or ‘mtx-mtx-base.lua’” My que

[NTG-context] TeXworks on Linux

2022-04-09 Thread Willi Egger via ntg-context
Good evening! Currently I am trying to test different editors on a Linux-box. — Tonight I installed TeXworks. Now I wanted to change the editor to use ConTeXt LMTX. I added in the tab “typesetting" the path to the executables in the TeX tree. Then I added funder editing the processing

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Pablo Rodriguez via ntg-context
ith "mtxrun --script fonts --reload --force", so I completely remove the contents from "tex/texmf-cache/luametatex-cache/" (which requires "mtxrun --generate" after). "mtxrun --script cache --erase" used to do the same, but I cannot get it working now (ei

[NTG-context] not working "mtxrun --scripts cache --erase"

2022-04-06 Thread Pablo Rodriguez via ntg-context
Dear list, I’m afraid that I have just found out that "mtxrun --scripts cache --erase" doesn’t delete a single file from the cache. Here is the output I get: $ mtxrun --scripts cache --erase mtx-cache | writable path: /context/tex/texmf-cache/ luametatex-cache/context

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-05 Thread Pablo Rodriguez via ntg-context
framedtext \input zapf \stopframedtext \stoptext > What version of ConTeXt are you using, Pablo? Current latest from 2022.04.01 09:37. Binaries for 64bits on both OS. Just in case it may help, I recommend the following approach. 1. Remove the file OpenSansEmoji.ttf. 2. Remove the directory

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
, suitable for oldstyle glyphs too. -- \mainlanguage[it] % modified from http://www.pragma-ade.com/context/latest/cont-tst.zip % file: doc/context/tests/mkiv/fonts/extensions-001.tex \startluacode fonts.handlers.otf.addfeature { name = "ktest

Re: [NTG-context] modify kern between two glyphs

2022-04-05 Thread mf via ntg-context
/extensions-001.tex \startluacode fonts.handlers.otf.addfeature { name = "ktest", type = "kern", data = { [ '’' ] = { [ '4' ] = -100 }, } } \stopluacode \definefontfeature[ktest][ktest=yes] \starttext Default: «Questo è success

Re: [NTG-context] Spellchecking for ConTeXt user on a Windows platform

2022-04-02 Thread Tomáš V via ntg-context
Hey Amine, LibreOffice (along with loads of other software) uses Hunspell dictionaries for spell-checking. You can get them here [1]. Hunspell [2] is a spell checker similar to Aspell. (A Windows port is available in the EZWinPorts [3].) Unlike Aspell, it can’t parse TeX files. One way

Re: [NTG-context] Spellchecking for ConTeXt user on a Windows platform

2022-04-02 Thread A A via ntg-context
gt; > Alain > Le 2/04/2022 à 09:23, A A via ntg-context a écrit : > > Dear All, > > I'm currently using ConTeXt on a windows machine. I'd like to incorporate > some sort of automated spell-checking in my workflow. I've seen that there > are two options: > >1. spell

Re: [NTG-context] mkiv

2022-04-02 Thread Pablo Rodriguez via ntg-context
context --luatex --generate"): system > lua > loading of file 'context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua' failed: cannot open context/tex/texmf-context/tex/context/base/mkiv/luat-exe.lua: No such file or directory resolvers > lua > loading

Re: [NTG-context] Spellchecking for ConTeXt user on a Windows platform

2022-04-02 Thread Alain Delmotte via ntg-context
mated spell-checking in my workflow. I've seen that there are two options: spell check the .tex source file spell check the resulting pdf For the first option many resources online seem to suggest using aspel

Re: [NTG-context] mkiv

2022-04-02 Thread Hans Hagen via ntg-context
udes a "luatex-cache" directory inside) When I run "mtxrun --generate", all required files are generated in "$HOME/context/tex/texmf-cache/luametatex-cache". I wonder why "mtrun --generate" doesn’t generate a "luatex-cache" directory in the same dire

[NTG-context] Spellchecking for ConTeXt user on a Windows platform

2022-04-02 Thread A A via ntg-context
Dear All, I'm currently using ConTeXt on a windows machine. I'd like to incorporate some sort of automated spell-checking in my workflow. I've seen that there are two options: 1. spell check the .tex source file 2. spell check the resulting pdf For the first option many resources online

Re: [NTG-context] new upload / more math

2022-04-01 Thread Willi Egger via ntg-context
m 10:02 schrieb Hans Hagen via ntg-context: >>> Hi, >>> As most of you know by now, Mikael and I are working on a math >>> support upgrade. In order to let users keep up we uploaded a new >>> version. We have been revisioning some of the more obscure >>> const

Re: [NTG-context] mkiv

2022-04-01 Thread Denis Maier via ntg-context
When I run "mtxrun --generate", all required files are generated in "$HOME/context/tex/texmf-cache/luametatex-cache". I wonder why "mtrun --generate" doesn’t generate a "luatex-cache" directory in the same directory containing "luametatex-cache".

Re: [NTG-context] mkiv

2022-04-01 Thread Pablo Rodriguez via ntg-context
nerate", all required files are generated in "$HOME/context/tex/texmf-cache/luametatex-cache". I wonder why "mtrun --generate" doesn’t generate a "luatex-cache" directory in the same directory containing "luametatex-cache". BTW, the

Re: [NTG-context] new upload / more math

2022-04-01 Thread jdh via ntg-context
constructs where we have  no clue of usage, like pmod, bmod, > > bordermatrix etc, commands that we  took (and reimplemented) > > decades ago from plain TeX or AMS TeX, assuming that these are > > standards. > > In this release, encouraged by the positiv

Re: [NTG-context] new upload / more math

2022-04-01 Thread Henning Hraban Ramm via ntg-context
(and reimplemented) decades ago from plain TeX or AMS TeX, assuming that these are standards. In this release, encouraged by the positive response we received from users regarding the new simplealignment construction, and in particular regarding the self-explaining sesac, we have decided

[NTG-context] new upload / more math

2022-04-01 Thread Hans Hagen via ntg-context
(and reimplemented) decades ago from plain TeX or AMS TeX, assuming that these are standards. In this release, encouraged by the positive response we received from users regarding the new simplealignment construction, and in particular regarding the self-explaining sesac, we have decided

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-31 Thread A A via ntg-context
tg-context schrieb am 30.03.2022 um 18:24: >>> > > > Dear All, >>> > > > >>> > > > I would like to ask whether there exists a command line option to >>> the >>> > > > context executable which would allow me to specify the direc

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-31 Thread Alain Delmotte via ntg-context
xecutable which would allow me to specify the directory in > > > which I would like my output to be dumped. > > > > > > I have noticed that if I call the executable outside the directory in

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-30 Thread A A via ntg-context
gt;> > > > which I would like my output to be dumped. >> > > > >> > > > I have noticed that if I call the executable outside the directory >> in >> > > > which the .tex file resides, my supporting files (and resulting pdf) >> &

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-30 Thread A A via ntg-context
line option to the > > > > context executable which would allow me to specify the directory in > > > > which I would like my output to be dumped. > > > > > > > > I have noticed that if I call the executable outside the directory in > > >

Re: [NTG-context] Fwd: command line arguments to specify output directory

2022-03-30 Thread Aditya Mahajan via ntg-context
o ask whether there exists a command line option to the > > > context executable which would allow me to specify the directory in > > > which I would like my output to be dumped. > > > > > > I have noticed that if I call the executable outside the directory in > &g

[NTG-context] Breaking url into multiple lines results in broken link in rendered PDF

2022-03-30 Thread A A via ntg-context
e.com>" ]\goto{link}[url(myUrl)]\stoptext* Unfortunately the link does not work. When I *don't* split the URL into multiple lines, the link works again. In reality my link is very long and forces uncomfortable line continuation in my `vim` editor. How can I break up long URLs in my source

[NTG-context] Fwd: command line arguments to specify output directory

2022-03-30 Thread A A via ntg-context
t; > I would like to ask whether there exists a command line option to the > > context executable which would allow me to specify the directory in > > which I would like my output to be dumped. > > > > I have noticed that if I call the executable outside the directory in &

Re: [NTG-context] command line arguments to specify output directory

2022-03-30 Thread Wolfgang Schuster via ntg-context
outside the directory in which the .tex file resides, my supporting files (and resulting pdf) are dumped outside the directory in which the .tex file is located. context --runpath=... filename Wolfgang ___ If your

[NTG-context] command line arguments to specify output directory

2022-03-30 Thread A A via ntg-context
Dear All, I would like to ask whether there exists a command line option to the context executable which would allow me to specify the directory in which I would like my output to be dumped. I have noticed that if I call the executable outside the directory in which the .tex file resides, my

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread Wolfgang Schuster via ntg-context
ConTeXt complains about the \textrm command. tex error   > tex error on line 2 in file ./test.tex: Undefined control sequence \undefined     $C = ``\textrm     {dad}``$ 1 \starttext 2 >>  $C = ``\textrm{dad}``$ 3 \stoptext The control sequence at the end of the top lin

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
> the following: > > *\mathcal{A}* > > Then I try to compile the test_context.tex file: > > *context test_context.tex* > > Which unfortunately results in an error: > > > *resolvers | formats | executing runner 'run luametatex format': > C:/context/tex/texmf-

Re: [NTG-context] mathcal generates error in ConTeXt

2022-03-26 Thread Jan-Erik Hägglöf via ntg-context
; > \mathcal{A} > > Then I try to compile the test_context.tex file: > > context test_context.tex > > Which unfortunately results in an error: > > resolvers | formats | executing runner 'run luametatex format': > C:/context/tex/texmf-win64/bin/lua

[NTG-context] Fwd: mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
': C:/context/tex/texmf-win64/bin/luametatex --jobname="./test_context.tex" --fmt=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f3

[NTG-context] Fwd: mathcal generates error in ConTeXt

2022-03-26 Thread A A via ntg-context
results in an error: *resolvers | formats | executing runner 'run luametatex format': C:/context/tex/texmf-win64/bin/luametatex --jobname="./test_context.tex" --fmt=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.f

[NTG-context] mathcal generates error in ConTeXt

2022-03-25 Thread A A via ntg-context
unfortunately results in an error: *resolvers | formats | executing runner 'run luametatex format': C:/context/tex/texmf-win64/bin/luametatex --jobname="./test_context.tex" --fmt=C:/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/c

Re: [NTG-context] zint module on LMTX

2022-03-25 Thread Lutz Haseloff via ntg-context
Hi all, with the new upload, for me on Win64 the zint module does not work yet. >cmd /c context test.tex && start sumatrapdf test.pdf test.log: resolvers | formats | executing runner 'run luametatex format': C:/context/tex/texmf-win64/bin/luametatex --jobname="./te

Re: [NTG-context] embedding tex and lua code in

2022-03-24 Thread mf via ntg-context
The attached MWE shows how to: - embed tex code in or <script </tt><tt>type="text/vnd.lmtx"> HTML elements to be run by ConTeXt </tt><pre style="margin: 0em;"> - embed lua code in <script type="text/x-lua"> elements to be

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
context ha scritto: I found the solution I was looking for. The command to run is still context --environment=nested-xmlsetup.tex --forcexml nested-xmlsetup.xhtml In the element there's some tex code, which redefines the </tt><tt>xmlsetups for <p> and <i> elements,

Re: [NTG-context] redefining xmlsetups inside a XML document

2022-03-22 Thread mf via ntg-context
I found the solution I was looking for. The command to run is still context --environment=nested-xmlsetup.tex --forcexml nested-xmlsetup.xhtml In the element there's some tex code, which redefines the </tt><tt>xmlsetups for <p> and <i> elements, coloring the first o

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
ys \m{\frac{2}{3} A}, \m{\frac{1}{3} D}. \stoptext \definefallbackfamily[story][serif][notoserif][range={greekandcoptic,greekextended},force=yes] \definefontfamily[story][serif][TeX Gyre Schola] \definefontfamily [story] [sans] [Latin Modern Sans] \definefontfamily [story] [mono] [Latin Modern

[NTG-context] Tex capacity exceeded...

2022-03-17 Thread jbf via ntg-context
Thanks Hans, and Rik. Perhaps I need to take a much closer look at this file to see if I have created some grouping issues. The removal of the .tuc file is a very handy tip that I hadn't thought of, and I assume it is associated with the way Hans put it, namely, 'looks like you load the same

Re: [NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread Rik Kabel via ntg-context
On 2022-03-17 18:14, jbf via ntg-context wrote: I'd like to understand what is happening in this particular instance: While playing with a suggestion to a recent request (re \currentlistentrynumber etc.) I suddenly got a compiling error: TeX capacity exceeded, sorry [file=2000]. I returned

Re: [NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread Hans Hagen via ntg-context
On 3/17/2022 11:14 PM, jbf via ntg-context wrote: I'd like to understand what is happening in this particular instance: While playing with a suggestion to a recent request (re \currentlistentrynumber etc.) I suddenly got a compiling error: TeX capacity exceeded, sorry [file=2000]. I

[NTG-context] TeX capacity exceeded.... but....

2022-03-17 Thread jbf via ntg-context
I'd like to understand what is happening in this particular instance: While playing with a suggestion to a recent request (re \currentlistentrynumber etc.) I suddenly got a compiling error: TeX capacity exceeded, sorry [file=2000]. I returned everything to how it was before I was trying out

Re: [NTG-context] zint module on LMTX

2022-03-17 Thread Pablo Rodriguez via ntg-context
On 3/16/22 22:32, Pablo Rodriguez via ntg-context wrote: > [...] > On Windows, I need to check the issue further. Using latest binary from SF (which is Win32, btw), I get the following error message: error (lmt library): unable to load 'D:/utilidades/context/tex/ texmf-win64/b

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Adam Reviczky via ntg-context
width=4cm] > >\stoptext > > > > Error message is rather weird on Linux: > > > >optional> using library '/home/ousia/context/tex/texmf-linux- > > 64/bin/lib/luametatex/zint/libzint.so' > >zint> unknown barcode alte

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Hans Hagen via ntg-context
] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext Error message is rather weird on Linux: optional> using library '/home/ousia/context/tex/texmf-linux- 64/bin/lib/luametatex/zint/libzint.so' zint> unknown barcode alternative 'isbnx'

<    8   9   10   11   12   13   14   15   16   17   >