ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Left hanging hyphen
@ 2020-03-02 11:22 Tomas Hala
  2020-03-02 16:38 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Hala @ 2020-03-02 11:22 UTC (permalink / raw)
  To: Mailing list ConTeXt

Hi all,

in composed words in Czech and Slovak languages, the hyphen must be repeated 
at the beginning of the new line. How can I make it hanging at the left margin?

Tomáš


% for repeating the hyphen
\definebreakpoints[czcompound]
\definebreakpoint[czcompound][-][nleft=3,nright=3,type=4]
\def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage 
\def\mylanguage{sk} \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage

\starttext\showframe
\hsize1dd
modro-zelený  %blue-green
\stoptext

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-05 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 11:22 Left hanging hyphen Tomas Hala
2020-03-02 16:38 ` Wolfgang Schuster
2020-03-04 18:28   ` Tomas Hala
2020-03-04 18:56     ` Wolfgang Schuster
2020-03-05 15:29       ` Tomas Hala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).