[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Gerion Entrup
default] [protrusion=quality,...] > >> > >> which adds additional settings to the default set. > >> > >>> \definefontfamily [myfont][roman][xcharter] > >>> \definefontfamily [myfont][sansserif][overpass][rscale=0.93] > >>> \definefo

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Wolfgang Schuster
] \definefontfamily [myfont][sansserif][overpass][rscale=0.93] \definefontfamily [myfont][teletype][overpass][rscale=0.93] \definefontfamily [myfont][mono][overpassmono][rscale=0.93] \definetypeface [myfont][mathematics][math] [xcharter] \setupbodyfont[myfont, 11pt] \startTEXpage \showfontkerns

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Gerion Entrup
font][mono][overpassmono][rscale=0.93] > > \definetypeface [myfont][mathematics][math] [xcharter] > > > > \setupbodyfont[myfont, 11pt] > > > > \startTEXpage > > > > \showfontkerns > > > > Vitae, Vase, LT, VA, Y., Effizient, abcde

[NTG-context] Re: Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Wolfgang Schuster
] \definefontfamily [myfont][mono][overpassmono][rscale=0.93] \definetypeface [myfont][mathematics][math] [xcharter] \setupbodyfont[myfont, 11pt] \startTEXpage \showfontkerns Vitae, Vase, LT, VA, Y., Effizient, abcdel™, \italic{effi abcdel™}, \slanted{effi abcdel™}\\ \style[sans]{Vitae

[NTG-context] Questions regarding fonts: obliques (fake italics), ligatures and kerning

2024-08-27 Thread Gerion Entrup
][rscale=0.93] \definefontfamily [myfont][mono][overpassmono][rscale=0.93] \definetypeface [myfont][mathematics][math] [xcharter] \setupbodyfont[myfont, 11pt] \startTEXpage \showfontkerns Vitae, Vase, LT, VA, Y., Effizient, abcdel™, \italic{effi abcdel™}, \slanted{effi abcdel™

[NTG-context] slanted fallback and compact fonts

2024-08-19 Thread Pablo Rodriguez via ntg-context
:{slanted}}] \setupbodyfont[mainface] \startTEXpage[offset=1em] a \it a \stopTEXpage \stoptext Compact fonts in LuaMetaTeX prevent the slanted in the fallback font, but it causes no problem with the main defined font family. MkIV slants both the fallback and the main font families. I guess

[NTG-context] (any) link with document breaks Reader DC

2024-06-25 Thread Pablo Rodriguez via ntg-context
Reader for Windows and macOS with the US English version may not crash (I was told). The sample document contains only a link. It has generated from the following source: \setupinteraction[state=start] \starttext \startTEXpage[offset=1dk] \protected\define[1]\myurl% {{\tt\goto

[NTG-context] Re: weekend update

2024-06-24 Thread Gerion Entrup
ckrule [width=4cm]} is it and the question is how > >> \stacking > >> [two] {\scale [s=2] {fancy}} we can go > >> > >> \startstacking[one] > >> \startformula > >> \sqrt{1+x} > >> \stopformula > >> \stopstacking > &g

[NTG-context] Re: weekend update

2024-06-23 Thread Hans Hagen via ntg-context
\startstackingsteps[one,two,{one,two}] \startTEXpage[offset=1ts] \getbuffer \stopTEXpage \stopstackingsteps \startTEXpage[offset=1ts] \setupstacking[criterium={one}] \getbuffer \stopTEXpage \startTEXpage[offset=1ts] \setupstacking[criterium={two}] \getbuffer

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
ncy}} we can go > > > > \startstacking[one] > > \startformula > > \sqrt{1+x} > > \stopformula > > \stopstacking > > > > and how useful \stacking[two]{\inframed{it}} is. > > \stopbuffer > > > > \startstackingsteps[one,two,{

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
gt; \definestacking[one] > > \definestacking[two] > > > > \startstackingsteps[one,two,{one,two}] > > \startTEXpage[offset=1ts] > > \getbuffer > > \stopTEXpage > > \stopstackingsteps > > I have crude macros which provide this features (save stuff

[NTG-context] Re: weekend update

2024-06-23 Thread Gerion Entrup
and how useful \stacking[two]{\inframed{it}} is. > \stopbuffer > > \startstackingsteps[one,two,{one,two}] > \startTEXpage[offset=1ts] > \getbuffer > \stopTEXpage > \stopstackingsteps > > \startTEXpage[offset=1ts] \setupstacking[criterium={one}

[NTG-context] Re: weekend update

2024-06-21 Thread Aditya Mahajan
On Fri, 21 Jun 2024, Hans Hagen via ntg-context wrote: > Hi, > > -- support for stacking at the tex end (maybe for presentations) > > \starttext > > \definestacking[one] > \definestacking[two] > > \startstackingsteps[one,two,{one,two}] > \startTEXpage

[NTG-context] weekend update

2024-06-21 Thread Hans Hagen via ntg-context
g[two]{\inframed{it}} is. \stopbuffer \startstackingsteps[one,two,{one,two}] \startTEXpage[offset=1ts] \getbuffer \stopTEXpage \stopstackingsteps \startTEXpage[offset=1ts] \setupstacking[criterium={one}] \getbuffer \stopTEXpage \startTEXpage[offset=1ts] \setupstacking[criterium

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-21 Thread Hans Hagen via ntg-context
draw fullcircle scaled 2cm withcolor darkblue withstacking 2 ; draw textext("one") withcolor darkgreen withstacking 11 ; draw textext("two") withcolor darkgreen withstacking 12 ; draw textext("three") withcolor darkgreen withstacking 13 ; \stopuseMP

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-21 Thread Gerion Entrup
mm ; > draw fullcircle scaled 3cm withcolor darkred withstacking 1 ; > draw fullcircle scaled 2cm withcolor darkblue withstacking 2 ; > draw textext("one") withcolor darkgreen withstacking 11 ; > draw textext("two") withcolor darkgreen withstacking

[NTG-context] (off-topic) hovering over links in Acrobat Reader

2024-06-19 Thread Pablo Rodriguez via ntg-context
\def\myhref#1#2% {\goto{\hyphenatedurl{#1}}[url(#2)]} \starttext \startTEXpage[pagestate=start, offset=1em, align=center] {\bfa Hovering Over Links} \blank[1st] \attachment[method=hidden, file={signed-a.pdf}] \goto{An embedded PDF document}[signed-a::] \blank[.5st

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-19 Thread Hans Hagen
color darkgreen withstacking 11 ; draw textext("two") withcolor darkgreen withstacking 12 ; draw textext("three") withcolor darkgreen withstacking 13 ; \stopuseMPgraphic \startTEXpage[offset=.25ts] \useMPgraphic{test}{stacking={1,11}} \stopTEXpage \startTEXpage[offset=.25t

[NTG-context] extensibles not rendered

2024-06-18 Thread Jacob Kauffmann via ntg-context
remember correctly extensibles were properly rendered in Acrobat Reader before the update. Best wishes, Jacob \setupbodyfont[8pt] \startTEXpage[offset=none] $\overbracket{\hbox to 1cm{}}$ \blank $\fenced[brace]{\vbox to 1cm{}}$ \stopTEXpage

[NTG-context] Re: digital signing in ConTeXt

2024-06-17 Thread Hans Hagen via ntg-context
signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed[background=signature,framecolor=darkred] {\fieldbody[signature][width=3cm,option=hidden]} \stopTEXpage \stoptext After compiling the sample, you need to run: mtxrun

[NTG-context] Re: Transparency in external PDFs does not work

2024-06-17 Thread Hans Hagen
Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - \starttext \startTEXpage[offset=1pt] \colored[a=1,t=.5,r=

[NTG-context] digital signing in ConTeXt

2024-06-17 Thread Pablo Rodriguez via ntg-context
/ECSXLVMT3TMQBIHA2UZJPWJN7OVV5334/attachment/2/mycert.pfx (I sent it myself). Here is a sample document (actually provided by Hans): \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on

[NTG-context] Re: get measures as dimension in Lua

2024-06-10 Thread Hans Hagen via ntg-context
uot;="):rep(80)) print("mymeasure:" , get_measure("mymeasure") ) print("mydimen:", tex.dimen["mydimen"] ) print("measureexpr:", get_measure_expr("measureexpr")) print(("=

[NTG-context] Re: get measures as dimension in Lua

2024-06-09 Thread Max Chernoff
("="):rep(80)) print("mymeasure:" , get_measure("mymeasure") ) print("mydimen:", tex.dimen["mydimen"] ) print("measureexpr:", get_measure_expr("

[NTG-context] issue with signing

2024-06-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign: \inframed[background=signature,framecolor=darkred

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Pablo Rodriguez via ntg-context
On 5/28/24 20:06, Hans Hagen wrote: > On 5/28/2024 6:25 PM, Tomáš Hála wrote: >> Hi Pablo, >> >> unfortunately, that it is not possible: >> >> http://lua-users.org/wiki/PatternsTutorial, section Limitations. > > \starttext > \startTEXpage[pagestate=s

[NTG-context] Re: regular expression as lua pattern

2024-05-29 Thread Henning Hraban Ramm
Am 28.05.24 um 20:06 schrieb Hans Hagen: On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em]     \startluacode

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Hans Hagen
On 5/28/2024 6:25 PM, Tomáš Hála wrote: Hi Pablo, unfortunately, that it is not possible: http://lua-users.org/wiki/PatternsTutorial, section Limitations. \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local pat = (lpeg.Cmt(lpeg.P("

[NTG-context] Re: regular expression as lua pattern

2024-05-28 Thread Tomáš Hála
\starttext > \startTEXpage[pagestate=start, offset=1em] > \startluacode > local str = "this is that" > context(str:match("(this|these)")) > \stopluacode > \stopTEXpage > \stoptext > > In short, I w

[NTG-context] regular expression as lua pattern

2024-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local str = "this is that" context(str:match("(this|these)")) \stopluacode \stopTEXpage

[NTG-context] Re: wrong font scaling in LMTX?

2024-05-26 Thread Wolfgang Schuster
] \starttext \startTEXpage[pagestate=start, offset=1em] \rm a\ss a\\ {\rm a\ssd a}\\ {\rm a\ssx a}\\ {\rm a\ssxx a} \stopTEXpage \stoptext Scaled \ssx and \ssxx are wrong in LMTX (not scaled at all). All font sizes are scaled fine in MkIV. In both

[NTG-context] wrong font scaling in LMTX?

2024-05-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \definefontfamily[mainface][rm][TeX Gyre Pagella] \definefontfamily[mainface][ss][TeX Gyre Heros] [scale=0.125] \setupbodyfont[mainface] \starttext \startTEXpage[pagestate=start, offset=1em

[NTG-context] update

2024-05-17 Thread Hans Hagen
nother fancy feature was added: \startTEXpage[offset=1ts] \samplefile{tufte}\removeunwantedspaces\space \startshadow[contrastcolor=red,weight=100]\blue\samplefile{tufte}\removeunwantedspaces\stopshadow\space \samplefile{tufte}\removeunwantedspaces\space \startshadow[contrastcolor=red,weight=100,dx

[NTG-context] Re: rendering arabic diacritics

2024-05-09 Thread seyal zavira
; \definefont [Ahang] [file:Ahang-Regular.otf*arabis at 18pt] > \setupalign[r2l] > \starttext > {\Ahang تَشْكِيل كَسْرَة} > \stoptext > > \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt] > but there is an issue with widths, ill send you a patch to test > > >

[NTG-context] Re: rendering arabic diacritics

2024-05-09 Thread Hamid,Idris
يل كَسْرَة} \stoptext \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt] but there is an issue with widths, ill send you a patch to test The provided "*arabic" featureset should suffice for this font. Also TEXpage is useful for this kind of MWE: \definefont [Ahang] [file:Ahang-Reg

[NTG-context] Re: rendering arabic diacritics

2024-05-09 Thread Hans Hagen
provided "*arabic" featureset should suffice for this font. Also TEXpage is useful for this kind of MWE: \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt] \setupalign[r2l] \startTEXpage[offset=1em] {\Ahang تَشْكِيل  كَسْرَة} \stopTEXpage In prehistoric ConTeXt version    2023

[NTG-context] Re: rendering arabic diacritics

2024-05-09 Thread Hamid,Idris
et should suffice for this font. Also TEXpage is useful for this kind of MWE: \definefont [Ahang] [file:Ahang-Regular.otf*arabic at 18pt] \setupalign[r2l] \startTEXpage[offset=1em] {\Ahang تَشْكِيل كَسْرَة} \stopTEXpage In prehistoric ConTeXt version 2023.09.26 18:19 the diacritics look fine in both C

[NTG-context] Re: incosistent output of --- dash

2024-04-06 Thread Pablo Rodriguez via ntg-context
r or before the dash, since I don't > like it to stick to some letters like "o"). Just consider that you should add an horizontal box (or pair both space and hyphen), otherwise you may get a line break between character and hyphen (instead of the hair space): \starttext \

[NTG-context] Re: PDF, runner, and TikZ patches

2024-03-16 Thread Hans Hagen
e maintainer mean by that ... context can add profiles if configured to do so (best not to embed them) ... and why should there be a profile anyway ... crappy arguments .. especially because when i run \usemodule[tikz] \startTEXpage \definecolor [colorone] [r=0,g=0,b=0.5] \definecolor

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

2024-03-13 Thread Hans Hagen via ntg-context
r] [height=\strutht,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=4

[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
={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
={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: 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 With

[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: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
el On Feb. 19 2024, at 2:39 pm, Mikael Sundqvist wrote: > Hi, > > Try > \startTEXpage[pagestate=start] > /Mikael > On Mon, Feb 19, 2024 at 2:31 PM Emanuel Han via ntg-context > wrote: > > > >  I just made a strange observation in the output pdf of the attached

[NTG-context] Re: Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Mikael Sundqvist
Hi, Try \startTEXpage[pagestate=start] /Mikael On Mon, Feb 19, 2024 at 2:31 PM Emanuel Han via ntg-context wrote: > >  I just made a strange observation in the output pdf of the attached > layer_set.tex, which is that when opening it with a pdf viewer like skim or > macos

[NTG-context] Fwd: Re: Working with layer sets with Metapost

2024-02-19 Thread Emanuel Han via ntg-context
. And then do\dorecurse{5}{\startTEXpage[offset=1DK]\useMPgraphic{layerset#1}\stopTEXpage}if that is the looping you are after./MikaelOn Fri, Feb 16, 2024 at 6:54 AM Emanuel Han via ntg-context wrote:>> Resp. the solution should be such that each generated PDF page has the same dimension, th

[NTG-context] Re: Working with layer sets with Metapost

2024-02-17 Thread Emanuel Han via ntg-context
ot sure I get what you are missing. But you can try > setbounds currentpicture to (fullsquare scaled 200) ; > in base. And then do > \dorecurse{5}{ > \startTEXpage[offset=1DK] > \useMPgraphic{layerset#1} > \stopTEXpage > } > > if that is the looping you are after. > /M

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Mikael Sundqvist
Hi, not sure I get what you are missing. But you can try setbounds currentpicture to (fullsquare scaled 200) ; in base. And then do \dorecurse{5}{ \startTEXpage[offset=1DK] \useMPgraphic{layerset#1} \stopTEXpage } if that is the looping you are after. /Mikael On Fri, Feb 16, 2024 at 6:54 AM

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
; > > > > > \startuseMPgraphic{base} > > > z1 = origin ; > > > z2 = (10,50) ; > > > z3 = (40,30) ; > > > > > > picture layerA; > > > layerA:=image( > > > label("Word 1", z1); > > > ); > > > > > >

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
;Word 1", z1); > > ); > > > > picture layerW; > > layerW:=image( > > label("Mot 2", z2); > > ); > > > > picture layerM; > > layerM:=image( > > label("Parola 3", z3); > > ); > > > > picture layerC; > > layerC:=image

[NTG-context] Re: Working with layer sets with Metapost

2024-02-15 Thread Emanuel Han via ntg-context
Parola 3", z3); > ); > > picture layerC; > layerC:=image( > label("Wort 4", z3+z1); > ); > > picture layerY; > layerY:=image( > label("Nummer 5", z2+z3); > ); > > picture layerU; > layerU:=image( > label("number 6", z2+z

[NTG-context] Re: Working with layer sets with Metapost

2024-02-14 Thread Mikael Sundqvist
aw layerA ; \stopuseMPgraphic \startuseMPgraphic{layerset2} \includeMPgraphic{layerset1} ; draw layerY ; \stopuseMPgraphic \startuseMPgraphic{layerset3} \includeMPgraphic{layerset2} ; \includeMPgraphic{Gamma} ; \stopuseMPgraphic \startuseMPgraphic{layerset4} \includeMPgraphic{layerset2} ; draw

[NTG-context] scaling tweaked fonts

2024-01-18 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample which behaves differently after latest from 2023.09.26 18:19: \definetweakedfont[wider][xscale=1075] \starttext \startTEXpage[align=center] \contextversion\\ \wider \contextversion \stopTEXpage \stoptext Up to that version, no

[NTG-context] Re: Spacing problem in formula

2024-01-15 Thread Hans Hagen
rescripts: \startTEXpage[offset=1DK] \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } \m{1 - C_2^^n \tan^2\theta + C_4^^n } \stopTEXpage If you want them below, use double _. /Mikael On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal mailto:shivshankar.da...@gmail.com>

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Shiv Shankar Dayal
Thanks a lot Mikael. On Mon, Jan 15, 2024 at 12:24 PM Mikael Sundqvist wrote: > Hi, > > ConTeXt supports prescripts: > > \startTEXpage[offset=1DK] > > \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } > > \m{1 - C_2^^n \tan^2\theta + C_4^^n } > > \stopTEXpage >

[NTG-context] Re: Spacing problem in formula

2024-01-14 Thread Mikael Sundqvist
Hi, ConTeXt supports prescripts: \startTEXpage[offset=1DK] \m{1 - {}^nC_2\tan^2\theta + {}^nC_4 } \m{1 - C_2^^n \tan^2\theta + C_4^^n } \stopTEXpage If you want them below, use double _. /Mikael On Mon, Jan 15, 2024 at 7:45 AM Shiv Shankar Dayal wrote: > > Suppose I want to types

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
t; > symbols is wheelchair. However, when using that, I just got the string > > _378 (3.pdf). Source code: > > > > ``` > > \usesymbols[fontawesome] > > > > \startTEXpage[offset=1pt] > > \symbol[fontawesome][wheelchair] > > \stopTEXpa

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Wolfgang Schuster
here, one of the few remaining symbols is wheelchair. However, when using that, I just got the string _378 (3.pdf). Source code: ``` \usesymbols[fontawesome] \startTEXpage[offset=1pt] \symbol[fontawesome][wheelchair] \stopTEXpage ``` Is there a problem with my installation? Additional

[NTG-context] Re: Fwd: Re: x mark symbol and general symbol guide

2024-01-09 Thread Gerion Entrup
chair. However, when using that, I just got the string _378 (3.pdf). Source code: ``` \usesymbols[fontawesome] \startTEXpage[offset=1pt] \symbol[fontawesome][wheelchair] \stopTEXpage ``` Is there a problem with my installation? Additional output: ``` % mtxrun --script fonts --list --all --

[NTG-context] Re: multipage metapost output from ConTeXt

2024-01-06 Thread Emanuel Han via ntg-context
;> path B; B = z5..z6; > > >> pair BStartPoint; BStartPoint = point 0 of B; > > >> pair BEndPoint; BEndPoint = point 1 of B; > > >> path C; C = AStartPoint..AEndPoint; > > >> > > >> p1:=image( > > >> draw A withcolor red; > &

[NTG-context] Re: Equivalent for hdots and hdotsfor

2023-12-30 Thread Mikael Sundqvist
\HF or \HF[n]. \startTEXpage[offset=1DK] \dm{ \startnamedmatrix[matrix:bars] \NC 1 \NC x \NC x^2 \NC \ldots \NC x^{n-1} \NR \NC 1 \NC y \NC y^2 \NC \ldots \NC y^{n-1} \NR \HF[3] \NR \NC 1 \NC z \NC z^2 \NC \ldots \NC z^{n-1} \NR \stopnamedmatrix } \stopTEXp

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
1. >>> > >>> > \mapfontsize[modern][script] [.4] >>> > \mapfontsize[modern][scriptscript][.2] >>> > >>> > \setupbodyfont[modern,12pt] >>> > >>> > \startTEXpage[offset=1DK] >>> > \m{z_{n+1}} >>> > \stopT

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
ipt] [.4] >> > \mapfontsize[modern][scriptscript][.2] >> > >> > \setupbodyfont[modern,12pt] >> > >> > \startTEXpage[offset=1DK] >> > \m{z_{n+1}} >> > \stopTEXpage >> >> Strange, here it looks OK. Maybe something that will be solved when &

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
ymbol is too big as well as the number 1. > > > > \mapfontsize[modern][script] [.4] > > \mapfontsize[modern][scriptscript][.2] > > > > \setupbodyfont[modern,12pt] > > > > \startTEXpage[offset=1DK] > > \m{z_{n+1}} > > \stopTEXpage > > S

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
ing example the operational > > symbol is too big as well as the number 1. > > > > \mapfontsize[modern][script] [.4] > > \mapfontsize[modern][scriptscript][.2] > > > > \setupbodyfont[modern,12pt] > > > > \startTEXpage[offset=1DK] > > \m{z_{n

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
etupbodyfont[modern,12pt] > > \startTEXpage[offset=1DK] > \m{z_{n+1}} > \stopTEXpage Strange, here it looks OK. Maybe something that will be solved when there is an update then. /Mikael ___ If your quest

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Fabrice Couvreur
Thank you for your suggestion but in the following example the operational symbol is too big as well as the number 1. \mapfontsize[modern][script] [.4] \mapfontsize[modern][scriptscript][.2] \setupbodyfont[modern,12pt] \startTEXpage[offset=1DK] \m{z_{n+1}} \stopTEXpage Le ven. 29 déc. 2023 à

[NTG-context] Re: Size of subscript notations

2023-12-29 Thread Mikael Sundqvist
, z_{n+1}=\frac{i}{3}z_n} you could try something like (here with too small numbers only to show...) \mapfontsize[modern][script] [.4] \mapfontsize[modern][scriptscript][.2] \setupbodyfont[modern,10pt] \startTEXpage[offset=1DK] \m{3^{2^3}} \stopTEXpage I

[NTG-context] Re: QR Code

2023-12-18 Thread Michal Vlasák
nTeXt cannot simply find where the > converted PDF versions of the zint images are. > > If I have the following source in testing-barcodes.tex: > > \usemodule[m-zint] > \starttext > \startTEXpage[offset=1dk] > \barcode[alternative=isbnx, text=9783865419026,

[NTG-context] Re: QR Code

2023-12-18 Thread Pablo Rodriguez via ntg-context
(or its path is unknown to the system), or ConTeXt cannot simply find where the converted PDF versions of the zint images are. If I have the following source in testing-barcodes.tex: \usemodule[m-zint] \starttext \startTEXpage[offset=1dk] \barcode[alternative=isbnx, text=9783865419026, width=

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Hans Hagen via ntg-context
rtificates themselves. Basically one can sign (with some certificate) and then validate. % sign-001.tex \setupinteraction[state=start] \definefield[signature][signed] \defineoverlay[signature][my signature] \starttext \startTEXpage[offset=1ts,frame=on,framecolor=darkblue] sign:

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-04 Thread Fabrice L
;> ); > >> > >> p4:=image(draw A; label(lmt_outline [ > >> text = "\KoreanFont 한국어" > >> ], AStartPoint);); > >> > >> p5:=image( > >> label(textext("bāng"), BEndPoint); > >> draw C withcolor green; > >>

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
;> pair AStartPoint; AStartPoint = point 0 of A; > > >> pair AEndPoint; AEndPoint = point 4 of A; > > >> path B; B = z5..z6; > > >> pair BStartPoint; BStartPoint = point 0 of B; > > >> pair BEndPoint; BEndPoint = point 1 of B; > > >> pat

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
skharabic \textdir TRT دانگ") scaled 1.2, > >> BStartPoint); > >> ); > >> > >> p4:=image(draw A; label(lmt_outline [ > >> text = "\KoreanFont 한국어" > >> ], AStartPoin

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
국어" > >> ], AStartPoint);); > >> > >> p5:=image( > >> label(textext("bāng"), BEndPoint); > >> draw C withcolor green; > >> ); > >> > >> p6:=image( > >> draw B w

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
gestate=start] >> currentime := #1 ; >> % Just for learning : >> draw TheFrame withpen pencircle scaled .1in withcolor magenta ; >> draw textext("T="&decimal(currentime)) scaled 2 shifted(0,2in) withcolor >> magenta ; >> for k=1 upto currentime: dr

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread fv leung
sized (desiredformat ,desiredformat ); > > \stopMPpage > } > > \stoptext > On Nov. 27 2023, at 11:25 pm, Aditya Mahajan wrote: > > On Mon, 27 Nov 2023, Fabrice L wrote: > > > Hi, > > > > It is fun fact very easy to do. You just use \startMPpage (…) &g

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
gt; > On Mon, 27 Nov 2023, Fabrice L wrote: > > > > > Hi, > > > > > > It is fun fact very easy to do. You just use \startMPpage (…) \stopMPpage > > > multiple times. Here is an example which build an animation of a particle > > > moving according to a B

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-29 Thread Emanuel Han via ntg-context
gt; A very similar option is to pass a variable to a metapost drawing. This is > what I use: > https://adityam.github.io/context-blog/post/metapost-animation/ > It only works when viewed in acrobat, you can just comment out the animation > part and wrap it in \startTEXpage .. \stopTEXp

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-27 Thread Aditya Mahajan
a variable to a metapost drawing. This is what I use: https://adityam.github.io/context-blog/post/metapost-animation/ It only works when viewed in acrobat, you can just comment out the animation part and wrap it in \startTEXpage .. \stopTEXpage to get multi

[NTG-context] Fwd: Re: x mark symbol and general symbol guide

2023-10-16 Thread Gerion Entrup
r documentation for ConTeXt somewhere? \usesymbols[fontawesome] \startTEXpage[offset=1ts] \symbol[fontawesome-solid][times]\quad \symbol[fontawesome-solid][check] \stopTEXpage you can run symb-imp-fonta

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
[references.border=darkblue]% \goto{#1}[url(#1)]\stop} \starttext \startTEXpage[offset=1dk, align=middle] \inone{one}\blank \intwo{two}\blank \inthree{three}\blank \stopTEXpage \chapter[one]{First chapter} \chapter[two]{Second chapter} \chapter

[NTG-context] colors for links

2023-10-12 Thread Pablo Rodriguez
} \starttext \startTEXpage[offset=1dk, align=middle] \inone{one}\blank \intwo{two}\blank \inthree{three}\blank \stopTEXpage \chapter[one]{First chapter} \chapter[two]{Second chapter} \chapter[three]{Second chapter} \stoptext I see that the directive for link

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-22 Thread Hans Hagen via ntg-context
/21/2023 3:29:22 PM Subject Re: [NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters Many thanks, Hans. The method appears to work only for nbsp, not zwj etc. Here is the updated MWE: === \startTEXpage[offset=1em] \disabletrackers[typesett

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
oggling the symbol for the zero-width joiner and related Unicode control characters Many thanks, Hans. The method appears to work only for nbsp, not zwj etc. Here is the updated MWE: === \startTEXpage[offset=1em] \disabletrackers[typesetters.directions] \disabletrackers[typesetters.zwj] \di

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hans Hagen
ad a similar mechanism for toggling the symbols for Unicode control characters but cannot find it. Does anyone know or recall where the symbol-toggling mechanism is? If not, what would be the simplest way to implement it? Here is a MWE (note that the three control chars might be invisible in yo

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
ymbols for Unicode control characters but cannot find it. Does anyone know or recall where the symbol-toggling mechanism is? If not, what would be the simplest way to implement it? Here is a MWE (note that the three control chars might be invisible in your email client): == \startTEXpag

[NTG-context] Re: Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hans Hagen
nyone know or recall where the symbol-toggling mechanism is? If not, what would be the simplest way to implement it? Here is a MWE (note that the three control chars might be invisible in your email client): == \startTEXpage[offset=1em] \definedfont[almfixed at 14pt] ZWJ: ‌ ZWN

[NTG-context] Toggling the symbol for the zero-width joiner and related Unicode control characters

2023-09-21 Thread Hamid,Idris
l-toggling mechanism is? If not, what would be the simplest way to implement it? Here is a MWE (note that the three control chars might be invisible in your email client): == \startTEXpage[offset=1em] \definedfont[almfixed at 14pt] ZWJ: ‌ ZWNJ: ‍ NBSP: \stopTEXpage == In No

[NTG-context] Fwd: escaping \ in Lua

2023-09-05 Thread Hans Hagen via ntg-context
] \enabledirectives[references.border=darkgreen] \starttext \startTEXpage[offset=1dk] \attachment[method=hidden, file=a(b).pdf] \stopTEXpage \stoptext The name in EmbeddedFiles is "a\(b\).pdf". Sorry for the obscure question, but how can I access this with "\goto{link

[NTG-context] escaping \ in Lua

2023-09-05 Thread Pablo Rodriguez
Dear list, I have the following source: \setupinteraction[state=start, display=new] \enabledirectives[references.border=darkgreen] \starttext \startTEXpage[offset=1dk] \attachment[method=hidden, file=a(b).pdf] \stopTEXpage \stoptext The name in EmbeddedFiles is "a\(b\

[NTG-context] Re: no packed in current latest (LMTX only)

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 6:12 PM, Pablo Rodriguez wrote: Dear list, after updating to current latest (from 2023.09.03 19:03), packed list doesn’t seem to work in LMTX: \starttext \startTEXpage[offset=1em] \startitemize[packed] \item item \item item \stopitemize \stopTEXpage

[NTG-context] Re: no packed in current latest (LMTX only)

2023-09-04 Thread Rik Kabel
On 9/4/2023 12:12 PM, Pablo Rodriguez wrote: Dear list, after updating to current latest (from 2023.09.03 19:03), packed list doesn’t seem to work in LMTX: \starttext \startTEXpage[offset=1em] \startitemize[packed] \item item \item item \stopitemize \stopTEXpage

[NTG-context] no packed in current latest (LMTX only)

2023-09-04 Thread Pablo Rodriguez
Dear list, after updating to current latest (from 2023.09.03 19:03), packed list doesn’t seem to work in LMTX: \starttext \startTEXpage[offset=1em] \startitemize[packed] \item item \item item \stopitemize \stopTEXpage \stoptext MkIV gets packed lists just right. Could anyone

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
aid that \in{attachment}[foobar] doesn‘t generate a link in your sample. Or do you get a link border from the following source? \setupinteraction[state=start] \enabledirectives[references.border=green] \starttext \startTEXpage[offset=1em] \attachment[ file={hacker.jpg}, m

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Pablo Rodriguez
his): \definefontfamily[mainface][rm][DejaVu Sans] [sl≃style:bf] \setupbodyfont [mainface, 100pt] \starttext \startTEXpage[offset=1ex] a {\em b} \stopTEXpage \stoptext Many thanks for your help again, Pablo

[NTG-context] Re: slanted font feature: LMTX vs. MkIV

2023-09-02 Thread Wolfgang Schuster
][DejaVu Sans] [sl={style:tf, features:{default,slanted}}]    \setupbodyfont[maf, 8pt]    \setupfittingpage[offset=1ex]    \starttext    \startTEXpage    a {\em b}    \stopTEXpage    \startTEXpage[foregroundstyle={\setupbodyfont[100pt]}]    a {\em b}    \stopTEXpage    \stoptext Using LMTX

  1   2   3   4   5   6   7   8   9   10   >