Re: [NTG-context] Left hanging hyphen

2020-03-05 Thread Tomas Hala
= 'tomas_hala', factor = 1, } fonts.protrusions.vectors.tomas_hala = table.merged ( fonts.protrusions.vectors.quality, { [0x002D] = { 0.4, 0.7 }, -- hyphen } ) \stopluacode \definebreakpoints [czcompound] \definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Tomas Hala
startluacode fonts.protrusions.classes.tomas_hala = { vector = 'tomas_hala', factor = 1, } fonts.protrusions.vectors.tomas_hala = table.merged ( fonts.protrusions.vectors.quality, { [0x002D] = { 0.4, 0.7 }, -- hyphen } ) \stopluacode \definebreakpoints

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
\startluacode fonts.protrusions.classes.tomas_hala = { vector = 'tomas_hala', factor = 1, } fonts.protrusions.vectors.tomas_hala = table.merged ( fonts.protrusions.vectors.quality, { [0x002D] = { 0.4, 0.7 }, -- hyphen } ) \stopluacode \definebreakpoints [czcompound] \d

[NTG-context] Left hanging hyphen

2020-03-02 Thread Tomas Hala
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

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Sam May
: # %%% # \definebreakpoints[czcompound] # \definebreakpoint[czcompound][-][nleft=3,nright=3,type=4] # # \appendtoks #\ifx\mylanguage\currentlanguage # \setbreakpoints[czcompound] #\else # \resetbreakpoints #\fi # \to\everylanguage # # It would be nice if that language= key

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
Hi Taco, this is exactly what I needed, thank you very much. Fri, Mar 22, 2019 ve 04:16:20PM +0100 Taco Hoekwater napsal(a): # Somewhat cleaner is to do it this way: # %%% # \definebreakpoints[czcompound] # \definebreakpoint[czcompound][-][nleft=3,nright=3,type=4

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Taco Hoekwater
Somewhat cleaner is to do it this way: %%% \definebreakpoints[czcompound] \definebreakpoint[czcompound][-][nleft=3,nright=3,type=4] \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
\definebreakpoints[czcompound] \let\oldlanguage=\language \def\language[#1]{\oldlanguage[#1] \ifx\mylanguage\currentlanguage \definebreakpoint[czcompound][-][nleft=3,nright=3,type=4] \setbreakpoints[czcompound] \else \definebreakpoint[czcompound][-][nleft=3,nright=3,type=1

Re: [NTG-context] How to repeat the hyphen?

2019-03-22 Thread Taco Hoekwater
Hi Tomáš, Sorry but I do not know. I *do* know that you can do this: \definebreakpoints [czcompound] \definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \setbreakpoints[czcompound] And perhaps hook that into a language switch. Does that help? > On 22 Mar 2019, at 10

Re: [NTG-context] Hanging hyphen in the left margin in Portuguese

2016-10-18 Thread Marcus Vinicius Mesquita
e, it > is mandatory to repeat the explicit hyphen both at the end and in the > beginning of the next line. I managed to do this using: > > \definebreakpoints[portuguese] > \definebreakpoint [portuguese] [-] [type=5,left=-,right=-,middle=-] > \setbreakpoints[portuguese] > > If

Re: [NTG-context] Hanging hyphen in the left margin in Portuguese

2016-10-18 Thread josephcanedo
and in the beginning of the next line. I managed to do this using: \definebreakpoints[portuguese] \definebreakpoint [portuguese] [-] [type=5,left=-,right=-,middle=-] \setbreakpoints[portuguese] If I use \setupalign[hz,hanging] I get the first hyphen hanging in the right margin. My question is: How do I

[NTG-context] Hanging hyphen in the left margin in Portuguese

2016-10-17 Thread Marcus Vinicius Mesquita
: \definebreakpoints[portuguese] \definebreakpoint [portuguese] [-] [type=5,left=-,right=-,middle=-] \setbreakpoints[portuguese] If I use \setupalign[hz,hanging] I get the first hyphen hanging in the right margin. My question is: How do I manage to have the second hyphen in the beginning of the new line

[NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
[temporary] \definebreakpoints[hyphen] \definebreakpoint [hyphen] [-] [nleft=3,nright=3,type=6,range=yes] \setbreakpoints[hyphen] \setuppagenumbering [alternative=doublesided] \starttext \startstandardmakeup \stopstandardmakeup {\em Detailtypografie} by Friedrich Frossman \stoptext

Re: [NTG-context] Margin kerning for compounds

2016-09-08 Thread Henri Menke
this as is the margin >> kerning is correct. Still, I have no idea how to fix |-|. > > Just add > > \setbreakpoints[compound] Oh yeah, right! Sorry for wasting your time :/ However, as I only want compounds with a hyphen to be breakable (for now) I came up with my own co

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Wolfgang Schuster
to use \hbox too but I think a command with a speaking name would be better. 2. In the command \definebreakpoint, what do these keys do? I can't get them to do anything (MWE below) ** left ** middle ** right The left, right and middle keys are used in combination with “type=5”. \definebreakpoints

[NTG-context] Hyphenation documentation

2013-04-20 Thread Sietse Brouwer
\definebreakpoints[aapje] \definebreakpoint [aapje] [1] [nleft=3,nright=3,type=1] \definebreakpoint [aapje] [2] [nleft=3,nright=3,type=2] \definebreakpoint [aapje] [3] [nleft=3,nright=3,type=3] \definebreakpoint [aapje] [4] [nleft=3,nright=3,type=4] \definebreakpoint [aapje] [5] [nleft=3,nright=3,type=5