Hi (sorry for many questions today :)), with German you often have the problem, that words are long (most often much longer than english words). So ConTeXt have to break them. But there is a typographical rule: "Do not break words at the end of lines in more than three consecutive lines." So four (or more) breaks each ofter another (line), is forbidden and considered as ugly! By default, ConTeXt does this in many cases, specially with DIN A5 and long words. And I have to manually fix this in every case, that is normal and ok. Is there a way to highlight these attempts of more than three consecutive breaks in one paragraph? Would be easier to find, and to not-oversee. Future suggestion: Perfectly ConTeXt would try to avoid those breaks, but I suspect that would end in ungly kerning and unnormal gaps between words, correct? Huseyin
Am 12.04.2013 um 11:02 schrieb "H. Özoguz"
Hi (sorry for many questions today :)),
with German you often have the problem, that words are long (most often much longer than english words). So ConTeXt have to break them. But there is a typographical rule: "Do not break words at the end of lines in more than three consecutive lines."
So four (or more) breaks each ofter another (line), is forbidden and considered as ugly! By default, ConTeXt does this in many cases, specially with DIN A5 and long words. And I have to manually fix this in every case, that is normal and ok. Is there a way to highlight these attempts of more than three consecutive breaks in one paragraph? Would be easier to find, and to not-oversee.
Future suggestion: Perfectly ConTeXt would try to avoid those breaks, but I suspect that would end in ungly kerning and unnormal gaps between words, correct?
You can add \setupalign[stretch] to your document which increases the space between words, it is only a small value and helps in some cases. Wolfgang
On 04/12/2013 11:13 AM, Wolfgang Schuster wrote:
You can add \setupalign[stretch] to your document which increases the space between words, it is only a small value and helps in some cases.
I could have sworn there was a way to set the maximum number of consecutive lines which can be hyphenated, but all I find now is \doublehyphendemerits, which is just for two consecutive lines (which may be a bit too drastic for German texts). Thomas
Dnia 2013-04-12, o godz. 12:20:20
"Thomas A. Schmitz"
On 04/12/2013 11:13 AM, Wolfgang Schuster wrote:
You can add \setupalign[stretch] to your document which increases the space between words, it is only a small value and helps in some cases.
I could have sworn there was a way to set the maximum number of consecutive lines which can be hyphenated, but all I find now is \doublehyphendemerits, which is just for two consecutive lines (which may be a bit too drastic for German texts).
Better not swear;). From Frank Mittelbach's paper (see http://latex-community.org/know-how/latex/55-latex-general/475-e-tex#line-br...): "Issue: Managing consecutive hyphens in a general way In TeX it is possible to discourage two consecutive hyphens, but there is no way to prohibit or strongly discourage three or more. Technically, this would mean a slight extension of the current algorithm by keeping track of the number of hyphens in a row. None of today's engines supports that concept."
Thomas
Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University
On 4/12/2013 8:28 PM, Marcin Borkowski wrote:
In TeX it is possible to discourage two consecutive hyphens, but there is no way to prohibit or strongly discourage three or more. Technically, this would mean a slight extension of the current algorithm by keeping track of the number of hyphens in a row. None of today's engines supports that concept."
no need to adapt the engine ... it's probably not that hard to support that in luatex but one can wonder if it solves the issue: th emore demands one has, the solution space also becomes smaller so probably someplace else another problem surfaces ... 100 % automated typesetting with 100 % perfect results is impossible Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
"H. Özoguz"
-
Hans Hagen
-
Marcin Borkowski
-
Thomas A. Schmitz
-
Wolfgang Schuster