[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
uded pages in an explicit makeup (as I am now doing)? \pagefigure[...][...] (no need for \startpagefigure .. \stoppagefigure) is a combination of \startTeXpage and \externalfigure and you shouldn't put the command in a makeup environment.

[NTG-context] SVG converter bugs

2023-07-06 Thread Max Chernoff
.org/2000/svg;> \stopbuffer \starttext \startTEXpage \includesvgbuffer[gradient] \stopTEXpage \startMPpage fill unitsquare xyscaled (200,100) withshademethod "linear" withs

Re: [NTG-context] new version

2023-06-23 Thread Marcus Vinicius Mesquita via ntg-context
? > No, it's an independent feature of the linebreak mechanism. You can run > this and see how it kicks in > > \starttext > > \definecolor[ttest][a=1,t=.5] > \definecolor[rtest][a=1,t=.5,r=1] > > \dostepwiserecurse{80}{120}{1}{ > \startTEXpage[of

Re: [NTG-context] new version

2023-06-23 Thread Hans Hagen via ntg-context
] \definecolor[rtest][a=1,t=.5,r=1] \dostepwiserecurse{80}{120}{1}{ \startTEXpage[offset=1ts] \startcombination[1*3] {\startoverlay {\vtop{\showmakeup[space]\hsize #1mm\ttest \samplefile{tufte}}} {\vtop{\showmakeup[space]\hsize #1mm\rtest

Re: [NTG-context] Noto Emoji COLRv1

2023-05-24 Thread Hans Hagen via ntg-context
On 5/23/2023 11:31 PM, Max Chernoff via ntg-context wrote: Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 閭 % U+1F986 \stopTEXpage

[NTG-context] Noto Emoji COLRv1

2023-05-23 Thread Max Chernoff via ntg-context
Hi Hans, I tried using the code from [1] for Noto Emoji in COLRv1 format [2]: \startTEXpage \definefontfeature[colored][default][colr=9] \definedfont[Noto-COLRv1.ttf*colored] 閭 % U+1F986 \stopTEXpage but ConTeXt gives the following error: fonts > otf load

Re: [NTG-context] new units

2023-05-07 Thread Hans Hagen via ntg-context
= 422042sp but for a real unit you need to adapt the original engine and that will not happen because it's in bug fix only mode. Anyway, you can try it in lmtx: \startTEXpage[offset=1dk] \number\dimexpr1dk \stopTEXpage As introduced in: https://www.tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf Like

Re: [NTG-context] new units

2023-05-06 Thread Alan Braslau via ntg-context
is the most boring part. > > \starttext > > \startTEXpage[offset=1ts] > Hello World! > > \the\dimexpr 1ts > > \the\dimexpr 1es > > \the\dimexpr 1eu > > \eufactor20 > > \the\dimexpr 1eu > \stopTEXpage > > \stoptext >

[NTG-context] new units

2023-05-04 Thread Hans Hagen via ntg-context
article in TB will explain the details of the process and also a careful mathematical annalysis of how we reached the right value with a high precission. The actual implementation is the most boring part. \starttext \startTEXpage[offset=1ts] Hello World! \the\dimexpr 1ts \the\dimexpr

Re: [NTG-context] define math function with \, inside

2023-05-01 Thread Mikael Sundqvist via ntg-context
> > [1]: https://wiki.contextgarden.net/Math/functions This works here (but maybe there should be a simpler way): \definemathfunction [argmax] [mathlimits=auto] \setupmathlabeltext [en] [argmax=arg\sixperemspace max] \startT

Re: [NTG-context] Kaktovik numerals

2023-04-19 Thread Hans Hagen via ntg-context
aktovik] [metapost=kaktovik] \protect \continueifinputfile{meta-imp-kaktovik.mkxl} \definefontfeature [default] [default] [metapost=kaktovik] % [metapost={category=kaktovik,u=.25,d=.20,x=}] \setupbodyfont[dejavu] % \nopdfcompression \startTEXpage[offset=1ts,width=3es] \start

Re: [NTG-context] Kaktovik numerals

2023-04-18 Thread Hans Hagen via ntg-context
\protect \continueifinputfile{meta-imp-kaktovik.mkxl} \definefontfeature [default] [default] [metapost=kaktovik] % [metapost={category=kaktovik,u=.25,d=.20,x=}] \setupbodyfont[dejavu] % \nopdfcompression \startTEXpage[offset=1ts,width=3es] \start \showglyphs KAKTOVIK \do

Re: [NTG-context] Bug in tabulate

2023-03-21 Thread Hans Hagen via ntg-context
On 3/21/2023 7:20 AM, Li Yanrui (李延瑞) via ntg-context wrote: Hi, Please see the following example: \startTEXpage[offset=5mm] \starttabulate[|c|c|c|] \VL 1 \VL 2 \VL 3\VL\NR \stoptabulate \blank \starttabulate[|c|c|c|] \NC 1 \NC 2 \NC 3\NR \stoptabulate \stopTEXpage In its result

[NTG-context] Bug in tabulate

2023-03-21 Thread 李延瑞
Hi, Please see the following example: \startTEXpage[offset=5mm] \starttabulate[|c|c|c|] \VL 1 \VL 2 \VL 3\VL\NR \stoptabulate \blank \starttabulate[|c|c|c|] \NC 1 \NC 2 \NC 3\NR \stoptabulate \stopTEXpage In its result, there is a rule in the left side of the second tabulate. The result

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

Re: [NTG-context] [ numbering TEXpages ]

2023-03-09 Thread Floris van Manen via ntg-context
On 09/03/2023 16:46, Pablo Rodriguez via ntg-context wrote: I guess "pagestate=start" is what you might need: {\startTEXpage[offset=1em, pagestate=start] Just in case it might help, thank you Pablo, that made it work aga

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] [ numbering TEXpages ]

2023-03-09 Thread Floris van Manen via ntg-context
Can someone remind me as how to number the pages in a pdf of multiple \startTEXpage ... \stopTEXpage e.g. not to get them all numbered as 'page 1' Thanks! .Floris ___ If your question is of interest to others

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] [ 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

Re: [NTG-context] update

2023-02-24 Thread Otared Kavian via ntg-context
}_{=2} = 1 \stopformula and it works great ! Best regards : Otared > On 23 Feb 2023, at 22:07, Hans Hagen via ntg-context > wrote: > > Hi, > > I uploaded a new version. We further improved Antykwa support, > > \switchtobodyfont[antykwa] > > \startTEXpage[of

[NTG-context] update

2023-02-23 Thread Hans Hagen via ntg-context
Hi, I uploaded a new version. We further improved Antykwa support, \switchtobodyfont[antykwa] \startTEXpage[offset=1dk] \im{ f' = f'' = f''' = f = a + b + \ldots + c + \overbar{x} + \overbar{S} + \bar{x} + \widebar{x} } \im{ \fenced[doublebar]{x

Re: [NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-05 Thread Pablo Rodriguez via ntg-context
d("sha", function(dictionary,word,n) return all end ) \stopluacode \definehyphenationfeatures [sha] [characters=all, alternative=sha, righthyphenchar="FE000] \unexpanded\def\sha#1% {\begingroup\tt \righthyphenmin=-1 \sethyphenationfeatures[sha]

Re: [NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-05 Thread Hans Hagen via ntg-context
): \starttext \startTEXpage[offset=1em] PhD. Next sentence PhD\null. Next sentence \stopTEXpage \stoptext I think this may be what you want. References: https://wiki.contextgarden.net/French_spacing Not helpful alas. Would you be so kind to update the wiki? I hope it helps, Assuming

Re: [NTG-context] Bug in verbatim wrapping examples on wiki

2023-02-05 Thread Floris van Manen via ntg-context
On 05/02/2023 12:32, Pablo Rodriguez via ntg-context wrote: Are we missing something or is this a bug? If you add a \tt at the beginning, the lines have different length. not sure why, but there is a reason to it... \startTEXpage[offset=3em] \tt \setupalign[tolerant,stretch] \dorecurse {10

Re: [NTG-context] A corner case relating to corners!

2023-02-05 Thread Hans Hagen via ntg-context
rttext % corner options (with radius=0pt rectangular): % % 0 round ltrb trbl rblt bltr % 1 2 3 4 5 6 7 8 ltrb % 9 lbr rbl / 10 tlb blt / 11 ltr rtl / 12 lbr rbl % 13 rt tr / 14 rb br / 15 bl lb / 16 tl lt % 32 lr rl / 33 tb bt % 28 l / 29 r / 30 b / 31 t \dostepwiserecurse{0}{33}{1}{ \startT

Re: [NTG-context] Sentence breaks for "English-style" (TeX default in English language) spacing regime

2023-02-04 Thread Pablo Rodriguez via ntg-context
rspective. What may be named “French spacing” in English may be considered as “English spacing” in any other European language. But this is pure TeX (https://git.savannah.gnu.org/cgit/teximpatient.git/plain/teximpatient/book.pdf#search=null): \starttext \startTEXpage[offset=1em] PhD. Next senten

Re: [NTG-context] pgfplots module wrecks in latest

2023-01-17 Thread Aditya Mahajan via ntg-context
l this is resolved: \usemodule[filter] \startbuffer[tikz-start] \usemodule[tikz] % Add font setup % Add tikz setup \starttext \startTEXpage \starttikzpicture \stopbuffer \startbuffer[tikz-stop] \stoptikzpicture \stopTEXpage \stoptext \stopbuffer \defineexternalfilter [tikzpicture]

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
twidth, height=\textwidth, framecolor=red] \userendering[#1][video/mp4][#1] [embed=yes, auto] \placerenderingwindow[#1][#1]} \starttext \null\page \startTEXpage[offset=1em, pagestate=start] \IncludeVideo[video-1.mp4] \stopTEXpage \null\page \startTEXpage[offset=1em, pagestate

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
enpageaction=StartRendering{\currentrendering}, > closepageaction=StopRendering{\currentrendering}, > framecolor=red] > \startTEXpage[offset=1em, pagestate=start] > \userendering[key-name][video/mp4][video.mp4] > [embed=yes, > auto, > ] > \placerenderi

[NTG-context] question about multimedia renderings

2023-01-15 Thread Pablo Rodriguez via ntg-context
[myrenderingwindow] [width=\textwidth, height=\textwidth, %openpageaction=StartCurrentRendering, %closepageaction=StopCurrentRendering, openpageaction=StartRendering{\currentrendering}, closepageaction=StopRendering{\currentrendering}, framecolor=red] \startTEXpage[offset=1em

[NTG-context] language identifier for all languages

2022-12-30 Thread Pablo Rodriguez via ntg-context
] \registerhyphenationexception[any][macOS] \registerhyphenationexception[it][macOS] \startbuffer \currentlanguage: \hyphenatedword{macOS} \stopbuffer \starttext \startTEXpage[offset=1em] \getbuffer \language[it]\getbuffer \stopTEXpage \stoptext I think this is better than having other commands

Re: [NTG-context] Help for using fonts Nupuram

2022-12-23 Thread Pablo Rodriguez via ntg-context
On 12/23/22 13:50, Pablo Rodriguez via ntg-context wrote: > On 12/23/22 12:00, Alain Delmotte via ntg-context wrote: > Color should be fine. I’m checking what may be wrong with weight. Alain, nothing is wrong with weight (https://pdf.ousia.tk/wght.pdf): \starttext \startTEXpage[offs

Re: [NTG-context] move glyph vertically

2022-12-22 Thread Hans Hagen via ntg-context
[ '¿' ] = 1000, [ '¡' ] = 1000, } } \stopluacode \definefontfeature[ktest][gpost_tes=yes] \starttext \startTEXpage[offset=1em] \feature[+][gpos_test] ¿? ¡! \stopTEXpage \stoptext This tries to move vertically the opening question and e

[NTG-context] move glyph vertically

2022-12-22 Thread Pablo Rodriguez via ntg-context
} \stopluacode \definefontfeature[ktest][gpost_tes=yes] \starttext \startTEXpage[offset=1em] \feature[+][gpos_test] ¿? ¡! \stopTEXpage \stoptext This tries to move vertically the opening question and exclamation marks, so they are at the same height that its closing counterparts. I thought

[NTG-context] \setuplanguage[explicitrighthyphenchar=-1] only works for English

2022-12-15 Thread Pablo Rodriguez via ntg-context
ethod=traditional]% \sethyphenationfeatures[underscore]% \setuplanguage [explicitrighthyphenchar=-1] \setupinteractionscreen[option=singlesided] \starttext \doloopoverlist {es,en,uk,de,nl,pt,fr,it,deo,da,sv,af,no,nb,pl,cs,sk,hr,sl,fi,et,hu} {\mainlanguage[\recursestring] \startTEXpage

[NTG-context] issues with variable fonts in latest

2022-12-15 Thread Pablo Rodriguez via ntg-context
}] \definefontfamily[mainface][hw][Recursive] [features={default, handy}] \definefontfamily[mainface][cg][Recursive] [features={default, cali}] \setupbodyfont[mainface] \starttext \startTEXpage[offset=1em] \scale[width=\textwidth] {\rm áéíóúijrf} \scale[width=\textwidth

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-10 Thread Pablo Rodriguez via ntg-context
pt,fr,it,deo,da,sv,af,no,nb,pl,cs,sk,hr,sl,fi,et,hu} {\mainlanguage[\recursestring] \startTEXpage[offset=1em, width=5em] \hsize\zeropoint \recursestring: \\ \tt \hyphenatedword{legibility-legible} \stopTEXpage} \stoptext pt, hr and et don’t break the line at the hyphen. af breaks th

Re: [NTG-context] \hpos in math - Half solved

2022-12-08 Thread Hans Hagen via ntg-context
these might definitely not impact performance). Source and target properties were added in order to avoid interference with math spacing but can also be used in text, where they are part of the larger package of box properties that was already around. \startTEXpage[offset=2cm] \setbox 0

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
;after","document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [underscore] [righthyphenchar="FE000] \setuphyphenation[method=traditional]% \sethyphenationfeatures[underscore]% \setuplanguage [explicitrighthyphenchar=-1] \mainlanguage[

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Hans Hagen via ntg-context
tures[underscore]% \setuphyphenation[method=traditional]% \starttext \startTEXpage[offset=1em, width=4em] \hsize\zeropoint\tt \hyphenatedword{legibility-legible} \stopTEXpage \stoptext In current latest (and in many versions before), I get an extra hyphen in the next line after t

[NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
ction("aftercopyingcharacters", "after","document.addfunnyhyphen") \stopluacode \definehyphenationfeatures [underscore] [righthyphenchar="FE000] \sethyphenationfeatures[underscore]% \setuphyphenation[method=traditional]% \starttext \startTEXpage[of

Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX

2022-12-06 Thread Hans Hagen via ntg-context
On 12/6/2022 10:04 PM, Rik Kabel via ntg-context wrote: On 2022-12-06 15:32, Hans Hagen via ntg-context wrote: On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm]    \X\X[a]\X[b]\X\par    \convertnumber{R}{\ref[number][a]}    \convertnumber

Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX

2022-12-06 Thread Rik Kabel via ntg-context
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote: On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm]    \X\X[a]\X[b]\X\par    \convertnumber{R}{\ref[number][a]}    \convertnumber{G}{\ref[number][b]} \stopTEXpage maybe like

Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX

2022-12-06 Thread Hans Hagen via ntg-context
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote: \definelabel[X][text=] \startTEXpage[offset=1cm]   \X\X[a]\X[b]\X\par   \convertnumber{R}{\ref[number][a]}   \convertnumber{G}{\ref[number][b]} \stopTEXpage maybe like this: \definelabel[X][text=] \startTEXpage[offset=1cm] (\X

Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX

2022-12-06 Thread Rik Kabel via ntg-context
On 2022-01-19 12:39, Rik Kabel via ntg-context wrote: This is still a problem with the current standalone. \definelabel[X][text=] \startTEXpage[offset=1cm]   \X\X[a]\X[b]\X\par   \convertnumber{R}{\ref[number][a]}   \convertnumber{G}{\ref[number][b]} \stopTEXpage

Re: [NTG-context] TEXpage cropping math

2022-12-05 Thread Gavin via ntg-context
. > > ... or even none (which seems to work in this case): > > \startTEXpage[offset=none] >$E_1$ > \stopTEXpage > > Just in case it might help, > > Pablo > > ___ > I

Re: [NTG-context] TEXpage cropping math

2022-12-05 Thread Pablo Rodriguez via ntg-context
On 12/5/22 13:42, Mikael Sundqvist via ntg-context wrote: > Hi, > > One usually need an offset. ... or even none (which seems to work in this case): \startTEXpage[offset=none] $E_1$ \stopTEXpage Just in case it might hel

Re: [NTG-context] TEXpage cropping math

2022-12-05 Thread Mikael Sundqvist via ntg-context
Hi, One usually need an offset. Try try \startTEXpage[offset=1sp] /Mikael On Mon, Dec 5, 2022 at 1:39 PM Gavin via ntg-context wrote: > > Hi List > > I’m having trouble with \startTEXpage cropping off tops and bottoms of > equations. For example. > > \startTEXpage >

[NTG-context] TEXpage cropping math

2022-12-05 Thread Gavin via ntg-context
Hi List I’m having trouble with \startTEXpage cropping off tops and bottoms of equations. For example. \startTEXpage $E_1$ \stopTEXpage Produces: TEXpage.pdf Description: Adobe PDF document Any suggestions

[NTG-context] lmtx upload

2022-12-01 Thread Hans Hagen via ntg-context
nice: https://gitlab.com/smc/fonts/Nupuram/-/blob/master/docs/README.md which is used like: \startTEXpage[offset=1dk,align={normal,tolerant,stretch}] \definefontfeature[colored][default][colr=9] \definefontfeature[slanted][default][slant=.2] \definedfont[name:nupuramregular*default

[NTG-context] new upload

2022-11-14 Thread Hans Hagen via ntg-context
uacode \setupmathematics[hz=yes] \startbuffer \showglyphs \dorecurse{20}{\strut test $x + y/2 - w = 10$ }\unskip \stopbuffer \definecolor[tgreen][g=1,t=.5,a=1] \definecolor[tred] [r=1,t=.5,a=1] \startTEXpage[offset=5dk] \startoverlay {\ruledvbox to 5cm{\setupalign [tolerant,stretch]\

Re: [NTG-context] Suboptimal German hyphenation

2022-10-31 Thread Denis Maier via ntg-context
> Hans added hyphenmin some time ago: > > \setuplanguage[de][lefthyphenmin=2, righthyphenmin=3, hyphenmin=6] > \setuplanguage[deo][lefthyphenmin=2, righthyphenmin=3, hyphenmin=5] > \mainlanguage[de] > \starttext > \startTEXpage[offset=1em] > \hyp

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Pablo Rodriguez via ntg-context
,es,it,fr,da,fi} {\registerhyphenationexception[\recursestring][Joha-nnes]} \starttext \startTEXpage[offset=1em] \hyphenatedword{Johannes}\\ \nl \hyphenatedword{Johannes}\\ \de \hyphenatedword{Johannes}\\ \es \hyphenatedword{Johannes}\\ \language[it] \hyphenatedword{Johannes}\\

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Hans Hagen via ntg-context
will work in *all* languages? I thought that \hyphenation would work like that, or \startexceptions without a language code. Apparently that's not the case. \hyphenation only works for the given language:  \hyphenation{macOS}  \starttext  \startTEXpage[offset=1em]  \currentlanguage:  \hyphenat

[NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Steffen Wolfrum via ntg-context
eptions that will work in *all* >>> languages? >> >> I thought that \hyphenation would work like that, or \startexceptions >> without a language code. Apparently that's not the case. > > \hyphenation only works for the given language: > > \hyphenation{

[NTG-context] issue with variable font

2022-10-23 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (using current latest from 22022.10.22 11:23): \definefontfeature [book] [axis={weight=700}] \definefontfamily[mainface][rm] [Commissioner][features={default, book}] \setupbodyfont[mainface, 25pt] \starttext \startTEXpage[offset=1ex

Re: [NTG-context] Suboptimal German hyphenation

2022-10-19 Thread Pablo Rodriguez via ntg-context
henmin some time ago: \setuplanguage[de][lefthyphenmin=2, righthyphenmin=3, hyphenmin=6] \setuplanguage[deo][lefthyphenmin=2, righthyphenmin=3, hyphenmin=5] \mainlanguage[de] \starttext \startTEXpage[offset=1em] \hyphenatedword{davon} \deo\hyphenatedword{davon} \stopTEXpage \stoptext I

Re: [NTG-context] new upload

2022-10-17 Thread Aditya Mahajan via ntg-context
the placement of limits around an integral with > NeoEuler: > >>> > >>> \usetypescriptfile[euler] > >>> > >>> \definetypeface[mainfont][rm][specserif][CharisSil][default] > >>> \definetypeface[mainfont][mm][math] [eulernova][defaul

Re: [NTG-context] new upload

2022-10-17 Thread Hans Hagen via ntg-context
with NeoEuler: \usetypescriptfile[euler] \definetypeface[mainfont][rm][specserif][CharisSil][default] \definetypeface[mainfont][mm][math] [eulernova][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,10pt] \starttext \startTEXpage

Re: [NTG-context] new upload

2022-10-17 Thread Otared Kavian via ntg-context
fault] >> \definetypeface[mainfont][mm][math] [eulernova][default] >> \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, >> features=none] >> \setupbodyfont[mainfont,10pt] >> >> \starttext >> \startTEXpage[offset=1mm] >> $\displaystyle \i

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
default] > > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, > > features=none] > > \setupbodyfont[mainfont,10pt] > > > > \starttext > > \startTEXpage[offset=1mm] > > $\displaystyle \int_{0}^{1} f(x) dx$ > > \stopTEXpage

Re: [NTG-context] new upload

2022-10-16 Thread Mikael Sundqvist via ntg-context
uler] > > \definetypeface[mainfont][rm][specserif][CharisSil][default] > \definetypeface[mainfont][mm][math] [eulernova][default] > \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, > features=none] > \setupbodyfont[mainfont,10pt] > > \starttext > \start

Re: [NTG-context] new upload

2022-10-16 Thread Aditya Mahajan via ntg-context
mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,10pt] \starttext \startTEXpage[offset=1mm] $\displaystyle \int_{0}^{1} f(x) dx$ \stopTEXpage \stoptext gives the attached result. Thanks, Aditya test.pdf Description:

Re: [NTG-context] startTEXpage on A4

2022-10-10 Thread Willi Egger via ntg-context
>>> Wolfgang Schuster via ntg-context writes: >>> >>>> Leah Neukirchen via ntg-context schrieb am 09.10.2022 um 15:19: >>>>> Hi, >>>>> >>>>> is there a way to have something like >>>>> >>&

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Henning Hraban Ramm via ntg-context
Am 09.10.22 um 20:49 schrieb Leah Neukirchen via ntg-context: But that requires knowing the size in advance. Think of the labels in a museum that depend how long the description is. ;) Well, on the labels in the church museum (https://staurothek.de) in Limburg/Lahn, the text just stops if

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Leah Neukirchen via ntg-context
;> >>>> is there a way to have something like >>>> >>>> \setuppapersize[A5][A4] >>>> >>>> but have the "inner paper size" be a computed fit like in >>>> \startTEXpage? >>>> >>>> Or, alternatively, is there is

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Hans Hagen via ntg-context
d fit like in \startTEXpage? Or, alternatively, is there is a way to print crop marks around an environment like \startTEXpage? Can you be more concrete what your goal is, there are a few ways to solve your problem but with a few more information we can give you a good solution. Say I want to

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Wolfgang Schuster via ntg-context
d fit like in \startTEXpage? Or, alternatively, is there is a way to print crop marks around an environment like \startTEXpage? Can you be more concrete what your goal is, there are a few ways to solve your problem but with a few more information we can give you a good solution. Say I want to print some sticker

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Leah Neukirchen via ntg-context
Wolfgang Schuster via ntg-context writes: > Leah Neukirchen via ntg-context schrieb am 09.10.2022 um 15:19: >> Hi, >> >> is there a way to have something like >> >> \setuppapersize[A5][A4] >> >> but have the "inner paper size" be a compute

Re: [NTG-context] startTEXpage on A4

2022-10-09 Thread Wolfgang Schuster via ntg-context
Leah Neukirchen via ntg-context schrieb am 09.10.2022 um 15:19: Hi, is there a way to have something like \setuppapersize[A5][A4] but have the "inner paper size" be a computed fit like in \startTEXpage? Or, alternatively, is there is a way to print crop marks around an enviro

[NTG-context] startTEXpage on A4

2022-10-09 Thread Leah Neukirchen via ntg-context
Hi, is there a way to have something like \setuppapersize[A5][A4] but have the "inner paper size" be a computed fit like in \startTEXpage? Or, alternatively, is there is a way to print crop marks around an environment like \startTEXpage? Thanks, -- Leah Neukirche

Re: [NTG-context] LMTX generates PDFs with non-working fonts on real printers

2022-10-05 Thread Pablo Rodriguez via ntg-context
e-pro/releases/latest), Acrobat has issues with the following code: \definefontfeature [book] [axis={weight=600}] \definefontfamily [mainface] [rm] [SourceCodeVariable] [features={book,none}] \setupbodyfont[mainface, 100pt] \starttext \startTEXpage[offset=1em] AefKkQrt4

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Pablo Rodriguez via ntg-context
e. \hyphenation only works for the given language: \hyphenation{macOS} \starttext \startTEXpage[offset=1em] \currentlanguage: \hyphenatedword{macOS} \startlanguage[fr] \currentlanguage: \hyphenatedword{macOS} \stoplanguage \stopTEXpage \stoptext But I’d say that \registe

Re: [NTG-context] new uplaod

2022-09-11 Thread Hans Hagen via ntg-context
\enablemathautonumbers % more global \autofences% more local \startTEXpage [offset=1dk] % $|x| + |3|$ % $ x \middle | \frac{a}{x}$ % $ x | \frac{a}{x}$ % $ ( \frac{a}{x} + b | x )$ $ ( \frac{a}{x} + b | x )$ $ ( \frac{a}{x} + b || x )$ $ ( \frac{a}{x} + b ||| x )$ $ ( \frac{a}{x} + b

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Hans Hagen via ntg-context
, here is the example that I used, basically I took it from the from the module: \starttext \usemodule[zint]     \startTEXpage     \barcode[alternative=PDF417,text={Hans Hagen}]%     \blank     \barcode[alternative=pdf417,text={Ton Otten}]%     \blank     \barcode

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Michal Vlasák via ntg-context
at we then convert with mp) > > Hans > > > > Hi Hans, > here is the example that I used, basically I took it from the from the > module: > > \starttext > \usemodule[zint] >     \startTEXpage >     \barcode[alternative=PDF417,text={Hans Hagen}]% >    

Re: [NTG-context] zint module on LMTX

2022-09-04 Thread Ivan Pešić via ntg-context
it from the from the module: \starttext \usemodule[zint]     \startTEXpage     \barcode[alternative=PDF417,text={Hans Hagen}]%     \blank     \barcode[alternative=pdf417,text={Ton Otten}]%     \blank     \barcode[alternative=ISBN,text=9789490688011]%     \blank     \barcode

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
Kern\emwidth \endgroup} \continueifinputfile{m-gimmicks.mkxl} \setupbodyfont[pagella] \startTEXpage [offset=1dk] \def\Test#1{% \begingroup #1% \dostepwiserecurse{5}{8}{1}{ \def\MacScale{.##1}% \Mac Anulty \par } \endg

Re: [NTG-context] C with macron

2022-08-24 Thread Hans Hagen via ntg-context
An early morning exercise: \setupbodyfont[pagella] \startTEXpage [offset=1dk] \def\MacScale{.7}% \def\MacRule {.1}% \def\MacKern {0}% \protected\def\Mac {\dontleavehmode \showglyphs \begingroup \scratchwidth \fontcharwd\font`M\relax \scratchdistance\MacScal

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Aditya Mahajan via ntg-context
ti-page-pdf/ > > Hi Aditya, > > I wonder whether your final definition should be rewritten as: > > \unexpanded\def\includePDF[#1]% > {\getfiguredimensions[#1] > \dorecurse{\noffigurepages} > {\startTEXpage > \externalfigure[#1][page=\recurse

Re: [NTG-context] Clipping multiple PDFs

2022-08-23 Thread Pablo Rodriguez via ntg-context
\unexpanded\def\includePDF[#1]% {\getfiguredimensions[#1] \dorecurse{\noffigurepages} {\startTEXpage \externalfigure[#1][page=\recurselevel] \stopTEXpage}} At least, otherwise it will only work with "talk.pdf". Or am I missing something? Many t

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-07 Thread Hans Hagen via ntg-context
On 7/7/2022 6:19 PM, Pablo Rodriguez via ntg-context wrote: Hi Hans, many thanks for the new release. I experience two issues with scite buffers: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] no margin

[NTG-context] two issues with \sciteinlinebuffer

2022-07-07 Thread Pablo Rodriguez via ntg-context
Hi Hans, many thanks for the new release. I experience two issues with scite buffers: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] no margin a \sciteinlinebuffer[none][b] a a \typeinlinebuffer[b][option

Re: [NTG-context] Multiline text in mathmode

2022-06-30 Thread Johann Birnick via ntg-context
tely I use MkIV, because of > > > other > > > math bugs in LMTX. Do you know any (can be ugly) way of doing this without > > > the > > > new stuff? > > > > You could just use a framed. > > > > \define[1]\multilinetext{\vcenter{\framed[align=middle,fra

Re: [NTG-context] Multiline text in mathmode

2022-06-29 Thread Hans Hagen via ntg-context
could just use a framed. \define[1]\multilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}} \startTEXpage[offset=2mm] \startformula \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to isomorphisms} \right\} \stopformula \stopTEXpage indeed, the lmtx definiton

Re: [NTG-context] Multiline text in mathmode

2022-06-29 Thread Aditya Mahajan via ntg-context
ilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}} \startTEXpage[offset=2mm] \startformula \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to isomorphisms} \right\} \stopformula \stopTEXpag

Re: [NTG-context] Graphviz and ConTeXt

2022-06-23 Thread Taco Hoekwater via ntg-context
] [cache=yes, readcommand=\ReadFigure, output={\externalfilterbasefile.pdf}, filtercommand={dot -Tpdf -o "\externalfilterbasefile.pdf" "\externalfilterinputfile"}] \starttext \startTEXpage \startgraphviz digraph G { main -> parse -> execute; main -&

[NTG-context] Problems with MetaFun Transparency Groups

2022-06-13 Thread Stefan Haller via ntg-context
;isolated,knockout"; addbackground withcolor yellow; \stopMPpage \startTEXpage \starttikzpicture \fill[yellow] (-0.35cm, -0.35cm) rectangle (21.35cm, 21.35cm); \startscope[opacity=.25, transparency group] \startscope[x=10mm, y=10mm, every path/.style={line width=7mm}] \forea

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
e: > > > > \starttypescript [lidia] > > \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] > > \stoptypescript > > \setupbodyfont[lidia,36pt] > > \starttext > > \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt] > > \startalignment[midd

Re: [NTG-context] Problem loading font in LMTX

2022-06-11 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 11.06.2022 um 10:05: Dear list, I have the following file: \starttypescript [lidia] \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] \stoptypescript \setupbodyfont[lidia,36pt] \starttext \startTEXpage[align=normal,width=100cm,autowidth=force

[NTG-context] Problem loading font in LMTX

2022-06-11 Thread Stefan Nedeljkovic via ntg-context
Dear list, I have the following file: \starttypescript [lidia] \definetypeface[lidia][rm][serif][lidiaweb][cpsp=yes] \stoptypescript \setupbodyfont[lidia,36pt] \starttext \startTEXpage[align=normal,width=100cm,autowidth=force,offset=0pt] \startalignment[middle] 2{\hskip 0em}412{\hskip 0em}772

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Otared Kavian via ntg-context
: > > \usemodule[scite] > \setuptyping[margin=yes] > \starttext > \startbuffer[b]b\stopbuffer > \startTEXpage[offset=1em] > a \sciteinlinebuffer[none][b] a\par > a \typeinlinebuffer[b][option] a > \stopTEXpage > \stoptext > > I’m on Linux64 and using curre

[NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have my third sample with scite: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I’m on Linux64 and using

[NTG-context] extra space after \sciteinlinebuffer

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (running current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I get

Re: [NTG-context] issue with scite module

2022-06-01 Thread Henning Hraban Ramm via ntg-context
Am 01.06.22 um 18:47 schrieb Pablo Rodriguez via ntg-context: Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second e

[NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second element right. Without scite, both elements are displayed right. In both

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Pablo Rodriguez via ntg-context
onversion=mp]}] \definesymbol [no] [{\externalfigure[off.svg][conversion=mp]}] \setupfield[setup3][width=2ex, height=2ex] \dorecurse{3} {\definefield [check-\recurselevel] [check] [setup3] [yes,no] [no]} \setupbodyfont[sans, 30pt] \starttext \startTEXpage[offset=1em, foregroun

[NTG-context] check whether font feature is being used

2022-05-12 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupbodyfont[pagella] \definefontfeature[asc] [c2sc=yes, smcp=yes] \starttext \startTEXpage[offset=1em] text \doifelsecurrentfonthasfeature{asc} {yes}{no} \doifelsefontfeature{asc} {yes}{no} \doifunknownfontfeature{asc

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