[NTG-context] Re: offset with \copypages

2024-03-21 Thread Wolfgang Schuster
Peter Münster schrieb am 21.03.2024 um 15:04: Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext

[NTG-context] offset with \copypages

2024-03-21 Thread Peter Münster
Hi, When inserting pages with \copypages, the included pages are slightly shifted to the left and to the bottom. Minimal example: % test-file.tex: \setuplayout[page] \starttext \input tufte \vfill \input tufte \stoptext % test.tex: \starttext \copypages[test-file.pdf] \stoptext How could I

[NTG-context] issue with \xmlinlineprettyprinttext

2024-03-20 Thread Pablo Rodriguez via ntg-context
] \starttext \xmlprocessbuffer{main}{demo}{} \type{a --b c} \stoptext Using current latest (from 2024.03.11 09:34), LMTX transforms "--" in "–" (en-dash) only with \xmlinlineprettyprinttext (LuaTeX writes the en-dash in the three cases). This issue has been driving me

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
[alternative=doublesided,location=,] \setupheadertexts[{\headnumber[section].~\getmarking[section]}---{\headnumber[chapter].~\getmarking[chapter]}] \setupfootertexts[][pagenumber][pagenumber][] \setuphead[chapter][header=high] \starttext \dorecurse{10}{ \startchapter[title={This is my chapter

[NTG-context] command line arguments

2024-03-19 Thread Hraban Ramm
] \strut \blank \bold{[\Schema]} \vfill This is page \recurselevel \vfill \stopbuffer \starttext \dorecurse{\Pages}{\getbuffer[Fakepage]\page} \stoptext ___ If your question is of interest to others

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
. The Third Section ... 2. The Fourth Section ... \setuphead [chapter] [sectionstopper=.] \setuphead [section] [sectionsegments=section, sectionstopper=.] \starttext \chapter{The First Chapter} \section{The First Section} \section{The Second Section} \chapter{The Second Chapter

[NTG-context] Re: Comments placed in the margin

2024-03-19 Thread Wolfgang Schuster
: \setupmargindata[inmargin][style={\tf}] It does for me but but unless you want a certain style it is better to use a empty argument for the style key. \starttext \inmargin{Bold?}\samplefile{lorem} \setupmargindata[inmargin][style=] \inmargin{Bold?}\samplefile{lorem} \stoptext Wolfgang

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
; > > \starttexdefinition MyNumberChapterCommand #1 > \inframed[frame=off,rightframe=on,framecolor=black, > rulethickness=1px,height=30pt]{#1\enspace} > \stoptexdefinition > > \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand, > page=no] &

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
olor=black,      rulethickness=1px,height=30pt]{#1\enspace} \stoptexdefinition \setuphead[chapter][style={\bfc},numbercommand=\MyNumberChapterCommand,     page=no] \starttext \startchapter   [title={Algemene Beginselen},    ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter   [title={Organi

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
tyle={\bfc},numbercommand=\MyNumberChapterCommand, page=no] \starttext \startchapter [title={Algemene Beginselen}, ownnumber={Boek I}] \samplefile{tufte} \stopchapter \startchapter [title={Organisatorische Structuren}, ownnumber={Boek II}] \samplefile{tufte} \stopchapter

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-18 Thread Hraban Ramm
\mainlanguage[deo] \setuplanguage[deo][    hyphenmin=4,    lefthyphenmin=2,    righthyphenmin=2, ] \starttext \hyphenatedfile{aesop-de} \startcolumns Funktioniert die Trennung? Heckeneckenzecken \samplefile{aesop-de} \stopcolumns \stoptext Just as a start, the languages manual provides more

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster
][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2, ] \starttext \hyphenatedfile{aesop-de} \startcolumns Funktioniert die Trennung? Heckeneckenzecken \samplefile{aesop-de} \stopcolumns \stoptext Just as a start, the languages manual provides more details about hyphenation. \startexceptions[de

[NTG-context] Re: issue with typing in footnotes

2024-03-17 Thread Wolfgang Schuster
Pablo Rodriguez via ntg-context schrieb am 17.03.2024 um 17:38: Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote

[NTG-context] issue with typing in footnotes

2024-03-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (which was on the way of showing another issue): \starttext a \starttyping b \stoptyping c \startfootnote a \starttyping b \stoptyping c \stopfootnote \stoptext Current latest (from 2024.03.11 09:34) breaks compilation with both

[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
, ] \starttext \hyphenatedfile{aesop-de} \startcolumns Funktioniert die Trennung? Heckeneckenzecken \samplefile{aesop-de} \stopcolumns \stoptext ___ If your question is of interest to others as well, please add

[NTG-context] Why is header page number appearing when I define a header?

2024-03-16 Thread Joel via ntg-context
\starttext              \setupheadertexts[Name:~][Date:~__][Date:~__][Name:~]             \setupfootertexts[][pagenumber][][pagenumber]     \input knuth \stoptext I used this code to create header texts that prints Name / Date

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
summaries. In any case, the MWE below correctly displays the "smile" images (in *.pdf format) and incorrectly displays the smile.svg image). On the other hand, the \startMPpage script given by Hans only produces a white square. The *.log is attached. The MWE : \starttext \startcha

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
Thank you! The solution worked! On Friday, March 15, 2024 at 02:30:40 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 15.03.2024 um 20:50: > When I run this code, \at{page}[xyz] is unable to find the cross reference: > > \starttext > %\r

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 15.03.2024 um 20:50: When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext %\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \NC \doifnotmode{*trialtypesetting

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext%\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2

[NTG-context] Re: Struggling with the distance and right margin text

2024-03-15 Thread Pablo Rodriguez via ntg-context
ata [MyInMargin][ininner] \definemarginframed[MyInMargin] [topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm] \defineframed[topruletitle] [width=max, frame=off, topframe=on, rulethickness=1pt, align={justify}, extras=\dontleavehmode] \startt

[NTG-context] Struggling with the distance and right margin text

2024-03-15 Thread Ursula Hermann
, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17. (Vertauschung von All- und Existenzquantor).} \par So I have here an example from the second page: \definemargindata[inrightmargin][right][margin=margin,width=.50em\rightmarginwidth,style=,color=] \definemarginframed[MyInMargin

[NTG-context] Re: Japanese

2024-03-14 Thread Otared Kavian
d principles are exactly the same for horizontal writing. > > > > • position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30 > > > > See my attached gongitsune.tex example how you can squeeze text in a very > > narrow header/footer. > > >

[NTG-context] Re: Japanese

2024-03-14 Thread Emanuel Han via ntg-context
; > > • position of the headers and footers: https://www.w3.org/TR/jlreq/#fig1_30 > > > > See my attached gongitsune.tex example how you can squeeze text in a very > > narrow header/footer. > > > > • aligning lines to the text box: https://www.w3.org/TR/jlreq/#fig1_3 > &

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ter many hours of trial-and-error, I was able to recreate the problem > in a minimum working example: > > file main.tex only contains: > > \starttext > >      \index{birds} >      \index{insects} > >      \input secondary > >      \placeindex > > \s

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ble to recreate the problem > in a minimum working example: > > file main.tex only contains: > > \starttext > >      \index{birds} >      \index{insects} > >      \input secondary > >      \placeindex > > \stoptext > > file seco

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 13.03.2024 um 23:27: After many hours of trial-and-error, I was able to recreate the problem in a minimum working example: file main.tex only contains: \starttext     \index{birds}     \index{insects}     \input secondary     \placeindex \stoptext file

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
After many hours of trial-and-error, I was able to recreate the problem in a minimum working example: file main.tex only contains: \starttext     \index{birds}     \index{insects}          \input secondary          \placeindex      \stoptext file secondary.tex only contains:    \index

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
ence[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title=Standards]   \placeregister[learnedlong]     \stopchapter \stoptext ___ If your question is o

[NTG-context] Re: Japanese

2024-03-13 Thread Otared Kavian
t height. > > • protrusion of ruby: https://www.w3.org/TR/jlreq/#fig_ad1_6 > > You're getting this for free because ruby text doesn't take up vertical > space, in case vertical text is working it would now stick into the margins > as expected. > > \starttext >

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
MWE will do). \starttext \input tufte \externalfigure[smile03.pdf][conversion=mp] \stoptext It seems to me that Pablo has been struggling with the fine graining of PDF files in recent months, but I think it was more about the information contained in the PDF output than the processing of

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-13 Thread Hans Hagen via ntg-context
t,depth=\strutdp,offset=.250ex,color=red] \definebar [yourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=blue] \definebar [ourbar] [backgroundbar] [height=\strutht,depth=\strutdp,offset=.125ex,color=green] \starttext \startTEXpage[width=4cm] \startformul

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
: \starttext \input tufte \externalfigure[smile.svg][conversion=mp] \stoptext Best//JP Le 12/03/2024 à 15:01, Henning Hraban Ramm a écrit : Am 12.03.24 um 14:53 schrieb seyal zavira: > when i want to put some SVGs in my document the svg does not     render properly here is the c

[NTG-context] Re: \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Hans Hagen
| www.pragma-ade.nl | www.pragma-pod.nl - inter-001.pdf Description: Adobe PDF document \definebar[mybar][inlined][offset=.25ex,color=red] \starttext \startformula a \alignhere= b + c \breakhere \myba

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Henning Hraban Ramm
Am 12.03.24 um 14:53 schrieb seyal zavira: > when i want to put some SVGs in my document the svg does not render properly here is the code: > > \starttext > \startMPcode > draw lmt_svg [ > filename = "smile.svg"] > \stop

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
> > https://wiki.contextgarden.net/SVG > > Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit : > > hi all. > > > > when i want to put some SVGs in my document the svg does not render > properly here is the code: > > > > \starttext > > \startMPcode &g

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
Hi ! Did you have a look at this : https://wiki.contextgarden.net/SVG Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit : hi all. when i want to put some SVGs in my document the svg does not render properly here is the code: \starttext \startMPcode draw lmt_svg [ filename = "smil

[NTG-context] how to include an an svg file?

2024-03-12 Thread seyal . zavira
hi all. when i want to put some SVGs in my document the svg does not render properly here is the code: \starttext \startMPcode draw lmt_svg [ filename = "smile.svg"] \stopMPcode \stoptext also when i look at evenmore manual at page15, for font Abelone-FREE the gradients has rendere

[NTG-context] \intertext and highlighting with \alignhere/\breakhere

2024-03-12 Thread Max Chernoff
} \breakhere \stoptexdefinition \protect \starttext \section{Old alignment} \samplefile{knuth} \placeformula\startformula\startalign \NC \text{something} + \text{really} + \text{really} + \text{long} \NC= \sqrt{x} \NR[+] \intertext{\samplefile{knuth}}

[NTG-context] Re: Japanese

2024-03-10 Thread Jean-Pierre Delange
You're getting this for free because ruby text doesn't take up vertical space, in case vertical text is working it would now stick into the margins as expected. \starttext \ruledhbox{a \ruby{x}{y} b} \stoptext * In my previous mail, I wrote wrong

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen
the low level commands \glyphscale \glyphxscale \glyphyscale \glyphslant \glyphweight directly can have side efects when at an outer level these are also set, so you need to accumulate, like \starttext test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale test} test test

[NTG-context] Re: Japanese

2024-03-10 Thread Emanuel Han via ntg-context
vertical text is working it would now stick into the margins > as expected. > \starttext > \ruledhbox{a \ruby{x}{y} b} > \stoptext > > > > > > In my previous mail, I wrote wrong amounts of lines. They should be 46 > > lines on one page, while the actual example do

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Wolfgang Schuster
\glyphyscale \glyphslant \glyphweight directly can have side efects when at an outer level these are also set, so you need to accumulate, like \starttext test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale test} test test {\glyphslant  500 test \glyphslant \numericscaled2.0

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-10 Thread Hans Hagen via ntg-context
efects when at an outer level these are also set, so you need to accumulate, like \starttext test {\glyphscale 2000 test \glyphscale \numericscaled1.2\glyphscale test} test test {\glyphslant 500 test \glyphslant \numericscaled2.0\glyphslant test} test test {\glyphweight 100 test \glyphweight

[NTG-context] Re: How to set section title based on section content?

2024-03-09 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 09.03.2024 um 16:01: How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-09 Thread Wolfgang Schuster
n when you switch back to the upright style. \enableexperiments[fonts.compact] \definefontfamily[mainface][rm][TeX Gyre Termes] [it={style:regular, features:{default,slanted}}, sl={style:regular, features:{default,slanted}}] \setupbodyfont[mainface] \starttext \tf h\showcurrentfont[]\

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch

[NTG-context] weird character normalization in the wiki

2024-03-09 Thread Pablo Rodriguez via ntg-context
normalization on the way]): \definefontfamily[mainface][rm][EBGaramond] \setupbodyfont[mainface, 500pt] \definecolor [tred] [r=1,t=.5,a=1] \definecolor [tblue] [b=1,t=.25,a=1] \starttext \startTEXpage[offset=1ex] \startoverlay {\color[tred]{Ά}} {\color[tblue]{Ά}} \stopoverlay

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Henning Hraban Ramm
}, it={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] Re: \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Wolfgang Schuster
}, it={style: regular, features:{default, quality, slanted}}, sl={style: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d

[NTG-context] \em issue in MkXL (2024.03.05 11:26)

2024-03-08 Thread Pablo Rodriguez via ntg-context
: regular, features:{default, quality, slanted}}] \setupbodyfontenvironment [default] [em=italic] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] a\\ \em b\\ \em c\\ \em d\\ \stopTEXpage \stoptext LMTX gets b, c and d in slanted form. LuaTeX gets only

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
in principle all the setups and definitions must be before the body of your document which begns with \starttext. Another point i sthat instead of using \par you can leave a blank line, which makes the document more readable. And you don’t need to break the lines by « hand », since ConTeXt does

[NTG-context] Re: Log entries about confusing level change

2024-03-08 Thread Hans Hagen
nge at level 3 around 'back1' and they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [

[NTG-context] Log entries about confusing level change

2024-03-07 Thread Rik Kabel
d they refer to the first chapter of the bodymatter and the first chapter of the backmatter, respectively. The example: \setupinteraction [state=start] \placebookmarks   [chapter] \starttext   \startfrontmatter     \startchapter [title=front1]   \samplefil

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-07 Thread Wolfgang Schuster
a final \relax to stop the command from scanning to additional values, e.g. in the example below \testone takes value beyond the argument because \numexpr hasn't ended yet. \starttext \def\testone#1{\the\numexpr #1 + 1 } \testone{1} + 1 \def\testtwo#1{\the\numexpr #1 + 1 \relax} \testtwo{1

[NTG-context] multicolumn title and abstact (bachotex) using tugboat.mkxl

2024-03-07 Thread Damien Thiriet via ntg-context
tugboat:article:start \starttext \setups{tugboat:columns:presets} \setups{tugboat:banner:setup:\getvariable{tugboat}{type}} \setupheadertexts [\setups{tugboat:banner:text:article}] [pagenumber] \setuppagenumber [number=\getvariable{tugboat}{page

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
in th elow level manual and also explain this: \starttext     \ifnum  10  = 11 wrong \else okay  \fi     \ifnum  10 != 11 okay  \else wrong \fi     \ifnum  10 !> 11 okay  \else wrong \fi     \ifnum  10 !< 11 wrong \else okay  \fi     \ifnum  10 ≤  11 okay  \else wrong \fi     \ifnum  10

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Hans Hagen
this: \starttext \ifnum 10 = 11 wrong \else okay \fi \ifnum 10 != 11 okay \else wrong \fi \ifnum 10 !> 11 okay \else wrong \fi \ifnum 10 !< 11 wrong \else okay \fi \ifnum 10 ≤ 11 okay \else wrong \fi \ifnum 10 ≥ 11 wrong \else okay \fi \ifnum 10 ≰ 1

[NTG-context] Re: missing metadata in LMTX

2024-03-06 Thread Pablo Rodriguez via ntg-context
e. Many thanks for your reply, Wolfgang. Now I have the minimal sample: \startbuffer[demo] author text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{doc}{xml:*} \xmlsetsetup{\xmldocument} {(div|section)[@id='h

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-03-06 Thread Wolfgang Schuster
ction(n) context(n + ((n % 4 == 0) and 1 or (5 - n % 4))) end } \stopluacode \unprotect \def\beforequadruplenumber#1{\clf_beforequadruplenumber\numexpr#1\relax} \def\afterquadruplenumber #1{\clf_afterquadruplenumber \numexpr#1\relax} \protect \starttext \dorecurse{20}{\recurselevel\space = \beforequ

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
, height=0.10ex, width=1cm]\\} \blackrule[color=black, height=0.10ex, width=13.50cm] \starttext \margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und Existenzquantor).} \par {\it Sei M die Menge aller Männer und F die Menge aller Frauen. Die Aus-\par sage h(m, f) sei ”m ist

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Henning Hraban Ramm
: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone try on MkIV? """ \usesymbols[nav] \starttext \showsymbolset[nav] \stoptext """ You pass the wrong name to \showsymbolset. \usesymbols[nav] \starttext \showsymbolset[navigation 1]\page \showsymbolset[navigation 2]\

[NTG-context] Re: \showsymbolset is noop

2024-03-05 Thread Wolfgang Schuster
try on MkIV? """ \usesymbols[nav] \starttext \showsymbolset[nav] \stoptext """ You pass the wrong name to \showsymbolset. \usesymbols[nav] \starttext \showsymbolset[navigation 1]\page \showsymbolset[navigation 2]\page \showsymbolset[navigatio

[NTG-context] \showsymbolset is noop

2024-03-05 Thread Henning Hraban Ramm
The \showsymbolset has no output any more, apparently already for some time. I checked on COW (ConTeXt ver: 2022.12.22 22:17 LMTX fmt: 2022.12.23) and my local installation (ConTeXt ver: 2024.02.22 18:31 LMTX fmt: 2024.2.22). Can someone try on MkIV? """ \usesymbols[

[NTG-context] enhancing documentation: initials

2024-03-05 Thread Henning Hraban Ramm
; includes the mark in the initial, and it works only with a few languages, e.g. English and French, but not e.g. German or Dutch: """ \mainlanguage[de] \setuppapersize[A6] \setupinitial[n=2,color=orange,] \starttext \start \setupinitial[method=first] \placeinitial \quotation{Keine andere

[NTG-context] Re: issue mixing font features (LMTX & MkIV)

2024-03-04 Thread Hans Hagen via ntg-context
, quality}}, bf={style: regular, features:{default, boldened-30}}, bi={style: regular, features:{default, boldened-30, slanted}}] \setupbodyfont [mainface, 30pt] \starttext \startTEXpage[offset=1ex] a {\it a}\\ {\bf a} {\bi a} \stopTEXpage \stoptext

[NTG-context] Re: Local alternative to \input

2024-03-04 Thread Denis Maier via ntg-context
] Re: Local alternative to \input With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment

[NTG-context] Re: issues scaling glyphs of Twemoji Mozilla

2024-03-04 Thread Hans Hagen via ntg-context
On 3/2/2024 1:46 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em

[NTG-context] Re: Local alternative to \input

2024-03-03 Thread Jeroen
With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment \startenvironment bbb \samplefile

[NTG-context] missing metadata in LMTX

2024-03-03 Thread Pablo Rodriguez via ntg-context
Dear list, this issue has been bugging me for some time: \startbuffer[demo] author title text \stopbuffer \starttext \startxmlsetups xml:initialize \xmlsetsetup{#1}{code|meta|text}{xml:*} \stopxmlsetups \xmlregistersetup

[NTG-context] issue mixing font features (LMTX & MkIV)

2024-03-03 Thread Pablo Rodriguez via ntg-context
}}, bi={style: regular, features:{default, boldened-30, slanted}}] \setupbodyfont [mainface, 30pt] \starttext \startTEXpage[offset=1ex] a {\it a}\\ {\bf a} {\bi a} \stopTEXpage \stoptext With current latest (2024.02.27 09:21), LuaTeX gets boldened and slanted for regular

[NTG-context] Re: Japanese

2024-03-02 Thread Wolfgang Schuster
into the margins as expected. \starttext \ruledhbox{a \ruby{x}{y} b} \stoptext In my previous mail, I wrote wrong amounts of lines. They should be 46 lines on one page, while the actual example doesn't show the 46th line. It would be important to identify the reason why only 24 characters are used

[NTG-context] issues scaling glyphs of Twemoji Mozilla

2024-03-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Termes] \definefontfamily[mainface][cg][Twemoji Mozilla][features={color}] \setupbodyfont[mainface] \starttext \scale[width=30em]{a} \scale[width=30em]{\cg } \stoptext Using current latest from both

[NTG-context] Wiki page : Mixed languages sample (French, Ancient Greek, Arabic, Chinese)

2024-03-01 Thread Jean-Pierre Delange
, 2016 — La reproduction de ce texte est soumise à autorisation.] \defineparagraphs[TwoColumns][n=2, align={hz, hanging}] \setupparagraphs[TwoColumns][1][width=210pt, style=rm, align=left] \starttext \title{\ConTeXt, ou comment imprimer des langues non-romanes} \section {\sc Préambule} L

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Ursula Hermann
style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1}, \st

[NTG-context] Re: A new problem with space in third itemize

2024-02-29 Thread Mikael Sundqvist
Hi Uschi, Your coding style is interesting. I do not understand the purpose of the \it for example. I did put something together that you can try, but I don't know if this is what you are looking for. \starttext \startitemize[n] \startitem \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \impl

[NTG-context] Re: Japanese

2024-02-29 Thread Jeong Dal via ntg-context
mily[JapaneseFont][ss][Noto Serif JP] > >>[ it={style:regular,features:{*,slanted}}, > >>sl={style:regular,features:{*,slanted}}, > >>bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][tt][Noto Serif JP]

[NTG-context] Re: Structuring a magazine or booklet

2024-02-29 Thread Jean-Pierre Delange
://wiki.contextgarden.net/Imposition I'll read and test it. Hi Jean-Pierre, in its simplest form, a booklet may be: \setuppapersize[A4][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case

[NTG-context] Re: \in, \at, and labletext

2024-02-29 Thread Ursula Hermann
Dear List, So I changed my sentence a little bit, now it works perfect, as I wanted it. \setupinteraction[state=start] \starttext \reference[Rule:1]{Rule (3.1)} Formulate equivalents according to rule (\goto {3.1} [Rule:1]). \stoptext Uschi Von: Ursula

[NTG-context] Re: Japanese

2024-02-28 Thread Emanuel Han via ntg-context
P] > >> [ it={style:regular,features:{*,slanted}}, > >> sl={style:regular,features:{*,slanted}}, > >> bi={style:bold,features:{*,slanted}},force=yes] > >> > >> \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] > >> %\definefont

[NTG-context] Re: Japanese

2024-02-28 Thread Jean-Pierre Delange
] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared Thanks all contributors, I added this to https://wiki.contextgarden.net/Chinese_Japanese_and_Korean I guess you also should set \mainlanguage[ja], I added it, also \mainlanguage[kr

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Wolfgang Schuster
I will try to find a trick for that, but not now. Replying to myself, this is a command to compute next numbers before and after quadruples (with application to \realpageno): \starttext \def\beforequadruplenumber#1% {\ifnum\modulonumber{4}{#1} = 1 \the\numexpr #1 + 2 \or

[NTG-context] Re: Structuring a magazine or booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
][A3, landscape] \setuparranging[2UP] \starttext \dorecurse{28}{\section{Section}\input zapf} \stoptext I think this seems to be what you may be aiming at. Just in case it might help, Pablo ___ If your question is of int

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
that, but not now. Replying to myself, this is a command to compute next numbers before and after quadruples (with application to \realpageno): \starttext \def\beforequadruplenumber#1% {\ifnum\modulonumber{4}{#1} = 1 \the\numexpr #1 + 2 \orelse\ifnum\modulonumber{4}{#1} = 2 \the

[NTG-context] Re: Japanese

2024-02-28 Thread Henning Hraban Ramm
[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared Thanks all contributors, I added this to https://wiki.contextgarden.net/Chinese_Japanese_and_Korean I guess you also should set

[NTG-context] Re: \in, \at, and labletext

2024-02-28 Thread Pablo Rodriguez via ntg-context
rem][text=Theorem, alternative=right] \starttext \starttheorem[was-noch] This theorem has one paragraph. \stoptheorem \theorem[whatever] This theorem has other paragraph. In \in{theorem}[whatever] on \at{page}[was-noch]. \stoptext

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Pablo Rodriguez via ntg-context
On 2/28/24 11:56, Bruce Horrocks wrote: > [...] > The sample works for me if you set plain A4 and doublesided, thus: > > \setuppagenumbering[alternative={doublesided}] > \starttext > \samplefile{lorem} > \page[quadruple] > page before the quadruple (must be 3, not 4)

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Bruce Horrocks
> On 27 Feb 2024, at 10:13, Pablo Rodriguez via ntg-context > wrote: > > I’m afraid I cannot make your sample work: The sample works for me if you set plain A4 and doublesided, thus: \setuppagenumbering[alternative={doublesided}] \starttext \samplefile{lorem} \page[quad

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-28 Thread fv leung
the limits to go always below, never below or below in > display, respectively. > > /Mikael > > On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote: > > > > > > \starttext > > % copy from wiki > > \definemathcommand[lcd][nolop]{\mfunction{lcd}} > &g

[NTG-context] Re: Japanese

2024-02-27 Thread Otared Kavian
] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared > On 27 Feb 2024, at 13:55, Jeong Dal via ntg-context > wrote: > > Dear Otared, > > I am using Korean as main language. > I used use typescript file, but recently I use \defi

[NTG-context] Re: \mfunction does not work with the latest upload

2024-02-27 Thread Mikael Sundqvist
Hi, \definemathfunction [lcd] You can also add [mathlimits=yes] [mathlimits=no] [mathlimits=auto] if you want the limits to go always below, never below or below in display, respectively. /Mikael On Wed, Feb 28, 2024 at 1:26 AM fv leung wrote: > > > \starttext > % co

[NTG-context] \mfunction does not work with the latest upload

2024-02-27 Thread fv leung
\starttext % copy from wiki \definemathcommand[lcd][nolop]{\mfunction{lcd}} With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)! \stoptext ___ If your question is of interest to others as well

[NTG-context] \getdocumentfilename or document.files

2024-02-27 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (saved as "a.tex"): \starttext \getdocumentfilename{1} \cldcontext{document.files[1]} \getdocumentfilename{2} \cldcontext{document.files[2]} \getdocumentfilename{3} \cldcontext{document.files[3]} \stoptext I compile it with:

[NTG-context] Re: Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Pablo Rodriguez via ntg-context
On 2/27/24 10:10, Ursula Hermann wrote: >[...] > I have a question to my paragraphs: > > \definetextbackground[Paragaph][ > [...] >   \startparagraph Hi Uschi, if you define Paragaph, then you should use \startParagaph (and \stopParagaph). > \starttext Even if that work

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-27 Thread Pablo Rodriguez via ntg-context
a solution for this. I’m afraid I cannot make your sample work: \setuppapersize[A5][A4, landscape] \setuparranging[2UP] \setuppagenumbering[alternative={singlesided,doublesided}] \starttext \samplefile{lorem} \page[quadruple] page before the quadruple (must be 3, not 4) \page[yes, quadru

[NTG-context] Works now! At Work, and a question to paragraphs in an Theorem

2024-02-27 Thread Ursula Hermann
, topoffset=.5\bodyfontsize, bottomoffset=.5\bodyfontsize, frame=off,] \startparagraph \starttext Mitunter ist es aus der Formulierung nur schwer zu erkennen, dass ein \m{∃\forall} oder ein \m{\forall\m∃} versteckt ist. Dann ist es besonders wichtig, die Formulierung sehr lange zu prüfen und

[NTG-context] Re: Japanese

2024-02-26 Thread Otared Kavian
] \setupbodyfont[JapaneseFont,14pt] \setupruby[location=top,voffset=-1.6ex] \setupwhitespace[big] \starttext \ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。 お\ruby{休}{やす}みなさい^_^ \stoptext %end simple-japanese.tex Best regards: Otared > On 26 Feb 2024, at 21:32, Emanuel Han via ntg-context >

[NTG-context] Re: Japanese

2024-02-26 Thread Emanuel Han via ntg-context
\definefontfamily [JapaneseFont] [rm] [hiraginominchopro] \setupruby[location=top,voffset=-1.6ex, ] \starttext \JapaneseFont \ruby{僕}{ぼく}はもう\ruby{寝}{ね}る。 お\ruby{休}{やす}みなさい^_^ \stoptext On Feb. 26 2024, at 9:08 pm, Otared Kavian wrote: > Hi all, > > Does anyone have a simple setup of fonts

[NTG-context] Hyperlinks cease working after page selection

2024-02-26 Thread Michael Guravage
be greatly appreciated. \setupinteraction[state=start, color=darkblue] \setupwhitespace [big] \starttext Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)] .\par \dorecurse{5}{\samplefile{lorem}\par} \stoptext Processed as follows: context mwe.tex context --extra=select

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