[NTG-context] Re: breakpoints in verbatim text

2023-08-18 Thread Hans Hagen
but Hans suggestion to provide a hook which can be used to re-enable the feature, e.g.     \startsetups [typing:mine]         \setbreakpoints[compound]     \stopsetups     \setuptyping [CUSTOM] [setups=typing:mine] The only flaw I can see in the suggestion is the use

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
persize[A7] \setbreakpoints[compound] \starttext \startlines[style=mono] 1. Thisisthetruth:waste-not-want-not 2. Thisisthetruth:waste/not/want/not 3. Thisisthetruth:waste+not+want+not 4. Thisisthetruth:waste(not(want(not)) 5. Thisisthetruth(waste)not)want)not \stoplines \stoptext

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Wolfgang Schuster
persize[A7] \setbreakpoints[compound] \starttext \startlines[style=mono] 1. Thisisthetruth:waste-not-want-not 2. Thisisthetruth:waste/not/want/not 3. Thisisthetruth:waste+not+want+not 4. Thisisthetruth:waste(not(want(not)) 5. Thisisthetruth(waste)not)want)not \stoplines \stoptext

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Alex Leray
zeverbatim and then   \startsetups typing:mine   \setbreakpoints[compound]   \stopsetups with   \starttyping[lines=yes,setups=typing:mine] I need Wolfgang to check it for possible interferen

[NTG-context] Re: breakpoints in verbatim text

2023-08-17 Thread Hans Hagen
gparameter \to \everyinitializeverbatim and then \startsetups typing:mine \setbreakpoints[compound] \stopsetups with \starttyping[lines=yes,setups=typing:mine] I need Wolfgang to check it for possible interferen

[NTG-context] breakpoints in verbatim text

2023-08-17 Thread Alex Leray
Hi, I'd like to break lines in verbatim on certain characters like "/". I can do it for normal texte, but not inside typing environment. Is there a way to achieve this? Below is my test code. Thanks, Alex * * * \setuppapersize[A7] \setbreakpoints[compound] \starttext 1. This is

[NTG-context] Tagging corrupts URLs in bibliographies

2022-06-30 Thread Max Chernoff via ntg-context
-context/tex/context/base/mkiv/publ-imp-apa.old2022-06-30 14:56:18.210565000 -0600 +++ texmf-context/tex/context/base/mkiv/publ-imp-apa.mkvi 2022-06-30 14:56:40.611212000 -0600 @@ -1263,12 +1263,12 @@ \setbreakpoints[doi] \ifconditional\btxinteractive \goto

[NTG-context] Rotating pages

2021-08-07 Thread Jeroen via ntg-context
[ A4,landscape] \setuppagenumbering[ location={footer,center}] \setbreakpoints[compound] \starttext \startsection[title={MyTitle},ref={apx}] \dorecurse{10}{\input zapf\par} \stopsection \stoptext \stopbuffer \savebuffer[list=apx, file=apx.tex] \starttext \startbodymatter

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
tion] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=medium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \se

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
dium] \setuptyping[typing][bodyfont=16pt] \setupwhitespace[medium] \setbreakpoints[compound] \setuphead[chapter][style=\bfd] \setuphead[section][style=\bfc] \setuphead[subsection][style=\bfb] \setuphead[subsubsection][style=\bf] \setupitemize[autointro] % prevent orphan list intro \setupitemize[indent

Re: [NTG-context] endash emdash

2021-06-23 Thread Jan U. Hasecke
get the plain source chars. The culprit was \setbreakpoints[compound] Any idea why this command gives such an effect? current version: 2021.06.10 23:13 juh ___ If your question is of interest to others as well

Re: [NTG-context] endash emdash

2021-06-23 Thread Hans Hagen
, as I expected. But in my project I always get the plain source chars. The culprit was \setbreakpoints[compound] Any idea why this command gives such an effect? yes, so i'll fix it Hans

Re: [NTG-context] Problem with word not hyphenating

2020-11-30 Thread Wolfgang Schuster
ementation}\\ \hyphenatedword{reimplementation} \stopTEXpage \stoptext If you comment the first line, only "||" allows hyphenation. Another option is to add \setbreakpoints[compound] to the document. Wolfgang

Re: [NTG-context] \setbreakpoints[compound] with numbers

2020-09-18 Thread Denis Maier
Am 17.09.2020 um 19:07 schrieb Hans Hagen: On 9/17/2020 4:54 PM, Denis Maier wrote: Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens

Re: [NTG-context] \setbreakpoints[compound] with numbers

2020-09-17 Thread Hans Hagen
On 9/17/2020 4:54 PM, Denis Maier wrote: Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is there a way to deal with this? Perhaps

[NTG-context] \setbreakpoints[compound] with numbers

2020-09-17 Thread Denis Maier
Hi, In the texts I'm currently typesetting, I occassionaly have to deal with ISBNs. So, e.g. 978-3-123456-78-9 \setbreakpoints[compound] does not enable automatic linebreaks after or before the hyphens. Is there a way to deal with this? Perhaps something similar like \hyphenatedurl

Re: [NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
On Tue, Sep 1, 2020 at 10:50 AM Christoph Reller wrote: > I am using ConTeXt LMTX 2020.08.28 13:58 with the following M(N)WE: > > \definetype[typeLUA][option=LUA] > \setbreakpoints[compound] > \starttext > \typeLUA{function(argument)} > \stoptext > > Sadly, it d

[NTG-context] Verbatim typing and compound breakpoints

2020-09-01 Thread Christoph Reller
Dear List, I am using ConTeXt LMTX 2020.08.28 13:58 with the following M(N)WE: \definetype[typeLUA][option=LUA] \setbreakpoints[compound] \starttext \typeLUA{function(argument)} \stoptext Sadly, it does not compile. The problem seems to be the simultaneous use of compound breakpoints

[NTG-context] \setbreakpoints[compound] and numbers

2020-05-19 Thread Peter Münster
Hi, How could I get breaking lines with numbers please? Example: \setbreakpoints[compound] \setuplayout[width=1mm] \starttext xxx/xxx % line break is ok here xx1/xxx % I would like a linebreak here too \stoptext TIA for any help, -- Peter

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Benjamin Buchmuller
no difference towards the result. This is the MWE based on your solution: \define[2]\mycommandc{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD{5'-#2} \stopxcell \stopxrow } \definebreakpoint[mybreaks][][nright=100,nleft=100,type=1] \setbreakpoints[mybreaks] \starttext

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Rik Kabel
” the default \setbreakpoints[compound]? On 23 Apr 2020, at 20:46, Benjamin Buchmuller wrote: Hi again, I am reading a CSV file into ConTeXt which contains long DNA sequences (>> 40 characters) to place in xtables. So far, this works fine. However, I need to uppercase the entries an

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Benjamin Buchmuller
that this has to do with the presence of “-“ which will be the preferred breakpoint. So, I guess the questions boils down to how to define the second argument of \definebreakpoint[mybreaks][][nright=12,nleft=12,type=1] in this case or how to “deactivate” the default \setbreakpoints[compound]? > On

Re: [NTG-context] Left hanging hyphen

2020-03-05 Thread Tomas Hala
Hi Wolfgang, # You can use the default language for the reset: # # \startsetups [language:czech] # \setbreakpoints [czcompound] # \stopsetups # # \startsetups [language:other] # \resetbreakpoints # \stopsetups # # \setuplanguage # [cz] # [setups=language:czech] # # \setuplanguage

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Wolfgang Schuster
or for > which it has not been set). > > How can I assign the definition only to the selected language? > (I discovered only to put {\mainlanguage[cz]text} into a group...) > > %% only a note: > I tried: > \def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage

Re: [NTG-context] Left hanging hyphen

2020-03-04 Thread Tomas Hala
..) %% only a note: I tried: \def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage \setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage \let\ORIGmainlanguage=\mainlanguage \def\mainlanguage[#1]{\def\langpar{#1} \def\langpom{cz}\ifx\langpom\langpar\gdef\mylangu

Re: [NTG-context] Left hanging hyphen

2020-03-02 Thread Wolfgang Schuster
efinebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4] \startsetups [czech] \setbreakpoints [czcompound] \stopsetups \setuplanguage [cz] [setups=czech] \definefontfeature [default] [default] [protrusion=tomas_hala] \setupalign [hanging] \mainlanguage [cz] \showframe [text] [text] \st

[NTG-context] Left hanging hyphen

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

Re: [NTG-context] \setbreakpoints[compound] not working?

2020-02-25 Thread Pablo Rodriguez
On 2/25/20 8:56 PM, Wolfgang Schuster wrote: > On Tue, 25 Feb 2020 20:43:59 +0100 Pablo Rodriguez wrote: >> [...] >> I mean, line isn’t broken after any "/". >> >> Is this a bug in MkXL (and MkIV) or am I missing something? > > The break happpens only when letters are on the left and right side >

Re: [NTG-context] \setbreakpoints[compound] not working?

2020-02-25 Thread Wolfgang Schuster
On Tue, 25 Feb 2020 20:43:59 +0100 Pablo Rodriguez wrote: > Dear list, > > I cannot get this working: > > \setuppapersize[A9] > \setupbodyfont[26pt] > \setbreakpoints[compound] > \starttext > 1989/3242/CEE\\ > 2009/3926/UE\\ >

[NTG-context] \setbreakpoints[compound] not working?

2020-02-25 Thread Pablo Rodriguez
Dear list, I cannot get this working: \setuppapersize[A9] \setupbodyfont[26pt] \setbreakpoints[compound] \starttext 1989/3242/CEE\\ 2009/3926/UE\\ \stoptext I mean, line isn’t broken after any "/". Is this a bug in MkXL (and MkIV) or am I missing someth

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Wolfgang Schuster
On Fri, 24 Jan 2020 18:57:50 +0100 Tomas Hala wrote: > > Hi Thomas, > > I compiled (TL2019) it with as well as without \setbreakpoints[compound] and > I got the same result -- in both case I see both colours. The output with LuaTeX is correct but when you use LuaMetaTeX t

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Tomas Hala
Hi Thomas, I compiled (TL2019) it with as well as without \setbreakpoints[compound] and I got the same result -- in both case I see both colours. Wishes, Tomáš Fri, Jan 24, 2020 ve 06:45:06PM +0100 Thomas A. Schmitz napsal(a): # # # > On 23. Jan 2020, at 12:45, Tomas Hala wr

Re: [NTG-context] line numbering within frame

2020-01-24 Thread Thomas A. Schmitz
’s bonus question. But I have continued testing and discovered what is certainly a bug. Here’s a new example: \setbreakpoints [compound] \definelinenumbering [original] [style=\tx\ss,distance=-1ex,step=5,location=inleft,start=10,color=darkred] \definelinenumbering [translation] [sty

Re: [NTG-context] Overfull hbox issues: different font,

2019-09-08 Thread Pablo Rodriguez
Namenskonflikte}\\ \setbreakpoints[compound] \hyphenatedword{gemessene Namens-konflikte Namenskonflikte} \stopbuffer \starttext \startTEXpage[offset=3em] \getbuffer[text]\\ \language[de] \getbuffer[text] \stopTEXpage \stoptext I hope it helps,

Re: [NTG-context] Creating one's own style

2019-05-18 Thread Alan Braslau
range effect (full MWE in attachment): Corrected MWE attached. -- Alan Context_bib.pdf Description: Adobe PDF document %\enabletrackers[publications.setups] \setuplanguage[ru] \setupbodyfont[dejavu] \mainlanguage[russian] \setupindenting[big,yes] \setbreakpoints[compound] \startbuffer[bib] @

Re: [NTG-context] Hyphenation questions

2019-05-01 Thread Henning Hraban Ramm
Am 2019-04-24 um 19:47 schrieb Wolfgang Schuster : > Dmitry Starostin schrieb am 24.04.2019 um 19:34: >> 1. is there an analog to \hyp{} command from the 'hyphenat' package? Double >> words with a dash happen all too often. > > 1. Add \setbreakpoints[compound] t

Re: [NTG-context] Hyphenation questions

2019-04-24 Thread Wolfgang Schuster
Dmitry Starostin schrieb am 24.04.2019 um 19:34: 1. is there an analog to \hyp{} command from the 'hyphenat' package? Double words with a dash happen all too often. 1. Add \setbreakpoints[compound] to enable a line break at a hyphen. \setbreakpoints[compound] \starttext electromagnetic

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
] # # \appendtoks #\ifx\mylanguage\currentlanguage # \setbreakpoints[czcompound] #\else # \resetbreakpoints #\fi # \to\everylanguage # # It would be nice if that language= key would work, though (it is ignored, it seems) I agree... Best wishes, Tomáš # Taco # # # > On 22

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] How to repeat the hyphen?

2019-03-22 Thread Tomas Hala
it only for the given language(s), eg. for cz+sk yes and for en no. Is there any way for this? Best wishes, Tomáš \definebreakpoint [compound] [-] [nleft=3,nright=3,type=4, language=cz] \setbreakpoints[compound] Thu, Mar 21, 2019 ve 04:45:49PM +0100 Taco Hoekwater napsal(a): # Hi

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

2019-03-21 Thread Taco Hoekwater
Hi, \definebreakpoint [compound] [-] [nleft=3,nright=3,type=4] \setbreakpoints[compound] But also check the wiki, there can be side-effects to \setbreakpoints[compound] https://wiki.contextgarden.net/Compound_words Best wishes, Taco > On 21 Mar 2019, at 16:23, Tomas Hala wrote: >

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Henri Menke
m-dash when \automichyphenmode is 1? The only way I > found is to explicitly insert a penalty: \setbreakpoints[compound] makes dash---dash breakable but not dash—dash > > \starttext > \hsiz

Re: [NTG-context] \setbreakpoints[compound] inserts spurious hyphen

2019-01-28 Thread Alan Braslau
On Mon, 28 Jan 2019 22:05:07 +1300 Henri Menke wrote: > This was falsely > reported as an issue with the btx system on TeX.SX. > https://tex.stackexchange.com/q/472041 Indeed, the mailing list, not stackexchange, is the place to report problems encountered in using ConTeXt ... Alan

Re: [NTG-context] \setbreakpoints[compound] inserts spurious hyphen

2019-01-28 Thread Hans Hagen
On 1/28/2019 10:05 AM, Henri Menke wrote: Dear list, When \setbreakpoints is set to the method compound, it inserts a spurious hyphen on the next line, see MWE below. This was falsely reported as an issue with the btx system on TeX.SX. https://tex.stackexchange.com/q/472041 it's what one

[NTG-context] \setbreakpoints[compound] inserts spurious hyphen

2019-01-28 Thread Henri Menke
Dear list, When \setbreakpoints is set to the method compound, it inserts a spurious hyphen on the next line, see MWE below. This was falsely reported as an issue with the btx system on TeX.SX. https://tex.stackexchange.com/q/472041 Cheers, Henri --- \setupbodyfont[palatino,14pt

Re: [NTG-context] Issue with ligatures before dashes

2018-10-30 Thread Wolfgang Schuster
\setuppapersize[A7] \starttext fi fl ffi ffl fi-fi fl-fl ffi-ffi ffl-ffl \setbreakpoints[compound] fi-fi fl-fl ffi-ffi ffl-ffl \stoptext Wolfgang Rik Kabel schrieb am 30.10.18 um 17:32: This was reported on the LuaLatex list yesterday, and I extended the example to include ConTeXt

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
tupbodyfont [mainface,10pt] \setuptolerance [verytolerant] \mainlanguage [de] \setbreakpoints[compound] \definelayer[Hintergrund] [x=0, y=0, width=\paperwidth, height=\paperwidth] \setlayer[Hintergrund] [x=1.2cm, y=1cm] {\externalfigure[../bilder/logo.pdf][width=7cm]} \definelayer[topic1] [x=-3mm,

Re: [NTG-context] Hyphenation with dashes in natural table

2017-09-11 Thread Thomas A. Schmitz
On 09/11/2017 10:23 PM, Rik Kabel wrote: See http://wiki.contextgarden.net/Compound_words. But this page also contains the solution to the original problem: \setbreakpoints [compound] Thomas ___ If your question

Re: [NTG-context] frac opentype feature broken by \setbreakpoints[compound]

2017-02-14 Thread Hans Hagen
On 2/13/2017 4:47 PM, MF wrote: Hello list, I found an interference between the "frac" opentype feature and \setbreakpoints[compound], which make the former fail when you have a numerator more than 2 digit wide. I found it with Adobe Garamond Premier Pro: with \setbreakpoints[compo

[NTG-context] frac opentype feature broken by \setbreakpoints[compound]

2017-02-13 Thread MF
Hello list, I found an interference between the "frac" opentype feature and \setbreakpoints[compound], which make the former fail when you have a numerator more than 2 digit wide. I found it with Adobe Garamond Premier Pro: with \setbreakpoints[compound], when the fraction had a 3-digi

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

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-12 Thread Otared Kavian
tand that it might stress you! Best regards: OK % begin bizarre-error.tex \version[temporary] \setbreakpoints[compound] \setuppagenumbering[alternative=doublesided] \starttext \startstandardmakeup \stopstandardmakeup {\em Detailtypografie} by Friedrich Frossman \phantom{Junior

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
016 01:49 PM, Henri Menke wrote: >> Dear Thomas, >> >> does it also compile on latest beta when there is a hyphen in the filename? >> BTW, the example can be simplified a little by just using >> \setbreakpoints[compound] instead of my complicated hyphen thing (Updated

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Thomas A. Schmitz
On 10/10/2016 01:49 PM, Henri Menke wrote: Dear Thomas, does it also compile on latest beta when there is a hyphen in the filename? BTW, the example can be simplified a little by just using \setbreakpoints[compound] instead of my complicated hyphen thing (Updated example is below.). Also

Re: [NTG-context] Paranormal bug in TL 2016

2016-10-10 Thread Henri Menke
Dear Thomas, does it also compile on latest beta when there is a hyphen in the filename? BTW, the example can be simplified a little by just using \setbreakpoints[compound] instead of my complicated hyphen thing (Updated example is below.). Also I'm very sure that it is mainly related

[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] Margin kerning for compounds

2016-09-08 Thread Thomas A. Schmitz
|-|. Just add \setbreakpoints[compound] to the preamble of your documents, and you get both hyphenation and margin kerning, no need for |-|. Thomas ___ If your question is of interest to others as well, please add

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Marco Patzer
>> > >> ! error: (nodes): trying to delete an attribute reference of a > >> non attribute node mtx-context | fatal error: return code: 1 > >> > >> \setbreakpoints [compound] > >> \useMPlibrary [dum] > >> > >> \starttext >

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-03 Thread Hans Hagen
ode: 1 \setbreakpoints [compound] \useMPlibrary [dum] \starttext \startTABLE \NC \externalfigure [foo-bar] [width=\textwidth] \NC foo bar foo bar foobarfoobar \bold{} \NC\NR \stopTABLE \stoptext Any ideas? has been fixed a

Re: [NTG-context] trying to delete an attribute reference of a non attribute node

2016-07-02 Thread Marco Patzer
On Thu, 30 Jun 2016 18:23:18 +0200 Marco Patzer <li...@homerow.info> wrote: > The following example throws the error: > > ! error: (nodes): trying to delete an attribute reference of a non > attribute node mtx-context | fatal error: return code: 1 > > \

[NTG-context] trying to delete an attribute reference of a non attribute node

2016-06-30 Thread Marco Patzer
Hi! The following example throws the error: ! error: (nodes): trying to delete an attribute reference of a non attribute node mtx-context | fatal error: return code: 1 \setbreakpoints [compound] \useMPlibrary [dum] \starttext \startTABLE \NC \externalfigure [foo-bar] [width

Re: [NTG-context] some difficulties with btxlist

2016-04-25 Thread Pablo Rodriguez
I can't figure it out myself. Hi Thomas, this should do the trick: \definebreakpoint [compound] [—]% em-dash \definebreakpoint [compound] [–]% en-dash \setbreakpoints [compound] I hope it help

Re: [NTG-context] breakpoints & dashes in recent betas

2016-04-08 Thread Hans Hagen
On 4/7/2016 10:11 PM, Brian R. Landy wrote: Hi, I noticed this behavior today (on 2016.03.13 and 2016.04.01): \starttext em-dash: 50---70\par em-dash: discussion---largest\par \setbreakpoints[compound] 3 hyphens: 50---70\par 1 hyphen and 1 en-dash: discussion---largest\par

[NTG-context] breakpoints & dashes in recent betas

2016-04-07 Thread Brian R. Landy
Hi, I noticed this behavior today (on 2016.03.13 and 2016.04.01): \starttext em-dash: 50---70\par em-dash: discussion---largest\par \setbreakpoints[compound] 3 hyphens: 50---70\par 1 hyphen and 1 en-dash: discussion---largest\par \stoptext After \setbreakpoints

Re: [NTG-context] issue with break point

2016-02-03 Thread Hans Hagen
On 2/1/2016 7:39 PM, Pablo Rodriguez wrote: Dear list, I have the following code: \definebreakpoint[compound][—] \setbreakpoints[compound] \starttext \hsize\zeropoint Adobe—named {\em Adobe}—named \stoptext The second line doesn’t get the em-dash

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Pablo Rodriguez
On 07/07/2015 05:41 PM, Arthur Reutenauer wrote: [...] That's because the word you're trying to hyphenate is Amsterdam-Buitenveldert, not Amsterdam. Compound words are by default hyphenated only at the hyphen in TeX. \setbreakpoints[compound] works in the following sample: \language

Re: [NTG-context] hyphenation exceptions?

2015-07-07 Thread Meer, H. van der
...@gmx.esmailto:oi...@gmx.es wrote: On 07/07/2015 05:41 PM, Arthur Reutenauer wrote: [...] That's because the word you're trying to hyphenate is Amsterdam-Buitenveldert, not Amsterdam. Compound words are by default hyphenated only at the hyphen in TeX. \setbreakpoints[compound] works

Re: [NTG-context] vim module: modify line wrapping

2015-05-13 Thread Andreas Schneider
Am 12.05.2015 21:09, schrieb Aditya Mahajan: Does \setbreakpoints[compound] help? If not, please post a minimal example. Aditya Unfortunately not. Here is an example: \usemodule[vim] \definevimtyping[JSON

Re: [NTG-context] vim module: modify line wrapping

2015-05-12 Thread Aditya Mahajan
at /. Is something like that possible? And if so: how? Does \setbreakpoints[compound] help? If not, please post a minimal example. Aditya ___ If your question is of interest to others as well, please add an entry

[NTG-context] issue with \definebreakpoint

2015-03-22 Thread Pablo Rodriguez
Dear list, for a document I’m writing, I have the following sample: \setuppapersize[A6] \definebreakpoint [compound] [–]% en-dash \setbreakpoints[compound] \starttext I hyphenate pseudo–classes and pseudo–elements in a justified paragraph. \startalign[middle] But not when centered: pseudo

Re: [NTG-context] issue with \definebreakpoint

2015-03-22 Thread Wolfgang Schuster
Am 22.03.2015 um 13:33 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, for a document I’m writing, I have the following sample: \setuppapersize[A6] \definebreakpoint [compound] [–]% en-dash \setbreakpoints[compound] \starttext I hyphenate pseudo–classes and pseudo–elements

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
[content][level=4, alternative=c] \setbreakpoints[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext [...] Output

[NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Rob Heusdens
A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c] \setbreakpoints

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Pablo Rodriguez
] \setupcombinedlist[content][level=4, alternative=c] \setbreakpoints[compound] \starttext \completecontent \chapter{Noten bij de digitale (her)uitgave} \chapter{Noten bij de digitale (her)\-uitgave} \chapter{Tries: her)uit} \chapter{Tries: her)ui} \chapter{Tries: er)uit} \stoptext [...] Output

[NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-27 Thread Jörg Weger
] \usebtxdataset[testbib_daf.bib] \showframe \setbreakpoints[compound] \setupalign [hyphenated,justified,hanging,hz,] \definefontfeature[default][default][expansion=quality,protrusion=quality,] \hyphenation{Helbig Deutscher Heraus-geber} \starttext \cite[authoryears][weinrich:2006] \cite[authoryear

Re: [NTG-context] Protrusion with compound word hyphenation (||)

2014-07-01 Thread Wolfgang Schuster
. } \stoptext Is this expected behavior? Can it be changed? Use a normal hyphen and the \setbreakpoints command. \setuppapersize[monarch] \definefontfeature [default] [default] [protrusion=quality] \setupalign[hanging] \setuptolerance[horizontal,strict] \setbreakpoints[compound

Re: [NTG-context] automatically adding commands to some characters

2014-05-01 Thread Pablo Rodriguez
/\hskip0pt 98/\hskip0pt EEC \setbreakpoints http://wiki.contextgarden.net/Command/setbreakpointsin MKIV should do it. Just add it to you pandoc context template. Many thanks for your help, Rik. It is exactly what I needed. Pablo -- http://www.ousia.tk

Re: [NTG-context] automatically adding commands to some characters

2014-04-28 Thread Rik Kabel
93/\hskip0pt 98/\hskip0pt EEC Many thanks for your help, Pablo \setbreakpoints http://wiki.contextgarden.net/Command/setbreakpointsin MKIV should do it. Just add it to you pandoc context template. -- Rik ___ If your

[NTG-context] \setbreakpoints[compound] in tables

2014-04-04 Thread Philipp A.
hi, when inputting table data using \processdatabasefile, my initial \setbreakpoints[compound] seems to have no effect. is there a way to make it work? ___ If your question is of interest to others as well, please add

Re: [NTG-context] \setbreakpoints[compound] in tables

2014-04-04 Thread Hans Hagen
On 4/4/2014 2:55 PM, Philipp A. wrote: hi, when inputting table data using \processdatabasefile, my initial \setbreakpoints[compound] seems to have no effect. is there a way to make it work? no example .. no answer Hans

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-11-01 Thread Hans Hagen
] \startsetups Test \setbreakpoints[compound] \stopsetups \definetype[Test][lines=hyphenated, setups=Test, space=stretch] \showframe \starttext hellohello hellohello % should break like this: hel- lohello (ok) hellohello \Test{hel_lohello} % should break like this: hel_ lohello (not ok) hellohello

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-29 Thread Peter Münster
Hello Hans, Is it also possible, to break inside the \type{} only at well defined characters and without hyphenation? Example: --8---cut here---start-8--- \definebreakpoint[compound][_] \setuplayout[width=25mm] \startsetups Test \setbreakpoints[compound

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-07 Thread Peter Münster
it does not work: --8---cut here---start-8--- \unprotect \unexpanded\def\specialstretchedspace{\hskip.5\interwordspace\s!plus.125\interwordspace\relax} \protect \definetype[whatever][lines=yes, space=stretch] \setbreakpoints[compound] \starttext \hsize4cm \whatever

Re: [NTG-context] \definetype[xxx][linebreaks=yes, breakpoints=name]

2013-10-07 Thread Hans Hagen
] \setbreakpoints[compound] \starttext \hsize4cm \whatever{fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla} fasdfjkl-fjsdkal-jskla-fjksdla-fjksdl-afjksdla \stoptext --8---cut here---end---8--- What am I doing wrong please? I uploaded a bit more robust variant: \starttext

[NTG-context] tabulate and tolerance

2013-09-26 Thread Peter Münster
Hi, It seems, that tabulate does not use the tolerance setting: --8---cut here---start-8--- \setbreakpoints[compound] \setuptolerance[stretch] \starttext \starttabulate[|p(1cm)|l|] \NC bla-blabla-bla \NC XXX \NC \NR \stoptabulate \hsize1cm bla-blabla-bla

Re: [NTG-context] tabulate and tolerance

2013-09-26 Thread Wolfgang Schuster
Am 26.09.2013 um 21:33 schrieb Peter Münster pmli...@free.fr: Hi, It seems, that tabulate does not use the tolerance setting: --8---cut here---start-8--- \setbreakpoints[compound] \setuptolerance[stretch] \starttext \starttabulate[|p(1cm)|l|] \NC

Re: [NTG-context] Hyphenation documentation

2013-04-21 Thread Wolfgang Schuster
[test] \definebreakpoint [test] [?] [type=5,left=L,right=R,middle=M] \setbreakpoints[test] \setuppapersize[A7] \starttext \showframe ???????\par \stoptext 3. Is there perhaps a bug in breakpoints of type 2 and 3. (MWE below.) The key 'type' seems to control

[NTG-context] Hyphenation documentation

2013-04-20 Thread Sietse Brouwer
] \definebreakpoint [aapje] [6] [nleft=3,nright=3,left=X,middle=Y,right=Z] \setbreakpoints[aapje] \setuppapersize[A7] \showframe \starttext \setupwhitespace[big] aapje1aapje1aapje1aapje1aapje1aapje1aapje \par aapje2aapje2aapje2aapje2aapje2aapje2aapje \par aapje3aapje3aapje3aapje3aapje3aapje3aapje \par

[NTG-context] \setupbreakpoint[compound] not working

2013-04-18 Thread Aditya Mahajan
Hi, I do not get a line-break after a dash if I set \setupbreakpoint[compound] Minimal example (tested with 2013.04.14 MkIV) \setbreakpoints[compound] \setuppapersize[S3] \showframe \starttext ABCD node-to-node node-to-node node-to-node node-to-node

Re: [NTG-context] \setupbreakpoint[compound] not working

2013-04-18 Thread Wolfgang Schuster
Am 19.04.2013 um 01:53 schrieb Aditya Mahajan adit...@umich.edu: Hi, I do not get a line-break after a dash if I set \setupbreakpoint[compound] Minimal example (tested with 2013.04.14 MkIV) \setbreakpoints[compound] \setuppapersize[S3] \showframe \starttext

Re: [NTG-context] \setupbreakpoint[compound] not working

2013-04-18 Thread Aditya Mahajan
) \setbreakpoints[compound] \setuppapersize[S3] \showframe \starttext ABCD node-to-node node-to-node node-to-node node-to-node \stoptext See the attached file for output. Is it a bug, or am I missing something. The breakpoint command expects a certain number

[NTG-context] \setupbreakpoints[compound] does not work?

2012-11-29 Thread H. Özoguz
Hi, in the following example I use \setbreakpoints[compound], I understood, that word-breaking would be made (or preferred) at hyphens. There could be a perfect line break at the hyphen of -CC, but there is no break, and instead the complete word AA-BB-CC is printed, then partially

Re: [NTG-context] \setupbreakpoints[compound] does not work?

2012-11-29 Thread Wolfgang Schuster
Am 29.11.2012 um 13:12 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, in the following example I use \setbreakpoints[compound], I understood, that word-breaking would be made (or preferred) at hyphens. There could be a perfect line break at the hyphen of -CC, but there is no break

Re: [NTG-context] Hyphenation in German

2012-11-15 Thread Wolfgang Schuster
of german words (like DUDEN has) or something like that, not not have to add \- all the time? You can add your own list with hyphenation patterns with \startexceptions[de] Trenn-fuge Binde-strich … \stopexceptions To break words at “-” and /” signs add \setbreakpoints[compound] to your document

  1   2   >