[NTG-context] removing many lines about font in log.

2020-11-08 Thread Jeong Dal
Hi, The following example creates so many lines of messages about fonts in the log. \definefontfeature [default] [default] [script=hang,language=kor] \starttext \definedfont[file:notoserifcjkkrregular*default] Korean sentences. 한글이 아름답습니다. \stoptext fonts > 'fallback

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 18:27, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 17:56: > > Hi Wolfgang, > > > > I'm sorry that the question was not clear enough. Let me ask in this way: > > how to define a \dorecurse, such that

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 17:56: Hi Wolfgang, I'm sorry that the question was not clear enough. Let me ask in this way: how to define a \dorecurse, such that \dorecurse{10}{\type{a    b c}} does not squash the spaces? Verbatim in arguments of other commands is tricky because in

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
Hi Wolfgang, I'm sorry that the question was not clear enough. Let me ask in this way: how to define a \dorecurse, such that \dorecurse{10}{\type{ab c}} does not squash the spaces? Sylvain On Sun, 8 Nov 2020 at 15:03, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 14:47: Dear List, I would like to ask how to define a command, \same, such that     \same{\type{a   b c}} produces the same result as its argument does     \type{a   b c} The naive way doesn't work because it makes all the spaces collapse:    

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 13:44, Pablo Rodriguez wrote: > On 11/8/20 11:48 AM, Sylvain Hubert wrote: > > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for > > the help!. > > > > Btw, do you know whether there is any difference between \lastpagenumber > > and \lastuserpagenumber

[NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
Dear List, I would like to ask how to define a command, \same, such that \same{\type{a b c}} produces the same result as its argument does \type{a b c} The naive way doesn't work because it makes all the spaces collapse: \define[1]\same{#1} I would also like to ask whether

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:36 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 08.11.2020 um 11:22: >> [...] >> With all features defined, paragraph width is wrong using >> "effect={width=1.0}". > > Add auto=yes: \definefontfeature [ef1] [effect={width=1.0,auto=yes}] Many thanks for your explanation,

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 11:48 AM, Sylvain Hubert wrote: > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for > the help!. > > Btw, do you know whether there is any difference between \lastpagenumber > and \lastuserpagenumber mentioned both by Wolfgang and by the excursion > book

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:12, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 03:19: > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext > > \section{a} > >

Re: [NTG-context] weird behavior of font.feature.effect

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 13:02: On Sun, 8 Nov 2020 at 11:24, Pablo Rodriguez > wrote: Hi Sylvain, this is the same as:   \definefontfamily[face1][rm][gabriola] Just in case, "slanted" is an already defined feature. It slants the font.

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
Hi Hraban, On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm wrote: > > > > Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext > > \section{a} > > \blank[-2cm,force]\ > >

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

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:52, Hans Hagen wrote: > On 11/8/2020 12:46 PM, Sylvain Hubert wrote: > > On Sun, 8 Nov 2020 at 12:14, Hans Hagen > > wrote: > > > > when yyou use several bodyfonts you can do this before \starttext: > > > > \usebodyfont[face,24pt] > >

Re: [NTG-context] weird behavior of font.feature.effect

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 11:24, Pablo Rodriguez wrote: > Hi Sylvain, > > this is the same as: > > \definefontfamily[face1][rm][gabriola] > > Just in case, "slanted" is an already defined feature. It slants the font. > > > \definefontfamily[face2][rm][gabriola][it={features:{default, > >

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

2020-11-08 Thread Hans Hagen
On 11/8/2020 12:46 PM, Sylvain Hubert wrote: On Sun, 8 Nov 2020 at 12:14, Hans Hagen > wrote: when yyou use several bodyfonts you can do this before \starttext: \usebodyfont[face,24pt] \usebodyfont[deface] \starttext     \stoptext Thank

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

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:14, Hans Hagen wrote: > when yyou use several bodyfonts you can do this before \starttext: > > \usebodyfont[face,24pt] > \usebodyfont[deface] > > \starttext > > \stoptext > Thank you for the information, Hans! Could you please also shed some light on the

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Denis Maier
Use\setupheads[indentnext=yes]BestDenis Ursprüngliche Nachricht Von: Sylvain Hubert Datum: 08.11.20 03:44 (GMT+01:00) An: mailing list for ConTeXt users Betreff: [NTG-context] \setupindenting[first] not working Dear List,The first paragraph of the following example is not

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 12:19: On Sun, 8 Nov 2020 at 12:07, Wolfgang Schuster > wrote: Sylvain Hubert schrieb am 08.11.2020 um 11:48: > On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez mailto:oi...@gmx.es> >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 12:07, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 11:48: > > On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez > > wrote: > > > > Hi Sylvain, > > > >

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

2020-11-08 Thread Hans Hagen
On 11/8/2020 12:02 PM, Sylvain Hubert wrote: 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: >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 11:48: On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez > wrote: Hi Sylvain,   \setupfootertexts[\pagenumber/\lastpagenumber]   \starttext   \dorecurse{25}{\null\page}   \stoptext Indeed, \setupfooterexts is

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

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 12:02: 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: >

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][dejavuserif] > >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez wrote: > Hi Sylvain, > > \setupfootertexts[\pagenumber/\lastpagenumber] > \starttext > \dorecurse{25}{\null\page} > \stoptext > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for the help!. Btw, do you know whether there

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
Many thanks for the help! On Sun, 8 Nov 2020 at 10:20, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 02:58: > > Dear List, > > > > Does anyone know how to set the footer to be "page i/n" where i=current > > page number, n=total number of

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 08.11.2020 um 11:22: Hans, this sample comes from Sylvain’s message: %~ \definefontfeature[ef1][effect={width=1.0}] \definefontfeature[ef2][effect={width=}] \definefontfamily[face1][rm][gabriola] [features={default, ef1}]

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 should warn: > >     fonts           >

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 should warn: > > fonts

[NTG-context] issues with fonts and font effects

2020-11-08 Thread Pablo Rodriguez
Hans, this sample comes from Sylvain’s message: %~ \definefontfeature[ef1][effect={width=1.0}] \definefontfeature[ef2][effect={width=}] \definefontfamily[face1][rm][gabriola] [features={default, ef1}] \definefontfamily[face2][rm][gabriola] [features={default,

Re: [NTG-context] weird behavior of font.feature.effect

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 12:57 AM, Sylvain Hubert wrote: > Dear List, > > I'm confused by the result of the following example (see attached): > >     \definefontfamily[face1][rm][gabriola][it={features:{default}}] Hi Sylvain, this is the same as: \definefontfamily[face1][rm][gabriola] Just in case,

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-Regular-4'

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 former does nothing

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:43: Dear List, The first paragraph of the following example is not indented.     \setupindenting[yes,first,4cm]     \starttext     \section{a}     \dorecurse{84}{abc }     \dorecurse{84}{abc }     \stoptext Does anyone know how to actually

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Pablo Rodriguez
On 11/8/20 2:58 AM, Sylvain Hubert wrote: > Dear List, > > Does anyone know how to set the footer to be "page i/n" where i=current > page number, n=total number of page? I've tried > >     \setuppagenumbering[location=footer, command=\groupedcommand{page > }{/\lastcounter[userpage]}] > > but

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 02:58: Dear List, Does anyone know how to set the footer to be "page i/n" where i=current page number, n=total number of page? I've tried     \setuppagenumbering[location=footer, command=\groupedcommand{page }{/\lastcounter[userpage]}] but

Re: [NTG-context] ConTeXt Linux installation issues (due to GLIBC dependency) - Solved!

2020-11-08 Thread Mojca Miklavec
Dear Ramkumar, On Sat, 7 Nov 2020 at 02:10, Ramkumar KB wrote: > > Hello All, > > This turned out to be an issue with the texmf-context.zip file version > mismatch. I updated to version 1.04 and was able to install successfully! > > However, I would like to contribute a section to Wiki on how to

Re: [NTG-context] \define in conflict with \startxtable[]

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 04:54: Dear List, Could anyone manage to typeset the following example? Here [] causes an error "Extra }, or forgotten \endgroup".     \starttext     \define\sample{     \startxtable[]     \startxtablehead     \startxrow     \startxcell

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:19: Dear List, I'm trying to move up a section title (section b) 2cm upward:     \starttext     \section{a}     \blank[-2cm,force]\ \blank[back,disable] Wolfgang