Heegu-sama / Homm3BG

Repository for rewriting the rule book.
119 stars 24 forks source link

[CS] round structure #569

Closed tomaas-zeman closed 3 months ago

tomaas-zeman commented 3 months ago

cs-11

tomaas-zeman commented 3 months ago

@qwrtln @DarthGandalf Any ideas what to do with the accented character in the section's name?

Screenshot 2024-06-09 at 13 59 19

It's Ů but it gets replaced with weirdly accented O. I tried \r{u} but it resulted in the same bad character

DarthGandalf commented 3 months ago

Ah, a variation of this issue is precisely why we had to switch to TTF font + LuaLaTeX for cyrillic languages. You can try the same for Czech (flip a bool in the workflow, some build.sh scripts, and look in main_ru.tex for the font setup)

qwrtln commented 3 months ago

If nothing else works, you can just redefine \r{u}. But it might not work with uppercasing.

tomaas-zeman commented 3 months ago

Switching to luapdf produced a different error

  Missing character: There is no ř (U+0159) in font ec-lmr12!
  Missing character: There is no ů (U+016F) in font ec-lmr12!
  Missing character: There is no ž (U+017E) in font ec-lmr12!
  Missing character: There is no ř (U+0159) in font ec-lmr12!
  Missing character: There is no ě (U+011B) in font ec-lmr12!
  Missing character: There is no ě (U+011B) in font ec-lmr12!
  Missing character: There is no ě (U+011B) in font ec-lmr12!

EDIT: Getting closer. Czech also needs a fontspec package. Although the font in title is not bold anymore. It seems I need to copy all the stuff from UA/RU

Screenshot 2024-06-09 at 16 54 50
DarthGandalf commented 3 months ago

Yes, the setup in main_ru.tex contains everything needed

tomaas-zeman commented 3 months ago

Apart from the section title which now has a slighly different (default) font, everything looks good. I don't mind the different font, it still looks good

qwrtln commented 3 months ago

Oh no, @Heegu-sama, need your help again with the checks.