ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] SlideTitle font in Simpleslide module
@ 2025-06-21 14:29 Jeong Dal via ntg-context
  2025-06-21 15:13 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dal via ntg-context @ 2025-06-21 14:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jeong Dal


[-- Attachment #1.1: Type: text/plain, Size: 3368 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 17612 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: SlideTitle font in Simpleslide module
  2025-06-21 14:29 [NTG-context] SlideTitle font in Simpleslide module Jeong Dal via ntg-context
@ 2025-06-21 15:13 ` Wolfgang Schuster
       [not found]   ` <8bc9babe-f64e-4866-bc5b-f2c77a5e776a@fiee.net>
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2025-06-21 15:13 UTC (permalink / raw)
  To: ntg-context

Am 21.06.2025 um 16:29 schrieb Jeong Dal via ntg-context:
> Dear Wolfgang and Aditya,
> 
> I’d like to ask about my problems since you know well about the fonts 
> and the simpleslide module.

Hraban is the current maintainer of the simpleslides module.

> [...]
> 
> \startcomponent

You're missing the mandatory argument for \startcomponent.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: SlideTitle font in Simpleslide module
       [not found]     ` <CABA24DF-7198-4A1A-BAAC-814F0042D724@mac.com>
@ 2025-06-23 16:05       ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2025-06-23 16:05 UTC (permalink / raw)
  To: ntg-context

Am 23.06.2025 um 15:25 schrieb Jeong Dal via ntg-context:
> Dear Hraban and Wolfgang,
> 
> Thank you for your testing.
> 
> I installed Noto Sans KR fonts in my font folder in Mac.
> And check the list of fonts whose name includes ‘notosans*kr*’ as you said”
> 
>   mtxrun --script fonts --list --all --pattern='notosans*kr*’
> 
> And got the following list.
> 
> [...]
> 
> Why does it look for Math font for \Title and \SlideTitle?

1. Can you show the complete log file!

2. Does the following example work?

%%%% begin example
\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 Pagella Math]
\definetypeface[notoFont][mm][math][pagella][default]

\setupbodyfont[notoFont]

\starttext

\doloopoverlist{\rm,\ss,\tt}
   {\recursestring
    \doloopoverlist{\tf,\it,\bf,\bi}
      {\recursestring 여기에도 수학이? }\par}

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-23 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-21 14:29 [NTG-context] SlideTitle font in Simpleslide module Jeong Dal via ntg-context
2025-06-21 15:13 ` [NTG-context] " Wolfgang Schuster
     [not found]   ` <8bc9babe-f64e-4866-bc5b-f2c77a5e776a@fiee.net>
     [not found]     ` <CABA24DF-7198-4A1A-BAAC-814F0042D724@mac.com>
2025-06-23 16:05       ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).