@rgglez/rehype-hyphenate

Soft hyphens inserted at build time with TeX (Liang) patterns, chosen by each element's lang. The browser breaks the lines. Source

Deutsch

Die au­to­ma­ti­sche Sil­ben­tren­nung teilt lange Wör­ter am Zei­len­en­de. Frank­lin Liang ent­wi­ckel­te 1983 für TeX einen mus­ter­ba­sier­ten Al­go­rith­mus, den Satz­pro­gram­me bis heute ver­wen­den. Die­ses Plug­in fügt wäh­rend der Er­stel­lung der Web­site wei­che Trenn­stri­che ein; an­schlie­ßend ent­schei­det der Brow­ser, wo jede Zeile endet, und zeigt den Trenn­strich nur dann an, wenn er tat­säch­lich be­nö­tigt wird. Ge­ra­de bei schma­len Spal­ten im Block­satz ver­hin­dern sie, dass Wort­un­ge­tü­me wie Do­nau­dampf­schiff­fahrts­ge­sell­schaft un­schö­ne Lü­cken rei­ßen.

English

Au­to­mat­ic hy­phen­ation breaks long words at the end of a line. Franklin Liang de­signed the pat­tern-based al­go­rithm for TeX in 1983, and type­set­ting soft­ware still re­lies on it. This plu­g­in in­serts soft hy­phens while the site is built; the brows­er then choos­es where each line ends and only dis­plays a hy­phen when it ac­tu­al­ly needs one. Words in an­oth­er lan­guage fol­low their own pat­terns, as in the Ger­man Sil­ben­tren­nungsal­go­rith­mus. In­line code such as hyphens: manual and ad­dress­es such as https://github.com/rgglez/rehype-hyphenate re­main un­touched.

Español

La se­pa­ra­ción si­lá­bi­ca au­to­má­ti­ca di­vi­de las pa­la­bras lar­gas al final de cada ren­glón. Fran­klin Liang de­sa­rro­lló en 1983, para TeX, un al­go­rit­mo ba­sa­do en pa­tro­nes que to­da­vía uti­li­zan los pro­gra­mas de com­po­si­ción ti­po­grá­fi­ca. Este com­ple­men­to in­ser­ta guio­nes sua­ves du­ran­te la com­pi­la­ción del sitio; des­pués, el na­ve­ga­dor de­ci­de dónde ter­mi­na cada línea y úni­ca­men­te mues­tra el guion cuan­do real­men­te lo ne­ce­si­ta. Con co­lum­nas es­tre­chas y texto jus­ti­fi­ca­do, la di­fe­ren­cia entre un pá­rra­fo con es­pa­cios des­pro­por­cio­na­dos y otro dis­tri­bui­do uni­for­me­men­te re­sul­ta evi­den­te.

Français

La cé­sure au­to­ma­tique coupe les mots longs à la fin de chaque ligne. Frank­lin Liang a conçu en 1983, pour TeX, un al­go­rithme fondé sur des mo­tifs que les lo­gi­ciels de com­po­si­tion ty­po­gra­phique uti­lisent tou­jours. Ce mo­dule in­sère des traits d’union condi­tion­nels pen­dant la construc­tion du site ; en­suite, le na­vi­ga­teur choi­sit l’em­pla­ce­ment de chaque fin de ligne et n’af­fiche le trait d’union que lors­qu’il est réel­le­ment né­ces­saire. Avec des co­lonnes étroites et un texte jus­ti­fié, la dif­fé­rence de­vient im­mé­dia­te­ment per­cep­tible.