Re: [NTG-context] split TABLE cells

2022-05-19 Thread Steffen Wolfrum via ntg-context
t >> \eTD >> \bTD >> Test >> \eTD >> \bTD >> Test >> \eTD >> \eTR >> \eTABLE >> \stoptext > not possible, use tabulate instead do you have a MWE? the example from https://wiki.contextgarden.net/Tabulate gives an empty page: \set

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
ion=] \setupfootertexts[][\midaligned{\userpagenumber/\lastuserpage}] \starttext \switchtobodyfont[18pt] \definehspace[hspacing][0.15em] О\hspace[hspacing]Т\hspace[hspacing]П\hspace[hspacing]Р\hspace[hspacing]Е\hspace[hspacing]М\hspace[hspacing]Н\hspace[hspacing]И\hspace[hspacing]Ц\hspace[hspacing] А\\ \swi

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
texts[][\midaligned{\userpagenumber/\lastuserpage}] \starttext \switchtobodyfont[18pt] \definehspace[hspacing][0.15em] О\hspace[hspacing]Т\hspace[hspacing]П\hspace[hspacing]Р\hspace[hspacing]Е\hspace[hspacing]М\hspace[hspacing]Н\hspace[hspacing]И\hspace[hspacing]Ц\hspace[hspacing] А\\ \switchtobodyfon

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Bruce Horrocks via ntg-context
s and endnotes. > Hi Bruce, > > following the conversation, this might be a sample of what I think you > intend to achieve: > > \definenote[linknote] > \setupnote[linknote] > [textcommand={\ }, textstyle=, location=text] > \setupnotation[linknote] >

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Pablo Rodriguez via ntg-context
tion[linknote] [alternative=serried, numberstyle={\switchtobodyfont[12pt]}, style={\switchtobodyfont[12pt]}, numbercommand=] \starttext \dorecurse{25} {First\footnote{Footnote one}. See my video at link\linknote{yewtu.be/my-great-video.}. } \title{Links} \placenotes[link

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
Pagella Math] \definetypeface [story] [mm] [math] [pagella] [default] \setupbodyfont[story,11pt] \usebodyfont[termes] \showframe \startsetups [blockquote:style] \switchtobodyfont[termes] \setupwhitespace[2pt] \stopsetups \setupdelimitedtext [blockquote] [spacebefore=big,

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread śrīrāma via ntg-context
it before). In fact, I first tested the following example before responding to Michael's question: %%% SOF \usebodyfont[termes] \setupbodyfont[schola] \setupdelimitedtext [blockquote] [style={\switchtobodyfont[termes]}] \starttext main body font h

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-06 Thread Wolfgang Schuster via ntg-context
Michael Urban via ntg-context schrieb am 05.02.2022 um 20:28: I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it

Re: [NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread śrīrāma via ntg-context
ry][mm][TeX Gyre Pagella Math] \setupbodyfont[story,11pt] \usebodyfont[termes] \definestartstop [blockquote] [before={\blank\startnarrower\setupwhitespace[2pt]\setupindenting[none]}, style={\switchtobodyfont[termes]}, after={\stopnarrower\blank\indenting[next]}] \startt

[NTG-context] Odd Font Behavior in startstop Group

2022-02-05 Thread Michael Urban via ntg-context
I am experiencing an odd behavior switching text styles in a defined startstop group ("blockquote"). I get different behavior depending on whether the switchtobodyfont in the startstop definition includes the dummy {\it } and {\bf } text. If they are not there, the italic an

Re: [NTG-context] Changed behavior from \convertnumber{arabicdecimals}{..} as a textcommand for note

2022-01-16 Thread musa furber via ntg-context
\stoptypescriptcollection \define\setarabic{ \setupalign[r2l] \righttoleft \switchtobodyfont[amiri] } \define\setlatin{ \setupalign[l2r] \lefttoright \switchtobodyfont[dejavu] } \setupnotes[footnote][] \setupnotes[arfootnote][] \definenote[arfootnote][footnote] \setupnotation

Re: [NTG-context] SimpleSlides and Visual counters

2022-01-16 Thread Otared Kavian via ntg-context
lor} ; label(textext("\start\switchtobodyfont[10pt]% \setupinteraction[color=simpleslides:backgroundcolor,style=normal]% \startcolor[simpleslides:backgroundcolor] \goto{\pagenumber}[Prev

Re: [NTG-context] Changed behavior from \convertnumber{arabicdecimals}{..} as a textcommand for note

2022-01-15 Thread Hans Hagen via ntg-context
). \setupnote [arfootnote] [   headstyle={\switchtobodyfont[kitab]},   textcommand=\footnotenotenumbercommand,   alternative=text,   ] \define[1]\footnotenotenumbercommand{{\high{(\convertnumber{arabicdecimals}{#1})}}} Since the update, for the 123rd footnote, I now get `(123arabic)` instead of `(١٢٣

[NTG-context] Changed behavior from \convertnumber{arabicdecimals}{..} as a textcommand for note

2022-01-14 Thread musa furber via ntg-context
This week I updated ConTeXt minimals. Before then, I used the following code so that footnotes to Arabic passages would have parenthesis around them and use the digits used in Arabic texts in the Middle East (e.g. ٠١٢٣٤٥٦٧٨٩). \setupnote [arfootnote] [ headstyle={\switchtobodyfont[kitab

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Hans Hagen via ntg-context
yfont[lib-fb-jun] {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs)} lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) % <- fallback fails here \switchtobodyfont[jun-pr-lib] jun-pr-lib: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) %

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
some tracking stuff > > \enabletrackers[fonts.missing=replace] > \enabledirectives[logs.errors] > > % text, we use lib-fb-jun first, then jun-pr-lib > > \starttext > \setupbodyfont[lib-fb-jun] > > {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{

Re: [NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread Youssef Cherem via ntg-context
kers[fonts.missing=replace] > \enabledirectives[logs.errors] > > > % text, we use lib-fb-jun first, then jun-pr-lib > > \starttext > \setupbodyfont[lib-fb-jun] > > {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three > glyphs)} > > lib-fb-

[NTG-context] Fallback fails for Linux Libertine O to Junicode over private area, debugging?

2022-01-07 Thread J .  P . Ascher via ntg-context
ec5} (three glyphs)} lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) % <- fallback fails here \switchtobodyfont[jun-pr-lib] jun-pr-lib: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) % <- works \stoptext ``` Any ideas? Most warmly, -jp -- J. P. Asche

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
one > > below the other. It worked in the past. Each sprite should be 4 x 0.095 > > cm = 0,38 cm wide and 5 x 0.095 cm = 0.475 cm high: > > > > \starttext > > \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,8pt]}] > > \startuseMPgraph

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Hans Hagen via ntg-context
75 cm high: \starttext \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,8pt]}] \startuseMPgraphic{mapa} u:=.095cm; draw externalfigure "./skysprite.png" xscaled 4u yscaled 5u shifted (0u,-0u); draw externalfigure "./sandsprite.png" xscaled 4u yscaled 5u shifted

Re: [NTG-context] Laundry symbols (now: altered picture)

2022-01-02 Thread Alfredo Catalina via ntg-context
x 8 and 40 = 5 x 8, the width/height ratio is 4/5. This should produce a page with a sky sprite and a sand sprite, one below the other. It worked in the past. Each sprite should be 4 x 0.095 cm = 0,38 cm wide and 5 x 0.095 cm = 0.475 cm high: \starttext \setupMPinstance[metafun][textstyle={\switch

Re: [NTG-context] Using a system font

2021-12-27 Thread Marco Patzer via ntg-context
On Sun, 26 Dec 2021 21:21:10 +4000 jdh via ntg-context wrote: > \starttext >I want to use the Mathjax_Fraktur font, which the font-manager on > Ubuntu reports that it has. >{\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show > up in Mathjax_Fraktur.}

[NTG-context] Using a system font

2021-12-26 Thread jdh via ntg-context
Minimum working example: \starttext I want to use the Mathjax_Fraktur font, which the font-manager on Ubuntu reports that it has. {\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show up in Mathjax_Fraktur.} \sto

Re: [NTG-context] definedfont vs switchtobodyfont (was "shrink inter-line space")

2021-12-20 Thread Hans Hagen via ntg-context
x27;t add the feature to the current font. I understand I need a font switch. Usually I use \switchtobodyfont. How is \definedfont different? it's a 'permanent' one ... so when the font is loaded the dimensions are adapted so you need a new fo

Re: [NTG-context] definedfont vs switchtobodyfont (was "shrink inter-line space")

2021-12-20 Thread mf via ntg-context
need a font switch. Usually I use \switchtobodyfont. How is \definedfont different? Massi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
> \tikzinputfile{pgfcircmonopoles.tex} >> \tikzinputfile{pgfcircbipoles.tex} >> \tikzinputfile{pgfcirctripoles.tex} >> \tikzinputfile{pgfcircquadpoles.tex} >> \tikzinputfile{pgfcircmultipoles.tex} >> >> \tikzinputfile{pgfcirclabel.te

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
rican=>\ctikzset{ resistor=american}] > > \processaction > [\currentmoduleparameter{inductor}] > [european=>\ctikzset{ inductor=european}, > american=>\ctikzset{ inductor=american}, > cute=>\ctikzset{ inductor=cute}] > > \processaction >

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
def\kilo {\rm{k}} \def\mega {\rm{M}} \def\giga {\rm{G}} \def\tera {\rm{T}}] \unprotect \processaction [\currentmoduleparameter{arrowmos}] [true=>\pgf@circuit@mos@arrowstrue, false=>\pgf@circuit@mos@arrowsfalse] \protect \ctikzset{tripoles/o

Re: [NTG-context] [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Jairo A. del Rio via ntg-context
just slightly less bold)? > > > On Tue, Dec 7, 2021 at 9:45 AM Hans Hagen via ntg-context > wrote: > > > > On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote: > > > Hi, list. See the following: > > > > > > \starttext > > > $\alpha

Re: [NTG-context] [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Mikael Sundqvist via ntg-context
; \starttext > > $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$} > > \stoptext > there is no lfg file for it but if you just want a bolder latin modern > you can also do this (there is an old bachotex presentation about it > somewhere): > > \setupbody

Re: [NTG-context] [DKIM] Primes too high in New Computer Modern

2021-12-07 Thread Hans Hagen via ntg-context
On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote: Hi, list. See the following: \starttext $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$} \stoptext there is no lfg file for it but if you just want a bolder latin modern you can also do this (there is an ol

[NTG-context] Primes too high in New Computer Modern

2021-12-06 Thread Jairo A. del Rio via ntg-context
Hi, list. See the following: \starttext $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$} \stoptext Thank you in advance. Best regards, Jairo ___ If your question is of interest to others as we

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Hans Hagen via ntg-context
a {\rm{T}}] \unprotect \processaction [\currentmoduleparameter{arrowmos}] [true=>\pgf@circuit@mos@arrowstrue, false=>\pgf@circuit@mos@arrowsfalse] \protect \ctikzset{tripoles/op amp/font/.initial=\switch

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
false=>\pgf@circuit@mos@arrowsfalse] \protect \ctikzset{tripoles/op amp/font/.initial=\switchtobodyfont[small]} \aliased\let\stopcircuitikz\relax \permanent\protected\def\startcircuitikz#1\stopcircuitikz {\starttikzpicture#1\stoptikzpicture} \stopmodule \endinput %D \module %D [ file=m-ti

Re: [NTG-context] Math prime issues for some fonts

2021-11-29 Thread Jack Hill via ntg-context
\NR \ML \NC Latin Modern Roman \NC \m{\sqrt{x}} \NR \NC TeX Gyre Termes \NC \switchtobodyfont[termes] \m{\sqrt{x}} \NR \NC TeX Gyre Pagella \NC \switchtobodyfont[pagella] \m{\sqrt{x}} \NR \NC TeX Gyre Bonum \NC \switchtobodyfont[bonum] \m{\sqrt{x}}

Re: [NTG-context] Math prime issues for some fonts

2021-11-27 Thread Wolfgang Schuster via ntg-context
Latin Modern Roman \NC\m{x'} \NC\NR \NC TeX Gyre Termes\NC \switchtobodyfont[termes] \m{x'} \NC\NR \NC TeX Gyre Pagella \NC \switchtobodyfont[pagella] \m{x'} \NC\NR \NC TeX Gyre Bonum \NC \switchtobodyfont[bonum] \m{x'} \NC\NR \NC Te

Re: [NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
both to print out as > > Chancery. Only one or the > > other, but not both. > > > > > > \definefontfamily [mwetest] [sans] [Liberation Sans] > > \setupbodyfont [mwe,ss,12pt] > > \definelayer[mwe][repeat=yes, preset=lefttop,

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Mikael Sundqvist via ntg-context
gt; \definefontfamily[pag][math][tex gyre pagella math] > > > \definefontfamily[bon][math][tex gyre bonum math] > > > \definefontfamily[sch][math][tex gyre schola math] > > > \definefontfamily[stx][math][stix two math] > > > \starttext > > > \starttabulate[

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
NC \bf Math prime \NR > > \ML > > \NC Latin modern \NC \m{x'} \NR > > \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR > > \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR > > \NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR > > \NC Schola \N

Re: [NTG-context] Math prime issues for some fonts

2021-11-26 Thread Wolfgang Schuster via ntg-context
math] \definefontfamily[stx][math][stix two math] \starttext \starttabulate[|c|c|] \FL \NC \bf Font name \NC \bf Math prime \NR \ML \NC Latin modern \NC \m{x'} \NR \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR \NC Bonum \NC \switchtob

[NTG-context] Math prime issues for some fonts

2021-11-26 Thread Jack Hill via ntg-context
\starttabulate[|c|c|] \FL \NC \bf Font name \NC \bf Math prime \NR \ML \NC Latin modern \NC \m{x'} \NR \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR \NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR \NC Schola \NC \switchtobodyfont

Re: [NTG-context] font problems

2021-11-26 Thread Hans Hagen via ntg-context
tlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here } \setupbackgrounds[page][background=mwe] \starttext Normal font text goes here. \blank[4*big] { \switchtobodyfont[chancery] This should be Chancery here to. But isn't. } \b

[NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
one or the other, but not both. \definefontfamily [mwetest] [sans] [Liberation Sans] \setupbodyfont [mwe,ss,12pt] \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in] \setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5m

Re: [NTG-context] Math font tips and tricks

2021-11-07 Thread Wolfgang Schuster via ntg-context
alic] % \definefallbackfamily [mainface] [math] [Minion Pro] %   [range=digitsnormal,features=f:lining] \definefallbackfamily [mainface] [math] [Minion Pro] [preset=math:digitsnormal] \definefontfamily [mainface] [math] [Libertinus Math] \starttext \startformula c^2 = a^2 + b^2 \stopform

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread Luis Montgomery via ntg-context
Apparently, almfixed and kurier fonts no longer load as before. But in this way yes, and I still can't find the reason: \definefontfamily[FAR][serif][almfixed] \definefontfamily[KUR][sans serif][kurier] \setupbodyfont [FAR,10pt] \starttext 123abc\par \switchtobodyfont[FAR,40pt] 1

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread a badin via ntg-context
double-checking the fonts, two still don't switch. this example procudes a pdf with Latin Modern instead ALM Fixed and Kurier. Any ideas on how to use those? \starttext \switchtobodyfont[almfixed,tt] 123abc \par \switchtobodyfont[almfixed] 123abc \par \switchtobodyfont[kurier] 123abc

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread a badin via ntg-context
mailto:ntg-context@ntg.nl>> escribió: > > > > Hi all, > > I suppose this is a bug or something unresolved, the following code > > renders a pdf in LMRoman (lmserif) only: > > > > \starttext > > \startitemize[none] > > \switch

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-22 Thread Hans Hagen via ntg-context
badin via ntg-context mailto:ntg-context@ntg.nl>> escribió: Hi all, I suppose this is a bug or something unresolved, the following code renders a pdf in LMRoman (lmserif) only: \starttext \startitemize[none] \switchtobodyfont[antykwatorunska] \item font-test 123 \

Re: [NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-21 Thread Luis Montgomery via ntg-context
Hi all, > I suppose this is a bug or something unresolved, the following code > renders a pdf in LMRoman (lmserif) only: > > \starttext > \startitemize[none] > \switchtobodyfont[antykwatorunska] \item font-test 123 > \switchtobodyfont[kurier] \item font-test 123 > \swi

[NTG-context] some ConTeXt distribution's Fonts don't work

2021-10-21 Thread a badin via ntg-context
Hi all, I suppose this is a bug or something unresolved, the following code renders a pdf in LMRoman (lmserif) only: \starttext \startitemize[none] \switchtobodyfont[antykwatorunska] \item font-test 123 \switchtobodyfont[kurier] \item font-test 123 \switchtobodyfont[almfixed] \item font-test 123

Re: [NTG-context] Add ssty to libertinus

2021-10-20 Thread Hans Hagen via ntg-context
On 10/20/2021 1:01 PM, Mikael Sundqvist via ntg-context wrote: Hi, looking at the output of \setupbodyfont[libertinus] %\setupmathematics[stylealternative={ssty}] \starttext %\addff{ssty} $y'=f'$ \switchtobodyfont[newcomputermodern-book] $y'=f'$ \stoptext ssty doesn&#

[NTG-context] Add ssty to libertinus

2021-10-20 Thread Mikael Sundqvist via ntg-context
Hi, looking at the output of \setupbodyfont[libertinus] %\setupmathematics[stylealternative={ssty}] \starttext %\addff{ssty} $y'=f'$ \switchtobodyfont[newcomputermodern-book] $y'=f'$ \stoptext I think that the primes in libertinus are too small. Indeed, looking in the font

[NTG-context] textbackground for text of different size

2021-09-12 Thread Sylvain Hubert via ntg-context
Dear List, the red highlight block in the following example is not covering the two 40pt characters: \definetextbackground[important][frame=no,background=color,backgroundcolor=red] \starttext abc\important{123{\switchtobodyfont[40pt]45}xy}z \stoptext Is there an option that fixes this? Thanks

Re: [NTG-context] "$==$ this" producing = with another = through the t

2021-08-29 Thread Hans Hagen via ntg-context
On 8/29/2021 3:21 PM, Paul Dostert via ntg-context wrote: My Minimal: \starttext $==$ this $f(x)= x^2$ \switchtobodyfont[times] $==$ this $f(x)= x^2$ \switchtobodyfont[modern] $==$ this $f(x)= x^2$ \stoptext This is producing an =, a large space (about two characters wide), then an

[NTG-context] "$==$ this" producing = with another = through the t

2021-08-29 Thread Paul Dostert via ntg-context
My Minimal: \starttext $==$ this $f(x)= x^2$ \switchtobodyfont[times] $==$ this $f(x)= x^2$ \switchtobodyfont[modern] $==$ this $f(x)= x^2$ \stoptext This is producing an =, a large space (about two characters wide), then an = through the start of the word "this". See pdf he

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
*default at 14pt] \definefont [TestC] [name:texgyreherositalic*default at 14pt] \starttext {\TestA The quick brown} {\TestB fox jumps over} {\TestC the lazy dog} \stoptext In my cases it is easier to use \switchtobodyfont rather than using a fixed font style, below is a modified version of your

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
[TestA] [name:texgyreheros*default at 14pt] > \definefont [TestB] [name:texgyreherosbold*default at 14pt] > \definefont [TestC] [name:texgyreherositalic*default at 14pt] > > \starttext > {\TestA The quick brown} > {\TestB fox jumps over} > {\TestC the lazy dog} > \stoptext >

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Wolfgang Schuster via ntg-context
} {\TestB fox jumps over} {\TestC the lazy dog} \stoptext In my cases it is easier to use \switchtobodyfont rather than using a fixed font style, below is a modified version of your example above. While the example itself isn't very useful the method can be used to change the font for a h

Re: [NTG-context] lmtx update/t-vim (again)

2021-08-23 Thread Benjamin Buchmuller via ntg-context
me=on, framecolor=black, background=, location=paragraph, ] \definevimtyping[vimR] [ syntax=r, space=off, lines=split, numbering=yes, numberstep=5, alternative=pscolor, margin=.5em, style={\switchtobodyfont

[NTG-context] Additional font variants

2021-08-01 Thread Henning Hraban Ramm via ntg-context
finehighlight[emph][style={\em}] \definehighlight[strong][style=boldface] \starttext \startbuffer Some Text \emph{emphasized} normal \strong{strong} \emph{emph \emph{inner emph} end}. \stopbuffer \getbuffer {\switchtobodyfont[ss]\getbuffer} {\hw\getbuffer} {\switchtobody

[NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
][2][width=3cm, align=middle] \setupTABLE[c][each][frame=off] \stopsetups \switchtobodyfont[10pt] \starttext \doifmode{title}{\title{Rooster}} \startcolumns[n=2] \bTABLE[split=yes, setups=tablesettings] \dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
roundcolor=MyColorA, foregroundstyle={\switchtobodyfont[11pt]}, align={left, broad}, frame=off, width=\textwidth, ] \setuplabeltext [en] [chapter=CHAPITRE] \setuppagenumbering [alternative=doublesided,location=] \unexpanded\def\H

Re: [NTG-context] Header for a book

2021-07-13 Thread Fabrice Couvreur
Fabrice > > \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784] > \defineframedtext > [FramedText] > [ > offset=0.6em, > style=, > toffset=\lineheight, > background=color, > background

[NTG-context] Header for a book

2021-07-12 Thread Fabrice Couvreur
olorA, foregroundstyle={\switchtobodyfont[11pt]}, align={left, broad}, frame=off, width=\textwidth, ] \setuplabeltext [en] [chapter=CHAPITRE] \setuphead [chapter] [bodypartlabel=] \startsetups [header] \labeltext{ch

ntg-context@ntg.nl

2021-06-15 Thread Wolfgang Schuster
anguage[ja]{{\setscript[hanzi]\sourcehanserifregular #1}}} You can try to play with this font setup, all settings within the setups-block are applied when you change the language. % font setup for english ... \definefontfamily [source] [rm] [Source Serif] \switchtobodyfont [source] % font setup fo

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Pablo Rodriguez
computermodern] \starttext \tt\bi\input aristotle-grc\par \switchtobodyfont[another] \input aristotle-grc\par \it\input aristotle-grc \stoptext I’m afraid that there is no "newcmmono10-bolditalic.otf", but "newcmmono10-boldoblique.otf". The following patch fixes

Re: [NTG-context] metafun transformation error

2021-06-04 Thread Ajith R
n the array I defined, there were two elements with empty string as their value. Once I changed those empty strings to some valid string, there was no error and the file compiled as expected. Here is the new MWE with one array element defined as empty string \starttext \switchtobodyfont[30pt] \startMPp

Re: [NTG-context] metafun transformation error

2021-06-04 Thread Hans Hagen
\starttext \switchtobodyfont[30pt] \startMPpage StartPage ; unit := 2 * cm ; %numeric lm, row, col, bm; pair  middle; row := 1; col := 1; picture p, q ; p := nullpicture; q := nullpicture; string l[], lbl; l[0] := "" ; l[1]:= "2"; for i= 0 upto row: middle := 0.5[((( i * unit) ),

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
On 5/22/21 1:10 PM, Wolfgang Schuster wrote: > [...] > You can't use x and a with \switchtobodyfont, only small and big are > possible. > > \starttext > a > \switchtobodyfont[small] > a > \switchtobodyfont[big] > a > \stoptext Many thanks for your fast

Re: [NTG-context] \switchtobodyfont issue

2021-05-22 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 22.05.2021 um 12:51: Dear list, I have the following sample: \setupbodyfont[11.25pt] \starttext a \switchtobodyfont[x] a \switchtobodyfont[a] a \stoptext How can I get both \switchtobodyfont working in both appearances? You can't use

[NTG-context] \switchtobodyfont issue

2021-05-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupbodyfont[11.25pt] \starttext a \switchtobodyfont[x] a \switchtobodyfont[a] a \stoptext How can I get both \switchtobodyfont working in both appearances? Many thanks for your help, Pablo -- http://www.ousia.tk

[NTG-context] t-vim module: no highlighting for custom filetypes

2021-05-21 Thread Nicola
\definevimtyping[foo][ style={\switchtobodyfont[16pt,tt]}, directory=code/, syntax=foo, alternative=pscolor, vimrc=foo, ] \starttext \startfoo let while endwhile \stopfoo \stoptext The ~/foo/ directory contains ftdetect/foo.vim: au BufRead,BufNewFile

[NTG-context] mathscript in math mode

2021-05-13 Thread Fabrice Couvreur
Hi, Is it possible to run the macro in math mode ? Thank you Fabrice \usebodyfont [stix] \setupbodyfont[modern] \setupmathematics[stylealternative=calligraphic] \unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo] \m{{\mathscript{#1}}_{#2}}\stop} \unexpanded\def\cscript#1{\start

[NTG-context] Ligatures blocking -- why block unspecified ligatures?

2021-05-12 Thread denis.maier
] \definedfont[Serif*default:block] \getbuffer[test] \switchtobodyfont[times] \getbuffer[test] % With Times New Roman, we can even see the bars in the output \definedfont[Serif*default:block] \getbuffer[test] \stoptext == What am I missing? (I am trying to block

Re: [NTG-context] \setupalign[height] and \setupalign[line] in LMTX

2021-04-28 Thread denis.maier
stretch !=0, no matter how small \setupalign[height] \setupinterlinespace[stretch=0.001] % vertical stretching seems to kick in for stretch !=0, no matter how small \setupdelimitedtext[blockquote] [style={\switchtobodyfont[x

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
gt;> > > >> > > >>> These quick font switches are meant for changing the font style, > > >>> alternative, or size of a few words: they do not change the > > >>> bodyfont, so they don't affect interline spacing or math font sizes. >

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
, > >>> alternative, or size of a few words: they do not change the > >>> bodyfont, so they don't affect interline spacing or math font sizes. > >>> So, if you want to change the font size of an entire paragraph, use > >>> > \switchtobodyfont<https:/

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Wolfgang Schuster
: These quick font switches are meant for changing the font style, alternative, or size of a few words: they do not change the bodyfont, so they don't affect interline spacing or math font sizes. So, if you want to change the font size of an entire paragraph, use \switcht

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
gt; to change the font size of an entire paragraph, use \switchtobodyfont >> <https://wiki.contextgarden.net/Command/switchtobodyfont> described >> below in Complete Font Change >> <https://wiki.contextgarden.net/Font_Switching#Complete_font_change>. >> However, i

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Aditya Mahajan
> > > These quick font switches are meant for changing the font style, > > alternative, or size of a few words: they do not change the bodyfont, so > > they don't affect interline spacing or math font sizes. So, if you want to > > change the font size of an entire

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
f you want to change the font size > of an entire paragraph, use > \switchtobodyfont<https://wiki.contextgarden.net/Command/switchtobodyfont> > described below in Complete Font > Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_change>. > However,

[NTG-context] setupalign[height] vs setupalign[line] in MKIV

2021-04-23 Thread denis.maier
no effect at all under LMTX. Best, Denis \setuppapersize[A5][A5] \showframe \setupdelimitedtext[blockquote] [before={\switchtobodyfont[small]}, spacebefore={mediu

[NTG-context] Style options and setupinterlinespace

2021-04-22 Thread denis.maier
o, if you want to change the font size > of an entire paragraph, use > \switchtobodyfont<https://wiki.contextgarden.net/Command/switchtobodyfont> > described below in Complete Font > Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_change>. >

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part of

Re: [NTG-context] \frac error

2021-04-19 Thread Hans Hagen
On 4/19/2021 9:39 AM, thierry horsin wrote: For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks

Re: [NTG-context] \frac error

2021-04-19 Thread thierry horsin
For instance: \switchtobodyfont[21pt] \startformula \frac{MTC}{MTE} \stopformula is OK. While \switchtobodyfont[22pt] \startformula \frac{MTC}{MTE} \stopformula gives an error but \switchtobodyfont[22pt] $\frac{MTC}{MTE}$ works fine. Thanks Below: part of the error message tex error

[NTG-context] Macro to write a letter with \ mathscript{}

2021-04-17 Thread Fabrice Couvreur
] [text=Définition, number=no, headcommand=\groupedcommand{}{}, style=slanted] \setupmathematics[stylealternative=calligraphic] \unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo]\m{{\mathscript{#1}}_{#2}}\stop} \unexpanded\def\cscript#1{\start\switchtobodyfont[stixtwo]\m

[NTG-context] Arabic place names

2021-04-09 Thread jbf
Wessam A.ttf My humble attempt: I did the following in my preamble: \definefallbackfamily [mainface] [sans] [aarslanwessama] [range=arabic] The rest of the [mainface] setups are obviously western fonts. But the fallbackfamily approach did nothing to help. I also tried: Khàbab {\switchtobodyfont

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread Hans Hagen
eature[default][default][dlig=yes,liga=yes,moreligatures=yes] \definefontfamily[times][rm][Times New Roman] \definefontfamily[termes[rm][TeX Gyre Termes] \definefontfeature[default:block][default][blockligatures=yes] \starttext {\switchtobodyfont[times] \definedfont[Serif*default]begriffl

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread denis.maier
ult][dlig=yes,liga=yes,moreligatures=yes] > \definefontfamily[times][rm][Times New Roman] > \definefontfamily[termes[rm][TeX Gyre Termes] > > \definefontfeature[default:block][default][blockligatures=yes] > > \starttext > > {\switchtobodyfont[times] \def

Re: [NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread Hans Hagen
['fl'] = { "f", "l" }, } } \stopluacode \blockligatures[begrif:fl:ich] \definefontfeature[default][default][dlig=yes,liga=yes,moreligatures=yes] \definefontfamily[times][rm][Times New Roman] \definefontfamily[termes[rm][TeX Gyre Termes] \definef

[NTG-context] Another bug with ligature-blocking?

2021-03-24 Thread denis.maier
=yes] \definefontfamily[times][rm][Times New Roman] \definefontfamily[termes[rm][TeX Gyre Termes] \starttext \switchtobodyfont[times] \definedfont[Serif*default] begrifflich \blank \definedfont[Serif*default:block] begrifflich \switchtobodyfont[termes] \definedfont[Serif*default] begrifflich

Re: [NTG-context] Keeping track of hyphenations

2021-03-20 Thread Hans Hagen
[hyphenation.applied.visualize] % \enabletrackers[hyphenation.applied.console] \startbuffer \samplefile{tufte} \blank {\hsize 4em \dorecurse{4}{x\discretionary{aa}{bb}{cc}x #1 }} \blank \stopbuffer \starttext \switchtobodyfont[modern] \getbuffer \switchtobodyfont[pagella

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
dfont[name:linlibertineo*default at 12 pt] > > ff fl > > \switchtobodyfont[pagella] > > ff fl > > \stoptext > > The ff and fl ligatures work out of the box with Linux Libertine O, and > with TeX Gyre Pagella, but not with Times New Roman. I can use the > ligatur

Re: [NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread Hans Hagen
\switchtobodyfont[pagella] ff fl \stoptext The ff and fl ligatures work out of the box with Linux Libertine O, and with TeX Gyre Pagella, but not with Times New Roman. I can use the ligatures in MS Word so the font has them, but I don’t see why they shouldn’t work with ConTeXt (LMTX). the

[NTG-context] Ligatures missing with Times New Roman

2021-03-18 Thread denis.maier
Hi I'm have to use Times New Roman for a text, and I'm finding that ligatures don't seem to work properly. \starttext \definedfont[name:timesnewromanpsmt*default at 12 pt] ff fl \definedfont[name:linlibertineo*default at 12 pt] ff fl \switchtobodyfont[pagella] ff fl \stoptext

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
simplefonts module deprecated or discouraged now? > > > > Hi Mohammad, > > > > the simplefonts module has been deprecated, since it has been > > implemented in the ConTeXt core (see below). > > > > \definefontfallback might be the command you

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Wolfgang Schuster
er to create a new typeface (fontfamily) and load it with \switchtobodyfont. \definefontfallback [AnotherFontFallback] [file:texgyreherosregular*default] [lowercasenormal] [force=yes] \definefontsynonym [AnotherFontMain] [file:texgyrepagellaregular] [fallbacks=AnotherFontFal

[NTG-context] small lmtx update

2021-02-02 Thread Hans Hagen
\stopbuffer \starttext \startTEXpage[offset=2pt,strut=no] \getbuffer \switchtobodyfont[pagella] \getbuffer \switchtobodyfont[dejavu] \getbuffer \stopTEXpage \stoptext This is dedicated to Jano who wants to be able to search and these are proper glyphs (so

[NTG-context] Size problems in fencing

2021-01-08 Thread Mikael Sundqvist
t[size=3]{a} \stopformula \switchtobodyfont[lucidaot] If we switch to lucida, the \type{size=1} and \type{size=2} are the same: \startformula \Set[size=0]{a}\quad \Set[size=1]{a}\quad \Set[size=2]{a}\quad \Set[size=3]{a}

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