[NTG-context] Re: appendaction in "shipouts" "after" fails in the latest version

2024-09-21 Thread 黄复雄
;Moduledata.vtypeset.rotate_all1") > nodes.tasks.appendaction("shipouts", "after", > "Moduledata.vtypeset.rotate_all2") -- fails here > > \stopluacode > > \starttext > > try > > \stoptext > ``` > > Compiled the mini-try.lmtx and got out

[NTG-context] Problem with context --extra=select

2024-09-21 Thread Michael Guravage
tached the output in a log file if anyone's interested. Any suggestions? -- With kind regards, Michael Guravage <http://literatesolutions.com> context --extra=select --selection=11:12 forexample.pdf mtx-context | processing extra: /opt/lmtx/tex/texmf-context/tex/context/base/mkiv/m

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Alan Braslau via ntg-context
be able to do the same within context, either using lua or TeX programming? Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / ht

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Joel via ntg-context
I am using Linux, so those tools are available, but Bruce's solution is working great! Just had to make tiny changes to the file. I had no idea I could send an environment variable to ConTeXt...will be using that a lot from now! Thanks very much everyone for the help! On Friday, September 2

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Bruce Horrocks
> On 20 Sep 2024, at 03:57, Joel via ntg-context wrote: > > I have a document that's quite long. It uses a recurse function, a bit like > this: > > \starttext > > \dostepwiserecurse{1}{180}{1}{% > >\input chapter\recurselevel > > } > > \stoptext > > That produces 180 chapter

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Jim
rs. > Is there something I can put, like \breakpdf or something that will tell it > to start a new PDF file? They can be named something like file1.pdf, > file2.pdf, etc. > \starttext >     \dostepwiserecurse{1}{136}{1}{% >    \input chapter\recurselevel > \breakpdf &g

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Wolfgang Schuster
Denis Maier via ntg-context schrieb am 20.09.2024 um 15:05: -Ursprüngliche Nachricht- Von: Wolfgang Schuster Gesendet: Freitag, 20. September 2024 12:26 An: mailing list for ConTeXt users ; Joel via ntg-context Betreff: [NTG-context] Re: How to tell a single *.tex file to produce

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Pablo Rodriguez via ntg-context
On 9/20/24 04:57, Joel via ntg-context wrote: > [...] > The perhaps "obvious" answer is just make 180  *.tex files, but since > the minimal example above is like 0.01% of the complexity of the real > file, that isn't so easy... Hi Joel, I tried to recreate a document w

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Freitag, 20. September 2024 12:26 > An: mailing list for ConTeXt users ; Joel via ntg-context > cont...@ntg.nl> > Betreff: [NTG-context] Re: How to tell a single *.tex file to produce separate > PD

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Wolfgang Schuster
it to start a new PDF file? They can be named something like file1.pdf, file2.pdf, etc. \starttext     \dostepwiserecurse{1}{136}{1}{%    \input chapter\recurselevel \breakpdf } \stoptext The perhaps "obvious" answer is just make 180  *.tex files, but since the minimal e

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread vm via ntg-context
On 20/09/2024 10:33, denisma...@mailbox.org wrote: indeed:> I was going to suggest pdftk which is similar to mutools. indeed: pdftk document.pdf burst will generate pg_.pdf individual pdf pg_0001,pdf pg_0002,pdf pg_0003,pdf pg_0004,pdf ... ___

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Denis Maier via ntg-context
robably know if there is a way to get correct page numbers when using components...) Best, Denis > -Ursprüngliche Nachricht- > Von: vm via ntg-context > Gesendet: Freitag, 20. September 2024 10:23 > An: ntg-context@ntg.nl > Cc: vm > Betreff: [NTG-context] Re: How to te

[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread vm via ntg-context
On 20/09/2024 04:57, Joel via ntg-context wrote: Anyway, my boss is upset she has to use a table of contents to navigate to the page she wants, and so wants me to split the file into 180 separate files, which somehow is going to be easier to look at. Honestly, she probably still won't eve

[NTG-context] How to tell a single *.tex file to produce separate PDFs?

2024-09-19 Thread Joel via ntg-context
e1.pdf, file2.pdf, etc. \starttext     \dostepwiserecurse{1}{136}{1}{%    \input chapter\recurselevel \breakpdf } \stoptext The perhaps "obvious" answer is just make 180  *.tex files, but since the minimal example above is like 0.01% of the complexity of the real fil

[NTG-context] Re: Calling C code from ConTeXt LMTX

2024-09-16 Thread Florent Michel
Thanks again Bruce! I had not thought about the possibility of parsing comments in the tex file from an external tool, but that sounds like a very good option. I like the fact that it would allow the tex file to contain all the information needed to keep track of what is represented without having

[NTG-context] appendaction in "shipouts" "after" fails in the latest version

2024-09-15 Thread 黄复雄
t;shipouts", "after", "Moduledata.vtypeset.rotate_all2") -- fails here \stopluacode \starttext try \stoptext ``` Compiled the mini-try.lmtx and got outputs in terminal: ```text D:\ah21\TEX\vertical-typesetting>cd d:\ah21\TEX\vertical-typesetting & chcp 65001 &am

[NTG-context] Calling C code from ConTeXt LMTX

2024-09-14 Thread Florent Michel
this code run when compiling a document with ConTeXt. (For instance, solving the differential equation with parameters defined in the .tex file and retrieving the results to plot a figure with MetaPost.) One easy way to do that is: * Write wrappers for the functions that will need to be called from

[NTG-context] Re: (ConTeXt LMTX 2024, monospace font) Why does monospaced text go out of the margin for me? is this supposed to happen?

2024-09-14 Thread Wolfgang Schuster
ter? I can't seem to understand why the output is what it is. I would greatly appreciate any help! Feel free to switch out the fonts if you'd like You're trying to justify a text with a fixed width font which fails because the often have a fixed width space. When you have a space a fi

[NTG-context] Re: ConTeXt LMTX 2024, \setupalign: Is the "Nicer justification and microtypography" list of options listed in ConTeXt Garden now obselete?

2024-09-14 Thread Wolfgang Schuster
between me entering (just) flushleft, normal, flushright. Have those options become obsolete? how am I supposed to know? Whether there is a difference or not depends on your text, when you have a wide text block and short words TeX can produce good results without the need for additional

[NTG-context] Re: Validation of pdf/A-2a

2024-09-14 Thread Thomas Meyer
idate and probably no one ever checked how useful it is. But that's often the case with standrads like this: some checkbox ticks so we're okay.) So, the best we can do is to provide some fle

[NTG-context] Re: Validation of pdf/A-2a

2024-09-13 Thread Hans Hagen via ntg-context
ow useful it is. But that's often the case with standrads like this: some checkbox ticks so we're okay.) So, the best we can do is to provide some flexibility, as usual in tex tools, Hans -

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
Bruce Horrocks schrieb am 11.09.2024 um 00:35: On 10 Sep 2024, at 19:47, Wolfgang Schuster wrote: You can't use page counters in running text without problems because you're working against the way how TeX constructs pages. The only reliable way are multipass solutions like the

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Bruce Horrocks
> On 10 Sep 2024, at 19:47, Wolfgang Schuster > wrote: > > You can't use page counters in running text without problems because you're > working against the way how TeX constructs pages. > > The only reliable way are multipass solutions like the pagestate

[NTG-context] Re: how do I get the correct page numbers and do the calculations with it?

2024-09-10 Thread Wolfgang Schuster
to change the size? That might be a work-around for you. There is also \userpagenumber. You can't use page counters in running text without problems because you're working against the way how TeX constructs pages. The only reliable way are multipass solutions like the pagestate or

[NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)

2024-09-09 Thread Joseph Wright
t locks files when open - as such, you have to close your PDF before you run any process that modifies it (so true for all *TeX). It's one reason there is a tendency not to use Acrobat as the main previewer in TeX workflows. That said, some editors (WinEdt at least) will auto-close the PDF when

[NTG-context] Re: Steps to become a ConTeXt developer

2024-09-08 Thread Hans Hagen
On 9/8/2024 12:12 PM, Wolfgang Schuster wrote: Hans Hagen via ntg-context schrieb am 28.08.2024 um 20:18: On 8/28/2024 5:06 PM, Henning Hraban Ramm wrote: There’s also the scite module that uses SciTE’s lexers for syntax highlighting. The builtin highlighters are limited to TeX/ConTeXt

[NTG-context] Re: syntax highlighting (was: Steps to become a ConTeXt developer)

2024-09-08 Thread Henning Hraban Ramm
Am 08.09.24 um 12:12 schrieb Wolfgang Schuster: Hans Hagen via ntg-context schrieb am 28.08.2024 um 20:18: On 8/28/2024 5:06 PM, Henning Hraban Ramm wrote: There’s also the scite module that uses SciTE’s lexers for syntax highlighting. The builtin highlighters are limited to TeX/ConTeXt

[NTG-context] Re: Steps to become a ConTeXt developer

2024-09-08 Thread Wolfgang Schuster
Hans Hagen via ntg-context schrieb am 28.08.2024 um 20:18: On 8/28/2024 5:06 PM, Henning Hraban Ramm wrote: There’s also the scite module that uses SciTE’s lexers for syntax highlighting. The builtin highlighters are limited to TeX/ConTeXt, MetaPost, Lua and XML. They are actually just lpeg

[NTG-context] Re: \ldot and \ldotp not working

2024-09-04 Thread Aditya Mahajan
On Thu, 5 Sep 2024, Hans Hagen wrote: > On 9/4/2024 8:53 PM, Wolfgang Schuster wrote: > > Aditya Mahajan schrieb am 04.09.2024 um 05:58: > >> Hi, > >> > >> With context 2024.08.16 the following gives an error: > >> > >> \starttext > >

[NTG-context] Re: \ldot and \ldotp not working

2024-09-04 Thread Hans Hagen
On 9/4/2024 8:53 PM, Wolfgang Schuster wrote: Aditya Mahajan schrieb am 04.09.2024 um 05:58: Hi, With context 2024.08.16 the following gives an error: \starttext $A \ldot B$ \stoptext tex error   > tex error on line 2 in file ./test.tex: Control sequence expected instead of undefi

[NTG-context] Re: \ldot and \ldotp not working

2024-09-04 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 04.09.2024 um 05:58: Hi, With context 2024.08.16 the following gives an error: \starttext $A \ldot B$ \stoptext tex error > tex error on line 2 in file ./test.tex: Control sequence expected instead of undefined $A \ldot B$ Same error with `\ld

[NTG-context] \ldot and \ldotp not working

2024-09-03 Thread Aditya Mahajan
Hi, With context 2024.08.16 the following gives an error: \starttext $A \ldot B$ \stoptext tex error > tex error on line 2 in file ./test.tex: Control sequence expected instead of undefined $A \ldot B$ Same error with `\ldotp`. However \starttext \show\ldot \show\ld

[NTG-context] Re: registers in footnotes as page glossaries

2024-08-31 Thread M U via ntg-context
e fair, I have asked that a while ago (with MkIV). > > It would be great to have these page glossaries as language aids. > > Right now, they need to be composed manually (using a word processor, no > TeX). > > Many thanks for your help, > > Pablo Perhaps a feaseble wo

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-29 Thread Jim
In short, I cannot seem to produce italic correction like I could in >> plain TeX or even LaTeX. > There are three ways: > the{\sl air\/}port > the{\em air}port > the{\sl\shapecorrection[right]air}port > % shape correction can be left right both > the first one doesn

[NTG-context] Defining mathsymbols from unicode char

2024-08-29 Thread Jethro Djan
ot others (like this character). What can I do to make it work? 2. I would like a \not\perp symbol but it doesn't draw the stroke on top of the symbol. I know you could manipulate this in a plain TeX but I am thinking the mechanism in ConTeXt would be different. How can I achieve this? Al

[NTG-context] registers in footnotes as page glossaries

2024-08-29 Thread Pablo Rodriguez via ntg-context
be great to have these page glossaries as language aids. Right now, they need to be composed manually (using a word processor, no TeX). Many thanks for your help, Pablo ___ If your question is of interest to others

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Hans Hagen via ntg-context
kael and I have plans to look into it ... a pet project for metapost lovers. There’s also the scite module that uses SciTE’s lexers for syntax highlighting. The builtin highlighters are limited to TeX/ConTeXt, MetaPost, Lua and XML. They are actually just lpeg lexers that we made for use in s

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Henning Hraban Ramm
://source.contextgarden.net/tex/context/modules/mkiv/m-asymptote.mkiv I don’t know if it still works and if it could/should be improved. There’s also Aditya’s filter module that alleviates calling external programs (I’m using it with LilyPond): https://github.com/adityam/filter But calling external

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Mojca Miklavec
language coverage (Hans only made sure that TeX, lua, metapost etc. work correctly). Or you can try to start brainstorming whether some existing OpenSource grammars could be integrated to do syntax highlighting using Lua. Vi was a shortcut to get the syntax highlighting done in some way at all. In e

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Mojca Miklavec
Dear Shiv, On Wed, 28 Aug 2024 at 03:17, Shiv Shankar Dayal wrote: > > Suppose a C programmer wants to become a core ConTeXt developer then > what steps one should follow. Assume that the programmer knows only > the basics of LaTeX and never wrote macros etc using TeX or ConTeXt.

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Shiv Shankar Dayal
> Development of LuaMetaTeX (the engine) is mostly finished. We now > entered the stage where we conduct experiment with the more difficult > aspects (often unsolvable due to constraints). For that one needs to be > quite a bit experienced in tex and the way context approaches thing

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Hans Hagen via ntg-context
you identify a bug, or want to propose a feature, I am sure the community will support you however it can. Jethro I want to contribute to ConTeXt. I think that the steps for me should be: Just curious: is there something that you miss. 1. Learn TeX 2. Learn LuaMetaTeX Makes sense. and then

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Henning Hraban Ramm
you identify a bug, or want to propose a feature, I am sure the community will support you however it can. Jethro I want to contribute to ConTeXt. I think that the steps for me should be: 1. Learn TeX 2. Learn LuaMetaTeX and then I can approach the C code. It won't make any sense if I just

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-28 Thread Shiv Shankar Dayal
If you identify a bug, or want to propose a > feature, I am sure the community will support you however it can. > > Jethro I want to contribute to ConTeXt. I think that the steps for me should be: 1. Learn TeX 2. Learn LuaMetaTeX and then I can approach the C code. It won't make any se

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Gerion Entrup
xchartermath XCharter-Math.otf > xcharternormalxcharter xcharteritalic XCharter-Italic.otf > xcharterregular xcharter xcharterroman XCharter-Roman.otf > xcharterroman xcharter xcharterroman XCharter-Roman.otf > xcharterslanted xch

[NTG-context] Re: Steps to become a ConTeXt developer

2024-08-27 Thread Jethro Djan
one should follow. Assume that the programmer knows only > the basics of LaTeX and never wrote macros etc using TeX or ConTeXt. > > -- > Respect, > Shiv Shankar Dayal > > ___ > If your question is

[NTG-context] Steps to become a ConTeXt developer

2024-08-27 Thread Shiv Shankar Dayal
Hi, I am not sure if this is the best place to ask this question but here it goes. Suppose a C programmer wants to become a core ConTeXt developer then what steps one should follow. Assume that the programmer knows only the basics of LaTeX and never wrote macros etc using TeX or ConTeXt

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Wolfgang Schuster
for all of them. Ok, I've seen it here as (somewhat) common ligature: https://en.wikipedia.org/wiki/Ligature_(writing)#Computer_typesetting But there is also mentioned that TeX just has ff, fi, fl, ffi and ffl by default. What is

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Gerion Entrup
e ligature was generated with "\ShowCompleteFont{name:xcharter*default}{11pt}{1}" (with the fnt-10 module). It is, however, noticeable that the whole xcharter font is thicker in the output of \ShowCompleteFont. Is this part of the reason? > > - Overpass has a glyph for the ae l

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-27 Thread Vladimir Grbić
d after some initial testing I > > noticed an unexpected behavior regarding italic correction. > > > > In short, I cannot seem to produce italic correction like I could in plain > > TeX or even LaTeX. > > There are three ways: > > the{\sl air\/}port > > t

[NTG-context] Re: BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-27 Thread Hans Hagen
On 8/26/2024 8:32 PM, cont...@vladimirgrbic.com wrote: Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX

[NTG-context] BUG REPORT: Italic Correction in ConTeXt LMTX

2024-08-26 Thread contact
Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. I've asked the question on TeX StackExchange and an

[NTG-context] slanted fallback and compact fonts

2024-08-19 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: %~ \enableexperiments[fonts.compact] \definefallbackfamily[mainface] [rm][TeX Gyre Pagella] [range={0x0061}, force=yes, it={style:tf, features:{slanted}}] \definefontfamily[mainface] [rm][TeX Gyre Pagella] %[it={style:tf, features

[NTG-context] Re: Why are some external PDF figures leading to a stack overflow error?

2024-08-18 Thread Mikael Sundqvist
e, it still won't compile, but the errors > are completely different. After a few tests I came up with this minimal > code which throws the error: > > > > \starttext > > > >\externalfigure[xmap1] > > > > \stoptext > > > > If I compile thi

[NTG-context] Re: Why are some external PDF figures leading to a stack overflow error?

2024-08-18 Thread Joel via ntg-context
his, and xmap1.pdf is a PDF file in the same path, it outputs > this error: > > lua error      > lua error on line 4 in file ./test.tex: > > registered function call [1606]: > ...ext/tex/texmf-context/tex/context/base/mkxl/lpdf-pde.lmt:175: stack > overflow > stack tracebac

[NTG-context] Re: Why are some external PDF figures leading to a stack overflow error?

2024-08-18 Thread Joel via ntg-context
> different. After a few tests I came up with this minimal code which throws > the error: > > \starttext > >    \externalfigure[xmap1] > > \stoptext > > If I compile this, and xmap1.pdf is a PDF file in the same path, it outputs > this error: > > lua erro

[NTG-context] Re: Why are some external PDF figures leading to a stack overflow error?

2024-08-18 Thread Mikael Sundqvist
ode which throws > the error: > > \starttext > > \externalfigure[xmap1] > > \stoptext > > If I compile this, and xmap1.pdf is a PDF file in the same path, it outputs > this error: > > lua error > lua error on line 4 in file ./test.tex: > > registere

[NTG-context] Why are some external PDF figures leading to a stack overflow error?

2024-08-18 Thread Joel via ntg-context
in file ./test.tex: registered function call [1606]: ...ext/tex/texmf-context/tex/context/base/mkxl/lpdf-pde.lmt:175: stack overflow stack traceback:     ...ext/tex/texmf-context/tex/context/base/mkxl/lpdf-pde.lmt:175: in function <...ext/tex/texmf-context/tex/context/base/mkxl/lpdf-pde.lmt:167>

[NTG-context] Bug Regarding IIalic Correction in ConTeXt LMTX

2024-08-17 Thread Vladimir Grbić
Hello, I started using ConTeXt LMTX 2 days ago and after some initial testing I noticed an unexpected behavior regarding italic correction. In short, I cannot seem to produce italic correction like I could in plain TeX or even LaTeX. I've asked the question on TeX StackExchange and an

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Lutz Haseloff
r   cambriamath   cambriamath >> /home/lutz/fonts/winfont/cambria.ttc    2 > >> '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' >> fonts   > defining > forced type 'ttf' of 'cambria' not found

[NTG-context] Re: Problem with Cambria

2024-08-16 Thread Henning Hraban Ramm
    2 cambriamathregular   cambriamath   cambriamath /home/lutz/fonts/winfont/cambria.ttc    2 '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' fonts   > defining > forced type 'ttf' of 'cambria' not found fonts

[NTG-context] Problem with Cambria

2024-08-16 Thread Lutz Haseloff
/home/lutz/fonts/winfont/cambria.ttc1 ConTeXt doesn't. logfile: open source > level 2, order 3, name '/home/lutz/lmtx/tex/texmf-context/tex/context/fonts/mkiv/type-imp-cambria.mkiv' open source > level 3, order 4, name '/home/lutz/lmtx/tex/texmf-con

[NTG-context] problem with location={right,high} in latest LMTX

2024-08-14 Thread Henning Hraban Ramm
There seems to be a regression with sidefloats: """ \useMPlibrary[dum] \starttext \startplacefigure[title={problem},location={right,high}] \externalfigure[dummy][width=.3\textwidth] \stopplacefigure \samplefile{ward} \stoptext """ results in tex error >

[NTG-context] no escaping with scite highlighting any more?

2024-08-11 Thread Henning Hraban Ramm
Hi, this used to work: """ \usemodule[scite] % the setup doesn’t change the behavior, I think it used to. \setuptyping[TEX][ option=tex, % scite sets "cld" ] \starttext \startTEX[escape=yes] \definemeasure[PageWidth][165mm] /BTEX\hfill{\ss Dimensions}/ETEX \define

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
t if > > another box modifies them. Would anyone know how to resolve this? > > > > Based on two answer on TeX StackExchange > > (https://tex.stackexchange.com/a/486124/123770 > > <https://tex.stackexchange.com/a/486124/123770> , > > > https://tex.stackex

[NTG-context] Re: Nāgarī for Academics

2024-08-11 Thread Hans Hagen via ntg-context
(\it and \fi are already taken by TeX [italics and conditional final command]): {\sa yoga} \startlanguage[sa] yoga \stoplanguage Just in case it might help, so, best use the more verbose tags Hans

[NTG-context] Re: Breakable tcolorbox in ConTeXt

2024-08-11 Thread Hans Hagen via ntg-context
o answer on TeX StackExchange (https://tex.stackexchange.com/a/486124/123770 <https://tex.stackexchange.com/a/486124/123770> , https://tex.stackexchange.com/questions/377234/context-frame-problems/377261#377261 <https://tex.stackexchange.com/questions/377234/context-frame-problems/

[NTG-context] Re: Nāgarī for Academics

2024-08-11 Thread Pablo Rodriguez via ntg-context
On 8/11/24 10:40, Jürgen Hanneder via ntg-context wrote: > > Thanks again, in fact both are useful in different situations. > Jürgen Just for the record, the following language short command and start stop are defined for most languages (\it and \fi are already taken by TeX [it

[NTG-context] Breakable tcolorbox in ConTeXt

2024-08-11 Thread Florent Michel
s, so each MPgraphic ‘sees’ the values of counters at the end of the current page, which may not be right if another box modifies them. Would anyone know how to resolve this? Based on two answer on TeX StackExchange ( https://tex.stackexchange.com/a/486124/123770 , https://tex.stackexchange.com/ques

[NTG-context] Re: Error after latest update

2024-08-06 Thread Shiv Shankar Dayal
span{9}{\dotfill}\NR > >> \NC a_{n1} \NC a_{n2} \NC a_{n3} \NC \cdots \NC a_{nn} > >> \NR\stopdeterminant > >> > >> This was working before today but I updated ConTeXt and it has stopped > >> working. The error it gives me now is: > >>

[NTG-context] Re: Error after latest update

2024-08-06 Thread Wolfgang Schuster
} \NC \cdots \NC a_{nn} \NR\stopdeterminant This was working before today but I updated ConTeXt and it has stopped working. The error it gives me now is: tex error > tex error on line 277 in file determinants.tex: You can't use '\Ustopmath' in restricted horizontal mode

[NTG-context] Re: Error after latest update

2024-08-06 Thread Aditya Mahajan
On Tue, 6 Aug 2024, Shiv Shankar Dayal wrote: > Hi, > > I do not remember where it came from, probably AMS Math or something like > that. It comes from plain: ❯ pdftex This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024/Arch Linux) (preloaded format=pdftex) restric

[NTG-context] Re: Error after latest update

2024-08-06 Thread Shiv Shankar Dayal
_{n1} \NC a_{n2} \NC a_{n3} \NC \cdots \NC a_{nn} > > \NR\stopdeterminant > > > > This was working before today but I updated ConTeXt and it has stopped > > working. The error it gives me now is: > > > > tex error > tex error on line 277 in file determi

[NTG-context] Re: Error after latest update

2024-08-06 Thread Mikael Sundqvist
a_{n2} \NC a_{n3} \NC \cdots \NC a_{nn} > \NR\stopdeterminant > > This was working before today but I updated ConTeXt and it has stopped > working. The error it gives me now is: > > tex error > tex error on line 277 in file determinants.tex: You > can't use &#x

[NTG-context] Error after latest update

2024-08-06 Thread Shiv Shankar Dayal
. The error it gives me now is: tex error > tex error on line 277 in file determinants.tex: You can't use '\Ustopmath' in restricted horizontal mode How can I get it working again? -- Respect,

[NTG-context] Re: Alignments of margin notes

2024-08-02 Thread Wolfgang Schuster
tarttext \doloopoverlist{     inleftmargin,     inrightmargin,     inoutermargin,     ininnermargin,     inleftedge,     inrightedge,     inouteredge,     ininneredge,     atleftmargin,     atrightmargin, } {     \setupmargindata[\recursestring][align=middle]     \title{\tex{\recursestrin

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

2024-07-31 Thread Jacob Kauffmann via ntg-context
in December 2023. Is anybody else running into this issue? Were you able to solve it? Any help would be highly appreciated! Best wishes, Jacob Kauffmann > Am 29.05.2024 um 16:27 schrieb Sylvain Hubert : > > ConTeXt LMTX version: 2024.05.27 18:16 > > Sample tex file: > >

[NTG-context] Re: correcting Wikipedia

2024-07-26 Thread Hans Hagen via ntg-context
e document decades ago, wrapped it into soem macros, and then moved on so basically I only know it by name. That said, one can recognize anything tex by the backslash and curly braces (and editors etc highlighting helps). So I can recognize latex (with 99% accuracy when no commands similar to c

[NTG-context] Re: correcting Wikipedia

2024-07-25 Thread Willi Egger
e and adding two links to pages with photo): > > (Prof. Dr.) Hans Hagen is not to be confused with Hans Hagen, the author > of the ConTeXt macro package for the TeX typesetting system.[5] > > [5] ConTeXt’s author comes from the Netherlands (he is a digital > typographer, no academic

[NTG-context] correcting Wikipedia

2024-07-25 Thread Pablo Rodriguez via ntg-context
case the wording may be improved, I wrote (reprashing a previous sentence and adding two links to pages with photo): (Prof. Dr.) Hans Hagen is not to be confused with Hans Hagen, the author of the ConTeXt macro package for the TeX typesetting system.[5] [5] ConTeXt’s author comes from the Netherlands

[NTG-context] Re: Install urbanist fonts

2024-07-23 Thread Jean-Pierre Delange
t the system can interact with ConTeXT. A safer method is to create separate directories, as indicated by Taco: /tex/texmf-fonts/fonts/data/urbanist. You can also distinguish between True Type fonts (ttf) and Open Type fonts (otf) by separating folders as follows: /tex/texmf-fonts/fonts/otf

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread Wolfgang Schuster
the system can interact with ConTeXT. A safer method is to create separate directories, as indicated by Taco: /tex/texmf-fonts/fonts/data/urbanist. You can also distinguish between True Type fonts (ttf) and Open Type fonts (otf) by separating folders as follows: /tex/texmf-fonts/fonts/otf/ and

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread Jean-Pierre Delange
method is to create separate directories, as indicated by Taco: /tex/texmf-fonts/fonts/data/urbanist. You can also distinguish between True Type fonts (ttf) and Open Type fonts (otf) by separating folders as follows: /tex/texmf-fonts/fonts/otf/ and /tex/texmf-fonts/fonts/ttf/. Then, of course, you

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread Jean-Pierre Delange
english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/context/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1,

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread Taco Hoekwater
Here is what I did (and it worked) * clone the repo * mkdir [context root]/tex/texmf-fonts/fonts/data/urbanist * copy the *.otfs there * mtxrun —generate * fix 3 errors in your typescript (“name:” => “file:”) * done (for Hraban: mtxrun —scripts fonts —reload will run automatically if a f

[NTG-context] Re: Install urbanist fonts

2024-07-22 Thread alan . caruanambom
Yes, I do, This is the log file system > system > ConTeXt ver: 2024.06.21 23:45 LMTX fmt: 2024.7.22 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/context/tex/

[NTG-context] spreadsheet module

2024-07-20 Thread Henning Hraban Ramm
all dots in the text strings. Is there a workaround (beside using \getspr in a “real” table)? Apparently, \startrow or \startcell don’t understand the period setting. Hraban spreadsheet.tex Description: TeX document

[NTG-context] Re: Extra space in numbers

2024-07-16 Thread Hans Hagen
On 7/16/2024 10:32 AM, Shiv Shankar Dayal wrote: Much thanks, Hans. I am curious why this is not default behavior? if could be(come) but we're not sure how it affects existing documents tex has not really a concept of space and in math even less but in luametatex we carry around some

[NTG-context] Re: [External] Extra space in numbers

2024-07-15 Thread Hans Hagen
On 7/16/2024 1:50 AM, Rogers, Michael K wrote: Hi, Braces around the comma, $10{,}000$, works for me. It’s the plain TeX way. If there’s a way to set up mathematics in ConTeXt to do this, perhaps someone else will fill us in. in lmtx { } in math is just grouping, so no ordinary math atom is

[NTG-context] Re: mtxrun error with script pattern

2024-07-15 Thread Marcus Vinicius Mesquita
pt pattern --convert --path=./source --destination=./patterns > > > > with the file hyph-pt.tex v. 1.4 proposed by Leo Araujo and Aline Benevides, > > (see: > > https://github.com/hyphenation/tex-hyphen/pull/62/commits/79f4327c7c94c435cfcb73ea61c001a525fc818e) >

[NTG-context] Re: [External] Extra space in numbers

2024-07-15 Thread Rogers, Michael K
Hi, Braces around the comma, $10{,}000$, works for me. It’s the plain TeX way. If there’s a way to set up mathematics in ConTeXt to do this, perhaps someone else will fill us in. Michael On Jul 15, 2024, at 10:01 PM, Shiv Shankar Dayal wrote: Suppose I have $10,000$ then in the output

[NTG-context] Re: mtxrun error with script pattern

2024-07-15 Thread Hans Hagen
On 7/16/2024 1:00 AM, Marcus Vinicius Mesquita wrote: Dear List When using: mtxrun --script pattern --convert --path=./source --destination=./patterns with the file hyph-pt.tex v. 1.4 proposed by Leo Araujo and Aline Benevides, (see: https://github.com/hyphenation/tex-hyphen/pull/62/commits

[NTG-context] mtxrun error with script pattern

2024-07-15 Thread Marcus Vinicius Mesquita
Dear List When using: mtxrun --script pattern --convert --path=./source --destination=./patterns with the file hyph-pt.tex v. 1.4 proposed by Leo Araujo and Aline Benevides, (see: https://github.com/hyphenation/tex-hyphen/pull/62/commits/79f4327c7c94c435cfcb73ea61c001a525fc818e) I got the

[NTG-context] Re: a different, but not zero, blank at the top of a page

2024-07-09 Thread mf
t its value is the same as in the remainder of the text. So, if the blank over a heading is 2 lines, forcing it at the top of the page produces 2 empty lines (not exactly, because TeX uses a glue at the top for line alignment, if I remember well). What I need is a non zero blank at the top, to

[NTG-context] a different, but not zero, blank at the top of a page

2024-07-09 Thread mf
f the page produces 2 empty lines (not exactly, because TeX uses a glue at the top for line alignment, if I remember well). What I need is a non zero blank at the top, to align the following text to the grid. A solution could be checking whether we are at the top of the page, and choose the

[NTG-context] Re: https://behdad.org/text2024/

2024-07-09 Thread Hans Hagen
endent, complete OpenType renderer, it seems. Different worlds, different audiences, different objectives so a waste of energy to discuss i guess. I can only say that when we started with luatex there was nothing that fit the requirements (oriental tex sub project) so we decided to go the lua

[NTG-context] Re: index sort order (de)

2024-07-07 Thread Henning Hraban Ramm
and de-AT have their uses.) The order of umlauts etc. should be ok. [ß] In tex/context/base/mkiv/sort-lan.lua, ß is replaced by s, while it should be sorted like ss in default and both DIN versions. (de-AT sorts ss after ß.) [upper-/lowercase] While casing is not mentioned in Wikiped

[NTG-context] Re: ConTeXt has stopped working

2024-07-05 Thread Jethro Djan
gt; > > token call, execute: > > ...ext/tex/texmf-context/tex/context/base/mkxl/toks-aux.lmt:291: attempt > > to call a nil value (field 'getmathvariantpresets') >

[NTG-context] Re: ConTeXt has stopped working

2024-07-05 Thread Hans Hagen
On 7/5/2024 7:51 PM, Jethro Djan wrote: Dear list, Anytime I try make a document I get: token call, execute: ...ext/tex/texmf-context/tex/context/base/mkxl/toks-aux.lmt:291: attempt to call a nil value (field 'getmathvariantpresets') stack traceback: mismatch between tex/lua

[NTG-context] ConTeXt has stopped working

2024-07-05 Thread Jethro Djan
Dear list, Anytime I try make a document I get: token call, execute: ...ext/tex/texmf-context/tex/context/base/mkxl/toks-aux.lmt:291: attempt to call a nil value (field 'getmathvariantpresets') stack traceback: ...ext/tex/texmf-context/tex/context/base/mkxl/toks-aux.lmt:291

  1   2   3   4   5   6   7   8   9   10   >