Re: [NTG-context] Probably simple: using a variable for \switchtobodyfont size

2023-05-19 Thread Hans van der Meer via ntg-context
\def\relationsFontSize{8pt}\starttextHello World!\crlf\switchtobodyfont[\relationsFontSize]Hello, world!\stoptext Untitled.pdf Description: Adobe PDF document dr. Hans van der MeerOn 19 May 2023, at 11:43, Gerben Wierda via ntg-context wrote:I want to use a variable for a font size so I can set

Re: [NTG-context] Probably simple: using a variable for \switchtobodyfont size

2023-05-19 Thread Wolfgang Schuster via ntg-context
\starttext \switchtobodyfont[\relationsFontSize] Hello, world! \stoptext %=== How can I use a variable to steer \switchtobodyfont size? You need \the\, i.e. \switchtobodyfont[\the\relationsFontSize] but I would use the measure command, e.g. \definemeasure[relationsFontSize][8pt

[NTG-context] Probably simple: using a variable for \switchtobodyfont size

2023-05-19 Thread Gerben Wierda via ntg-context
I want to use a variable for a font size so I can set it based on language (as some translated texts have widely different sizes) This fails: %=== \newdimen\relationsFontSize \relationsFontSize=8pt \starttext \switchtobodyfont[\relationsFontSize] Hello, world! \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] \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

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

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

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 11:37, Pablo Rodriguez wrote: > On 11/8/20 11:18 AM, Sylvain Hubert wrote: > > Hi Pablo, > > > > thanks for the suggestion. Here's the minimal example which shows the > > difference: > > > > \definefontfamily[face][rm][dejavuser

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

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:18 AM, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: > >     \definefontfamily[face][rm][dejavuserif] >     \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this

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

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 11:18, Sylvain Hubert wrote: > Hi Pablo, > > thanks for the suggestion. Here's the minimal example which shows the > difference: > > \definefontfamily[face][rm][dejavuserif] > \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext > > this

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

2020-11-08 Thread Sylvain Hubert
Hi Pablo, thanks for the suggestion. Here's the minimal example which shows the difference: \definefontfamily[face][rm][dejavuserif] \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext this should warn: fonts > checking > char ɑ (U+00251) in font 'LatinModernMath-Reg

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

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 2:35 AM, Sylvain Hubert wrote: > Dear List, > > after hours of debugging, I finally found out that > \switchtobodyfont[face, 20pt] does NOT behave the same with > \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is > the correct one, while the f

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

2020-11-07 Thread Sylvain Hubert
Dear List, after hours of debugging, I finally found out that \switchtobodyfont[face, 20pt] does NOT behave the same with \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is the correct one, while the former does nothing but falling back to latinmodern. Does anyone know when

Re: [NTG-context] switchtobodyfont and dejavu

2017-04-01 Thread Henning Hraban Ramm
Am 2017-03-31 um 09:00 schrieb Kostirya <kosti...@gmail.com>: > Hello. > I found error at switchtobodyfont with dejavu font. > > In the below example, switchtobodyfont not correctly worked. > > This is only observed when I switch from 16pt to 14pt. > Switching must

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Andres Conrado
This works for me, is probably not what you want, but at leat it's consistent (it uses the interline of the main text). \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\tfxx}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \tfxx \input

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Alan Braslau
On Wed, 22 Mar 2017 20:38:01 +0100 "Mikael P. Sundqvist" wrote: > What am I doing wrong? Any ideas to solve it Add a \par: \input knuth\par Alan ___ If your question is of interest to others as

Re: [NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
t. It is too big. Resulting pdf > is attached. > > What am I doing wrong? Any ideas to solve it (i.e. to be able to > define an environment with narrower smaller text, including a reduced > interlinespace)? > > /Mikael > > \definestartstop[passus][ > before={\startnarro

[NTG-context] startstop, narrower and switchtobodyfont gives strange interlinespace

2017-03-22 Thread Mikael P. Sundqvist
to define an environment with narrower smaller text, including a reduced interlinespace)? /Mikael \definestartstop[passus][ before={\startnarrower}, after={\stopnarrower}, style={\switchtobodyfont[9pt]}, ] \starttext \subject{It looks OK here:} \input knuth \startnarrower \switchtobodyfont[9

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-22 Thread Hans Hagen
On 8/21/2015 11:50 PM, Rik Kabel wrote: On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Hans Hagen
][ebgaramond][default] % \definetypeface[Secondary][rm][serif][palatino][default] % \definetypeface[Secondary][rm][serif][libertine][default] \stoptypescript \setupbodyfont [modern, 10pt] %\setupbodyfont [palatino, 10pt] \starttext % {\switchtobodyfont[Secondary]Oops

Re: [NTG-context] \switchtobodyfont issue, also with newotf

2015-08-21 Thread Rik Kabel
On 2015-08-21 09:10, Hans Hagen wrote: mostly changed names of the fonts, a missing directive (i'll add a fallback for that) and such ... patched in the next beta Hans, This morning's release fixed the newotf module problem, but not the font face problem. Was that to be expected? -- Rik

[NTG-context] \switchtobodyfont issue, also with newotf

2015-08-20 Thread Rik Kabel
] % \definetypeface[Secondary][rm][serif][palatino][default] % \definetypeface[Secondary][rm][serif][libertine][default] \stoptypescript \setupbodyfont [modern, 10pt] %\setupbodyfont [palatino, 10pt] \starttext % {\switchtobodyfont[Secondary]Oops!\par}% Oops! Default tf

[NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Hello, I am trying to have inter-line space change according to the current size of the body font, which I modify with \switchtobodyfont, but I cannot seem to affect the desired change as per the MWE below. \setupinterlinespace seems to take its lead from the original \setupbodyfont

[NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pavneet Arora
Thanks Pablo! Hi Paavnet, yes, you need a paragraph to make \setupinterlinespace work. -- Pavneet Arora m: 647.406.6843 Waroc Informatikt: 416.937.9276 ___ If your question is of interest

Re: [NTG-context] Making \setupinterlinespace work with \switchtobodyfont

2015-04-30 Thread Pablo Rodriguez
On 04/30/2015 02:18 PM, Pavneet Arora wrote: Hello, I am trying to have inter-line space change according to the current size of the body font, which I modify with \switchtobodyfont, but I cannot seem to affect the desired change as per the MWE below. \setupinterlinespace seems to take

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-28 Thread Joshua Krämer
On 2014-02-26, 22:57, Wolfgang Schuster wrote: Add \definebodyfontenvironment[50pt] before \starttext. Thanks, that does the trick. Kind regards, Joshua ___ If your question is of interest to others as well,

[NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-26 Thread Joshua Krämer
Dear list, with some font sizes, \switchtobodyfont loads Latin Modern Roman instead of the specified typeface: \definefontfamily [firstfamily] [serif] [TeX Gyre Bonum] \definefontfamily [secondfamily] [serif] [TeX Gyre Termes] \setupbodyfont [firstfamily, 60pt] \starttext abc

Re: [NTG-context] \switchtobodyfont fails to load font with some sizes

2014-02-26 Thread Wolfgang Schuster
Am 26.02.2014 um 18:10 schrieb Joshua Krämer joshua.krae...@gmail.com: Dear list, with some font sizes, \switchtobodyfont loads Latin Modern Roman instead of the specified typeface: \definefontfamily [firstfamily] [serif] [TeX Gyre Bonum] \definefontfamily [secondfamily] [serif] [TeX

Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
\starttext Line 1\crlf \savedendlinechar\endlinechar \endlinechar\minusone \switchtobodyfont[pagella] \endlinechar\savedendlinechar Line 2 \stoptext in fact, that should happen automatically but maybe i messed up something

Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
are loaded. \newcount\savedendlinechar \starttext Line 1\crlf \savedendlinechar\endlinechar \endlinechar\minusone \switchtobodyfont[pagella] \endlinechar\savedendlinechar Line 2 \stoptext in fact, that should happen automatically but maybe i messed up something (1) i adapted

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Aditya Mahajan
On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Meer, H. van der
On 4 May 2013, at 9:21 AM, Aditya Mahajan adit...@umich.edu wrote: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]%

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Sietse Brouwer
Hi Hans, everybody, Hans van der Meer wrote: Would be nice. But doing this is left to other people than me, I feel not qualified to tinker with that code. You would like to challenge Hans Hagen? Last week's thread about ligatures got unpleasantly close to flaming at times; so, just in case,

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Wolfgang Schuster
\savedendlinechar\endlinechar \endlinechar\minusone \switchtobodyfont[pagella] \endlinechar\savedendlinechar Line 2 \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
not sit between text and fontswitch \switchtobodyfont). My guess is that the token register \t_font_typescripts is the source of the spaces, but I am not further than that. I have already mailed Hans Hagen about these findings. [cid:AE3D66B6-9CD5-4377-B68D-AED490D0487E@fritz.box] Hans van der

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
what happens. See the screen shot from one of my tests (br/ results in \crlf but does not sit between text and fontswitch \switchtobodyfont). My guess is that the token register \t_font_typescripts is the source of the spaces, but I am not further than that. I have already mailed Hans Hagen

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf […] \setupwhitespace[line] \starttext \subject{Regular paragraphs} Line 1\par \start \switchtobodyfont[termes] Line 2\par \stop Line 3 \subject{Packed paragraphs

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
{}{}\switchtobodyfont[euler,10pt]\writestatus{}{}Fontswitch\stoptext Sample from type-imp-euler.mkiv %\loadtypescriptfile[texgyre]% \starttypescriptcollection[pagella-euler]% \starttypescript[\s!math][euler]% \definefontsynonym[EulerMath][\s!file:euler.otf]% \stoptypescript

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 11:19 schrieb Meer, H. van der h.vanderm...@uva.nl: I did some more experiments. In the macro below delete ABC and replace D by ! then the output of the test will match. example1 is made with the type-imp-euler.mkiv as given below. I removed every space in it, ended every

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
On 3 May 2013, at 12:28 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Do you mean the missing % after \doifsomething etc.? These lines don’t need a % because TeX gobbles the spaces between the arguments. I wasn't aware of that, but will remember. Any idea how further? More from

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
This might be interesting. The example I gave before was now typeset with type-imp-euler.mkiv cannibalized to \endinput in the very first line. Then there are no spurious spaces and 5 executions of the recursive loop from \t_font_typescripts. Thus, even though in type-imp-euler.mkiv all empty

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity - all files now have \endinput at the end. The files changed fit in a 54KB

[NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer \setuppapersize[A6][A6] \setupbodyfont[lucidaot] \starttext First line.\crlf \start \switchtobodyfont

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer Sorry, flew accidentally to early away. Here the attached output. \setuppapersize[A6][A6] \setupbodyfont

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Marco Patzer
On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Loading the typescript in the setup area should get rid of the space. See http

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
will look into the matter too. Hans van der Meer On 2 May 2013, at 12:48 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
- coding mistakes. Hans van der Meer On 2 May 2013, at 12:48 PM, Marco Patzer home...@lavabit.com wrote: On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Wolfgang Schuster
Am 02.05.2013 um 12:40 schrieb Meer, H. van der h.vanderm...@uva.nl: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer Sorry, flew accidentally

[NTG-context] problem with switchtobodyfont

2012-06-05 Thread Brian Landy
Hi, I decided to give the latest minimals a test (I had been using 2012.01.16, updated to 2012.06.05 today), and noticed that switchtobodyfont no longer seems to work properly. Here is a small example: \starttypescript [cleartype] \definetypeface [\typescriptone] [rm] [serif] [constantia

[NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
] \usetypescript[palatino] \switchtobodyfont[palatino,20pt] \setupcolors[state=start] \definelayer[myLayer] [width=\paperwidth, height=\paperheight] \startsetups layer \setlayer[myLayer][preset=lefttop,x=0.9\paperwidth,y=0.96\paperheight] {\switchtobodyfont[10pt

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 18:59 schrieb Vnpenguin: \usetypescript[palatino] \switchtobodyfont[palatino,20pt] Replace this (both lines) with \setupbodyfont[palatino,20pt] Wolfgang ___ If your question is of interest

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
On Fri, Feb 18, 2011 at 19:03, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 18.02.2011 um 18:59 schrieb Vnpenguin: \usetypescript[palatino] \switchtobodyfont[palatino,20pt] Replace this (both lines) with \setupbodyfont[palatino,20pt] Wolfgang Wow, it works now. Thank

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Wolfgang Schuster
Am 18.02.2011 um 19:08 schrieb Vnpenguin: Wow, it works now. You can also separate the style and content of a layer with \setlayerframed, e.g. \setlayerframed [mylayer] [x=..., y=..., frame=off, style={\switchtobodyfont[10pt]}] {text} Wolfgang

Re: [NTG-context] \switchtobodyfont does not work inside of \startsetups layer ?

2011-02-18 Thread Vnpenguin
=off,   style={\switchtobodyfont[10pt]}]  {text} Thank you, Regards ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] \switchtobodyfont

2010-11-09 Thread Herbert Voss
Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella| Latest minimal mkiv Herbert

Re: [NTG-context] \switchtobodyfont

2010-11-09 Thread Hans Hagen
On 9-11-2010 8:49, Herbert Voss wrote: Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella

Re: [NTG-context] \switchtobodyfont

2010-11-09 Thread Hans Hagen
On 9-11-2010 8:49, Herbert Voss wrote: Is this the default behaviour, that \switchtobodyfont works like a \hfill?? | page | \starttext Latin Modern \switchtobodyfont[pagella]Pagella--Palatino \stoptext | Latin ModernPag-| | ella

Re: [NTG-context] setup/switchtobodyfont question

2008-11-26 Thread Alan STONE
Same question related to setuplayout. On Wed, Nov 26, 2008 at 12:43 PM, Alan STONE [EMAIL PROTECTED]wrote: The main manual mentions (ch 5 Typography, pg 92): In most cases, the command \setupbodyfont is only used once: in the styledefinition. Fontswitching is done with \switchtobodyfont

Re: [NTG-context] setup/switchtobodyfont question

2008-11-26 Thread Wolfgang Schuster
Am 26.11.2008 um 12:43 schrieb Alan STONE: The main manual mentions (ch 5 Typography, pg 92): In most cases, the command \setupbodyfont is only used once: in the styledefinition. Fontswitching is done with \switchtobodyfont. Don't mix these two up because this may lead to some rather

Re: [NTG-context] spurious line break in \switchtobodyfont

2006-04-26 Thread Hans Hagen
Mojca Miklavec wrote: Hello, there is a misterious linebreak in the second example: abc\switchtobodyfont[ss]def abc\switchtobodyfont[,,ss]def Is this ConTeXt's fault or mine? lucky you: \def\dodosetfont#1#2% #1 = set/switch state / test added to make it mojca proof

[NTG-context] spurious line break in \switchtobodyfont

2006-04-25 Thread Mojca Miklavec
Hello, there is a misterious linebreak in the second example: abc\switchtobodyfont[ss]def abc\switchtobodyfont[,,ss]def Is this ConTeXt's fault or mine? Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo