Dear Wolfgang and Aditya,
I’d like to ask about my problems since you know well about the fonts and the
simpleslide module.
I have used simpleslide module frequently without any problem, but not in this
year.
Today, I tried to make a slide using simple slide module again, but I have a
problem.
First, I define Noto CJK-KR as a bodyfont.
Korean texts in the text has no problem.
But Koreans used as a main Title and SlideTitles are not shown. The error
messages are following:
fonts > checking > char 실 (U+0C2E4) in font
'TeXGyrePagellaMath-Regular-2' with id 6: missing
fonts > checking > char 용 (U+0C6A9) in font
'TeXGyrePagellaMath-Regular-2' with id 6: missing
fonts > checking > char 적 (U+0C801) in font
'TeXGyrePagellaMath-Regular-2' with id 6: missing
fonts > checking > char 수 (U+0C218) in font
'TeXGyrePagellaMath-Regular-2' with id 6: missing
fonts > checking > char 학 (U+0D559) in font
'TeXGyrePagellaMath-Regular-2' with id 6: missing
According to this log, it look for Korean characters in the math font which
fails.
If I set
\definefont[BigFontOnehalf][NotoSansCJKkr-Bold sa 1.5]
\definefont[BigFontTwo][NotoSansCJKkr-Bold sa 2]
Then the following code has no problem. Of course, author, institution, and
body texts are shown well as before.
\setupTitle[title={\BigFontTwo 여기에도 수학이?},
author={정 달 영},
institution={숭실대학교},
date={},
]
\SlideTitle{\BigFontOnehalf 자주듣는 질문들}
\leftaligned{\framed[]{\tfc 수학은 왜 배우나요?}}\vfill
\midaligned{\framed[]{\tfc 수학은 누가 만들었나요?}}\vfill
\rightaligned{\framed[]{\tfc 이거 어디다 써요?}}\vfill
My question is that
"Why it tries to use the math font for Title and SlideTitle?"
Here is a simplified example.
%font definition
\definefontfamily[notoFont][rm][Noto Serif CJK KR]
[ it={style:regular,features:{*,slanted}},
sl={style:regular,features:{*,slanted}},
bi={style:bold,features:{*,slanted}},force=yes]
\definefontfamily[notoFont][ss][Noto Sans CJK KR]
[ it={style:regular,features:{*,slanted}},
sl={style:regular,features:{*,slanted}},
bi={style:bold,features:{*,slanted}},force=yes]
\definefontfamily[notoFont][tt][Noto Sans Mono CJK KR]
[ it={style:regular,features:{*,slanted}},
sl={style:regular,features:{*,slanted}},
bi={style:bold,features:{*,slanted}},force=yes]
%\definefontfamily[notoFont][math][Tex Gyre Termes Math]
\definefontfamily[notoFont][math][Tex Gyre Pagella Math]
\usemodule[simpleslides][style=Swoosh, font=, color=blue,]
\setupTitle[color=darkblue]
\setupbodyfont[notoFont,ss, \NormalSize]
\setuppagenumbering[state=stop]
\setupTitle[title={\BigFontTwo 여기에도 수학이? \crlf {\fancyOne Mathematics
everywhere!}},
author={정 달 영},
institution={숭실대학교},
date={},
]
\setupfootertexts
[\tfx FlexMath \hfill \pagenumber\ / \lastpage]
\placeTitle
\startcomponent
\SlideTitle{\BigFontOnehalf 자주듣는 질문들}
\null\vfill
\leftaligned{\framed[]{\tfc 수학은 왜 배우나요?}}\vfill
\midaligned{\framed[]{\tfc 수학은 누가 만들었나요?}}\vfill
\rightaligned{\framed[]{\tfc 이거 어디다 써요?}}\vfill
\stopcomponent
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________