Re: [NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-26 Thread Denis Maier
Am 23.09.2020 um 16:04 schrieb Wolfgang Schuster: Denis Maier schrieb am 23.09.2020 um 14:14: Hi, this example produces correctly aligned right-to-left text: \setupalign[verytolerant,stretch] \setupdirections[bidi=global,method=unicode] \starttext \starttabulate[|p|p|] \NC Text

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

2020-09-25 Thread Hans Hagen
tartlayout .. \stoplayout). Unfortunately, in my use case, the paper sizes may not be the same.. I am typically attaching published journal articles and some are published on letter paper and some on A4. \setupexternalfigures[location=default] \starttext \dorecurse {5} {Before #1\page} \getfigure

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

2020-09-24 Thread Wolfgang Schuster
[location=default] \starttext ... \page \getfiguredimensions[texit.pdf] \noheaderandfooterlines \dorecurse{\noffigurepages} {\vbox to \vsize {\vskip-\dimexpr\headerheight+\topspace\relax \hbox to \hsize {\hskip-\backspace \externalfigure[texit.pdf][page=\recurselevel

[NTG-context] Index range with page number suffix

2020-09-24 Thread Duncan Hothersall
I need is: sausage 1-2i Is this possible? MWE \defineprocessor[important][right={\it{i}}] \starttext \samplefile{knuth} \startregister[index][sausage][important->sausage]{sausage} \dorecurse{6}{\samplefile{knuth}} \stopregister[index][sausage]{sausage} \samplefile{knuth} \page \placein

Re: [NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-23 Thread Wolfgang Schuster
Denis Maier schrieb am 23.09.2020 um 14:14: Hi, this example produces correctly aligned right-to-left text: \setupalign[verytolerant,stretch] \setupdirections[bidi=global,method=unicode] \starttext \starttabulate[|p|p|] \NC Text \NC Translation \NC\NR \NC\setupalign[r2l]\input

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
>width=1\textwidth, height=1\textheight, >before={\setuppapersize[rotate]}] % there's no before > in setupfloat > \setupcaption[bigfigure][location={opposite}] % there's no opposite location > in setupcaption > > \starttext

[NTG-context] Tagged export breaks r2l alignment in tabulate

2020-09-23 Thread Denis Maier
Hi, this example produces correctly aligned right-to-left text: \setupalign[verytolerant,stretch] \setupdirections[bidi=global,method=unicode] \starttext \starttabulate[|p|p|] \NC Text \NC Translation \NC\NR \NC\setupalign[r2l]\input ward \NC\input ward \NC\NR \stoptabulate

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
unnumbered ToC entry? Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

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

2020-09-23 Thread Taco Hoekwater
=red] > \setupexternalfigures[interaction=all, method=pdf] > \setupinteractionscreen[option={portrait, paper}] > \starttext > %~ \insertpages[http://gaceta.rsme.es/abrir.php?id=1495][width=0pt] > \insertpages[GacRSocMatEsp.pdf][width=0pt] > \stoptext > > I have some issues with i

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm getting

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

2020-09-22 Thread Andres Conrado Montoya Acosta
rectives[references.border=red] > \setupexternalfigures[interaction=all, method=pdf] > \setupinteractionscreen[option={portrait, paper}] > \starttext > %~ \insertpages[http://gaceta.rsme.es/abrir.php?id=1495][width=0pt] > \insertpages[GacRSocMatEsp.pdf][width=0pt] > \stoptext > > I ha

Re: [NTG-context] More table questions

2020-09-22 Thread Denis Maier
][frame=off] \setupTABLE[row][first][topframe=on,rulethickness=1.2bp] \setupTABLE[row][2][topframe=on,rulethickness=0.6bp] \setupTABLE[row][last] [bottomframe=on, rulethickness=1.2bp] \setupTABLE[row][first][style=bold] \stopsetups \starttext \startTABLE[setups=booktabs] \NC Heading

Re: [NTG-context] More table questions

2020-09-22 Thread Aditya Mahajan
on, bottomframe=booktabs] \setupTABLE[row][last] [bottomframe=on] \setupTABLE[row][first][style=bold] \stopsetups \starttext \startTABLE[setups=booktabs] \NC Heading 1 \NC Heading 2 \NC Heading 3 \NC \NR \NC Value 1 \NC Value 2 \NC Value 3 \NC \NR \NC Value 1 \NC Value 2 \NC Value 3

Re: [NTG-context] More table questions

2020-09-22 Thread Peter Münster
et=0pt] \setupTABLE[row][2][style=bold, bottomframe=on,rulethickness=0.6bp] \setupTABLE[row][last] [bottomframe=on, rulethickness=1.2bp] \stopsetups \starttext \startTABLE[setups=booktabs] \NC Heading 1 \NC Heading 2 \NC Heading 3 \NC \NR \NC Value 1 \NC Value 2 \NC Value 3 \

Re: [NTG-context] More table questions

2020-09-22 Thread Aditya Mahajan
[topframe=on,rulethickness=1.2bp] \setupTABLE[row][2][topframe=on,rulethickness=0.6bp] \setupTABLE[row][last] [bottomframe=on, rulethickness=1.2bp] \setupTABLE[row][first][style=bold] \stopsetups \starttext \startTABLE[setups=booktabs] \NC Heading 1 \NC Heading 2 \NC Heading 3 \NC

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
\starttext \showframe \dorecurse{2}{\input{knuth}} \setuppapersize[rotate] % this doesn't work because is in same page \startplacebigfigure[title={A cow}]{\externalfigure[cow]}\stopplacebigfigure \setuppapersize[default] \dorecurse{2}{\input{knuth}} \stoptext

[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 פאדא וג̇ד אפעאל אללה תעאלי עלי ג̇איה̈ אלאחכאם ואלאתסאק נחו כלקה̈ אלאנסאן עלי עג̇יב צורתה ותכֿטיטה̈ וחואסה

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Christoph Reller
aborted Correct me if I am wrong, but there does not seem to be a font file named uzdr* in the distribution tree. > \definefont[zapfdingbats][ZapfDingbats] > > \starttext > > {\zapfdingbats ✓} > > \definedfont[name:ZapfDingbats]✓ > > \stoptext > > > > I still ge

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

2020-09-21 Thread Wolfgang Schuster
Jeong Dal schrieb am 21.09.2020 um 20:54: Dear Aditya, Jairo, Wolfgang, and Otared, Thank you for the replies and explanations. I also read the blog. In this case, using '##1’ is an easy way. For more complex table, I may use luacode. I forgot the obvious \expanded solution: \starttext

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

2020-09-21 Thread Jeong Dal
\recurselevel=7 \exitloop \fi \NC \recurselevel \NC \NC\NR \HL } \stoptabulate \stopbuffer \starttext \getbuffer[AdjacencyList1] \getbuffer[AdjacencyList2] \stoptext > 2020. 9. 21. 오후 10:50, ntg-context-requ...@ntg.nl 작성: > > Send ntg-context mailing list submissions to >

[NTG-context] How to get the last item from an XML node

2020-09-21 Thread Denis Maier
:*}     \xmlsetsetup{#1}{table}{xml:table}     \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:article \starttext     \xmlflush{#1} \stoptext \stopxmlsetups \startxmlsetups xml:table   \startembeddedxtable         \xmlfilter{#1}{/tbody/command(xml:table:tbody)}   \stopembeddedxtable

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Wolfgang Schuster
!='parallel']}{xml:table}     \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:article \starttext     \xmlflush{#1} \stoptext \stopxmlsetups \startxmlsetups xml:table   \startxtable     \startxrow   \startxcell one \stopxcell   \startxcell two \stopxcell     \stopxrow   \stopxtable

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
Hi Dalyoung, I don't know why \recurselevel returns 0 inside a tabulate environment, but the following works fine: \starttext \startxtable[frame=off,bottomframe=on,width=1cm,align={middle,lohi}] \startxrow\startxcell \stopxcell\stopxrow % just to have a line on the top of the first row

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
recurse{8} > {\NC \recurselevel \NC \NC\NR \HL} > \stoptabulate > \stopbuffer > > \startbuffer[AdjacencyList2] > \starttabulate[|c|cw(2cm)|] > \HL > \doloop{ > \ifnum \recurselevel=7 > \exitloop > \fi > \NC \recurselevel \NC \NC\NR \HL > } > \stoptabulate > \stopbuffe

[NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Denis Maier
\xmlregistersetup{xml:test} \startxmlsetups xml:article \starttext     \xmlflush{#1} \stoptext \stopxmlsetups \startxmlsetups xml:table   \startxtable     \startxrow   \startxcell one \stopxcell   \startxcell two \stopxcell     \stopxrow   \stopxtable \stopxmlsetups \xmlprocessbuffer{test}{test

[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
] [TeX Gyre Termes Math] %\definefontfamily [mainface] [mm] [XITSMath] \setupmathematics[integral=nolimits,lcgreek=normal,default=normal] \setupbodyfont[mainface] \starttext {\rm\tf Regular \it Italic \bf Bold \bi BoldItalic} {\ss\tf Regular \it Italic \bf Bold \bi BoldItalic} {\tt\tf Regular

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Hans Hagen
On 9/21/2020 2:55 PM, Christoph Reller wrote: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] I don't know what the previous line does ... but it works ok here when you remove it. \definefont[zapfdingbats][ZapfDingbats] \starttext {\zapfdingbats ✓} \definedfont

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-21 Thread Christoph Reller
> > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > > > \usemodule [fnt-10] > > > \starttext > > > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  > > > (U+0F033) in font 'ZapfDingbats-4' with id 8: mis

[NTG-context] Parallel text support

2020-09-21 Thread Denis Maier
Hi, I'm trying to typeset a parallel text that should appear in columns. The sources are XML, and there I have to use tables for this. So, I thought the easiest way is to use extreme tables for this: = \starttext \dorecurse{3}{\input knuth} \startxtable[split=yes

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

2020-09-21 Thread Hans Hagen
there is a simpler way to do it.. I am using Libertinus Serif (which does support old style numerals) and columns, if that matters. Thank you. \starttext First two examples: Brackets surround text including digits, grouped hyphens are {\emph not} converted to en and em dashes. {\os Ford--Chevy 12345

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

2020-09-20 Thread Art Chimes
Libertinus Serif (which does support old style numerals) and columns, if that matters. Thank you. \starttext First two examples: Brackets surround text including digits, grouped hyphens are {\emph not} converted to en and em dashes. {\os Ford--Chevy 12345 Chrysler---Plymouth 67890 } \blank[line

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

2020-09-20 Thread Pablo Rodriguez
}] \starttext %~ \insertpages[http://gaceta.rsme.es/abrir.php?id=1495][width=0pt] \insertpages[GacRSocMatEsp.pdf][width=0pt] \stoptext I have some issues with it. 1. For some strange reason, the first \insertpages command with a remote file cannot deal with the interaction from the file (no internal

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
n current LMTX and MkIV. Hraban \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, hang=yes, ] \starttext \fakewords{10}{30} % Footnotes, but no co

Re: [NTG-context] columns yet again

2020-09-20 Thread Thomas A. Schmitz
On 9/17/20 3:23 PM, Hans Hagen wrote: \setuplayout[width=16cm] \starttext \enabledirectives[tabulate.linenumbers] \showframe \starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]     \NC     \startlinenumbering     \dorecurse{10}{\input ward \par

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
arding the width it’s still the same MWE (slightly adapted), apparently not related to floatcombinations but a general problem of footnotes in captions; couldn’t reproduce “some missing” in an MWE yet. Hraban \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \starttext \input knuth % Foo

[NTG-context] Add arrow tips to axes in lmt_function

2020-09-19 Thread Jairo A. del Rio
Hi, list! I want to know how to add arrow tips for axes (x, y) to a function. I did the following based on a luametafun example: \starttext \startMPcode{doublefun} draw lmt_function [ xmin=0, xmax=10, xstep=.05, ymin=-2, ymax=2, code="1.5 * math.cosd(240 * math.sqrt(x))", xlabels=&q

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-19 Thread Hans Hagen
fontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > \usemodule [fnt-10] > \starttext > (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  > (U+0F033) in font 'ZapfDingbats-4' with id 8: missing > (2) \getglyphdirect{ZapfDingbats}{983059}

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
On Fri, Sep 18, 2020 at 4:17 PM Hans Hagen wrote: > On 9/18/2020 11:23 AM, Christoph Reller wrote: > > Dear List, > > > > I have the following MWE: > > > > \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] > > \usemodule [fnt-10]

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

2020-09-18 Thread Pablo Rodriguez
Gyre Heros] [scale=0.75] \setuplanguage [es] [patterns={es,gr}] \setupbodyfont [mainface, 15pt] \mainlanguage[es] \starttext \samplefile{cervantes-es} \samplefile{aristotle-grc}} \stoptext Just in case it helps, Pablo

Re: [NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Hans Hagen
On 9/18/2020 11:23 AM, Christoph Reller wrote: Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-18 Thread Geert Verhaag
f so, I'm sorry for bothering you!) Regards, Gerard On 16-09-2020 16:32, Geert Verhaag wrote: Hi, I'm trying to pass a string argument value to an MPgraphic but it doesn't seem to work: Tried the following: \startuseMPgraphic{name}{lbl}   pair a ; a := (3cm,3cm) ;label.top("\

[NTG-context] ZapfDingbats Unicode differences MKIV vs LMTX

2020-09-18 Thread Christoph Reller
Dear List, I have the following MWE: \definefontsynonym[ZapfDingbats][file:ZapfDingbats][features=dingbats] \usemodule [fnt-10] \starttext (1) \getglyphdirect{ZapfDingbats}{61491}\crlf % MKIV log: char  (U+0F033) in font 'ZapfDingbats-4' with id 8: missing (2) \getglyphdirect{ZapfDingbats

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-18 Thread Hans Hagen
Regards, Gerard On 16-09-2020 16:32, Geert Verhaag wrote: Hi, I'm trying to pass a string argument value to an MPgraphic but it doesn't seem to work: Tried the following: \startuseMPgraphic{name}{lbl}   pair a ; a := (3cm,3cm) ;label.top("\MPvariable{lbl}",a) ; \stopuseMPgr

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-17 Thread Geert Verhaag
haag wrote: Hi, I'm trying to pass a string argument value to an MPgraphic but it doesn't seem to work: Tried the following: \startuseMPgraphic{name}{lbl}   pair a ; a := (3cm,3cm) ;label.top("\MPvariable{lbl}",a) ; \stopuseMPgraphic \starttext   \useMPgraphic{name}{lbl=1} \stoptext

Re: [NTG-context] columns yet again

2020-09-17 Thread Hans Hagen
, the left column has line numbering; two column layout starts in the middle of pages. What I tried so far: \setuplayout[width=16cm] \starttext \enabledirectives[tabulate.linenumbers] \showframe \starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|] \NC

Re: [NTG-context] lmtx update

2020-09-17 Thread Eduardo Bohoyo
if I'm wrong. LMTX removes some restrictions for settings which are applies to paragraphs, e.g. the following example works now without problems with LMTX while LuaTeX needs the \dontleavehmode at the begin of the paragraph \starttext \placefigure[left]{none}{\framed[width=2cm,height=2cm

Re: [NTG-context] lmtx update

2020-09-17 Thread Eduardo Bohoyo
for settings which are applies to paragraphs, e.g. the following example works now without problems with LMTX while LuaTeX needs the \dontleavehmode at the begin of the paragraph \starttext \placefigure[left]{none}{\framed[width=2cm,height=2cm]{}} %\dontleavehmode {\bf Tufte: }\input tufte

Re: [NTG-context] lmtx update

2020-09-17 Thread Wolfgang Schuster
. the following example works now without problems with LMTX while LuaTeX needs the \dontleavehmode at the begin of the paragraph \starttext \placefigure[left]{none}{\framed[width=2cm,height=2cm]{}} %\dontleavehmode {\bf Tufte: }\input tufte \stoptext To avoid side effects from these changes LMTX

Re: [NTG-context] lmtx update

2020-09-17 Thread Eduardo Bohoyo
the order of the \noindent and \parshape command. When a paragraph starts before the \parshape values are set the arguments are ignored because the values are already frozen at this moment, when you set the values before the paragraphs starts ConTeXt applies them. \starttext \hsize 10cm % lettr

Re: [NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-17 Thread Hans Hagen
On 9/16/2020 4:32 PM, Geert Verhaag wrote: Hi, I'm trying to pass a string argument value to an MPgraphic but it doesn't seem to work: Tried the following: \startuseMPgraphic{name}{lbl}   pair a ; a := (3cm,3cm) ;label.top("\MPvariable{lbl}",a) ; \stopuseMPgraphic

Re: [NTG-context] lmtx update

2020-09-16 Thread Wolfgang Schuster
es are set the arguments are ignored because the values are already frozen at this moment, when you set the values before the paragraphs starts ConTeXt applies them. \starttext \hsize 10cm % lettrine module, \noindent before \parshape \noindent \parshape 3 1cm 9cm 1.5cm 8.5cm 0cm 10cm \input weism

[NTG-context] Struggling with startuseMPgraphic and string argument!

2020-09-16 Thread Geert Verhaag
Hi, I'm trying to pass a string argument value to an MPgraphic but it doesn't seem to work: Tried the following: \startuseMPgraphic{name}{lbl}   pair a ; a := (3cm,3cm) ;label.top("\MPvariable{lbl}",a) ; \stopuseMPgraphic \starttext   \useMPgraphic{name}{lbl=1} \stoptext The a

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
> Am 16.09.2020 um 13:39 schrieb Hans Hagen : > > On 9/16/2020 12:08 PM, Henning Hraban Ramm wrote: > >> \automigrateinserts > > that one does nothing in lmtx At least it doesn’t interfere. ;) But good to know it’s becoming obsolete. >> \showframe

[NTG-context] Fwd: Re: footnotes in captions in floatcombinations

2020-09-16 Thread Hans Hagen
nothing in lmtx \showframe \starttext \input lorem \startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}] \externalfigure[003][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image\footnote[f:4

[NTG-context] sidefloats and narrower

2020-09-16 Thread Henning Hraban Ramm
=\stopquotation] \starttext %\fakewords{50}{60} \startplacefigure[location={right,-line},title={\fakewords{7}{10}}] \externalfigure[022][width=0.33\textwidth,height=0.75\textheight] \stopplacefigure \startZitat \fakewords{30}{60} \stopZitat \fakewords{30}{60} \startZitat \fakewords{15}{20

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
. \useMPlibrary[dum] \automigrateinserts \showframe \starttext \input lorem \startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}] \externalfigure[003][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Wolfgang Schuster
}] \starttext \startchapter[title={Chapter One}] Here comes \footnote{a footnote}. Aquí \footnote{otra nota a pie de página}. \stopchapter \stoptext However, I'm concerned by \switchtobodyfont. How should I make footnote size the same as the default font size, even when an arbitrary font size

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Henning Hraban Ramm
[style={\switchtobodyfont[12pt]}] > > \setuphead[chapter][aftersection=\setups{chapter:after}] > > \starttext > > \startchapter[title={Chapter One}] > > Here comes \footnote{a footnote}. Aquí \footnote{otra nota a pie de página}. > > \stopchapter > >

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

2020-09-15 Thread Aditya Mahajan
On Tue, 15 Sep 2020, Wolfgang Schuster wrote: > Aditya Mahajan schrieb am 15.09.2020 um 05:30: > > The following MWE gives an error with LMTX 2020.09.05 > > > > > > \usemodule[vim] > > \definevimtyping[MATLABCODE][syntax=matlab] > > > > \sta

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
Aditya Mahajan schrieb am 15.09.2020 um 05:30: 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:

[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] Footnote font size equal to main text font size

2020-09-14 Thread Jairo A. del Rio
}] \placefootnotes \stopfootnotetitle \fi \stopsetups \setupnotes[location=none] \setupnotation[way=bychapter] \setupfootnotedefinition[style={\switchtobodyfont[12pt]}] \setuphead[chapter][aftersection=\setups{chapter:after}] \starttext \startchapter[title={Chapter One}] Here

[NTG-context] footnotes in captions in floatcombinations

2020-09-14 Thread Henning Hraban Ramm
or with floatcombinations without footnotes. Please let there be an easy fix... Hraban \useMPlibrary[dum] \automigrateinserts \showframe \starttext \input knuth %\startplacefigure[location=none] %\startfloatcombination[2*1] \startplacefigure[title={Image with footnote\footnote[f:1]{foo bar baz

[NTG-context] columns yet again

2020-09-13 Thread Thomas A. Schmitz
,location=text,align=flushright,distance=0.4cm,style=small,color=magenta] \defineparagraphs [Half] [n=2] \setupparagraphs [Half] [before=,after=,align=verytolerant] \setupparagraphs [Half] [1] [width=0.45\textwidth] \starttext \startlinenumbering [original] [start=4

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-10 Thread Wolfgang Schuster
/reconfigurable) solution later if I end up needing a more complex paned-layout environment that doesn't need direct access to the TABLE (or some other more relevant) interface. MWE demonstrator; there's other cruft in the actual definitions for my purposes. \starttext     \define\startPaneSlide

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

2020-09-10 Thread Wolfgang Schuster
inface] [ss] [TeX Gyre Heros] [rscale=0.85] \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none,rscale=0.85] \definefontfamily [mainface] [mm] [Libertinus Math] \setupbodyfont[mainface] \starttext \rm\tf Regular \it Italic \bf Bold \bi BoldItalic \ss\tf Regular \it Italic \

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-09 Thread jbf
  [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter

[NTG-context] How do I specify a fallback to Symbola for the playing card range?

2020-09-09 Thread T. Kurt Bond
work: \definefontfallback[mainface][rm][Symbola][preset=range:playingcards,force=yes] \definefontfamily[mainface][rm][LibertinusSerif] \enabletrackers[fonts.missing] \setupbodyfont[mainface] \starttext  Testing! \stoptext The PLAYING CARD ACE OF SPADES character does not show up in the output PDF

Re: [NTG-context] About font combination in ConTeXt MKIV

2020-09-09 Thread Pablo Rodriguez
rm][Libertinus] \setupbodyfont[mainface] \starttext ab τῇ \stoptext Some scripts have predefined ranges thanks to Wolfgang, which avoid specifing all blocks for a given script. Just in case it helps, Pablo -- http://www.ousia.tk __

[NTG-context] Wrong page number when placefigure spans full page in columnset

2020-09-09 Thread Charles Vejnar
,grid=yes] \showframe \usemodule[newcolumnsets] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \dorecurse{16}{\input ward \par} \placefigure[page]{Legend. \input ward }{\externalfigure[dummy][width=\makeupwidth,height=15cm]} \section{Two section

Re: [NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-09 Thread Rudd, Kevin
a more complex paned-layout environment that doesn't need direct access to the TABLE (or some other more relevant) interface. MWE demonstrator; there's other cruft in the actual definitions for my purposes. \starttext \define\startPaneSlide{\bTABLE} \define\stopPaneSlide{\eTABLE} \long\def

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread jbf
] \setupsectionblock   [frontpart]   [number=yes] \setuplist   [forword]   [label=forword,    width=2cm] \setuplist   [chapter]   [label=chapter,    width=2cm] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter

Re: [NTG-context] styling individual parts of ToC entry

2020-09-09 Thread Wolfgang Schuster
] \starttext \startfrontmatter \placelist [chapter,forword] \startforword [] [author={A. u. thor}] \stopforword \stopfrontmatter \startbodymatter \startchapter [title=Chapter 1] [author={A. u. thor}] \stopchapter \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] Column not Balancing, Footnote is Missing

2020-09-08 Thread Wolfgang Schuster
. % \usemodule[ipsum] \setupfootnotes[location=page,rule=on,bodyfont=8.5pt] \setupcolumns [n=2,balance=yes,blank=line] \starttext \chapter{Footnote Test — \contextversion} \startcolumns \ipsum Cursus metus aliquam eleifend mi in nulla posuere sollicitudin aliquam. Id aliquet risus

Re: [NTG-context] Appendix question

2020-09-08 Thread Wolfgang Schuster
] \setuplabeltext [en] [chapter=Chapter , appendix=Appendix ] \starttext \startbodymatter \stopbodymatter \dorecurse{5}{\chapter{Chapter #1}} \startappendices \dorecurse{5}{\chapter{Chapter #1}} \stopappendices \stoptext Wolfgang

[NTG-context] problem embedding TABLE macros within wrapper macros "to reduce repetitive complexity")

2020-09-08 Thread Rudd, Kevin
define\stopPaneRow{\eTD\eTR} \define\stopPaneSlide{\eTABLE} \starttext \bTABLE \bTR\bTD quux blech baz bar foo \eTD\eTR \eTABLE \startPaneSlide \startPaneRow foo bar baz blech quux \stopPaneRow \stopPaneSlide \stoptext Kevin W

Re: [NTG-context] Fullwidth topfigure with caption in the margin

2020-09-08 Thread Mikael Sundqvist
caption[topfigure][ > number=no, > location=bottom, > style={\switchtobodyfont[8bp]}, > ] > \starttext > \dorecurse{4}{\samplefile{knuth}} > > \startplacetopfigure[title={\samplefile{ward}}] > \blackrule[width=6.5in,height=2in,color=transparentred] > \stopplacetopfigure

[NTG-context] Fwd: Re: styling individual parts of ToC entry

2020-09-07 Thread jbf
] \setuplabeltext   [en]   [chapter=Chapter ] \setuplist   [foreword]   [label=foreword,   alternative=command,    command=\TitleListCommand] \setuplabeltext   [en]   [title=Foreword ] \starttext \completecontent \starttitle [title={Foreword}] [author={Author Name}] \unknown \stoptitle

[NTG-context] Column not Balancing, Footnote is Missing

2020-09-07 Thread Art Chimes
[location=page,rule=on,bodyfont=8.5pt] \setupcolumns [n=2,balance=yes,blank=line] \starttext \chapter{Footnote Test — \contextversion} \startcolumns \ipsum Cursus metus aliquam eleifend mi in nulla posuere sollicitudin aliquam. Id aliquet risus feugiat in ante metus dictum at tempor.\footnote

Re: [NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Taco Hoekwater
lue. I don’t have the font, but is u101F2 the glyphs’ name, or its code point? Try this: \starttext \usemodule [fnt-10] \ShowCompleteFont{name:phaistos}{14pt}{1} \stoptext___ If your question is of inter

[NTG-context] Can't output direct glyphs either in MKIV or LMTX

2020-09-07 Thread Andres Conrado Montoya
nts/Phaistos.otf usedmethod=direct However, the glyph is not displayed in the pdf. I've tried both in MKIV and LMTX with no luck. Maybe someone here will have a clue. MWE: %% \definesymbol[arbol] [\getnamedglyphdirect{phaistos}{u101F2}] \starttext \switchtobodyfont[72pt] \sym

[NTG-context] Fullwidth topfigure with caption in the margin

2020-09-07 Thread Mikael Sundqvist
[topfigure][topfigures][figure] \setupfloat[topfigure][ default={margin}, location=flushleft, maxwidth=6.5in, ] \setupcaption[topfigure][ number=no, location=bottom, style={\switchtobodyfont[8bp]}, ] \starttext \dorecurse{4}{\samplefile{knuth}} \startplacetopfigure[title={\samplefile{ward

[NTG-context] Force bottom float to be at the bottom

2020-09-07 Thread Mikael Sundqvist
at the bottom of the page? I hope what I ask makes sense. /Mikael \useMPlibrary[dum] \definefloat[bottomfigure][bottomfigures][figure] \setupfloat[bottomfigure][default=bottom] \starttext \dorecurse{4}{\samplefile{knuth}} \startplacebottomfigure \externalfigure[dummy][width=\textwidth

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

2020-09-06 Thread Christian Prim
3): > > > > \usemodule[tikz] > > \starttext > > \placefigure[here][]{}{\hbox{\starttikzpicture > > \draw plot file {data.table}; > > \stoptikzpicture}} > > \stoptext > > > > with data.table: > > > > 150 -0.102 > > 150.1 -0.15 > >

Re: [NTG-context] Combining modes and MetaFun

2020-09-06 Thread Jan Willem Flamma
Flamma wrote:> Dear list members,> > Is it possible to combine modes and MetaFun?> > In the below MWE, the \doifmode construction does not work.> > Kind regards,> > Jan Willem Flamma> > ===> > \enablemode[en]> > %\enablemode[nl]> > \starttext>

Re: [NTG-context] Typing efficiency

2020-09-06 Thread Jan Willem Flamma
rtmode[nl]>  \setupselector[language][n=2]>  \keepblocks[nltext]> \stopmode>   > \starttext>   > \startsection[title=\select{language}{English title}{Dutch title}]>   > \beginentext>  This is English text.> \endentext> \beginnltext>  This is Dutch

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread jbf
\egroup    \egroup} \setuplist   [chapter]   [label=chapter,    alternative=command,    command=\ChapterListCommand] \setuplabeltext   [en]   [chapter=Chapter ] \starttext \completecontent \startchapter [title={Chapter title}] [author={Author Name},year={1980--2000}] \unknown \stopchapter

Re: [NTG-context] latest lmtx

2020-09-05 Thread Alan Bowen
gt; > > > On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm > wrote: > > > > > > > Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > > > > > When I process > > > \starttext > > > Hello, world! > > > \stoptext > >

Re: [NTG-context] latest lmtx

2020-09-05 Thread Otared Kavian
> On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm wrote: > > > > Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > > > When I process > > \starttext > > Hello, world! > > \stoptext > > I get the following error message: > > > >

Re: [NTG-context] latest lmtx

2020-09-05 Thread Alan Bowen
No, Hraban, and I have never had a directory /Users/bowen1/context-osx-64. Does Luametatex 2.10 (Context 2020.09.03) now require one? Alan On Sat, Sep 5, 2020 at 10:26 AM Henning Hraban Ramm wrote: > > > > Am 05.09.2020 um 16:08 schrieb Alan Bowen : > > > > When

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

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Wolfgang Schuster
\structurelistuservariable{author}}}% \hfill\currentlistentrypagenumber % pagenumber \egroup \egroup} \setuplist [chapter] [label=chapter, alternative=command, command=\ChapterListCommand] \setuplabeltext [en] [chapter=Chapter ] \starttext \completecontent \startchapter

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> \defineuserdata > [myquote] > [alternative=myquote] > > \showframe > > \definefontfeature [default] [default] [protrusion=quality] > > \setupalign [hanging] > > \starttext > > \startuserdata [myquote] [reference={f:9},source={Kaspar Hauser (Kurt >

Re: [NTG-context] Typing efficiency

2020-09-04 Thread Wolfgang Schuster
\startmode[nl] \setupselector[language][n=2] \keepblocks[nltext] \stopmode \starttext \startsection[title=\select{language}{English title}{Dutch title}] \beginentext This is English text. \endentext \beginnltext This is Dutch text. \endnltext \stopsection \stoptext

  1   2   3   4   5   6   7   8   9   10   >