[NTG-context] Re: what am I missing in the typescript?

2024-05-15 Thread Wolfgang Schuster
? (just trying to learn) Below is a snippet from font-unk.mkxl where you can see which names are mapped to a certain font alternative, e.g. \tf (the normal upright style) expect a fontsynonym with the name Serif. \definebodyfont [default] [rm]   [\s!tf=Serif    sa 1,    \s!bf

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Marco Patzer
to put it all together, this now works for me: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \starttypescript [math] [default] [size] \definebodyfont [8.5pt] [mm] [default] \stoptypescript \definetypeface [mainface] [mm] [math] [p

[NTG-context] Re: Bold TeX Gyre Pagella Math results in Math error: parameter 'subshiftdown' with id 48 in style 2 is not set

2023-12-01 Thread Wolfgang Schuster
[mainface, 8.5pt] \starttext \bold{\math{x_y}} \stoptext You get the same error with Latin Modern as soon as you use a non predefined font size in combination with bold math. begin example % \starttypescript [math] [default] [size] %   \definebodyfont [8.5pt] [mm] [default

Re: [NTG-context] Non-standard font alternatives

2022-12-14 Thread Wolfgang Schuster via ntg-context
is my code: [...] \starttypescript [sans] [roboto]   \definebodyfont [default] [rm] Replace [rm] with [ss]: \definebodyfont [default] [ss]      [lf=SansLight sa 1,       li=SansLightItalic sa 1,       tf=Sans sa 1,       it=SansItalic sa 1,       md=SansMedium sa 1,       mi

[NTG-context] Non-standard font alternatives

2022-12-13 Thread Matthew McCabe via ntg-context
] [features=smallcaps] \stoptypescript \starttypescript [sans] [roboto] \definebodyfont [default] [rm] [lf=SansLight sa 1, li=SansLightItalic sa 1, tf=Sans sa 1, it=SansItalic sa 1, md=SansMedium sa 1, mi=SansMediumItalic sa 1, bf=SansBold sa 1, bi

Re: [NTG-context] Setting the size of \small

2022-10-21 Thread Pablo Rodriguez via ntg-context
arttext > normal {\tx tx} {\small small} > \stoptext > > With \definebodyfontenvironment[12pt][x=6pt] I can resize \tx fine, > but for \small it doesn't work. Hi Leah, I don’t know whether it may be a bug, but this works: \definebodyfont[12pt] \definebodyfontenvironment[12pt][smal

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
ing Hraban Ramm via ntg-context > mailto:ntg-context@ntg.nl> <mailto:ntg-context@ntg.nl <mailto:ntg-context@ntg.nl>>> wrote: > >     Hi Stefan, > >     I never used \definebodyfont but

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
ge.com/questions/303648/context-font-weights >> > <https://tex.stackexchange.com/questions/303648/context-font-weights> >> > >> > On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context >> > mailto:ntg-context@ntg.nl>> wrote: >

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
ange.com/questions/303648/context-font-weights> > > > > On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context > > mailto:ntg-context@ntg.nl>> wrote: > > > > Hi Stefan, > > > > I never used \definebodyfont but either \definefon

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
ilto:ntg-context@ntg.nl>> wrote: Hi Stefan, I never used \definebodyfont but either \definefontfamily or typescripts with \definefontsynonym. Did you try \definefontfamily[custodia][rm][Custodia] ? https://wiki.contextgarden.net/Command/definefontfamily <https

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
t; I never used \definebodyfont but either \definefontfamily or typescripts > with \definefontsynonym. > > Did you try \definefontfamily[custodia][rm][Custodia] ? > > https://wiki.contextgarden.net/Command/definefontfamily > > Hraban > > Am 25.05.22 um 18:20 schrieb Stefan

Re: [NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Henning Hraban Ramm via ntg-context
Hi Stefan, I never used \definebodyfont but either \definefontfamily or typescripts with \definefontsynonym. Did you try \definefontfamily[custodia][rm][Custodia] ? https://wiki.contextgarden.net/Command/definefontfamily Hraban Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg

[NTG-context] Help needed with Custodia typescript

2022-05-25 Thread Stefan Nedeljkovic via ntg-context
] \definebodyfont [default] [rm] [ tf=Serif sa 1, it=SerifItalic sa 1, md=SerifMedium sa 1, mi=SerifMediumItalic sa 1, bf=SerifBold sa 1, bi=SerifBoldItalic sa 1] \stoptypescript \definetypeface [custodia] [rm] [serif] [custodia] [default] \usetypescript[custodia][uc] \setupbodyfont[custodia,rm

Re: [NTG-context] typescripts and variants

2021-06-24 Thread BPJ
Condensed, each with 18 styles!) > > You can add more alternatives (\it, \bf ...) to the font mechanism but > this requires additional settings (\definebodyfont ...) to get it > working. A limiting factor is that you have to stick to two-letter names > for each alternative If you don't

Re: [NTG-context] typescripts and variants

2021-06-23 Thread Wolfgang Schuster
settings (\definebodyfont ...) to get it working. A limiting factor is that you have to stick to two-letter names for each alternative and the easier solution is to create additional typefaces. Wolfgang ___ If your

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

2021-04-18 Thread Fabrice Couvreur
more information or a better example there is nothing which can be > done. > > It's possible you have multiple definitions for the command in your style > file, > you can also try if adding \usebodyfont[stixtwo] (or > \definebodyfont[...pt] when > you use

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

2021-04-17 Thread Wolfgang Schuster
code yes.Thank you for your possible help. Without more information or a better example there is nothing which can be done. It's possible you have multiple definitions for the command in your style file, you can also try if adding \usebodyfont[stixtwo] (or \definebodyfont[...pt] when you use

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

2020-11-08 Thread Wolfgang Schuster
your example, the problem reappears:     \definefontfamily[face][rm][dejavuserif] Add here: \definebodyfont[24pt] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillis

[NTG-context] \goto works but links don't when passed via textext() in METAPOST

2020-05-10 Thread Gerben Wierda
this when the text is passed to METAPOST: cld > tex > f : 8 : picture pic; x:=1233.000; y:=913.000; w:=180.000; h:=407.000;pic := Label( w, h, (1.000,1.000,0.784), 1.0, 1.000, (0.000,0.000,0.000), 1.000, "dashed evenly", 1.000, (0.000,0.000,0.000), 1.000, "",

Re: [NTG-context] lmt_followtext crashes while standard followtext itself works

2020-05-04 Thread Hans Hagen
On 5/3/2020 11:47 PM, Gerben Wierda wrote: The following example has been extracted from my automatically generated MP code. \starttext \startMPpage string texstring; texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont [9.0pt][rm][default=Regular at 9.0pt]\switchtobod

[NTG-context] lmt_followtext crashes while standard followtext itself works

2020-05-03 Thread Gerben Wierda
The following example has been extracted from my automatically generated MP code. \starttext \startMPpage string texstring; texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont [9.0pt][rm][default=Regular at 9.0pt]\switchtobodyfont [9.0pt]\setupinterlinespace [9.9pt]\t

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-02 Thread Hans Hagen
] \stoptypescript \definetypeface [optima] [ss] [sans] [optima] [default] \definetypeface [optima] [rm] [sans] [optima] [default] \definetypeface [optima] [tt] [mono] [dejavu] \setupbodyfont [optima] \starttext \startMPpage[instance=doublefun]   picture pic; pic := textext("\definebodyfont[14.9p

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
> use pagella math with optima, not modern > Zo? \definetypeface [optima] [mm] [math] [pagella] [default] Ik gok, want documentatie die dat helder maakt heb ik niet. Er is geen uitleg in de manuals die bij de standalone context komen en op ContextGarden vond ik vooral mkii zaken die niet meer

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Hans Hagen
On 5/1/2020 11:33 PM, Gerben Wierda wrote: use pagella math with optima, not modern Zo? \definetypeface [optima] [mm] [math] [pagella] [default] Ik gok, want documentatie die dat helder maakt heb ik niet. Er is geen uitleg in de manuals die bij de standalone context komen en op

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
On 1 May 2020, at 16:02, Wolfgang Schuster wrote: > > Gerben Wierda schrieb am 01.05.2020 um 13:58: >> \definetypeface [optima] [ss] [sans] [optima] [default] >> \definetypeface [optima] [rm] [serif] [optima] [default] >> \definetypeface [optima] [tt] [mono] [modern] [default] >>

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
Gerben Wierda schrieb am 01.05.2020 um 18:19: On 1 May 2020, at 16:02, Wolfgang Schuster > wrote: Gerben Wierda schrieb am 01.05.2020 um 13:58: \definetypeface [optima] [ss] [sans] [optima] [default] \definetypeface [optima] [rm] [serif] [optima]

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Hans Hagen
On 5/1/2020 6:19 PM, Gerben Wierda wrote: mm should be modern anyway, I think (not that I need it, I only want the ss form anyway). use pagella math with optima, not modern - Hans Hagen |

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
d problems. > >> \setupbodyfont [optima] >> \starttext >> \startMPpage[instance=doublefun] >> picture pic; >> pic := textext("\definebodyfont[14.9pt][rm][default=Regular at >> 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=c

[NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Gerben Wierda
] [default] \setupbodyfont [optima] \starttext \startMPpage[instance=doublefun] picture pic; pic := textext("\definebodyfont[14.9pt][rm][default=Regular at 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.00

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
Gerben Wierda schrieb am 01.05.2020 um 13:58: \definetypeface [optima] [ss] [sans] [optima] [default] \definetypeface [optima] [rm] [serif] [optima] [default] \definetypeface [optima] [tt] [mono] [modern] [default] \definetypeface [optima] [mm] [math] [optima] [default] \setupbodyfont [optima]

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Hans Hagen
On 5/1/2020 1:58 PM, Gerben Wierda wrote: But my guess is that if I had used ss instead of rm everywhere in my code it would have worked as well. or define the ss first and don't use \rm (first defined is default) -

Re: [NTG-context] module article-basic interferes with \definebodyfont?

2020-05-01 Thread Wolfgang Schuster
] \stoptypescript \definetypeface [optima] [ss] [sans] [optima] [default] Set a math font to avoid problems. \setupbodyfont [optima] \starttext \startMPpage[instance=doublefun]   picture pic; pic := textext("\definebodyfont[14.9pt][rm][default=Regular at 14.9pt]\switchtobodyfont[1

Re: [NTG-context] Mkiv, fonts in text and math mode, with \definebodyfont

2019-10-01 Thread Hans Hagen
upbodyfont[12pt] \definebodyfont[12pt][rm][tf=rsfs10 sa *] \starttext \tf ABCD \tfa ABCD \stoptext The \tfa ABCD is displayed as rsfs as I wanted, but the \tf ABCD is displayed as default fonts. Why ? What could I change in order to have \tf ABCD in rsfs ? In math mode, I am not able to have

[NTG-context] Mkiv, fonts in text and math mode, with \definebodyfont

2019-09-30 Thread Stefano Sanguinetti
Hello, I am trying to understand something more about fonts in text and math mode, in Mkiv Context. I would like to be able to change things at the "define body fonts" level. I tried the following, in order to have rsfs fonts : \setupbodyfont[12pt] \definebodyfont[12pt][rm][tf

Re: [NTG-context] underscore hyphenation in LMTX

2019-04-29 Thread Hans Hagen
phenation[method=traditional] \sethyphenationfeatures[strict, whatever] \setuppapersize[A10, lanscape] \starttext \startmakeup[standard] \hsize\zeropoint \tt definebodyfont \stopmakeup \stoptext I get the underscore hyphenation with latest ConTeXt beta (LuaTeX

[NTG-context] underscore hyphenation in LMTX

2019-04-27 Thread Pablo Rodriguez
setuppapersize[A10, lanscape] \starttext \startmakeup[standard] \hsize\zeropoint \tt definebodyfont \stopmakeup \stoptext I get the underscore hyphenation with latest ConTeXt beta (LuaTeX-1.10), but not with latest LMTX (LuaTeX-2.0). Am I missin

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
for consistency each bodyfont size should have 'x' and 'xx' sizes matching those from ConTeXt, and these vary with bodyfont size. That means looking them up in 'font-pre.mkiv', a little math, and remembering to do it every time you switch sizes. And that's ignoring the fact that '\definebodyfont' c

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
s on the 'x' and 'xx' values of the specific % body font environment nearest in size to the current body font, though the % font itself (via definebodyfont) may override those values. \define[2]\tosize{% % Use a scratch box to prevent any typesetting. Otherwise changes to the % font si

Re: [NTG-context] Scaling down symbols and emojis

2019-01-18 Thread User 19087
ent or default body font, via \definebodyfont, overrides the 'x' >> and 'xx' sizes. In either case it would be more flexible to query the >> current values of 'x' and 'xx' rather than hardcoding the values of >> 'n' and 'm'. On Fri, Jan 18, 2019 at 6:47 AM Wolfgang Schuster wr

Re: [NTG-context] Scaling down symbols and emojis

2019-01-16 Thread User 19087
> xx = 0.6 Or I use {\switchtobodyfont[...]\symbol[ShortForty]} in the document. At that point the body font may have been switched to a size whose environment defines different values for 'x' and 'xx'. Or perhaps the current or default body font, via \definebodyfont, overrides the 'x' and 'xx' si

Re: [NTG-context] Hieroglyphic font query

2017-04-02 Thread Alan Bowen
t; { > ㇼ㋹ > } > > and that is all. > > \stoptext > > There is a problem when you change the font size to a value which isn’t > pre defined > (e.g. 14pt causes problems while 14.4pt works) and you have to add > \definebodyfont[...] > (e.g. \definebodyfont[14pt]) t

Re: [NTG-context] Hieroglyphic font query

2017-04-02 Thread Wolfgang Schuster
nge the font size to a value which isn’t pre defined (e.g. 14pt causes problems while 14.4pt works) and you have to add \definebodyfont[...] (e.g. \definebodyfont[14pt]) to your document. %\starttypescript[sans][newgardiner] %\setups[font:fallback:sans] %\definefontsynonym[Sans][file:ne

Re: [NTG-context] How to define a new font style using \definefontstyle?

2017-01-31 Thread Antoine Cailliau
missing? >> (https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html >> <https://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html>) >> >> Here is a minimal example: >> >> \definefontstyle [sx] [sx] >> \definetypeface [so

Re: [NTG-context] How to define a new font style using \definefontstyle?

2017-01-30 Thread Hans Hagen
a minimal example: \definefontstyle [sx] [sx] \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] \starttypescript [semiextended] [optical] [size] \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] \stoptypescript \starttypescript [semiextended] [myriadpro]

Re: [NTG-context] How to define a new font style using \definefontstyle?

2017-01-30 Thread Antoine Cailliau
> > Here is a minimal example: > > \definefontstyle [sx] [sx] > \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] > > \starttypescript [semiextended] [optical] [size] > \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] > \stoptypescript > > \

[NTG-context] How to define a new font style using \definefontstyle?

2017-01-23 Thread Antoine Cailliau
://mailman.ntg.nl/pipermail/ntg-context/2009/043067.html) Here is a minimal example: \definefontstyle [sx] [sx] \definetypeface [source] [sx] [semiextended] [myriadpro] [optical] \starttypescript [semiextended] [optical] [size] \definebodyfont [11pt] [sx] [tf=SansSemiExtended sa 1] \stoptypescript

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
On 10/16/2016 08:16 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 16. Oktober 2016 um 20:07 >> [...] >> Neither does it work now. > > Use \definebodyfontenvironment[17pt]. Many thanks for your fast reply, Wolfgang. It works as expected. Pablo -- http://www.ousia.tk

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 16. Oktober 2016 um 20:07 Wolfgang, I did it before sending the message and it didn’t work. \startbuffer[buffer:inside] \definebodyfont[17pt] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface, 17pt] \starttext \input zapf \st

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
On 10/16/2016 07:59 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez 16. Oktober 2016 um 19:56 >> [...] >> As suggested by Wolfgang, \definebodyfont should work. It worked then >> (https://mailman.ntg.nl/pipermail/ntg-context/2016/085260.html), but it >> does

Re: [NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 16. Oktober 2016 um 19:56 Dear list, I have the following sample: \definebodyfont[17pt] \startbuffer[buffer:inside] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface, 17pt] \starttext \input zapf \stoptext \stopbuffer \sta

[NTG-context] \definebodyfont not working for \typesetbuffer

2016-10-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \definebodyfont[17pt] \startbuffer[buffer:inside] \definefontfamily[mainface][rm][TeX Gyre Pagella] \setupbodyfont[mainface, 17pt] \starttext \input zapf \stoptext \stopbuffer \starttext

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-10 Thread Jose Luis Arellano
Dear Wolfgang. There is way to instruct to (\definefallbackfamily) to use shapes defined in typescript (eg: mi,mb)? \starttypescript [serif] [Minion Pro] \definebodyfont [default] [rm] [tf=name:minionproregular sa 1, it=name:minionproit sa 1, mb=name:minionpromedium sa 1, mi

Re: [NTG-context] Bold italic font in Math (\definefallbackfamily)

2016-09-09 Thread Jose Luis Arellano
Hello again. After some research, i found what (I think is a bug) in \definefallbackfamily. Check the following code: \starttypescript [serif] [Minion] \definebodyfont [default] [rm] [tf=name:minionproregular sa 1, it=name:minionproit sa 1, mb=name:minionpromedium sa 1, mi=name:minionpromediumit

Re: [NTG-context] basic fontsizes question

2016-06-08 Thread Thomas Fehige
Am 06.06.2016 um 22:48 schrieb Wolfgang Schuster: Hi Thomas, [Thanks for the hint re starting a new thread, I didn't know that, sorry.] Thomas Fehige <mailto:tho...@fehige.de> 6. Juni 2016 um 16:05 In the fonts book I found the \definebodyfont command, but it does not to do what I ex

[NTG-context] basic fontsizes question

2016-06-07 Thread Thomas Fehige
In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses t

Re: [NTG-context] basic fontsizes question

2016-06-06 Thread Wolfgang Schuster
Hi Thomas, please the following article when you have your next question: http://www.shlomifish.org/philosophy/computers/netiquette/email/start-new-thread.html Thomas Fehige <mailto:tho...@fehige.de> 6. Juni 2016 um 16:05 In the fonts book I found the \definebodyfont command, but i

Re: [NTG-context] basic fontsizes question

2016-06-06 Thread Thomas Fehige
edit: Sorry, I meant the command \definebodyfontenvironment, of course, like in the code sample. Am 06.06.2016 um 16:05 schrieb Thomas Fehige: In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font

[NTG-context] basic fontsizes question

2016-06-06 Thread Thomas Fehige
In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses t

Re: [NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
I found how to make it work with \switchtobodyfont, I was missing \definebodyfontenvironment for the sizes. And I had (obviously) to update the \definebodyfont with the correct sizes. But still, \tfxx and so do not switch to correct font. Thanks, Antoine On 9 May 2016 at 11:23, Antoine

[NTG-context] Handling Optical Sizes for Minion Pro in Context (LuaTeX)

2016-05-09 Thread Antoine Cailliau
] [optical] [size] % design size 8 pt, size range (6 pt, 8.4 pt] \definebodyfont [4pt,5pt,6pt,7pt,8pt] [rm] [tf=SerifCaption sa 1, it=SerifCaptionItalic sa 1, me=SerifCaptionMedium sa 1, mi=SerifCaptionMediumItalic sa 1, se

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
inefontalternative[me] > \definefontalternative[meit] > \definefontalternative[se] > \definefontalternative[seit] > > You can also only two letter names for the alternatives because the > \definebodyfont command interprets everything after tw

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Wolfgang Schuster
you have an idea of what I'm doing wrong? \definefontalternative[me] \definefontalternative[meit] \definefontalternative[se] \definefontalternative[seit] You can also only two letter names for the alternatives because the \definebodyfont command interprets everything after two letter as size (e.

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
\definefontalternative[seit] > > \starttypescript [serif] [minionpro] > \definebodyfont [default] [rm] > [tf=Serif sa 1, > it=SerifItalic sa 1, > me=SerifMedium sa 1, > meit=SerifMediumItalic sa 1, > se=Se

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-04 Thread Antoine Cailliau
lternative[meit] \definefontalternative[se] \definefontalternative[seit] \starttypescript [serif] [minionpro] \definebodyfont [default] [rm] [tf=Serif sa 1, it=SerifItalic sa 1, me=SerifMedium sa 1, meit=SerifMediumItalic sa 1, se=Ser

Re: [NTG-context] Handling Semi-Bold for Minion Pro in Context (LuaTeX)

2016-05-03 Thread Wolfgang Schuster
option is to write your own typescript for the fonts. \definefontalternative[sb] \definefontalternative[si] \starttypescript [sans] [source-sans] \definebodyfont [default] [ss] [tf=Sans sa 1, it=SansItalic sa 1, sb=SansMedium sa 1, si=SansMediumItali

Re: [NTG-context] font size inside a \typesetbuffer

2016-04-25 Thread Pablo Rodriguez
On 04/25/2016 10:21 AM, Wolfgang Schuster wrote: >> Pablo Rodriguez 24. April 2016 um 12:23 >> [...] >> The issue I’m experiencing is that no mainface is selected if the font >> size is specified in \setupbodyfont. >> >> Am I missing something or have I hit a b

Re: [NTG-context] font size inside a \typesetbuffer

2016-04-25 Thread Wolfgang Schuster
m][TeX Gyre Pagella] \starttext \setupbodyfont[mainface, 17pt] \input zapf \stoptext There are two solutions for this: 1. Use 17.3pt as fontsize because this is one of the predefined sizes. 2. Add \definebodyfont[17pt] at the begin of your document (should normally done by context itself wh

[NTG-context] font scaling does not work in footnotes

2016-01-12 Thread massifr
o,fallbacks=mancanti] % ... \definefontsynonym [SansCaps] [name:AlegreyaSansSC-Medium][features=meo,smcp,fallbacks=mancanti] \definebodyfont [13pt,11pt,10pt,8pt,7pt,6pt] [ss] [tf=Sans sa 0.85, it=SansItalic sa 0.85, bf=SansBold sa 0.85, bi=SansBoldItalic sa 0.85, sl=SansSla

Re: [NTG-context] underscore hyphenation

2014-12-11 Thread Pablo Rodriguez
\TexC{definebodyfont} newlargewordwithnohyphen \stoptext -- http://www.ousia.tk ___ 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] two issues with new hyphenator

2014-12-10 Thread Pablo Rodriguez
[whatever]% % \prehyphencharFE000 \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext we can add some of them but first i need to think about what slots

[NTG-context] underscore hyphenation

2014-12-10 Thread Pablo Rodriguez
] \sethyphenationfeatures[strict] \unexpanded\def\TexC#1% {\dontleavehmode\begingroup \sethyphenationfeatures[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \hsize\zeropoint newlargewordwithhyphen \TexC{definebodyfont

Re: [NTG-context] underscore hyphenation

2014-12-10 Thread Hans Hagen
\TexC#1% {\dontleavehmode\begingroup \sethyphenationfeatures[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \hsize\zeropoint newlargewordwithhyphen \TexC{definebodyfont} newlargewordwithnohyphen

Re: [NTG-context] two issues with new hyphenator

2014-12-10 Thread Hans Hagen
\normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext we can add some of them but first i need to think about what slots to use (shouldn't conflict with other private slots

Re: [NTG-context] two issues with new hyphenator

2014-12-08 Thread Pablo Rodriguez
{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext -- http://www.ousia.tk ___ If your question is of interest to others as well

Re: [NTG-context] two issues with new hyphenator

2014-12-08 Thread Hans Hagen
] \unexpanded\def\TexC#1% {\dontleavehmode\begingroup \sethyphenationfeatures[whatever]% % \prehyphencharFE000 \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte

Re: [NTG-context] two issues with new hyphenator

2014-12-06 Thread Pablo Rodriguez
[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext i'll upload a beta (making one now) -- http://www.ousia.tk

Re: [NTG-context] two issues with new hyphenator

2014-12-06 Thread Hans Hagen
] \unexpanded\def\TexC#1% {\dontleavehmode\begingroup \sethyphenationfeatures[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext i'll upload a beta

Re: [NTG-context] two issues with new hyphenator

2014-12-05 Thread Pablo Rodriguez
} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext i'll upload a beta (making one now) -- http://www.ousia.tk ___ If your question is of interest to others

Re: [NTG-context] two issues with new hyphenator

2014-12-05 Thread Hans Hagen
\sethyphenationfeatures[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext i'll upload a beta (making one now

Re: [NTG-context] two issues with new hyphenator

2014-12-04 Thread Hans Hagen
\sethyphenationfeatures[whatever]% \normalexpanded{\TeXcode{\letterbackslash#1}}% \endgroup} \starttext \input tufte \dorecurse{100}{\TexC{definebodyfont} } \input tufte \stoptext i'll upload a beta (making one now) Many thanks for your help again, Pablo \startluacode

[NTG-context] Date format problems

2014-07-29 Thread A.J. Bonnema
): \setuppapersize[A4] 2 \setuplayout[style=\ss] 3 %\setupfooter[style=] 4 \setuplanguage[nl][date={dd, -, mm, -, year}] 5 6 \setupheadertexts[CV Guus Bonnema] 7 \setupfootertexts[\currentdate][pagenumber] 8 9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt] 10 Line 4 is the relevant

Re: [NTG-context] Date format problems

2014-07-29 Thread Herbert Voss
%\definebodyfont[10pt][ss][tfe=lbr at 105pt] 10 Line 4 is the relevant line here. What I expect to see in the footer is a date like either 29-07-2014 or 29 july 2014, but what I get is July 29, 2014. Also the log seems to indicate language en. What can I do to get the dutch date format

Re: [NTG-context] wiki page for \feature

2013-03-22 Thread Sietse Brouwer
] \stoptypescript \starttypescript [serif] [schola-preset] [size] \definebodyfont [35.8pt,29.8pt,24.8pt,20.7pt,17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt] [rm] [tf=Serif sa 1] \stoptypescript \starttypescript [schola-default] \definebodyfontenvironment [schola-default

[NTG-context] wiki page for \feature

2013-03-21 Thread Idris Samawi Hamid ادريس سماوي حامد
,language=dflt,kern=yes,liga=yes,lnum=yes] \starttypescript [serif] [schola-preset] [name] \definefontsynonym [Serif] [name:texgyreschola-regular.otf][features=schola-preset] \stoptypescript \starttypescript [serif] [schola-preset] [size] \definebodyfont [35.8pt,29.8pt,24.8pt,20.7pt

[NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
Hello, I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000] should do it. Though the above code doesn't throw any errors

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Marco Patzer
On 2013–02–07 Devendra Ghate wrote: I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH=cmr12 scaled 7000] should do it. Though

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Devendra Ghate
On 02/07/2013 03:21 PM, Marco Patzer wrote: On 2013--02--07 Devendra Ghate wrote: I want to use truly huge (40pt) fonts for chapter numbers. In my latex code, I used \newfont{\chapterNumber}{pplr9d scaled 7000} From the context manual, I thought that \definebodyfont [11pt] [rm] [ tfH

Re: [NTG-context] How to scale fonts?

2013-02-07 Thread Marco Patzer
On 2013–02–07 Devendra Ghate wrote: \definebodyfont [default] [tfH= cmr12 scaled 7000] still does not work and also wipes out definitions for \tfa \tfx etc. So {\tfa 1}{\tf 1}{\tfx 1} will just yield 111 You're totally right. My MWE is: […] \definefontsize [H

Re: [NTG-context] ancient greek module and footnote fontsize problem

2012-07-16 Thread Thomas A. Schmitz
in footnotes to 9.5 pts? Alan Add this to your file: \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[9.5pt] Thomas ___ If your question

Re: [NTG-context] ancient greek module and footnote fontsize problem

2012-07-16 Thread Alan Bowen
The problem seems to be “bodyfont=9.5pt”. If this line is commented out, the greek appears as it should. Is this a bug or is there another way to set the fontsize in footnotes to 9.5 pts? Alan Add this to your file: \starttypescript [serif] [default] [size] \definebodyfont [9.5pt] [rm

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Wolfgang Schuster
Am 02.06.2012 um 20:13 schrieb Philipp Gesang: Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Philipp Gesang
hard to grep for :( Example: \definebodyfont[42pt][rm][default] \starttext \switchtobodyfont [42pt] \setupbodyfont [42pt] \stoptext Which results in: ... / fontsbodyfont 42pt

Re: [NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-03 Thread Wolfgang Schuster
is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default] \starttext \switchtobodyfont [42pt] \setupbodyfont [42pt] \stoptext Which results in: ... / fonts

[NTG-context] “bodyfont %s is defined (can better be done global)”

2012-06-02 Thread Philipp Gesang
Dear listmates, with \switchtobodyfont I get the interface message “fonts:14” from mult-mes.lua (“bodyfont %s is defined (can better be done global)”) which is kinda hard to grep for :( Example: \definebodyfont[42pt][rm][default] \starttext \switchtobodyfont [42pt] \setupbodyfont [42pt

[NTG-context] Word-wrap/hyphenation with very large font size not working consistently

2011-12-03 Thread Pavneet Arora
,footer=0in,topspace=0.75in,bottomspace=0.75in,backspace=1in,width=12in] \setuppagenumbering[location=] \usemodule[simplefonts] \setmainfont[texgyreschola] \definebodyfont [10pt,11pt,12pt][rm] [tfe=Serif at 128pt, ite=SerifItalic at 128pt] \setupbodyfont[12pt] \setupinterlinespace[line=1.2

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Thomas A. Schmitz
: \starttypescript [sans] [default] [size] \definebodyfont [16pt] [ss] [default] \stoptypescript \definebodyfontenvironment[16pt] and so on for other arbitrary sizes. ConTeXt doesn't define complete environments for every imaginable size (but I imagine Wolfgang may come up with a clever solution within his

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Christian
] \definebodyfont [16pt] [ss] [default] \stoptypescript \definebodyfontenvironment[16pt] and so on for other arbitrary sizes. ConTeXt doesn't define complete environments for every imaginable size (but I imagine Wolfgang may come up with a clever solution within his module). You are right! It's all

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Wolfgang Schuster
this in your file before setting the fonts: \starttypescript [sans] [default] [size] \definebodyfont [16pt] [ss] [default] \stoptypescript \definebodyfontenvironment[16pt] and so on for other arbitrary sizes. ConTeXt doesn't define complete environments for every imaginable size (but I

Re: [NTG-context] Simplefonts: Font scaling problem

2011-11-12 Thread Christian
] \definebodyfont [16pt] [ss] [default] \stoptypescript \definebodyfontenvironment[16pt] and so on for other arbitrary sizes. ConTeXt doesn't define complete environments for every imaginable size (but I imagine Wolfgang may come up with a clever solution within his module). A clever solution

Re: [NTG-context] Fonts in Mk IV -- \definefontalternative documentation?

2011-11-11 Thread Christian
] \definefontalternative [si] \definebodyfont [default] [ss] [sb=SansSemiBold sa 1, si=SansSemiBoldItalic sa 1] \starttypescript [sans] [myriadpro] \definefontsynonym [MyriadPro-SemiBold] [name:myriadprosemibold] \definefontsynonym [MyriadPro-SemiBoldIt][name:myriadprosemiboldit

  1   2   3   4   >