Improve line-breaking #13

Open
opened 2025-10-09 16:24:57 +00:00 by ondrej.mekina · 0 comments

This is only for cs. As for en there are no rules like this (besides aesthetic ones).

In cs several things are discouraged:

  • Linebreak between single-letter prepositions (k, o, s, u, v, z) and the next words
  • Linebreak between single-letter conjunctions (a, i) and the next words
  • Linebreak in space-grouped numbers
  • Linebreak between numbers (scalars) and units
  • Linebreak in calendar dates
  • Linebreak in ratios
  • Linebreak in well-known abbreviations ("a. s.", "s. r. o.", "př. n. l.")
  • Linebreak between title and name
  • Linebreak between commonly-used language abbreviations ("tj.", "tzv.", "tzn.") and their next word

The bold ones are the ones that perhaps should be enforced by the template.

I'll look into how to enforce this and not completely mess the document up.

Originally posted by @michal.prochazka in #12 (comment)

This is only for `cs`. As for `en` there are no rules like this (besides aesthetic ones). In `cs` several things are discouraged: - **Linebreak between single-letter prepositions (k, o, s, u, v, z) and the next words** - **Linebreak between single-letter conjunctions (a, i) and the next words** - Linebreak in space-grouped numbers - Linebreak between numbers (scalars) and units - Linebreak in calendar dates - Linebreak in ratios - **Linebreak in well-known abbreviations ("a. s.", "s. r. o.", "př. n. l.")** - Linebreak between title and name - **Linebreak between commonly-used language abbreviations ("tj.", "tzv.", "tzn.") and their next word** The bold ones are the ones that _perhaps should_ be enforced by the template. I'll look into how to enforce this and not completely mess the document up. _Originally posted by @michal.prochazka in https://git.zumepro.cz/tul/tultemplate2/issues/12#issuecomment-250_
ondrej.mekina added the
enhancement
label 2025-10-09 16:24:57 +00:00
ondrej.mekina self-assigned this 2025-10-09 16:24:57 +00:00
ondrej.mekina changed title from Improving line-breaking to Improve line-breaking 2025-10-09 16:25:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tul/tultemplate2#13
No description provided.