Hello.
I use \vbox to separate headtext from text in chapter header by new line.
\define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}}
\define[1]\DotAfterNumber{\doiftext{#1}{#1.}}
\setuphead[chapter][command=\MyChapterCommand]
\setuphead[title][numbercommand=\DotAft
Hello.
I use \vbox to separate headtext from text in chapter header by new line.
\define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}}
\define[1]\DotAfterNumber{\doiftext{#1}{#1.}}
\setuphead[chapter][command=\MyChapterCommand]
\setuphead[title][numbercommand=\DotAft
Hello.
Two hyphens do not replaced on em—dash when dejavu,14pt
:-(
\starttext
1-2 11--22
\switchtobodyfont[dejavu,14pt]
1-2 11--22
\stoptext
___
If your question is of interest to others as well, please add an entr
I apologize.
It is not hyphen symbol. It is unicode.
Everything is working!
2017-03-31 11:46 GMT+03:00 Kostirya :
> Hello.
> Two hyphens do not replaced on em—dash when dejavu,14pt
> :-(
>
>
>
> \starttext
> 1-2 11--22
>
> \switchtobodyfont[dejavu,14
No, It is not worked.
I mistakenly used a Unicode character in another test.
2017-03-31 12:13 GMT+03:00 Kostirya :
> I apologize.
> It is not hyphen symbol. It is unicode.
> Everything is working!
>
> 2017-03-31 11:46 GMT+03:00 Kostirya :
>> Hello.
>> Two hyphens do n
14pt.
Switching must be across a different font.
\setupbodyfont[dejavu,16pt]
\starttext
\showbodyfont \blank
\switchtobodyfont[gentium]
\switchtobodyfont[dejavu,14pt]
\showbodyfont
\stoptext
2017-03-31 12:52 GMT+03:00 Marco Patzer :
> On Fri, 31 Mar 2017 11:46:00 +0300
> Kostirya wrote:
&g