Re: [NTG-context] VisualStudioCode on Linux

2020-09-25 Thread Willi Egger
eXt-lmtx/). I hope it is complete. > > ln -s > $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context > $HOME/.vscode/extensions/ > > Then I added a task file (also essentially found here, I think): > > %%% Begin of file $HOME/.config/Code/User/tas

Re: [NTG-context] VisualStudioCode on Linux

2020-09-25 Thread Arthur Rosendahl
On Fri, Sep 25, 2020 at 07:50:33AM +0200, Mikael Sundqvist wrote: > I got help from the list, and in the end I did the following (I have > ConTeXt installed in $HOME/ConTeXt-lmtx/). I hope it is complete. > > ln -s > $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/ext

Re: [NTG-context] VisualStudioCode on Linux

2020-09-24 Thread Mikael Sundqvist
Hi, I got help from the list, and in the end I did the following (I have ConTeXt installed in $HOME/ConTeXt-lmtx/). I hope it is complete. ln -s $HOME/ConTeXt-lmtx/tex/texmf-context/context/data/vscode/extensions/context $HOME/.vscode/extensions/ Then I added a task file (also essentially found

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 24.09.2020 um 23:48: On Thu, 24 Sep 2020, Alan Bowen wrote: I need to include several documents in a single paginated file. Treating the source file (.tex) of each document as a component file in a .prd file is one way to go. But I was wondering if it might

Re: [NTG-context] numbering pages included by \copypages

2020-09-24 Thread Aditya Mahajan
On Thu, 24 Sep 2020, Alan Bowen wrote: > I need to include several documents in a single paginated file. Treating > the source file (.tex) of each document as a component file in a .prd file > is one way to go. But I was wondering if it might be possible to do get the > same result us

[NTG-context] numbering pages included by \copypages

2020-09-24 Thread Alan Bowen
I need to include several documents in a single paginated file. Treating the source file (.tex) of each document as a component file in a .prd file is one way to go. But I was wondering if it might be possible to do get the same result using the .pdf files of each document instead. \copypages

Re: [NTG-context] Arabic support

2020-09-23 Thread Mohammad Hossein Bateni
Hi Denis, See this page [https://wiki.contextgarden.net/RTL] which may need some updating. I have some more definitions here [ https://github.com/bateni/dabeer/blob/master/texmf-local/tex/context/modules/dabeer/mkiv/p-dabeer.mkiv], though it's partly to handle differences between Persian

Re: [NTG-context] Debug mode for XML processing

2020-09-23 Thread Thomas A. Schmitz
On 9/23/20 1:17 PM, Denis Maier wrote: Hi, Is there are debug mode for XML processing? I'm thinking of something where the XML mapping gets applied to your XML, and you receive a tex file as the output. Could sometimes be easier to see where things go off the rails. Best, Denis

[NTG-context] Debug mode for XML processing

2020-09-23 Thread Denis Maier
Hi, Is there are debug mode for XML processing? I'm thinking of something where the XML mapping gets applied to your XML, and you receive a tex file as the output. Could sometimes be easier to see where things go off the rails. Best, Denis

Re: [NTG-context] issue with interaction=all and \insertpages

2020-09-23 Thread Taco Hoekwater
l links are converted. On last page, > https://www.cs.umb.edu/~offner/files/pi.pdf is rewritten as > https://www.cs.umb.edu/õffner/files/pi.pdf. This is a bug for sure. In the process of converting the link to the ConTeXt layer (it actually becomes a \button) it is necessary to convert so

[NTG-context] Judeo-Arabic punctuation

2020-09-22 Thread Denis Maier
=hebrew, force=yes, features=hebrew] %\definefontfamily[mainface][rm][Tex Gyre Pagella] %\setupbodyfont[mainface] \setupalign[r2l] \setupdirections[bidi=global,method=unicode] \starttext פאדא וג̇ד אפעאל אללה תעאלי עלי ג̇איה̈ אלאחכאם ואלאתסאק נחו כלקה̈ אלאנסאן עלי עג̇יב צורתה ותכֿטיטה̈ וחואסה

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
gt;> I still get no check mark in the output PDF and a log message "char ✓ >> (U+02713) in font 'ZapfDingbats-4' with id 8: missing". Am I using the >> font wrongly? >> (This has not a high priority for me, because I have the unified access >> by glyph inde

Re: [NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Wolfgang Schuster
Otared Kavian schrieb am 21.09.2020 um 15:30: Hi, I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Aditya Mahajan
What is wrong in this MWE? > > \dorecurse does not expand its arguments. See this old blog post for a > > discussion on this: > > > > https://adityam.github.io/context-blog/post/tex-programming/ > > \starttext > > \starttabulate[|c|] > \dorecurse{8}{

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
nt-0001.htm> >> >> -- >> >> Message: 4 >> Date: Mon, 21 Sep 2020 15:27:49 +0200 >> From: Hans Hagen >> To: Christoph Reller >> Cc: mailing list for ConTeXt users >> Subject: Re: [NTG-context] ZapfDingbats Unicode dif

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Wolfgang Schuster
with the \recurselevel 0 and 2 only in the second example. Does the tabulate cause the error? What is wrong in this MWE? \dorecurse does not expand its arguments. See this old blog post for a discussion on this: https://adityam.github.io/context-blog/post/tex-programming/ \starttext \starttabulate[|c

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
priority for me, because I have the unified access > by glyph index.) > > Christoph > > > > -- > > - > Hans Hagen | PRAGMA ADE > Ridderstraat

[NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Denis Maier
}{} The process just stops in the middle. This is the error message from the live version from the homepage: resolvers | formats | executing runner 'run luametatex format': /opt/context/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="texweb" --fmt=/opt/contex

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Aditya Mahajan
n > the second example. > > Does the tabulate cause the error? > What is wrong in this MWE? \dorecurse does not expand its arguments. See this old blog post for a discussion on this: https://adityam.github.io/context-blog/po

[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
Hi, I wish to use the Nimbus fonts, but since I didn't know which Math fonts is best adapted to this family, I tried several fonts such as Stix Math, TeX Gyre Math, and so on, but doing this the math-italic does not appear in these fonts: does this mean that I have to set explicitely math

Re: [NTG-context] Old-Style numerals command (\os) breaks conversion of hyphens to dashes

2020-09-21 Thread Hans Hagen
command. I didn't turn out as I expected, however. It did convert the numbers to old-style digits. But it also unexpectedly changed the em and en dashes back to hyphens, as they were entered in the source .tex document. MWE follows below. I could possibly do a search-and-replace but I am hoping

[NTG-context] Old-Style numerals command (\os) breaks conversion of hyphens to dashes

2020-09-20 Thread Art Chimes
, however. It did convert the numbers to old-style digits. But it also unexpectedly changed the em and en dashes back to hyphens, as they were entered in the source .tex document. MWE follows below. I could possibly do a search-and-replace but I am hoping there is a simpler way to do it.. I am using

Re: [NTG-context] \startstructurelevel

2020-09-20 Thread Denis Maier
an unnumbered heading. How can I get that? Browsing through the source I came across this: https://source.contextgarden.net/tex/context/base/mkiv/strc-lev.mkvi?search=startstructurelevel#l65 So, it seems that \startstructurelevel is just an alias for \startsectionlevel. Right? Unnumbered headings can

Re: [NTG-context] \startstructurelevel

2020-09-20 Thread Otared Kavian
rowsing through the source I came across this: > https://source.contextgarden.net/tex/context/base/mkiv/strc-lev.mkvi?search=startstructurelevel#l65 > > So, it seems that \startstructurelevel is just an alias for > \startsectionlevel. Right? > Unnumbered headings can be produced

[NTG-context] \startstructurelevel

2020-09-20 Thread Denis Maier
. How can I get that? Browsing through the source I came across this: https://source.contextgarden.net/tex/context/base/mkiv/strc-lev.mkvi?search=startstructurelevel#l65 So, it seems that \startstructurelevel is just an alias for \startsectionlevel. Right? Unnumbered headings can be produced

Re: [NTG-context] Problem with fonts in Lua

2020-09-18 Thread Pablo Rodriguez
ttps://greekfontsociety-gfs.gr/_assets/fonts/GFS_Heraklit.zip (direct link). So the final sample might read: \definefallbackfamily [mainface] [rm] [GFS Heraklit] [preset=range:greek,force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
On 18 Sep 2020, at 11:43, Thomas A. Schmitz wrote: Then tell us a bit more about your system. What is the output of which -a context /Library/TeX/texbin/context which is an alias of /Library/TeX/texbin/context@ -> ../../texmf-dist/scripts/context/stubs/unix/context and tex

Re: [NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Otared Kavian
> > Interestingly, I have another Mac where I upgraded from MacTeX 2019 to MacTeX > 2020 and everything works there. > > I made sure that everything is up-to-date with the TeX Live Utility. > > How can I fix this problem? > > Regards, > Felix > > _

[NTG-context] Error setting up ConTeXt in MacTeX 2020

2020-09-18 Thread Felix Krause
to MacTeX 2020 and everything works there. I made sure that everything is up-to-date with the TeX Live Utility. How can I fix this problem? Regards, Felix [1]: https://wiki.contextgarden.net/Running_Mark_IV___ If your

Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Aditya Mahajan
rttext > > \startMATLABCODE > >saveas(gcf(), "output/same-sigma.png") > > \stopMATLABCODE > > \stoptext > > > > The error message is: > > > > callback error: > > ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad

[NTG-context] update and meeting

2020-09-15 Thread Hans Hagen
overview of the three successive context versions. The second one is about the state of luametatex and the third discusses a couple of things introduced last year (luametatex and lmtx). The tokens talk is for low level tex lovers (or those who need to impress other texies with token speak), an

Re: [NTG-context] Problem with fonts in Lua

2020-09-15 Thread Wolfgang Schuster
] % [preset = range: greek, force = yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros, scale = 0.75] \setupbodyfont [mainface] \starttext Spanish text \input tufte Greek Text: Μετὰ δὲ ταῦτα οὐ πολλαῖς ἡμέραις ὕστερον ἦλθεν ἐξ Ἀθηνῶν

[NTG-context] Problem with fonts in Lua

2020-09-15 Thread MANUEL GONZALEZ SUAREZ
[mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros, scale = 0.75] \setupbodyfont [mainface] \starttext Spanish text \input tufte Greek Text: Μετὰ δὲ ταῦτα οὐ πολλαῖς ἡμέραις ὕστερον ἦλθεν ἐξ Ἀθηνῶν Θυμοχάρης ἔχων ναῦς ὀλίγας · καὶ εὐθὺς ἐναυμάχησαν αὖθις

Re: [NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-15 Thread Wolfgang Schuster
callback error: ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value) stack traceback: [C]: in function 'lang.prehyphenchar' ...metatex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509:

[NTG-context] Bad argument #1 to 'prehypenchar'

2020-09-14 Thread Aditya Mahajan
The following MWE gives an error with LMTX 2020.09.05 \usemodule[vim] \definevimtyping[MATLABCODE][syntax=matlab] \starttext \startMATLABCODE saveas(gcf(), "output/same-sigma.png") \stopMATLABCODE \stoptext The error message is: callback error: ...metatex/texmf-context/tex/co

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
] \setupcolumnset[example:6][width=6cm] \starttext \startcolumnset[example] \dorecurse{5}{ \dorecurse{3}{\fakewords{10}{15}\par} \column[yes] } \stopcolumnset \stoptext ends in "tex error > tex error on line 23 in file /tmp/test.tex: ! Undefined control sequence So I'm a bit confus

[NTG-context] Guit meeting 2020

2020-09-11 Thread luigi scarso
GuIT (Gruppo Utilizzatori Italiani di TeX, official Italian TUG) is pleased to announce the GuITmeeting 2020, the 17th edition of the Italian conference on TeX, LaTeX and digital typography.   The conference, organized by GuIT and Sissa Medialab srl of Trieste, will be held online on the 31st

Re: [NTG-context] \definefontfamily not finding fonts

2020-09-10 Thread Wolfgang Schuster
libertinusserif-regular.otf and similar for the other fonts. Any idea on what is going on and how to debug. I can't reproduce your Libertinus problem but the sans serif and monospaced fonts just use the wrong names. \definefontfamily [mainface] [rm] [Libertinus Serif] \definefontfamily [ma

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread mylists
ge-manager > > "emerge". On Gentoo this is handled via a "virtual package", which > > can be configured beforehand to include or exclude certain parts. > > > > I choose to get the HUGE package (incluing LaTeX, ConTeXt, plainTeX > > and others).

Re: [NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-09 Thread Matthijs van der Wild
ed, binary packages into the system. > > I did a fresh install of Texlive 2020 via the package-manager > "emerge". On Gentoo this is handled via a "virtual package", which > can be configured beforehand to include or exclude certain parts. > > I choose to

Re: [NTG-context] Problems with tikz plot file

2020-09-06 Thread Christian Prim
150.2 -0.389 > > 150.3 -0.15 > > 150.4 -0.389 > > 150.5 -0.15 > > 150.6 -0.293 > > 150.7 -0.341 > > 150.8 -0.485 > > 150.9 -0.293 > > > > (data.table could be any x-y-pair) > > > > The error says: > > tex error on line 5 in file

Re: [NTG-context] latest lmtx

2020-09-05 Thread Alan Bowen
Hi, Otared— I had #!/bin/zsh #set path= ($path /usr/texbin /Applications/LuaMetaTeX/tex/texmf-osx-64/bin) export PATH=~/context-osx-64/tex/texmf-osx-64/bin:~/context-osx-64/bin:~/context-osx-64/tex/texmf-osx-64/bin ~/context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate --script context

Re: [NTG-context] latest lmtx

2020-09-05 Thread Otared Kavian
Hi Alan, Where did you install LuaMetaTeX? For instance my LuaMetaTeX.engine contains the following three lines: #!/bin/bash export PATH=/context-osx-64/tex/texmf-osx-64/bin:/context-osx-64/bin:/context-osx-64/tex/texmf-osx-64/bin /context-osx-64/tex/texmf-osx-64/bin/mtxrun --autogenerate

Re: [NTG-context] latest lmtx

2020-09-05 Thread Alan Bowen
I process > > \starttext > > Hello, world! > > \stoptext > > I get the following error message: > > > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file > or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun > > &g

Re: [NTG-context] latest lmtx

2020-09-05 Thread Henning Hraban Ramm
> Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > When I process > \starttext > Hello, world! > \stoptext > I get the following error message: > > /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or > directory: /Users/bowen1/context-osx-

[NTG-context] latest lmtx

2020-09-05 Thread Alan Bowen
When I process \starttext Hello, world! \stoptext I get the following error message: /Users/bowen1/Library/TeXShop/Engines/LuaMetaTeX.engine:9: no such file or directory: /Users/bowen1/context-osx-64/tex/texmf-osx-64/bin/mtxrun resolvers | formats | executing runner 'run luametatex format

[NTG-context] TeXlive 2020 / Gentoo Linux: ConTeXt does not find itself (sort of)...]

2020-09-05 Thread mylists
n I tried to typeset examples of a LaTeX- and a plain TeX document, which works out of the box. Then I tried a ConTeXt document and it fails: context somefile.tex gave me: mtxrun | unknown script 'context.lua' or 'mtx-context.lua' . While searching the internet I found, that one

Re: [NTG-context] Problems with tikz plot file

2020-09-04 Thread Hans Hagen
with data.table: 150 -0.102 150.1 -0.15 150.2 -0.389 150.3 -0.15 150.4 -0.389 150.5 -0.15 150.6 -0.293 150.7 -0.341 150.8 -0.485 150.9 -0.293 (data.table could be any x-y-pair) The error says: tex error on line 5 in file ./plot.tex: Argument of \pgf@parsexyline has an extra } It doesn't seem to be directly

[NTG-context] Problems with tikz plot file

2020-09-04 Thread Christian Prim
-0.15 150.4 -0.389 150.5 -0.15 150.6 -0.293 150.7 -0.341 150.8 -0.485 150.9 -0.293 (data.table could be any x-y-pair) The error says: tex error on line 5 in file ./plot.tex: Argument of \pgf@parsexyline has an extra } It doesn't seem to be directly related to https://unix.stackexchange.com

Re: [NTG-context] Import a metapost extension

2020-09-01 Thread Fabrice Couvreur
> Taco Hoekwater > Elvenkind BV > > > > > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://ww

[NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
and parenthesis. The error message is: callback error: ...est/tex/texmf-context/tex/context/base/mkiv/lang-ini.lua:509: bad argument #1 to 'prehyphenchar' (luatex.lang expected, got no value) stack traceback: [C]: in function 'lang.prehyphenchar' ...est/tex/texmf-context/tex/context/base/mkiv/lang-ini.lua

[NTG-context] LuaMetaTex dereferences NULL pointer

2020-08-31 Thread Marcel Fabian Krüger
is ==53200== Invalid write of size 4 ==53200==at 0x17113D: ??? (in /home/marcel/lmtx-install/tex/texmf-linux-64/bin/luametatex) ==53200==by 0x151625: ??? (in /home/marcel/lmtx-install/tex/texmf-linux-64/bin/luametatex) ==53200==by 0x151E40: ??? (in /home/marcel/lmtx-install/tex/texmf-linux

Re: [NTG-context] Tagged PDFs from Context

2020-08-28 Thread Aditya Mahajan
o be > required for proper rendering with some screenreaders? It seems to me > that it would require modfications to the Context source code. > https://source.contextgarden.net/tex/context/base/mkiv/strc-tag.lua > > Any ideas? From what I understand, the current implementa

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Pablo Rodriguez
On 8/27/20 7:35 PM, Wolfgang Schuster wrote: > [...] > You have to replace %% with \letterpercent\letterpercent because you're > still playing with TeX rules. > > \startxmlsetups xml:special >     \startitem > \cldcontext{string.gsub("\xmlraw{#1}{.}"

Re: [NTG-context] catch % in gsub("%", "\\letterpercent")

2020-08-27 Thread Wolfgang Schuster
quot;\\ifmmode $\\fi"))}} Actually this is way more complex, but I need to catch % and have to substitution above. You have to replace %% with \letterpercent\letterpercent because you're still playing with TeX rules. \startxmlsetups xml:special     \startitem \cldcontext{string.gsub("

[NTG-context] Tagged PDFs from Context

2020-08-27 Thread Karl Pettersson
to me that it would require modfications to the Context source code. https://source.contextgarden.net/tex/context/base/mkiv/strc-tag.lua Any ideas? Best regards Karl Pettersson ___ If your question is of interest

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Henning Hraban Ramm
ms and measures of graphical layout programs aren’t directly translatable to TeX since the concepts are just too different. Even the pt is different. Hraban ___ If your question is of interest to others as well, plea

[NTG-context] CFF2 based variable fonts with SubRS

2020-08-26 Thread Marcel Fabian Krüger
/formats/luametatex/font-cff-macro.lua:1980: in upvalue 'process' [...] A possible fix for both issues would be diff --git a/tex/context/base/mkiv/font-cff.lua b/tex/context/base/mkiv/font-cff.lua index c2cf0e699..d00637b8e 100644 --- a/tex/context/base/mkiv/font-cff.lua +++ b/tex/context/base/mkiv/f

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf
=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] \starttext \tf ffi, \it ffi, \bf ffi, \bi ffi. \ss THIS IS A TITLE IN SANS SERIF \tt Monospaced \stoptext Context then tells me that: /mkiv lua stats  > loaded fonts: 6 fi

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Wolfgang Schuster
jbf schrieb am 26.08.2020 um 05:42: MWE as follows: \definefontfamily [mainface] [rm] [baskervaldadfstd] [tf=file:BaskervaldADFStd.otf] \definefontfamily [mainface] [ss] [librisadfstd] [tf=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf
MWE as follows: \definefontfamily [mainface] [rm] [baskervaldadfstd] [tf=file:BaskervaldADFStd.otf] \definefontfamily [mainface] [ss] [librisadfstd] [tf=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] \starttext \tf ffi

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf
: 2 files: baskervaldadfstd.otf, texgyrepagella-math.otf when in fact my font definitions are: \definefontfamily [mainface] [rm] [baskervaldadfstd] [tf=file:BaskervaldADFStd.otf] \definefontfamily [mainface] [ss] [librisadfstd] [tf=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [

Re: [NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread Aditya Mahajan
nefontfamily [mainface] [rm] [baskervaldadfstd] > [tf=file:BaskervaldADFStd.otf] > \definefontfamily [mainface] [ss] [librisadfstd] > [tf=file:LibrisADFStd-Regular.otf] > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > \setupbodyfont[mainface] > > --

[NTG-context] odd behaviour with \definefontfamily

2020-08-25 Thread jbf
otf] \definefontfamily [mainface] [ss] [librisadfstd] [tf=file:LibrisADFStd-Regular.otf] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] - ConTeXt loads the [rm] and the [mm] but not the [ss]. Be assured that the ss typeface is available.

[NTG-context] new version

2020-08-25 Thread Hans Hagen
), the current usage and the max usage (all within the mentioned min-max range). The rest speaks for itself. Font usage reflects only the tex end, of course there is plenty usage at the lua end. The language info I might extend that with pattern and exception usage. Actually, tex memory usage

Re: [NTG-context] sudden error

2020-08-22 Thread Pablo Rodriguez
On 8/23/20 1:24 AM, jbf wrote: > Am suddenly getting the error: > > close source    > level 1, order 3, name > '/home/me/Documents/Freedom/Context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' > ! error:  (type 0): cannot find file ''mtx-context | fatal error: > r

[NTG-context] sudden error

2020-08-22 Thread jbf
Am suddenly getting the error: close source    > level 1, order 3, name '/home/me/Documents/Freedom/Context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv' ! error:  (type 0): cannot find file ''mtx-context | fatal error: return code: 256 I really don't think I have done anyth

Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
like to be 1.1.2. > > > > This time, you’ll find the code and the output pdf in the attachment! > > > > Cheers, > > Tim > > > > > > P.S. I’m on Context MacTeX/TeXLive 2020: > > > > mtx-context | ConTeXt Process Management 1.03 > > mtx-co

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
in the attachment! > > Cheers, > Tim > > > P.S. I’m on Context MacTeX/TeXLive 2020: > > mtx-context | ConTeXt Process Management 1.03 > mtx-context | > mtx-context | main context file: > /usr/local/texlive/2020basic/texmf-dist/tex/context/base/mkiv/

Re: [NTG-context] compilation error in LMTX

2020-08-14 Thread Jannik Voges
, commenting things out in my own tex-documents might result in a successful compilation, but I had a document (which compiles normaly now, but not two days before) where I got the same error at another position in the file (after deleting all chapters after the one where the error occurred including the one

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-14 Thread Mojca Miklavec
to convince a few > colleagues to experiment it with TeXShop. > > If I type in the Terminal > port installed 'tex*' > the answer is: > None of the specified ports are installed. > > I guess this is because after having solved the problem I met with installing

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Tim Steenvoorden
on Context MacTeX/TeXLive 2020: mtx-context     | ConTeXt Process Management 1.03 mtx-context     | mtx-context     | main context file: /usr/local/texlive/2020basic/texmf-dist/tex/context/base/mkiv/context.mkiv mtx-context     | current version: 2020.03.10 14:44 mtx-context     | main context file

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-14 Thread Otared Kavian
in the Terminal port installed 'tex*' the answer is: None of the specified ports are installed. I guess this is because after having solved the problem I met with installing MacTeX2020, I had done: sudo port uninstall texlive-basic --follow-dependencies in order to uninstall ant

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Mojca Miklavec
Dear Otared, On Thu, 13 Aug 2020 at 11:05, Otared Kavian wrote: > > Indeed following your suugestion, I removed the > /opt/local/etc/texmf/ > directory, as well as all other tex related directories and files in > /opt/local/, and then installed again MacTeX2020. T

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Axel Kielhorn
Hello Otared, > Thank you very much for your attention and your hints, which solved my > problems with ConTeXt from TeXLive2020. > > Indeed following your suugestion, I removed the > /opt/local/etc/texmf/ > directory, as well as all other tex related directories an

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-13 Thread Otared Kavian
Dear Axel, Thank you very much for your attention and your hints, which solved my problems with ConTeXt from TeXLive2020. Indeed following your suugestion, I removed the /opt/local/etc/texmf/ directory, as well as all other tex related directories and files in /opt/local

[NTG-context] \setfirstline is applied to whole paragraph

2020-08-12 Thread Nicola
-context | mtx-context | main context file: /Users/nicola/Applications/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2020.08.11 15:59 mtx-context | main context file: /Users/nicola/Applications/context-osx-64/tex/texmf-context/tex

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-12 Thread Axel Kielhorn
ww.pragma-ade.nl / http://tex.aanhet.net mtx-context | wiki : http://contextgarden.net If you want to use MacTeX please uninstall Macports TeX Live and use the GUI installer of MacTeX. At least make sure

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
to start in lua > mode and load context.lua (which actually loads mtxrun.lua + > mtx-context.lua). It's the same on all platforms. > > Now, already long ago we ditched all other stubs simply because given the > amount of scripts in a tex live setup it's a recipe for clashes (scripts also

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Hans Hagen
in a tex live setup it's a recipe for clashes (scripts also have to compete with programs / scripts installed as part of the os and other programs so even more opportunity for clashes). We just use mtxrun --script ... instead (and texmfstart in a mkii setup). These models cannot be mixed

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
t 40 Aug 11 02:21 /usr/share/texmf/web2c/texmf.cnf -> > ../../texlive/texmf-dist/web2c/texmf.cnf > > Now, if I remove the symlink (/usr/share/texmf/web2c/texmfcnf.lua) I get the > same error as you: > mtxrun | unknown script 'context.lua' or 'mtx-context.lua

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Axel, > On 10 Aug 2020, at 16:11, Axel Kielhorn wrote: > […] > Well, one more suggestion: > Use TeX Live Manager to update TeX-Live. > I didn’t see any comments about context not working, but maybe the update > fixes something. > (You can filter for context related pack

Re: [NTG-context] How to set pdfminorversion in LMTX?

2020-08-10 Thread Wolfgang Schuster
is in lpdf-lmt.lmt). This is a problem because when you set a PDF format the version entry is ignored in the header (but it's correct in catalogue entry). %% begin example \setupbackend[format=PDF/X-1a:2003] \starttext Hello TeX. \stoptext %% end example %% begin pdf file (snippet from

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn
> Am 10.08.2020 um 14:59 schrieb Otared Kavian : > > It is possible that the version of mtxrun or luatools scripts in TeXLive are > not working. Well, one more suggestion: Use TeX Live Manager to update TeX-Live. I didn’t see any comments about context not working, but maybe the

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
if in a >> Terminal window I do >> which context >> the answer is: >> /Library/TeX/texbin/context >> And the answer to >> which pdflatex >> is >> /Library/TeX/texbin/pdflatex >> Also the answer to: >> which luat

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Hans Hagen
is: /Library/TeX/texbin/context And the answer to which pdflatex is /Library/TeX/texbin/pdflatex Also the answer to: which luatools is /Library/TeX/texbin/luatools So the binaries are in /Library/TeX/texbin, which is in fact an alias for /usr/local/texlive/2020/bin

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater
do > which context > the answer is: > /Library/TeX/texbin/context > And the answer to > which pdflatex > is > /Library/TeX/texbin/pdflatex > Also the answer to: > which luatools > is > /Library/TeX/texbin/luatools > > So the

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi Alex, Thank you and Taco for helping. In order to help solve the problem of running ConTeXt from MacTeX, I installed MacTeX2020 (which is the same as TeXLive2020). Now if in a Terminal window I do which context the answer is: /Library/TeX/texbin/context And the answer

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Axel Kielhorn
> Am 10.08.2020 um 12:03 schrieb Otared Kavian : > > Hi all, > > I suggested to a friend, who is using plain TeX and LaTeX, to switch to > ConTeXt, and since he is using TeXShop on MacOSX with a version of > TeXLive2020 (named MacTeX2020), I thought he would just

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Taco Hoekwater
> On 10 Aug 2020, at 12:03, Otared Kavian wrote: > > Hi all, > > I suggested to a friend, who is using plain TeX and LaTeX, to switch to > ConTeXt, and since he is using TeXShop on MacOSX with a version of > TeXLive2020 (named MacTeX2020), I thought he would just

[NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-10 Thread Otared Kavian
Hi all, I suggested to a friend, who is using plain TeX and LaTeX, to switch to ConTeXt, and since he is using TeXShop on MacOSX with a version of TeXLive2020 (named MacTeX2020), I thought he would just typeset a simple test document with the option « ConTeXt (LuaTeX) » from the menu

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
txrun --script cache --erase" before running "mtxrun --generate" >> (as I do with each update). > can you try again > > (in case of a broken mtxrun, change the error line to "tex and tex.error") Man

Re: [NTG-context] new upload

2020-08-09 Thread Hans Hagen
ch update). can you try again (in case of a broken mtxrun, change the error line to "tex and tex.error") Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 806

Re: [NTG-context] new upload

2020-08-09 Thread Jairo A. del Rio
Update: after cleaning the cache, I have the same problem as Pablo. Jairo :) El dom., 9 de ago. de 2020 a la(s) 13:45, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > On my computer mtxrun --generate works, but context --make fails and the > command line outputs: > &g

Re: [NTG-context] new upload

2020-08-09 Thread Jairo A. del Rio
On my computer mtxrun --generate works, but context --make fails and the command line outputs: tex error > tex error on line 448 in file lang-ini.mkxl: ! Undefined control sequence \dohyphens ->\hyphenationmode \plusthree l.448 \dohyphens Jairo :) El dom., 9

Re: [NTG-context] new upload

2020-08-09 Thread Pablo Rodriguez
at even "mtxrun --generate" gives an error message: lua error : context/tex/texmf-linux-64/bin/mtxrun.lua:13981: attempt to index a nil value (global 'tex') I think something is missing there. Many thhanks for your help, Pab

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
; more question, is there something similar to EmWidth for \textwidth or > > \linewidth? Better, a better way to access TeX dimensions? Thank you > again. > When you grep for EmWidth ... > > LineWidth > TextWidth &g

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Hans Hagen
On 8/9/2020 8:03 PM, Jairo A. del Rio wrote: Oh, thank you a lot, Hans, that's a really cleaner way than mine. One more question, is there something similar to EmWidth for \textwidth or \linewidth? Better, a better way to access TeX dimensions? Thank you again. When you grep for EmWidth

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Jairo A. del Rio
Oh, thank you a lot, Hans, that's a really cleaner way than mine. One more question, is there something similar to EmWidth for \textwidth or \linewidth? Better, a better way to access TeX dimensions? Thank you again. Jairo :) El dom., 9 de ago. de 2020 a la(s) 12:46, Hans Hagen (j.ha

Re: [NTG-context] How to properly pass TeX/Lua data to MetaPost/MetaFun?

2020-08-09 Thread Hans Hagen
and TeX to Metapost and better ways to do it in ConTeXt. Thank you in advance. \starttext My text \startMPinitializations numeric myunit; myunit := \the\dimexpr1em\relax; \stopMPinitializations \startluacode userdata = userdata or {} userdata.dummydata = { {1, 2}, {3, 4} } context.startMPcode

  1   2   3   4   5   6   7   8   9   10   >