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
nts.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-jun:

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

2022-01-07 Thread Youssef Cherem via ntg-context
directives[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-jun: \Uchar61125 \char64259 \utfchar{&qu

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

2022-01-07 Thread J .  P . Ascher via ntg-context
61125 \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. Ascher Preceding: https://doi.org/10.18130/jq

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

2022-01-02 Thread Alfredo Catalina via ntg-context
> 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]}] > > \startuseMPgraphic{mapa} &

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

2022-01-02 Thread Hans Hagen via ntg-context
: \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 (0u,-5u)

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

2022-01-02 Thread Alfredo Catalina via ntg-context
= 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={\switchtobodyfont

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.} \stoptext

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

2021-12-20 Thread Hans Hagen via ntg-context
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 font definition Hans

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

2021-12-20 Thread mf via ntg-context
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 / http

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

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
{pgfcircmultipoles.tex} >> >> \tikzinputfile{pgfcirclabel.tex} >> \tikzinputfile{pgfcircvoltage.tex} >> \tikzinputfile{pgfcirccurrent.tex} >> \tikzinputfile{pgfcircflow.tex} >> >> % defaults >> >> \setupmodule >&g

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

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

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
\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/op amp/font/.ini

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

2021-12-07 Thread Jairo A. del Rio via ntg-context
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 > > > $\alp

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): > > \setupbodyfont[moder

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 old bachotex

[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 well, please

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

2021-12-06 Thread Hans Hagen via ntg-context
it@mos@arrowstrue, false=>\pgf@circuit@mos@arrowsfalse] \protect \ctikzset{tripoles/op amp/font/.initial=\switchtobodyfont[small]} \aliased\let\stopcircuitikz\relax \permanent\protected\def\startcircuitikz#1\stopcir

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

2021-12-03 Thread Hans Hagen via ntg-context
ircuit@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-tikz, %Dversio

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

2021-11-29 Thread Jack Hill via ntg-context
\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}} \NR \NC TeX Gyre Schola\NC \switchtobodyf

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 TeX Gyre Schola\NC

Re: [NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
ly 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] >

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

2021-11-26 Thread Mikael Sundqvist via ntg-context
h][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[|c|c|] > > > \FL >

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 \NC \switchtobodyfont[

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 \switchtobodyfont[bon] \m

[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[sch] \m{x'} \NR \NC

Re: [NTG-context] font problems

2021-11-26 Thread Hans Hagen via ntg-context
] { \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. } \blank[2*big]Note

[NTG-context] font problems

2021-11-26 Thread jdh via ntg-context
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 5mm Chancery

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

2021-11-07 Thread Wolfgang Schuster via ntg-context
family [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 \stopformula \switchtobodyfont[ma

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] 123abc

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 \par

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

2021-10-22 Thread a badin via ntg-context
text@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[anty

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

2021-10-22 Thread Hans Hagen via ntg-context
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 \switchtobo

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

2021-10-21 Thread Luis Montgomery via ntg-context
t; 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 > \switchtobodyf

[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't kick in as we're

[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, they look like

[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

[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
nt [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 header

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

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

[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
=MyColorA, foregroundstyle={\switchtobodyfont[11pt]}, align={left, broad}, frame=off, width=\textwidth, ] \setuplabeltext [en] [chapter=CHAPITRE] \setuppagenumbering [alternative=doublesided,location=] \unexpanded\def\HeadTitle#1

Re: [NTG-context] Header for a book

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

[NTG-context] Header for a book

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

Re: [NTG-context] [#1] CJK regression? | lmtx-20210613 .

2021-06-15 Thread Wolfgang Schuster
]{{\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 for japanese

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
y 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] \startMPpage StartP

Re: [NTG-context] metafun transformation error

2021-06-04 Thread Hans Hagen
\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) ), ((2 * 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 x

[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
in for 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
>> > > >>> 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

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://wiki.contextgarden.

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 \switchtobodyfont<ht

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread Pablo Rodriguez
o 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, it

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 paragraph, use

Re: [NTG-context] Style options and setupinterlinespace

2021-04-26 Thread denis.maier
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, it is fine to u

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

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

[NTG-context] Style options and setupinterlinespace

2021-04-22 Thread denis.maier
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>. > Howe

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

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
s=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]begrifflich ff fi fl\blank \defined

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

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

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

2021-03-24 Thread Hans Hagen
;, "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] \definefontfeature[default:block][default][block

[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
[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 > ligatures in

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

[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 The ff and fl

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
to create a new typeface (fontfamily) and load it with \switchtobodyfont. \definefontfallback [AnotherFontFallback] [file:texgyreherosregular*default] [lowercasenormal] [force=yes] \definefontsynonym [AnotherFontMain] [file:texgyrepagellaregular] [fallbacks=AnotherFontFallback

[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
e=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} \sto

[NTG-context] \startblockquote…\stopblockquote issue

2020-12-31 Thread Alan Bowen
={\blank[small,fixed] \setupnarrower[left=1.5pc,right=0pc] \startnarrower[left,right] \noindentation\switchtobodyfont[9pt]}, after={\par\stopnarrower \blank[small,fixed] \noindentation},] \starttext \input ward \startblockquote \input ward \stopblockquote \stoptext I am attempting to get

[NTG-context] Metafun: dotlabel issue in latest LMTX

2020-12-27 Thread Otared Kavian
; \stopMPdefinitions \starttext \startMPcode newpath p ; p := (2cm, 3cm) -- (3cm, 5cm); mydotlabeldiam := 15pt; mydotlabelshape := fullsquare ; draw p ; mydotlabel(textext("\switchtobodyfont[8pt]" & "A"), point 0 of p) withcolor transparent("exclusion&

Re: [NTG-context] LMTX MetaFun SVG trouble, a portion of the SVG is cut of in the PDF

2020-12-17 Thread Neven Sajko
re and include a link. This is a combined TeX file containing two different ways I took to try to accomplish the same thing: \starttext {\switchtobodyfont[2pt] {\framed[offset=overlay]{\includesvgfile[../hammingCoderStopwatch-hammingCoder-gcc-RowsSparse-1023-1013.svg][offset

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Hans Hagen
to be a square: \starttext \startMPcode draw (2cm,3cm) -- (3cm,5cm) ; dotlabel(textext("\switchtobodyfont[8pt]" & "A"), (2cm,3cm)) withpen pencircle scaled 12pt withcolor transparent("exclusion",.5,red) ; dotlabel(textext("\switchtobodyfont[8

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
I woul dlike to have some dots >> represented by a square (or even by another scalable symbol): for instance >> in the following I would like the dot at the point B to be a square: >> >> \starttext >> \startMPcode >> draw (2cm,3cm) -- (3cm,5cm) ; >> dotla

Re: [NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Aditya Mahajan
> > \starttext > \startMPcode > draw (2cm,3cm) -- (3cm,5cm) ; > dotlabel(textext("\switchtobodyfont[8pt]" & "A"), (2cm,3cm)) > withpen pencircle scaled 12pt > withcolor transparent("exclusion",.5,red) ; > > dotlabel(textext("

[NTG-context] Metafun: is it possible to redefine dotlabel to draw a square ?

2020-12-10 Thread Otared Kavian
("\switchtobodyfont[8pt]" & "A"), (2cm,3cm)) withpen pencircle scaled 12pt withcolor transparent("exclusion",.5,red) ; dotlabel(textext("\switchtobodyfont[8pt]" & "B"), (3cm,5cm)) withpen pencircle scaled 12pt

Re: [NTG-context] Confusion with fonts

2020-12-06 Thread Pablo Rodriguez
irst option is the identifier, you may use whichever you want, but the same should be used defining the same typeface family (fallback typefaces) and in \setupbodyfont (\switchtobodyfont is irrelevant for pandoc, as far as I know). The second option is the typeface class of the family: serif, sans-s

Re: [NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Sylvain Hubert
sans] > \setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold] > \setupxtable[body][bottomframe=on] > \setupxtable[foot][bottomframe=on] > > \define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop} > > \define[1]\fuente{\start\switchtobodyfont[sans,sm

[NTG-context] How can I make the notes under this table inherit the width of the table, and not the \textwidth?

2020-11-10 Thread Andres Conrado Montoya
,foregroundstyle=sans] \setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold] \setupxtable[body][bottomframe=on] \setupxtable[foot][bottomframe=on] \define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop} \define[1]\fuente{\start\switchtobodyfont[sans,small]\emph{Fuente:}~#1

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
relation/difference among > > \{setup,switchto,use}bodyfont? > > There seems to be not much documentation on this. Can one conclude, from > > the wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and > > the source code > > < > https://source

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Hans Hagen
t Thank you for the information, Hans! Could you please also shed some light on the relation/difference among \{setup,switchto,use}bodyfont? There seems to be not much documentation on this. Can one conclude, from the wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Sylvain Hubert
please also shed some light on the relation/difference among \{setup,switchto,use}bodyfont? There seems to be not much documentation on this. Can one conclude, from the wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and the source code <https://source.contextgarden.net/tex/c

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Hans Hagen
> difference: > >     \definefontfamily[face][rm][dejavuserif] >     \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this should warn: > >     fonts           > checking > char ɑ (U+00251) in font > 'LatinModernMath-Regular-

Re: [NTG-context] \switchtobodyfont behaves differenctly with splitted parameters

2020-11-08 Thread Wolfgang Schuster
> difference: > >     \definefontfamily[face][rm][dejavuserif] >     \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this should warn: > >     fonts           > checking > char ɑ (U+00251) in font > 'LatinModer

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