[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Bruce Horrocks
> On 13 Dec 2023, at 17:13, Gerion Entrup wrote: > > Is there a simple way to define a new command/environment and handle > the keyword arguments in Lua? For example defining a frontend command > like this: I don't have the answer to your other questions but I do have an example for this one.

[NTG-context] LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Gerion Entrup
of) autogenerated description: https://wiki.contextgarden.net/Command/setupitemgroup I found the data for this (at least this is my guess) here: tex/texmf-context/tex/context/interface/mkiv/i-itemgroup.xml Are these xml files created by hand or somehow generated? Now, when I use `\setupitemgroup

[NTG-context] Re: Score sums and references

2023-12-13 Thread Hans Hagen
o\plusfour \normalexpanded{\reference[trick]{\the\lmao}} % 10 printed above \stoptext I want the result of a sum (either via Lua or TeX) to be printed before summands in text, but without the mess of reference options such as interaction, etc. Thank you in advance and sorry for any inconvenience. \

[NTG-context] Score sums and references

2023-12-12 Thread Jairo A. del Rio
mao}} % 10 printed above \stoptext I want the result of a sum (either via Lua or TeX) to be printed before summands in text, but without the mess of reference options such as interaction, etc. Thank you in advance and sorry for any inconvenience. Regar

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
f the >>> locate(0, s) ... >>> and >>> locate(0, -s) ... >>> cases intentional, or is that an oversight? >>> If intentional, can someone explain the rationale to me? >> it's too long ago to remember the reason ... did you test with and without?

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Hans Hagen via ntg-context
themselves. Basically one can sign (with some certificate) and then validate. % sign-001.tex \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
to put it all together, this now works for me: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \starttypescript [math] [default] [size] \definebodyfont [8.5pt] [mm] [default] \stoptypescript \definetypeface [mainface] [mm] [math] [p

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
[mainface] [mm] [math] [pagella] \definetypeface generates the same error message if the font size is changed: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definetypeface [mainface] [mm] [math] [pagella] %% 8pt works \setupbodyfont

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
m] [math] [pagella] \definetypeface generates the same error message if the font size is changed: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definetypeface [mainface] [mm] [math] [pagella] %% 8pt works \setupbodyfont [mainface, 8.5pt]

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster wrote: > > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken stra

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Wolfgang Schuster
Marco Patzer schrieb am 30.11.2023 um 20:43: Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works

[NTG-context] Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-11-30 Thread Marco Patzer
Hi! I have a strange issue when TeX Gyre Pagella Math is used together with bold text. MWE: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] %% comment/remove this line and it works \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math

[NTG-context] Re: Compatibility Issue with TikZ/Spy Library in ConTeXt: Seeking Solutions

2023-11-24 Thread Hans Hagen
tion where it assumes that it's the only pqackage in the tex universe put this before you load tikz: \ifdefined\pdfstrcmp\else \def\pdfstrcmp{\directlua{ local a = token.scan_string() local b = token.scan_string() context((a < b and -1) or (a > b and 1) or 0)

[NTG-context] Re: Invalid certificate for distribution.contextgarden.net

2023-11-23 Thread Marco Patzer
ote > newer update without actually doing an update. This is how I check for the remote version: curl --silent --connect-timeout 5 \ 'https://distribution.contextgarden.net/current/context/latest/tex/context/base/mkiv/context.mkiv' | sed -ne '/\\edef\\contextversion/s/.*{\(.*\)}/\1/p' Not

[NTG-context] Re: xmlpos values doubled

2023-11-22 Thread Hans Hagen
to times. I can't say why.) Anyways, I was wondering if there is a TeX command to access the absolute position of an element in the tree? Similar to foo/bar[rootposition()] (or foo/bar[order()]? – Can't make sense of the entry in the XML manual.) normally elements are unique, and within n xml i

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
hub.io/pandoc-crossref - https://github.com/tomduck/pandoc-eqnos I'm leaning towards the following syntax: Markdown Item (table, blockquote, TeX block, figure, code, R chunk, etc.) : caption text {#type:label} See [@type:label] for details. There's a unit test that shows what's currently

[NTG-context] Re: xmlpos values doubled

2023-11-21 Thread Benjamin Buchmuller
wondering if there is a TeX command to access the absolute position of an element in the tree? Similar to foo/bar[rootposition()] (or foo/bar[order()]? – Can't make sense of the entry in the XML manual.) Thank you for your help! Benjamin > Hi Ben, > > I think that both \xmlpos and \

[NTG-context] Text and Remark

2023-11-16 Thread Ursula Hermann
Dear List: I would like to have text next to the Remark Number \setupindenting[yes,small,first] \defineenumeration [remark] [location=top,text=Remark,inbetween={\blank[nowhite]},after=\blank,headstyle=bold,margin=1in] \starttext \remark An enumeration (\tex{remark}, in this case

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
the synctex program, so writing my own synctex wrapper looks easy. Hopefully I won't regret using the word "easy" later.) > AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s > workflow. I've been thinking of patching some of evince's more annoying features, if I do, mayb

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
is actually at. In any case, you can try the "name" mode, which forces the use of destination names (i.e. "/D (...)"): % both inner and outer references in name mode \setupinteraction[page=name] % inner default (auto mode) and outer name mode \setupinteraction[page

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
some 'goto the text file' command and then launches an editor (afik the library has some heuristics build in wrt boxes and nesting and so); at the tex end there is also a library that kicks in addiional code for nodes and the backend (which is why enabling synctex will have an impact on runtime

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Henning Hraban Ramm
.) AFAIK TeXshop (MacOS) is the only TeX editor that supports ConTeXt’s workflow. ConTeXt’s synctex format is much simpler than the “standard” LaTeX one and should be at least as good, but alas it needs support from the editors. Hraban

[NTG-context] Re: command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
right={\}}] \processdatabasefile[test][context-documents.csv] \stoptext It is not clear for me why is this needed, but it might be one of the many aspects of expansion that average users cannot understand from

[NTG-context] Several math features broke for me in new Debian version

2023-11-03 Thread Kumar Appaiah
9 --c:texmfbinpath="/usr/bin" job > passes > version mismatch: 1.32 <> 1.33 system > system > ConTeXt ver: 2023.05.05 18:36 LMTX fmt: 2023.11.2 int: english/english system > system > 'cont-new.mkxl' loaded open sour

[NTG-context] Example is not working

2023-11-03 Thread Ursula Hermann
> 'cont-new.mkxl' loaded open source > level 1, order 1, name 'C:/texlive/2023/texmf-dist/tex/context/base/mkxl/cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source> level 1, order 1, name 'C:/texlive/2023/texmf-dist/tex/cont

[NTG-context] Re: Inline mathematics is stretched

2023-10-30 Thread Hans Hagen via ntg-context
On 10/30/2023 8:05 AM, Mia Bikey wrote: Yes well of course no issue arises if I just change the whole font. But I wanted to keep using the mono font thus reporting issues with it. In that case you have to go for flushleft \setupalign[verytolerant,nothyphenated,flushleft] because otherwise tex

[NTG-context] Re: typearea

2023-10-29 Thread Thomas Meyer
[bcor=0mm,alphabets=3.1] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error   > tex

[NTG-context] typearea

2023-10-29 Thread Thomas Meyer
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error   > tex error on line 89 in file /usr/local/texlive/2023/texmf-dist/tex/context/third/type

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
avoids having to provide recipients with two versions of pretty much the same document (screen and print version). it's one of the nice things about tex that one can easily generate two versions; for screen i'd even make a landscape instead of portrait version and maybe for phones yet another

[NTG-context] Re: bibliography questions

2023-10-05 Thread Rik Kabel
need to define my own rendering, e.g. don’t like the handling of names – I need additional fields (custom rendering again) – if I refer to sources, I want a URL or file path in a footnote (custom cite wrapper macro) This all works fine without the btx subsysten (I just need to find solut

[NTG-context] Re: bibliography questions

2023-10-05 Thread Rik Kabel
names – I need additional fields (custom rendering again) – if I refer to sources, I want a URL or file path in a footnote (custom cite wrapper macro) This all works fine without the btx subsysten (I just need to find solutions for some edge cases, or avoid them), so I probably had wrong

[NTG-context] Re: Attempting to Generate PDF/A in LMTX

2023-10-04 Thread Henning Hraban Ramm
Am 04.10.23 um 07:45 schrieb Jin-Ho King: Following the instructions on https://wiki.contextgarden.net/PDF/A <https://wiki.contextgarden.net/PDF/A>, I am receiving errors that the *.icc files cannot be located. I have saved the *.icc files in ~/context-osx-arm64/tex/texmf-context/colo

[NTG-context] Attempting to Generate PDF/A in LMTX

2023-10-03 Thread Jin-Ho King
Following the instructions on https://wiki.contextgarden.net/PDF/A, I am receiving errors that the *.icc files cannot be located. I have saved the *.icc files in ~/context-osx-arm64/tex/texmf-context/colors/icc/profiles per the instructions. Here's an excerpt from the log: backend

[NTG-context] Re: bibliography questions

2023-10-03 Thread Henning Hraban Ramm
s, or avoid them), so I probably had wrong ideas about bibliographies (at least in TeX). OTOH, for my novel I can use the bib database approach for an extended person register; the required rendering is much less involved. Hraban __

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Hans Hagen
& Hans; apparently it can do matrix calculations. https://source.contextgarden.net/tex/context/modules/mkiv/m-matrix.mkiv indeed, it has been around for quite a while Hans - Hans Hagen |

[NTG-context] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
@Thomas I think so too, Thanks Hans, I'll take a look at it! On Mon, Oct 2, 2023, 5:15 PM Hans van der Meer via ntg-context < ntg-context@ntg.nl> wrote: > I find offline documentation in the installed ConteXt files in > ConTeXt/tex/texmf-context/doc/context/documents/general/manuals

[NTG-context] Re: Offline documentations

2023-10-02 Thread Hans van der Meer via ntg-context
I find offline documentation in the installed ConteXt files in ConTeXt/tex/texmf-context/doc/context/documents/general/manuals with more in neighboring directories. Hope this helps. met vriendelijke groet, dr. Hans van der Meer Burgemeester Rijnderslaan 244 ingang D 1185 MC Amstelveen tel. 020

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Henning Hraban Ramm
Am 02.10.23 um 04:00 schrieb Andres Conrado Montoya: In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv <https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv>) I get a blan

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Andres Conrado Montoya
In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv) I get a blank page with a very long list of source files on the left. If I search for the file with my browser's ctrl+f on that page, it returns zero

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Jeong Dal via ntg-context
on that page works fine and is up to date. > > Thank you! > > But there _is_ a matrix module (hey, I just looked through all this stuff!) > by Jeong Dalyoung & Hans; apparently it can do matrix calculations. > > h

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Henning Hraban Ramm
s. https://source.contextgarden.net/tex/context/modules/mkiv/m-matrix.mkiv Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.

[NTG-context] ConTeXt Garden : Use the fonts you want

2023-09-25 Thread Jean-Pierre Delange
I have just refreshed the ConTeXt Garden page with some additional information on the search for new fonts installed in the /context/tex/texmf-fonts/ directory. https://wiki.contextgarden.net/Use_the_fonts_you_want JP -- Jean-Pierre Delange Ancients Professeur Agrégé de Philosophie (HC

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Hans Hagen
(with http://lmtx.pragma-ade.nl/install-lmtx/context-linux-64.zip) and I got the same error again. Just in case it might help, Pablo PS: here is the error again: tex error > tex error on line 10 in file ./a.tex: lua error: run callback [44]: ...ext/tex/texmf-context/tex/context/b

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Pablo Rodriguez
install-lmtx/context-linux-64.zip) and I got the same error again. Just in case it might help, Pablo PS: here is the error again: tex error > tex error on line 10 in file ./a.tex: lua error: run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: tab

[NTG-context] Re: Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Mikael Sundqvist
} i = j \NR > \NC 0 \NC \text{otherwise} \NR > \stopmathcases > \stopformula > \stoptext > > The error is : > run callback [44]: > ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index > is nil\nstack traceback:\n > ...ext/tex/texmf-context/t

[NTG-context] Issue : compilation error when using mathcases with pagella fonts (and others)

2023-09-24 Thread Vincent Picard
\startformula \delta_{ij} = \startmathcases \NC 1 \NC \text{if } i = j \NR \NC 0 \NC \text{otherwise} \NR \stopmathcases \stopformula \stoptext The error is : run callback [44]: ...ext/tex/texmf-context/tex/context/base/mkxl/math-fnt.lmt:56: table index is nil\nstack traceback:\n ...ext/tex/texmf

[NTG-context] Re: Install fonts on MS Windows

2023-09-24 Thread Pablo Rodriguez
the CTX font cache, didn't have the expected effects ... I had the same problem on Linux, Jean-Pierre. Before having the script to remove the cache as an option (at least, to me), I manually deleted the contents of context/tex/temxf-cache/. Rebuilding font cache hasn’t worked for me (mos

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-23 Thread Hamid,Idris
) I admit that I don't follow what happens with xetex (they changed the rendere at some point indeed) not HB (I only notice that it gets updates frequently in the tex live repository which makes me wonder how one retains compatility unless one freezes). I actually kept the lib binding code that can

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Jean-Pierre Delange
. There is no need to set OSFONTDIR on Windows to get system fonts or fonts which are placed in the local TeX directory in the home folder. Wolfgang ___ If your question is of interest to others as well,

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Wolfgang Schuster
\fonts;c:\windows\users\adeimantos\context\texmf\fonts. That should be ok. There is no need to set OSFONTDIR on Windows to get system fonts or fonts which are placed in the local TeX directory in the home folder. Wolfgang

[NTG-context] Re: Install fonts on MS Windows

2023-09-23 Thread Pablo Rodriguez
ext\texmf\fonts. Dear Jean-Pierre, only if you don’t have no way to install fonts on the OS directory for fonts (%WINDIR%\Fonts in Windows), I would use (in that order): 1. %USERPROFILE%\texmf\texmf-fonts\, or as last option 2. [context-dir]\tex\texmf-local\texmf-fonts\ Excuse me if this is

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
me point indeed) not HB (I only notice that it gets updates frequently in the tex live repository which makes me wonder how one retains compatility unless one freezes). I actually kept the lib binding code that can use it around for your font testing (we wanted to see what uniscribe does), not s

[NTG-context] Libertinus error with today's version

2023-09-18 Thread Rik Kabel
(Running 2023.09.18 17:40 on Windows 11 x64) With \setupbodyfont[libertinus,11pt] \starttext Hello \stoptext I get no text output in the pdf and the following error reports: fonts   > otf loading > loading 'G:/ConTeXt_LMTX/tex/texmf/fonts/data/public/libe

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Michael Loescher
Am 18.09.2023 um 16:20 schrieb Hans Hagen: On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expec

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Mikael Sundqvist
Hi, works as expected here, with the latest. /Mikael On Mon, Sep 18, 2023 at 4:04 PM Michael Loescher wrote: > > There seems to be something wrong with the \type command. > > MWE: > \starttext > \type{hello} > \stoptext > > gives an error: > tex error &

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Hans Hagen
On 9/18/2023 3:58 PM, Michael Loescher wrote: There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error   > tex error on line 2 in file Z:/test.tex: Control sequence expected instead of undefined what platform? looks l

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread Michael Loescher
There seems to be something wrong with the \type command. MWE: \starttext \type{hello} \stoptext gives an error: tex error > tex error on line 2 in file Z:/test.tex: Control sequence expected instead of undefined \buff_verbatim_type_normal #1->\buff_verbatim_initialize_ty

[NTG-context] Re: Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-17 Thread Hans Hagen
round the values wrt relaxes, these can creep in as side effect of tex pushing back looked-ahead and not used tokens (there are wasy around this but it's not relevant here) Hans - Hans

[NTG-context] Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-16 Thread Aditya Mahajan
` (there is no such relax after `\the\numexpr\clf_lastxpos\relax`). The test.pgf file is: \macro {A}{23930350}{43358454.0\relax } \macro {B}{39564274.0\relax }{14083538} Any ideas on why is the extra \relax written after lastypos and how to fix that? Aditya t1.tex Description: TeX document

[NTG-context] Re: Using structureuservariables before the heading

2023-09-14 Thread Wolfgang Schuster
\protected modifier when you create \Mycommand. \starttext \def\Mycommand#1{#1}% fails %\protected\def\Mycommand#1{#1}% works \edef\CheckMycommand{\Mycommand} \ifempty\CheckMycommand \tex{Mycommand} is empty \else \tex{Mycommand} has content \fi \stoptext If just found the following in th

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blackrule[color=black, height=0.05ex, width=4cm] there is no pdf after compiling. I get: Command Line: context.exe --synctex=-1 "pablo.tex" Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\tex\context

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi Wolfgang, On Sat, Sep 9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 22:34: >> Wolfgang, >> thanks very much for your help. As a long-time plain TeX user, but a >> ConTeXt n00b, that would have taken me a long time to figure

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject shows up in the contents. I tried

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 22:34: Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
was added for this purpose. Thank you! You’re right, that might be enough. (Documented only in https://wiki.contextgarden.net/Command/setuphead so far. Even the source browser can’t find anything.) https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx Seems like I didn’t search

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
, that might be enough. (Documented only in https://wiki.contextgarden.net/Command/setuphead so far. Even the source browser can’t find anything.) https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx But my “image” consists of a background color (with bleed), a transparent overlay

[NTG-context] Re: # verbatim typesetting

2023-09-07 Thread Marcus Vinicius Mesquita
gives a pdf with two #'s instead of only one. Why is that? > > > > \starttext > > > > \startluacode > > context.type("#") > > \stopluacode > > > > \stoptext > because by default tex loves to duplicate hashes when it serializes >

[NTG-context] Re: # verbatim typesetting

2023-09-07 Thread Hans Hagen via ntg-context
On 9/7/2023 2:47 PM, Marcus Vinicius Mesquita wrote: Dear List, The MWE below gives a pdf with two #'s instead of only one. Why is that? \starttext \startluacode context.type("#") \stopluacode \stoptext because by default tex loves to duplicate hashes when it serializes t

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Hans Hagen via ntg-context
On 9/6/2023 4:59 PM, Pablo Rodriguez wrote: On 9/6/23 12:28, denis.ma...@unibe.ch wrote: Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. Hi Denis, this is standard TeX behavior (not only

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Pablo Rodriguez
On 9/6/23 12:28, denis.ma...@unibe.ch wrote: > Hi, > > I have the example below that uses the three images in the attachment. > For some reason multiple spaces encoded as %20 get merged into a single %20. Hi Denis, this is standard TeX behavior (not only related to XML):

[NTG-context] Re: Tikz calendar problem.

2023-09-05 Thread Fabrice L
; > which is supposed to load the file `plain/pgf/utilities/pgfcalendar.tex` > which just a wrapper to load `pgfcalendar.code.tex`: > > >\edef\pgfcalendaratcode{\the\catcode`\@} >\catcode`\@=11 > >\input pgfrcs.tex >\input pgfcalendar.code.tex > >

[NTG-context] Re: Tikz calendar problem.

2023-09-05 Thread Aditya Mahajan
`\@=\pgfcalendaratcode \endinput Now, the reason that this is not working is that the new module installer for tikz removes all the files from `tex/plain`. It appears that tikz is at fault here. If the file `pgfcalendar.tex` is supposed to used by both plain and context, then it should be in

[NTG-context] (no subject)

2023-09-05 Thread Ursula Hermann
}}\dontleavehmode\hairline \startformula a^n + b^n = c^n. \stopformula \stoptext I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format':

[NTG-context] Re: After compiling

2023-09-04 Thread Hans Hagen
s://ss64.com/nt/net-use.html#e): net use X: "\\remote-server\directory\" That way compiling x:\subdirectory\file.tex would be no problem. runtime error : input file './blackrule1.tex' is not found, quitting Hraban was right: there might be no %SYSTEMROOT%\blackrule1.tex. Just in c

[NTG-context] Re: After compiling

2023-09-04 Thread Pablo Rodriguez
64.com/nt/net-use.html#e): net use X: "\\remote-server\directory\" That way compiling x:\subdirectory\file.tex would be no problem. > runtime error : input file './blackrule1.tex' is not found, quitting Hraban was right: there might be no %SYSTEMROOT%\blackrule1

[NTG-context] Re: After compiling

2023-09-04 Thread Ursula Hermann
: > After compiling the following example, which is from February 2021: > I get: > runtime error : input file './blackrule1.tex' is not found, quitting Are you sure your file is called "blackrule1.tex" and exists in the same directory as you’re

[NTG-context] Re: After compiling

2023-09-04 Thread Henning Hraban Ramm
Am 04.09.23 um 12:25 schrieb Ursula Hermann: After compiling the following example, which is from February 2021: I get: runtime error : input file './blackrule1.tex' is not found, quitting Are you sure your file is called "blackrule1.tex" and exists in the same directory as you’

[NTG-context] After compiling

2023-09-04 Thread Ursula Hermann
I get: Command Line: context.exe --synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-esca

[NTG-context] Re:

2023-09-04 Thread Ursula Hermann
--synctex=-1 "blackrule1.tex" Startup Folder: \\ub.univie.ac.at\U_Dom\Users G-L\Hermann\Documents\Texlive resolvers | formats | executing runner 'run luametatex format': luametatex --jobname="./blackrule1.tex" --socket --shell-escape --fmt=C:/Users/Hermann/Downloa

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-04 Thread Hans Hagen via ntg-context
remarks: - you can best name modules like t-drama and then t-drame-screenplay and so in order to avoid clashes with files in the tex tree - you really have to be careful with defining additional intercace constants; as you don't define them for other interface languages there is no real reason

[NTG-context] Re: list of modules: need changes/testing/response

2023-09-03 Thread Henning Hraban Ramm
keep it in TeX Live. As far as LMTX installer is concerned ... no clue. Ok, thank you! Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-31 Thread Mojca Miklavec
would definitely keep it in TeX Live. As far as LMTX installer is concerned ... no clue. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-31 Thread Pablo Rodriguez
On 8/30/23 20:15, Henning Hraban Ramm wrote: > Hi all, esp. module authors! > [...] > The following modules don’t adhere to the necessary structure and need > changes: > * t-handlecsv (2023, Pablo)> * presvoz (2023, Pablo) > All of them have a name directory on top of the TDS

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-31 Thread luigi scarso
ablo) > * metaducks (2021, Jairo) > * presvoz (2023, Pablo) > All of them have a name directory on top of the TDS (tex, doc). > If you used a git checkout URL, please try again, for me it worked today. > > > Several modules need testing if they still work and make sense. > If t

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Wolfgang Schuster
them have a name directory on top of the TDS (tex, doc). If you used a git checkout URL, please try again, for me it worked today. Several modules need testing if they still work and make sense. If their authors are present, I’d appreciate a comment if we should keep them. I’d like to delete

[NTG-context] Re: list of modules: need changes/testing/response

2023-08-30 Thread Marcus Vinicius Mesquita
gt; > > The following modules don’t adhere to the necessary structure and need > changes: > * t-handlecsv (2023, Pablo) > * metaducks (2021, Jairo) > * presvoz (2023, Pablo) > All of them have a name directory on top of the TDS (tex, doc). > If you used a git checkout URL, please try

[NTG-context] list of modules: need changes/testing/response

2023-08-30 Thread Henning Hraban Ramm
y all obsolete & outdated. Consider publishing typescripts in the wiki. The following modules don’t adhere to the necessary structure and need changes: * t-handlecsv (2023, Pablo) * metaducks (2021, Jairo) * presvoz (2023, Pablo) All of them have a name directory on top of the TDS (tex, doc

[NTG-context] attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
ush{#1} \crlf \stopxmlsetups \startbuffer[attribute] no attribute attribute type = cleanup \stopbuffer \startbuffer[attribute2] no attribute attribute type=cleanup \stopbuffer \starttext \ConTeXt\ version\contextversion\blank \xmlprocessbuffer{demo}{attribute}{} \stoptext xml-tex-attribu

[NTG-context] TeX in Czech?

2023-08-30 Thread Henning Hraban Ramm
Hi, a friend just asked for a LaTeX book in Czech to give a PhD student for their birthday. According to https://www.cstug.cz/informace/literatura/, there are only outdated TeX books in Czech. Is that true? Looking at the CSTUG page, I wondered why our ConTeXt meeting isn’t listed in https

[NTG-context] Re: XML: Correct usage of hash symbol in url / new upload

2023-08-27 Thread Hans Hagen via ntg-context
this: \def\foo#1{#1 test ##} \def\foo#1{#1 test\def\more##1{(##1)}} the internal representation of #1 is a reference to parameter 1 while the ## becomes one # (cc parameter) in the second exmaple followed by a character 1 (cc other) then, when tex serializes e.g. in tracing it duplicates the hash

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Wolfgang Schuster
ltawskiego a second font which provides optical sizes and is shipped with our TeX collection. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-cont

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hans Hagen
have that font set and am not willing to spend money in it either. Put another way, Minion Pro should be considered an honorary TeX typeface -) Hm, so we should honor a font vendor for that? Do font vendors expect texies to spend time on something they cannot use? Also, some

[NTG-context] Re: Fallbacks for design sizes in the current typescripts regime

2023-08-22 Thread Hamid,Idris
er design base was inspired by MetaFont/Knuth, and hence ii) it's very popular with TeXies. Put another way, Minion Pro should be considered an honorary TeX typeface -) (There is also an update, Minion 3; could imagine a perfectionist user wanting to keep the option of falling back between the two

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-21 Thread Keith McKay
tps://wiki.contextgarden.net/Barcodes> 1) I had to create the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint 2) I symbolic linked directly to the homebrew created libzint library $ cd $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint $ ln -s /usr/local/Cellar/zint/2.12

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Bruce Horrocks
2.0 works for me on an x64 Mac mini using ConTeXt ver: 2023.08.10 02:59 Following the instructions here <https://wiki.contextgarden.net/Barcodes> 1) I had to create the path $TEXROOT/tex/texmf-osx-64/bin/lib/luametatex/zint 2) I symbolic linked directly to the homebrew created libzint librar

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Keith McKay
/contextgarden/luametatex-optional-libraries > > I.e. on Linux (please adjust for macOS): > > git clone --recursive > https://github.com/contextgarden/luametatex-optional-libraries.git > cd luametatex-optional-libraries > cmake -S . -B build -DCMAKE_BUILD_TYPE=Release >

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Michal Vlasák
-DCMAKE_BUILD_TYPE=Release cmake --build build -j4 cp build/libzint.so /path/to/context/tex/texmf-linux-64/bin/lib/luametatex/libs/libzint.so The repository is still based on zint 2.11, I will update it to 2.12 after I con

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Hans Hagen via ntg-context
Carlos, > On 8/20/2023 6:41 PM, Wolfgang Schuster wrote: And now it gets even worse, see https://meeting.contextgarden.net/2021/talks/2021-09-21/starttext.pdf why \starttext is necessar And watch how \startTEXpage is defined. It clearly explains why that works without. Also watch how \

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
Mikael, Wolfgang: This is in reference to the prior Re: redefine space to be the same as \␣ similar to knuthian approach > Maybe your system is broken? > > > > > > 2. The example below results in a correct output for \TEX. > > > > > > > Not in my

[NTG-context] Re: Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
82 of font-pre.mkiv: \definefontfeature [smallcaps] [always] [smcp=yes, tlig=yes, trep=yes] % texligatures=yes,texquotes=yes Just in case it helps, grep is a useful tool when applied to tex/texmf-context/tex/context/base/mkxl (or /tex/texmf-context/tex/context/base/mkiv, if needed). Che

<    1   2   3   4   5   6   7   8   9   10   >