[NTG-context] Stack overflow when using Neo Euler for math

2023-03-31 Thread Rory Molinari via ntg-context
] \setupbodyfont[mypalatinoeuler] \starttext $x=1$ \stoptext Result: mathematics > tweak > 'Neo-Euler', size 7, math size 3, version 'Version 000.002' found, version 'Version 000.002 ' expected tex error > tex error on line 5 in file ./euler_problem.tex: lua error: registered func

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
On 3/31/2023 8:16 PM, Ulrike Fischer via ntg-context wrote: Am Fri, 31 Mar 2023 10:10:43 +0200 schrieb Hans Hagen via ntg-context: \usemodule[tikz] \starttext Hello World. \stoptext works ok here It fails for me in texlive 2023. works here I don't know who changed what here

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
://github.com/pgf-tikz/pgf/issues/958 Perhaps Hans or other people could help tikz staff to do the pending and definitive solution. It's annoying to have to put workarrounds in production documents. There is just a glad mkiv user ;-) \usemodule[tikz] \starttext Hello World. \stoptext works

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Ulrike Fischer via ntg-context
Am Fri, 31 Mar 2023 10:10:43 +0200 schrieb Hans Hagen via ntg-context: > \usemodule[tikz] > > \starttext >Hello World. > \stoptext > works ok here It fails for me in texlive 2023. I don't know who changed what here, but it looks like a catcode problem. context loa

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Aditya Mahajan via ntg-context
com/pgf-tikz/pgf/issues/958 > > > > Perhaps Hans or other people could help tikz staff to do the pending and > > definitive solution. > > It's annoying to have to put workarrounds in production documents. > > > > There is just a glad mkiv user ;-) > \usemodule[tik

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-31 Thread Hans Hagen via ntg-context
!formula \endcsname dunno, that's numbering, not math Okay. So I tried another file. This time around with only \setupbodyfont[lucida] \starttext $ test $ \stoptext and then the output message was «Somewhere in the math formula just ended, you used the stated character from an undefined font

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Xavier B. via ntg-context
LMTX via the filter module and compiling the main doc with MkIV). > afaik tikz should work ok, so can you make a test file? > > Hans Perhaps this is a good test. It's a complete example: \setupcolors[state=start] \definecolor[darkgreen][g=.5] \usemodule[tikz] \starttext \starttikzpi

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-31 Thread Carlos via ntg-context
have been set. This is normally done by loading special math fonts into the math family slots. Your font set is lacking at least the parameter mentioned earlier.» Sorry, but sorry doesn't cut it here. I guess it must have been referring to \strc_formulas_place_number \strc_formulas_flush_number

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
and definitive solution. It's annoying to have to put workarrounds in production documents. There is just a glad mkiv user ;-) \usemodule[tikz] \starttext Hello World. \stoptext works ok here \usemodule[tikz] \starttext \starttikzpicture \node [left color=red, right color=yellow] {Hello

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-31 Thread Hans Hagen via ntg-context
ttexerror"]="! Missing control sequence inserted", ["linenumber"]=926, ["offset"]=10, } I simply run context to this file: \usemodule[tikz] \starttext {\bf a} \tikz (0,0) -- (1,0); \stoptext i have litt

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
the chapter >> number only. >> >> How to get the numbering right? >> >> Kind regards >> Willi >> >> The following example shows what happens: >> >> \useMPlibrary[dum] >> >> \definefloat[Afigure][Afigures][figures] >> \def

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
> [placehead=yes, >page=yes] > > \setuphead > [chapter] > [page=no] > > \starttext > > \starttitle[title=List of figures] > \startsubject[title=Figures (predefined figureenvironment)] > \placelistoffigures > \stopsubject > > \startsub

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
gt; > > \usemodule[tikz] > > > > \starttext > > {\bf a} \tikz (0,0) -- (1,0); > > \stoptext > > > So, the problem is not the package or the distro, it's something more > > basic which causes the error. > > Someone else reported this issue to the TikZ GitHub: >

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Max Chernoff via ntg-context
Hi Xavier, > During the texlive package, I get this error: > I simply run context to this file: > > \usemodule[tikz] > > \starttext > {\bf a} \tikz (0,0) -- (1,0); > \stoptext > So, the problem is not the package or the distro, it's something more > basic which c

Re: [NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
t; {1cm}\\ifpgfmathmathunitsdeclared \\pgf@x \\pgfmathresult mu\\relax \\else > \\pgf@x \\pgfmathresult pt\\relax \\fi \n\\pgfmath@next #1#2->#2\n > \n...\nl.926 \\pgfsetxvec{\\pgfpoint{1cm}{0cm}}\n > ", > ["lastluaerror"]="

[NTG-context] tikz error upgrading to texlive version (artix)

2023-03-30 Thread Xavier B. via ntg-context
rted", ["linenumber"]=926, ["offset"]=10, } I simply run context to this file: \usemodule[tikz] \starttext {\bf a} \tikz (0,0) -- (1,0); \stoptext My version of context is: [xan@coronari ~]$ context --version mtx-context | ConTeXt Process Management 1.04 m

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
=yes] \setuphead [chapter] [page=no] \starttext \starttitle[title=List of figures] \startsubject[title=Figures (predefined figureenvironment)] \placelistoffigures \stopsubject \startsubject[title=Figures A] \placelistofAfigures \stopsubject \startsubject

Re: [NTG-context] characters.tex.toutf bug

2023-03-30 Thread Hans Hagen via ntg-context
g=no, trep=no] \startbuffer[test-bib] @article{one, author = {``Author---\v{O}ne''}, } @article{two, author = {``Author---Two''}, } \stopbuffer \usebtxdataset[test-bib.buffer] \starttext \placelistofpublications[method=dataset] \stoptext

[NTG-context] characters.tex.toutf bug

2023-03-29 Thread Max Chernoff via ntg-context
{``Author---\v{O}ne''}, } @article{two, author = {``Author---Two''}, } \stopbuffer \usebtxdataset[test-bib.buffer] \starttext \placelistofpublications[method=dataset] \stoptext Removing the following lines elseif not find(str,"\\",1,true) then

Re: [NTG-context] Spacing problem around decimal point

2023-03-28 Thread Bruce Horrocks via ntg-context
cking the new binary. (Thanks, Günter!) The x86_64-darwinlegacy from that download link version has fixed the problem on the Mac. Thank-you all involved. \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext gives the attached. —

Re: [NTG-context] xtable - what might prevent splitting?

2023-03-28 Thread Wolfgang Schuster via ntg-context
a second page. \setupxtable[width=4cm,option={stretch,width}] \setupxtable[split=yes] \starttext \placetable[here]{} \startxtable \startxrow \startxcell cell one \stopxcell \startxcell cell two \stopxcell \startxcell cell three\stopxcell \stopxrow ... and so on and so forth for twenty or so

[NTG-context] xtable - what might prevent splitting?

2023-03-28 Thread jbf via ntg-context
}] \setupxtable[split=yes] \starttext \placetable[here]{} \startxtable \startxrow \startxcell cell one \stopxcell \startxcell cell two \stopxcell \startxcell cell three\stopxcell \stopxrow ... and so on and so forth for twenty or so rows, but certainly enough to require a second page

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
gt;> On 26 Mar 2023, at 12:51, Henning Hraban Ramm via ntg-context >>> wrote: >>> >>> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >>>> Good evening! >>>> I have a setup in which I need to send info to the TOC: >>>> C

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
, at 12:51, Henning Hraban Ramm via ntg-context wrote: Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-27 Thread Carlos via ntg-context
y days) > > what does > > mtxrun --generate --verbose > > report (whre does it fail) > > > 57 \starttext > > 58 > > 59 \usetypescriptfile[type-lucida] > > 60 \usetypescript[Lucida][texnansi] > > 61 >> \setupbodyfont[MyLucida, 10p

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-26 Thread Carlos via ntg-context
y days) > > what does > > mtxrun --generate --verbose > > report (whre does it fail) > > > 57 \starttext > > 58 > > 59 \usetypescriptfile[type-lucida] > > 60 \usetypescript[Lucida][texnansi] > > 61 >> \setupbodyfont[MyLucida, 10p

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Bruce Horrocks via ntg-context
via ntg-context wrote: >>>> Hi List, >>>> I’m getting strange spaces around some decimal points after a clean >>>> LMTX >>>> install. MWE: >>>> \starttext >>>> \startformula >>>> v = \frac{1.32}{1.41

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Jim via ntg-context
t;> Hi List, >>> I’m getting strange spaces around some decimal points after a clean >>> LMTX >>> install. MWE: >>> \starttext >>> \startformula >>> v = \frac{1.32}{1.41} = 0.935 >>> \stopformula >>> \stoptext >>>

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Günter Kolousek via ntg-context
: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
wrote: > > Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >> Good evening! >> I have a setup in which I need to send info to the TOC: >> Consider the following example: >> \starttext >> \starttitle[title=Contents] >> \placelist[chapter][cri

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Hans Hagen via ntg-context
On 3/26/2023 4:20 AM, Gavin via ntg-context wrote: Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks

Re: [NTG-context] \definemathfence broken in latest

2023-03-26 Thread Mikael Sundqvist via ntg-context
Hi, I think command=yes was changed into define=yes. /Mikael Den sön 26 mars 2023 04:31Gavin via ntg-context skrev: > Hi List, > > The command \definemathfence seems to not be working as it did in other > recent LMTX. MWE: > > \definemathfence[abs][bar][command=y

[NTG-context] \definemathfence broken in latest

2023-03-25 Thread Gavin via ntg-context
Hi List, The command \definemathfence seems to not be working as it did in other recent LMTX. MWE: \definemathfence[abs][bar][command=yes] \starttext \startformula \abs{v} = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This causes an error, complaining that \abs is undefined

[NTG-context] Spacing problem around decimal point

2023-03-25 Thread Gavin via ntg-context
Hi List, I’m getting strange spaces around some decimal points after a clean LMTX install. MWE: \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext This produces the result attached below. The 1.32 looks fine, but the next two numbers have excess space around

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Willi \setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix? \setuphead[part][placehead=yes] \starttext \startpart[title=part one] \starttitle[title=Contents] \placelist[part,chapter][criterium=all] \startsubject[title=Figures] \placelistoffigures[criterium=all

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
Hello Alexandre, thank you so much, this is precisely what I was looking for! Cheers Willi > On 25 Mar 2023, at 18:28, Alexandre Christe via ntg-context > wrote: > > Hi Willi, > > A dead simple solution would be > > \starttext > \startformula > {\f

Re: [NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-25 Thread Hans Hagen via ntg-context
by both mtxrun --generate and luatools --generate right after. there i no need to use luatools (it's something old from the early days) what does mtxrun --generate --verbose report (whre does it fail) 57 \starttext 58 59 \usetypescriptfile[type-lucida] 60 \usetypescript[Lucida

[NTG-context] registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux

2023-03-25 Thread Carlos via ntg-context
t][encoding=texnansi] 54 \stoptypescript 55 56 57 \starttext 58 59 \usetypescriptfile[type-lucida] 60 \usetypescript[Lucida][texnansi] 61 >> \setupbodyfont[MyLucida, 10pt] 62 63 \input zapf 64 65 \input tufte 66 67 68 \stoptext 6

Re: [NTG-context] Building fomula

2023-03-25 Thread Alexandre Christe via ntg-context
Hi Willi, A dead simple solution would be \starttext \startformula {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo} \stopformula \stoptext Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <

[NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
. In the setup of book there would be enough place, if I coud decrease the space left and right of the ‘or’. How can I achieve this? Cheers Willi \starttext \startformulas \startformula[align=right] {\frac{47 \times 62}{44 \times 56}} \times {12} \stopformula \startformula

Re: [NTG-context] \setupTABLE: framecolor

2023-03-25 Thread Bruce Horrocks via ntg-context
BLE[row] [first] [topframe=on,bottomframe=on,style=bold] \setupTABLE[row][2][topframe=on] \setupTABLE[row][2][topframe=off,rightframe=on,leftframe=on,framecolor=lightgray] \setupTABLE[row][3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22][frame=on, framecolor=lightgray] \setupTABLE[row] [last] [to

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
trivial - just needed to use \long\def for > \stoptabulate so the following appears to work: > > \def\startMyExample{\starttabulate[|r|c|l|p|]} > \long\def\stopMyExample{\stoptabulate} %% long def required here > \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
def required here \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem{straw}{gold}{Rumpelstiltskin} \stoptabulate \stoptext > On 21 Mar 2023, at 05

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Hans Hagen via ntg-context
table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem

Re: [NTG-context] Problem with \stoptabulate

2023-03-20 Thread jbf via ntg-context
typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample

[NTG-context] Problem with \stoptabulate

2023-03-20 Thread Bruce Horrocks via ntg-context
|]} \def\stopMyExample{\stoptabulate} \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR} \starttext Here are some examples... \startMyExample \MyExampleItem{before}{after}{change before into after} \MyExampleItem{straw}{gold}{Rumpelstiltskin} \stopMyExample %\stoptabulate

[NTG-context] update

2023-03-20 Thread Hans Hagen via ntg-context
nicely on my android (12) phone (userland ubuntu) and luametatex compiles nicely from source (as it's aarch64) in about a minute. No decent editor to text real documents but who knows what a properly dockable (linux supporting) phone can do in a few years. A simple \starttext \dorecurse{1000

Re: [NTG-context] rotated headers in natural tables

2023-03-17 Thread Wolfgang Schuster via ntg-context
[1]{\RtH}{\rotate{#1}} \starttext \setupTABLE[offset=3pt] \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom] \bTABLE \bTABLEhead \bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH \bTH\RtH{average speed}\eTH \eTR You can change the vertical alignment

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
, footer=0.75cm, ] \definelayer[test3] %[x=.5\paperwidth, y=.5\paperheight] [x=.5\textwidth, y=.5\textheight] %\setupbackgrounds[page] \setupbackgrounds[text] [background=test3] \starttext \setlayer[test3][location={middle}] \framed[offset=overlay

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
, ] \setuppagenumbering[state=start,alternative=doublesided,location=margin] \useMPlibrary [dum] \starttext %%% Me %%% \showframe [text] [text] \definelayer[test3] \setlayer[test3][] \centerbox{ {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
.contextgarden.net/Combinations#Image_Width > > > > > > Thanks > > > > > > Keith McKay > > > > > > %%% example %%% > > > > > > \setuppapersize[A4,portrait]%[A4,portrait] > > > > > > \setuplayout > &

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
> > [backspace=2.5cm, > > > > topspace=1cm, > > > > height=28cm, > > > > width=17cm, > > > > header=0cm, > > > > footer=0.75cm, > > > > ] > > > > \useMPlibrary [dum] > > > > \start

Re: [NTG-context] Undefined control sequence error message

2023-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/23 17:44, Leah Neukirchen via ntg-context wrote: > Hi, > > LMTX prints a bit weird error message for undefined control > sequences: > > \starttext > \zong > \stoptext > > tex error > tex error on line 2 in file ./foo.tex: Undefined >

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
grounds[page] \setupbackgrounds[text] [background=test3] \starttext \setlayer[test3][location={middle}] \framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm] {\externalfigure[cow][width=15mm]}{} \rotate[rotation=90]{\externalfigure[cow

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
, height=28cm, width=17cm, header=0cm, footer=0.75cm, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy]}{} {\externalfigure[dummy][]}{} \stopcombination} \flushlayer[test3

[NTG-context] Undefined control sequence error message

2023-03-16 Thread Leah Neukirchen via ntg-context
Hi, LMTX prints a bit weird error message for undefined control sequences: \starttext \zong \stoptext tex error > tex error on line 2 in file ./foo.tex: Undefined control sequence \undefined \zong Shouldn't it print "\zong" in the "tex error" line to

Re: [NTG-context] rotated headers in natural tables

2023-03-15 Thread Bruce Horrocks via ntg-context
find an option to do that. > Tried \dontleavehmode or \hfill in my \RtH macro to no avail. > Is it possible? > > > \define[1]{\RtH}{\rotate{#1}} > > \starttext > > \setupTABLE[offset=3pt] > \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom] >

Re: [NTG-context] rotated headers in natural tables

2023-03-15 Thread fv leung via ntg-context
\dontleavehmode or \hfill in my \RtH macro to no avail. > Is it possible? > > > \define[1]{\RtH}{\rotate{#1}} > > \starttext > > \setupTABLE[offset=3pt] > \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom] > \bTABLE > \bTABLEhead > \bTR \bTH

[NTG-context] Bug in columns

2023-03-15 Thread 李延瑞
Hi, There are some footnotes in my text. When I use \startcolumns...\stopcolumns, the locations of footnotes are not right. Please see the followging sample: \starttext If there is a footnote here\footnote{It's a footnote!}. \startcolumns[n=2] \input knuth \column \input knuth \stopcolumns

[NTG-context] rotated headers in natural tables

2023-03-15 Thread Henning Hraban Ramm via ntg-context
Hi! In my table, I want the header texts to be 90˚ rotated and aligned to the bottom of their cell. I couldn’t find an option to do that. Tried \dontleavehmode or \hfill in my \RtH macro to no avail. Is it possible? \define[1]{\RtH}{\rotate{#1}} \starttext \setupTABLE[offset=3pt

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-14 Thread Bruce Horrocks via ntg-context
{ } but not combinations of both (which given the vast numbers of >> combinations is perhaps not surprising!). Have I missed something obvious >> that would help me? > So, four optional with mandate {} plus a fallback to an optional [] > > \starttext > > \tolerant

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Hans Hagen via ntg-context
ing at why my \registerunit attempt failed, I found that when you register a unit, both your capitalization, and an all lowercase version are registered. Here is an example, where I register “ReTeM” but \unit{1 retem} also works. \starttext \registerunit[unit][ReTeM=myunit] \setupunittext[myun

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Gavin via ntg-context
ing now. Looking at why my \registerunit attempt failed, I found that when you register a unit, both your capitalization, and an all lowercase version are registered. Here is an example, where I register “ReTeM” but \unit{1 retem} also works. \starttext \registerunit[unit][ReTeM=myunit] \se

Re: [NTG-context] extra lines in PDF annotations

2023-03-14 Thread Pablo Rodriguez via ntg-context
ion[state=start] \startxmlsetups xml:text \xmlsetsetup{\xmldocument} {pre} {xml:copy:html} \stopxmlsetups \xmlregistersetup{xml:text} \startxmlsetups xml:copy:html \xmltobuffer{#1}{.}{text} \comment[location=inmargin,buffer=text]{} \stopxmlsetups \setuppapersize[A9

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-13 Thread Hans Hagen via ntg-context
-aux.mkiv but it only covers optional numbers of [ ] or { } but not combinations of both (which given the vast numbers of combinations is perhaps not surprising!). Have I missed something obvious that would help me? So, four optional with mandate {} plus a fallback to an optional [] \starttext

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Otared Kavian via ntg-context
>> manually (for instance in French « connaître » was typed as « conn\^{\i}tre >> »). >> Here is an example. >> \starttext >> Bío Bío (works fine…) >> B\'{\i}o B\'{\i}o % this gives an error >> \stoptext > I'll add checking for the \i too. It's all pa

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Hans Hagen via ntg-context
(for instance in French « connaître » was typed as « conn\^{\i}tre »). Here is an example. \starttext Bío Bío (works fine…) B\'{\i}o B\'{\i}o % this gives an error \stoptext I'll add checking for the \i too. It's all part of a parser. Think \chr {e acute} \chr {i circumflex} \^{i} \^i \^{\i

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Wolfgang Schuster via ntg-context
this manually (for instance in French « connaître » was typed as « conn\^{\i}tre »). Here is an example. \starttext Bío Bío (works fine…) B\'{\i}o B\'{\i}o % this gives an error \stoptext \setupbodyfont[pagella] \starttext conna\withcircumflex{\dotlessi}tre connaître B\withacute{\dotlessi}o Bío

Re: [NTG-context] Did dotless i disappear ?

2023-03-13 Thread Pablo Rodriguez via ntg-context
as to > correct this manually (for instance in French « connaître » was typed > as « conn\^{\i}tre »). Hi Otared I think what doesn’t work is the dotless i as combining character for i + diacritical mark. It seems that standard i may combine fine: \setupinteractionscreen[option=max] \starttext

[NTG-context] Did dotless i disappear ?

2023-03-13 Thread Otared Kavian via ntg-context
\^{\i}tre »). Here is an example. \starttext Bío Bío (works fine…) B\'{\i}o B\'{\i}o % this gives an error \stoptext Best regards: Otared ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Table

2023-03-13 Thread Ursula Hermann via ntg-context
Ursula Hermann via ntg-context mailto:ntg-context@ntg.nl>> wrote: I’d like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi There are probably better ways, but this seems to give something like what you look for: \sta

Re: [NTG-context] Table

2023-03-13 Thread Mikael Sundqvist via ntg-context
Uschi > There are probably better ways, but this seems to give something like what you look for: \starttext \setupTABLE[c][align=middle] \setupTABLE[c][odd][width=2em] \setupTABLE[c][even][width=1mm] \setupTABLE[r][2][height=1mm] \setupTABLE[c][1][leftframe=off] \setupTABLE[c][5][rightframe=off] \bTA

Re: [NTG-context] Bug in maths environment: thematrix

2023-03-12 Thread Hans Hagen via ntg-context
noticed this bug two weeks ago, but could not produce a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t

Re: [NTG-context] [ numbering TEXpages ]

2023-03-09 Thread Pablo Rodriguez via ntg-context
On 3/9/23 13:18, Floris van Manen via ntg-context wrote: > Can someone remind me as how to number the pages in a pdf of multiple > \startTEXpage ... \stopTEXpage Hi Floris, I guess "pagestate=start" is what you might need: \starttext \dorecurse{25} {\startTEXpage[offse

[NTG-context] Bug in maths environment: thematrix

2023-03-09 Thread Otared Kavian via ntg-context
a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t) := \thematrix{1 , {\rm e}^t}, \stopformula \startformula M_{2

[NTG-context] \unit parser ignoring case, in some cases.

2023-03-09 Thread Gavin via ntg-context
below demonstrates the behavior. Obviously, I can use full names in my document. However, I would like the standard SI symbols, which are single capital letters, to work for me and my less TeX-savvy colaborators. Thanks! Gavin \starttext Units does not completely ignore case. \startformula

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Wolfgang Schuster via ntg-context
\crlf. I would even say that I read it somewhere in ConTeXt’s source. The result of \\ depends on the environment/command. \starttext \completecontent \chapter{space or\\newline?} \stoptext Wolfgang ___ If your

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Pablo Rodriguez via ntg-context
On 3/8/23 16:24, Floris van Manen via ntg-context wrote: >> \startlines > > thanks! > and it saves a lot of extra typing as well Hi Floris, this might also do the trick: \starttext \startTEXpage[offset=10mm] een twee drie vier vijf zes zeven\\ een twee drie vier

Re: [NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-08 Thread Hans Hagen via ntg-context
}{\resetcounter[subfigure]} \starttext \startplacefigure[title=Test] \startfloatcombination[nx=1, ny=2] \startplacesubfigure[title=Test] \externalfigure[dummy][width=4cm,height=1cm] \stopplacesubfigure \startfloatcombination[nx=2, ny=1] \startplacesubfigure

Re: [NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Hans Hagen via ntg-context
On 3/8/2023 9:29 AM, Floris van Manen via ntg-context wrote: Does any one know an answer? When wrapping a page in \startTEXpage the empty lines disappear. There is probably a reason to it. Any hints as to remove that difference? .Floris e.g. \starttext   een twee drie vier vijf zes zeven

[NTG-context] [ TEXpage empty lines ]

2023-03-08 Thread Floris van Manen via ntg-context
Does any one know an answer? When wrapping a page in \startTEXpage the empty lines disappear. There is probably a reason to it. Any hints as to remove that difference? .Floris e.g. \starttext een twee drie vier vijf zes zeven\\ een twee drie vier vijf zes zeven\\ een twee drie vier

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
://tex.stackexchange.com/a/502903): \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext \startplacefigure[title=Test

Re: [NTG-context] cannot compile with MkIV

2023-03-06 Thread Hans Hagen via ntg-context
On 3/6/2023 7:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \null \stoptext Trying to compile it with "context --luatex", I get the error message copied bellow. Could anyone confirm that the format file for MkIV (LuaT

[NTG-context] cannot compile with MkIV

2023-03-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \null \stoptext Trying to compile it with "context --luatex", I get the error message copied bellow. Could anyone confirm that the format file for MkIV (LuaTeX) cannot be generated with current latest (from today [2023.0

Re: [NTG-context] /CropBox overflows /MediaBox

2023-03-06 Thread Pablo Rodriguez via ntg-context
" should read "fit" instead of "max"): \nopdfcompression \setupinteractionscreen [width=fit] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext \startmakeup[page] \null \stopmakeup \startmake

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
atex. Is this supposed to work? > > > > Here is an MWE: > > ``` > > \definedescription[desc][headstyle=bold] > > > > \starttext > > Foo > > > > \desc{Some title} Some text > > \startitemize > > \item Some item > &

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
On Mon, 6 Mar 2023, Gerion Entrup via ntg-context wrote: > Hi, > > I'm trying to use a description environment in conjunction with an > itemize with the latest luametatex. Is this supposed to work? > > Here is an MWE: > ``` > \definedescription[desc][headstyle=bol

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

[NTG-context] Problem with \setuplayout parameters being ignored

2023-03-05 Thread Keith McKay via ntg-context
\setupbackgrounds[header][text] [background=color, backgroundcolor=red] \setuppagenumbering[state=start,alternative=doublesided,location=footer] \showlayout \starttext \showsetups \dorecurse{10}{ Page \recurselevel \page } \stoptext __

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
dropref{%    \textreference[#1]{\expanded{\currentstructuretitle}} } \starttext \startchapter[title=Fish] \dropref{hello} \input knuth \stopchapter \startchapter[title=Whales] You can more information at \at{page}[hello] in \at{chapter}[hello] or \about[hello]. \stopchapter \stoptext S

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
xpanded{\currentstructuretitle}} } \starttext \startchapter[title=Fish] \dropref{hello} \input knuth \stopchapter \startchapter[title=Whales] You can more information at \at{page}[hello] in \at{chapter}[hello] or \about[hello]. \stopchapter \stoptext Strangely both at commands give the c

Re: [NTG-context] Bug with \startnarrow?

2023-03-03 Thread Denis Maier via ntg-context
ntation that has the bug. With \startnarrow, you need two > sets of square brackets, 1 for the \setupnarrower data and 1 for the > \startnarrower data. Like this: > > \starttext > Some text before > \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfli > ne]}][lef

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\startxmlsetups xml:table:tr:td \NC \xmlflush{#1} \stopxmlsetups \starttext \xmlprocessbuffer{test}{test}{} \startplacetable \starttabulate[|p|p|] \NC a\footnote{3}\NC b\NC\NR \stoptabulate \stopplacetable \startplacetable \bTABLE \bTR \bTD One\footnote{4} \eTD \bTD two \eTD

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\startxmlsetups xml:table:tr \xmlfilter{#1}{/td/command(xml:table:tr:td)}\NC\NR \stopxmlsetups \startxmlsetups xml:table:tr:td \NC \xmlflush{#1} \stopxmlsetups \starttext \xmlprocessbuffer{test}{test}{} \startplacetable \starttabulate[|p|p|] \NC a\footnote{3}\NC b

[NTG-context] How to place a page reference multiple times?

2023-03-01 Thread Joel via ntg-context
: \starttext     You can find it at \at{page}[sample] in \at{chapter}[sample]. \chapter{Fish} \pagereference[sample] \input knuth \input knuth \pagebreak \chapter{Whales} \input knuth \pagereference[sample] \stoptext (you can see in this example, it only finds `\pagereference[sample]` on page

Re: [NTG-context] /CropBox overflows /MediaBox

2023-02-28 Thread Hans Hagen via ntg-context
On 2/28/2023 6:23 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following source: \nopdfcompression \setupinteractionscreen [width=max] \setuplayout [standard] [backspace=.7\textwidth, cutspace=\cutspace, width=middle] \starttext

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