olsak / OpTeX

OpTeX - LuaTeX format with extended Plain TeX macros
http://petr.olsak.net/optex/
33 stars 14 forks source link

Vlna package missing a small 'a' letter. #178

Closed vojta-horanek closed 1 month ago

vojta-horanek commented 2 months ago

Is there a reason why the vlna package only defines single chars for Czech like this?

\singlechars{Czech}{AIiVvOoUuSsZzKk}

Shouldn't it also include the small 'a' letter? Or am I missing something?

vlasakm commented 2 months ago

The defaults were taken from lauvlna package (which vlna.opm integrates into OpTeX), which also (likely just by mistake) omitted the letter 'a': https://github.com/michal-h21/luavlna/issues/13 (see there for more linguistic details)- after a few changes ([1], [2], [3], it seems like this is the current and most correct version of the setting for Czech an Slovak:

\ifdefined\nosingledefaults\else
  \singlechars{czech}{AaIiVvOoUuSsZzKk}
  \singlechars{slovak}{AaIiVvOoUuSsZzKk}
  \compoundinitials{czech}{Ch,CH}
  \enablesplithyphens{czech}
  \enablesplithyphens{slovak}
\fi
olsak commented 2 months ago

Opinions about the Czech conjunction "a" (and) ... its prohibition to be at the end of line ... differ. One argument is that it is syllabic word, so it can be at the end of line. Moreover, it is conjunction, it binds the text before it with the same power as the text after it, so there is no reason to prohibit it at the end of the line and allow it at the beginning of next line. I came to this opinion during the discussion among typographers. It was very long time ago, before the norm mentioned here began to exist. And I was among the correctors of this norm and I was mentioned that "A" (at beginning of the sentence) can be prohibited but "a" can't. My remark was not accepted. The argument: to be more simple. But my old books and defaults for my old external program "vlna" keeps my opinion about "a" conjunction and doesn't respect the norm. I copied this default to the defaults of vlna.opm because I mean that this is better regardless of a norm. Everybody can re-define \singlechars if it is needed.

olsak commented 2 months ago

Act No. 22/1997 Coll. indicates in § 4 that Czech technical norm is not generally binding. So, vlna.opm file does not set the "a" conjunction as \singlechars by default.

vojta-horanek commented 1 month ago

Thanks for the information. Closing this issues as it seems this behavior is indeed intended.