[NTG-context] Re: End-page hyphenation

2025-07-05 Thread John Was
; > > A long-cherished desideratum is automatic prohibition of hyphenation at > > the end of a recto page (except for split footnotes, where this is > > actually quite helpful in forcing the reader to complete the note on the > > following verso). That was always disallowed at

[NTG-context] End-page hyphenation

2025-07-05 Thread John Was
Hello A long-cherished desideratum is automatic prohibition of hyphenation at the end of a recto page (except for split footnotes, where this is actually quite helpful in forcing the reader to complete the note on the following verso). That was always disallowed at OUP (but allowed at the end of

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread mf
Il 22/10/24 21:22, Hans Hagen via ntg-context ha scritto: On 10/22/2024 7:22 PM, Tomáš Hála wrote: Towards my previous post: I know that one can use \hyphenation{l'operaio} for solving the particular word with article. The question is how to fix it generally (i.e. for all words with ar

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Hans Hagen via ntg-context
On 10/22/2024 7:22 PM, Tomáš Hála wrote: Towards my previous post: I know that one can use \hyphenation{l'operaio} for solving the particular word with article. The question is how to fix it generally (i.e. for all words with article) via exceptions or by another way. I'll send

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Tomáš Hála
Towards my previous post: I know that one can use \hyphenation{l'operaio} for solving the particular word with article. The question is how to fix it generally (i.e. for all words with article) via exceptions or by another way. Tomáš On Tue, Oct 22, 2024 at 06:32:47PM +0200, Tomáš Hála

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Tomáš Hála
ords with articles where hyphenation is supressed (below). Is there any way how to fix it? Tomáš \starttext \startexceptions %nell{a}{}{a'}opera nel{-}{l'}{l'}opera \stopexceptions \start \hsize 10cm nell'opera \par l'operaio \par \stop \start \hsize 01mm nell'

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Hans Hagen
Hi Tomáš and Massi, I chose this one: nell\discretionary{a}{}{'}opera It's not a general solution, but it's a local, elegant fix. In my case I had "dell’Informazione", hyphenated as "del-l’Informazione". That hyphenation is fine in general, but here it hap

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread mf
Thank you, Tomáš! I chose this one: nell\discretionary{a}{}{'}opera It's not a general solution, but it's a local, elegant fix. In my case I had "dell’Informazione", hyphenated as "del-l’Informazione". That hyphenation is fine in general, but here it hap

[NTG-context] Re: italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread Tomáš Hála
\par 3.~nel|l'|opera } \starttext \hsize10cc \par \mycmd \hsize1dd \par \mycmd \stoptext %%%%%% % FULL WORDS, NO HYPHENATION %% % For number 3 you need: \definetextmodediscretionary ' {\discretionary{a}{}{'}} %\definetextmodediscret

[NTG-context] italian words with apostrophe - hyphenation and discretionary

2024-10-22 Thread mf
ot;, feminine) lo operaio => l'operaio ("the worker", masculine) This extends to articulate prepositions (preposition+article), like nella opera => nell'opera ("in the work", "in the opera") dello operaio => dell'operaio ("of the worker&

[NTG-context] Re: How to allow hyphenation, only for footnotes?

2024-08-10 Thread Wolfgang Schuster
\stop Is there a reason why do the alignment change within a local group? The problem is that is messing with footnotes, causing things like URLS to run off the page. How can I permit the hyphenation to appear normally, but only on the footnote text? \setupalign[verytolerant,nothyphe

[NTG-context] How to allow hyphenation, only for footnotes?

2024-08-10 Thread Joel via ntg-context
hings like URLS to run off the page. How can I permit the hyphenation to appear normally, but only on the footnote text? --Joel ___ If your question is of interest to others as well, please add an entry to the

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-20 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 20.05.2024 um 03:30: I'm using mostly default ConTeXt settings, but an editor has warned I should avoid using hyphenation at the end of lines--at least for my particular audience. I've found manual text that says how to disable specific words f

[NTG-context] Re: How to disable hyphenation at the end of a line?

2024-05-19 Thread Mikael Sundqvist
ttings, but an editor has warned I should > avoid using hyphenation at the end of lines--at least for my particular > audience. > > I've found manual text that says how to disable specific words from being > hyphenated. > > Is there a whole-docu

[NTG-context] How to disable hyphenation at the end of a line?

2024-05-19 Thread Joel via ntg-context
I'm using mostly default ConTeXt settings, but an editor has warned I should avoid using hyphenation at the end of lines--at least for my particular audience. I've found manual text that says how to disable specific words from being hyphenated. Is there a whole-document switch to

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-18 Thread Hraban Ramm
details about hyphenation. \startexceptions[de] He{k-}{k}{ck}en-e{k-}{k}{ck}en-ze{k-}{k}{ck}en \stopexceptions % \registerhyphenationpattern[de][c1k/k=k] % % \setuphyphenation[method=traditional] \mainlanguage[de] \starttext Heckeneckenzecken = \hyphenatedword{Heckeneckenzecken} \stoptext

[NTG-context] Re: ck hyphenation in old German orthography

2024-03-17 Thread Wolfgang Schuster
][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2, ] \starttext \hyphenatedfile{aesop-de} \startcolumns Funktioniert die Trennung? Heckeneckenzecken \samplefile{aesop-de} \stopcolumns \stoptext Just as a start, the languages manual provides more details about hyphenation. \startexceptions[de

[NTG-context] ck hyphenation in old German orthography

2024-03-17 Thread Hraban Ramm
Hi, the sample file aesop-de is in old German orthography, there, ck should get hyphenated as k-k, this doesn’t work (e.g. Mücke isn’t hyphenated at all). Is there something I can configure? Hraban \mainlanguage[deo] \setuplanguage[deo][   hyphenmin=4,   lefthyphenmin=2,   righthyphenmin=2, ]

[NTG-context] Re: hyphenation question

2024-02-02 Thread Hans van der Meer via ntg-context
eve]/ indicating to the reader how the >> abbreviation was interpreted. >> The problem then arises with hyphenation, because /voors[chreeve]/ in the >> example will not be hyphenated as if the []'s were absent. Which is what I >> would like to happen. >&

[NTG-context] Re: hyphenation question

2024-02-02 Thread Hans Hagen via ntg-context
abbreviation was interpreted. The problem then arises with hyphenation, because /voors[chreeve]/  in the example will not be hyphenated as if the []'s were absent. Which is what I would like to happen. Question: is it possible to realize this and how? Like this? \starttext \startexceptions

[NTG-context] hyphenation question

2024-02-02 Thread Hans van der Meer via ntg-context
In the 18th century documents I am transcribing often words are abbreviated as for example voorschreeve becoming voors: In the transcription it is usual to write this as voors[chreeve] indicating to the reader how the abbreviation was interpreted. The problem then arises with hyphenation

[NTG-context] Re: Hyphenation for Indonesian language

2023-12-29 Thread Hans Hagen
On 12/29/2023 9:09 PM, Arthur Rosendahl wrote: Hi Muhammad, On Sat, Dec 30, 2023 at 01:08:24AM +0700, Muhammad Rizqi Siregar wrote: I'd like to ask if ConTeXt LMTX has hyphenation for Indonesian language or a way to enable it. I think Babel package in LaTeX has some pattern file

[NTG-context] Re: Hyphenation for Indonesian language

2023-12-29 Thread Arthur Rosendahl
Hi Muhammad, On Sat, Dec 30, 2023 at 01:08:24AM +0700, Muhammad Rizqi Siregar wrote: > I'd like to ask if ConTeXt LMTX has hyphenation for Indonesian language or > a way to enable it. I think Babel package in LaTeX has some pattern files > for the language, although I am no

[NTG-context] Hyphenation for Indonesian language

2023-12-29 Thread Muhammad Rizqi Siregar
Hello, I'd like to ask if ConTeXt LMTX has hyphenation for Indonesian language or a way to enable it. I think Babel package in LaTeX has some pattern files for the language, although I am not sure whether they can be borrowed to work with ConTeXt or not. Appreciate any help on this. T

[NTG-context] Re: [ how to force hyphenation all words ]

2023-11-16 Thread Marco Patzer
On Thu, 16 Nov 2023 21:40:08 +0100 vm via ntg-context wrote: > Is there a command in context to force every word in a text to > hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Like this? \starttext \hyphenatedword{\samplefile{knuth}} \stoptext Marco ___

[NTG-context] [ how to force hyphenation all words ]

2023-11-16 Thread vm via ntg-context
Is there a command in context to force every word in a text to hyphenate? e.g to typeset a text with "ge-dach-ten-streep-jes" Thanks .Floris ___ If your question is of interest to others as well, please add an entry t

[NTG-context] Re: hyphenation inside quotation

2023-08-22 Thread Hans Hagen
On 8/22/2023 9:59 AM, Henning Hraban Ramm wrote: Am 20.08.23 um 08:32 schrieb Wolfgang Schuster: In the next release you don't need the method=font anymore because the missing hyphenation is the result of a old patch which was needed in 2013. Back than there was no problem with hyphen

[NTG-context] Re: hyphenation inside quotation

2023-08-22 Thread Henning Hraban Ramm
Am 20.08.23 um 08:32 schrieb Wolfgang Schuster: In the next release you don't need the method=font anymore because the missing hyphenation is the result of a old patch which was needed in 2013. Back than there was no problem with hyphenation and the patch but since than Hans added a fe

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 19.08.2023 um 18:10: On 8/19/23 17:51, Wolfgang Schuster wrote: You can use the font method to have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
On 8/19/23 17:51, Wolfgang Schuster wrote: You can use the font method to have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method

[NTG-context] Re: hyphenation inside quotation

2023-08-19 Thread Wolfgang Schuster
have hyphenated words back. The culprit which prevents hyphenation are the penalty settings which are added by ConTeXt when the default method is used. \mainlanguage [de] \setuppapersize [A6] \setupquotation[method=text] \starttext „Originalgenie“ „Originalgenie“ „Originalgenie“ \quot

[NTG-context] hyphenation inside quotation

2023-08-19 Thread Thomas A. Schmitz
Hi, is this a limitation or a bug? Text inside \quotation{} is not hyphenated. It appears to be like this for a couple of versions, but I'm not sure if it has always been the case. Silly example to test: \mainlanguage [de] \setuppapersize [A6] \setupbodyfont [14pt] \starttext „Originalgen

[NTG-context] Re: \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
e offical tag but for historic reasone we use ua as language; given >> the uk's exit and ua's entry in the european union we could now consider >> adapting it; and i'd wonder is anyone would notice - or bother - is we'd use >> ukrain hyphenation for russ

[NTG-context] \phrasetext issue with language uk. Was: Ukrainian hyphenation?

2023-08-05 Thread Gerben Wierda
mf-context/tex/context/patterns/mkiv/lang-uk.lua > > uk is the offical tag but for historic reasone we use ua as language; given > the uk's exit and ua's entry in the european union we could now consider > adapting it; and i'd wonder is anyone would notice - or both

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen via ntg-context
the european union we could now consider adapting it; and i'd wonder is anyone would notice - or bother - is we'd use ukrain hyphenation for russian, which could save some bytes in

[NTG-context] Re: Ukrainian hyphenation?

2023-07-18 Thread Gerben Wierda
> On 19 Jul 2023, at 08:52, Hans Hagen wrote: > > so best not mess with setting up languages that already have been set up. I had no idea I was messing. What am I doing wrong, then. Because in my actual document with ua language setting it is not hyphenated. This was just a minimal example

[NTG-context] Re: Ukrainian hyphenation?

2023-07-18 Thread Hans Hagen
On 7/19/2023 12:36 AM, Gerben Wierda wrote: This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:obli

[NTG-context] Ukrainian hyphenation?

2023-07-18 Thread Gerben Wierda
This file: \setupinteraction [state=start, color=blue, style=bold] \definefallbackfamily [archimate] [ss] [Helvetica] [preset=range:cyrillic, tf=style:light, it=style:lightoblique, bf=style:regular, bi=style:oblique, force=yes, rscale=1.0] \definefontfamily [arch

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-10 Thread Pablo Rodriguez via ntg-context
On 12/8/22 13:14, Hans Hagen via ntg-context wrote: > [...] > \setuplanguage > [explicitrighthyphenchar=-1] Sorry for insisting, Hans, but many languages (excepting en and uk) seem nor to recogize this option: \startluacode function document.addfunnyhyphen(tfmdata) local underscore =

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
es] \starttext \startTEXpage[offset=1em, width=4em] \hsize\zeropoint\tt \hyphenatedword{legibility-legible} \stopTEXpage \stoptext Results are the same with "\mainlanguage[es]" or "\mainlanguage[nl]". If "\mainlanguage" is placed after "\setuplanguage"

Re: [NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Hans Hagen via ntg-context
On 12/8/2022 12:33 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end

[NTG-context] extra hyphen in underscore hyphenation

2022-12-08 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end tfmdata.characters[0xFE000] = { width= 0,

Re: [NTG-context] Suboptimal German hyphenation

2022-10-31 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez via ntg-context > Gesendet: Mittwoch, 19. Oktober 2022 20:02 > An: Leah Neukirchen via ntg-context > Cc: Pablo Rodriguez > Betreff: Re: [NTG-context] Suboptimal German hyphenation >

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Pablo Rodriguez via ntg-context
On 10/24/22 17:09, Hans Hagen via ntg-context wrote: >> [...] >> Hans, is there any news regarding Pablos wish? > no, because I'm in a different tex mode ... Steffen, meanwhile, a way of crappy cheating... \setuphyphenation[method=traditional] \doloopoverlist{en,nl,de,es,it,fr,da,fi} {\r

Re: [NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Hans Hagen via ntg-context
On 10/24/2022 3:08 PM, Steffen Wolfrum wrote: Anfang der weitergeleiteten Nachricht: *Von: *Pablo Rodriguez via ntg-context <mailto:ntg-context@ntg.nl>> *Betreff: **Aw: [NTG-context] Hyphenation in multi-language projects* *Datum: *14. September 2022 um 19:40:53 MESZ *An: *Denis

[NTG-context] Fwd: Hyphenation in multi-language projects

2022-10-24 Thread Steffen Wolfrum via ntg-context
> Anfang der weitergeleiteten Nachricht: > > Von: Pablo Rodriguez via ntg-context <mailto:ntg-context@ntg.nl>> > Betreff: Aw: [NTG-context] Hyphenation in multi-language projects > Datum: 14. September 2022 um 19:40:53 MESZ > An: Denis Maier via ntg-context

Re: [NTG-context] Suboptimal German hyphenation

2022-10-19 Thread Pablo Rodriguez via ntg-context
On 10/19/22 16:47, Leah Neukirchen via ntg-context wrote: >> [...] >> Many prefixes have two letters, so changing the default may be >> reasonable. But there are more experienced German typographers on >> this list who can chime in. > > After some research, I found the recommendation in > Forssman

Re: [NTG-context] Suboptimal German hyphenation

2022-10-19 Thread Leah Neukirchen via ntg-context
Leah Neukirchen via ntg-context writes: > Max Chernoff via ntg-context writes: > >> Hi Leah, >> >>> I was typesetting some German text on a narrow page when I discovered >>> the justification wasn't as good as expected. I think I tracked this >

Re: [NTG-context] Suboptimal German hyphenation

2022-09-29 Thread Arthur Rosendahl via ntg-context
On Thu, Sep 29, 2022 at 06:49:23AM +0200, Henning Hraban Ramm via ntg-context wrote: > Thank you, Leah, Max and Wolfgang! I changed that immediately in all of my > ongoing projects, but I don’t think we should change the default after all > these years. Are you sure that the default in ConTeXt

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 29.09.22 um 08:27 schrieb Arthur Rosendahl: On Thu, Sep 29, 2022 at 06:49:23AM +0200, Henning Hraban Ramm via ntg-context wrote: Thank you, Leah, Max and Wolfgang! I changed that immediately in all of my ongoing projects, but I don’t think we should change the default after all these years.

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Henning Hraban Ramm via ntg-context
Am 29.09.22 um 06:10 schrieb Wolfgang Schuster via ntg-context: Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17: Babel/ngerman sets left/righthyphenmin to 2/2, but ConTeXt sets those to 3/3 for German. (The English default is 2/3). I don't speak German so I have no idea which is corr

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Wolfgang Schuster via ntg-context
Max Chernoff via ntg-context schrieb am 29.09.2022 um 02:17: Hi Leah, I was typesetting some German text on a narrow page when I discovered the justification wasn't as good as expected. I think I tracked this down to differences in hyphenation points, namely, ConTeXt has fewer: \star

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Leah Neukirchen via ntg-context
Max Chernoff via ntg-context writes: > Hi Leah, > >> I was typesetting some German text on a narrow page when I discovered >> the justification wasn't as good as expected. I think I tracked this >> down to differences in hyphenation points, namely, ConTeXt

Re: [NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Max Chernoff via ntg-context
Hi Leah, > I was typesetting some German text on a narrow page when I discovered > the justification wasn't as good as expected. I think I tracked this > down to differences in hyphenation points, namely, ConTeXt has fewer: > > \starttext > \language[de] >

[NTG-context] Suboptimal German hyphenation

2022-09-28 Thread Leah Neukirchen via ntg-context
Hi, I was typesetting some German text on a narrow page when I discovered the justification wasn't as good as expected. I think I tracked this down to differences in hyphenation points, namely, ConTeXt has fewer: \starttext \language[de] \showhyphens{Zusammenhang} \showhyphens{and

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Pablo Rodriguez via ntg-context
On 9/14/22 16:54, Denis Maier via ntg-context wrote: >> [...] >> Isn’t there a way to list exceptions that will work in *all* >> languages? > > I thought that \hyphenation would work like that, or \startexceptions > without a language code. Apparently that's not th

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
users >> Cc: Steffen Wolfrum ; Hans Hagen >> >> Betreff: Re: [NTG-context] Hyphenation in multi-language projects >> >> Isn’t there a way to list exceptions that will work in *all* languages? > > I thought that \hyphenation would work like that, or \st

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Steffen > Wolfrum via ntg-context > Gesendet: Mittwoch, 14. September 2022 16:45 > An: mailing list for ConTeXt users > Cc: Steffen Wolfrum ; Hans Hagen > > Betreff: Re: [NTG-context] Hyphenation in

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Steffen Wolfrum via ntg-context
det: Mittwoch, 14. September 2022 08:51 >> An: ntg-context@ntg.nl >> Cc: Max Chernoff ; cont...@st.estfiles.de >> Betreff: Re: [NTG-context] Hyphenation in multi-language projects >> >> Hi Steffen, >> >>> … \replaceword should be the correct way for pr

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Max > Chernoff via ntg-context > Gesendet: Mittwoch, 14. September 2022 08:51 > An: ntg-context@ntg.nl > Cc: Max Chernoff ; cont...@st.estfiles.de > Betreff: Re: [NTG-context] Hyphenation in multi-lang

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Max Chernoff via ntg-context
Hi Steffen, > … \replaceword should be the correct way for proper hyphenation?? Well I'm not sure if it's "correct", but it seems to work. Based on my testing, having three subsequent sets of groups ({A}{B}{C}) is converted to a discretionary. The discretionary hyphen &q

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Steffen Wolfrum via ntg-context
… \replaceword should be the correct way for proper hyphenation?? st. > Am 14.09.2022 um 08:35 schrieb Max Chernoff : > > > Hi Steffen, > >> The idea is to set the hyphenation for certain words regardless of the >> language that is used in the surrounding paragra

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-13 Thread Max Chernoff via ntg-context
Hi Steffen, > The idea is to set the hyphenation for certain words regardless of the > language that is used in the surrounding paragraphs. > > In this example it should stay: «steff-en» > > How do i set this to all non-english paragraphs (without using > \hyphenation on

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Denis Maier via ntg-context
Untested: try specifying the exceptions first, load mainlanguage later? Or, use \hyphenation? Have you tested any if these? Or, you could use multiple exception blocks... \startexceptions[it] Steff-en \stopexceptions \startexceptions[en] Steff-en \stopexceptions

[NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Steffen Wolfrum via ntg-context
Hi, please have a look at this minimal example. The idea is to set the hyphenation for certain words regardless of the language that is used in the surrounding paragraphs. In this example it should stay: «steff-en» How do i set this to all non-english paragraphs (without using \hyphenation on

Re: [NTG-context] Force a hyphenation

2022-03-17 Thread Willi Egger via ntg-context
Thanks everybody very much for the explanations. — As I am Swiss, these matters with ß were never correctly understood and my knowledge about hyphenation is old… Thank you Thomas for pointing me to the Duden-rules. I will check-out the same issue about ck and k-k … Kind regards Willi >

Re: [NTG-context] Force a hyphenation

2022-03-16 Thread Arthur Rosendahl via ntg-context
On Wed, Mar 16, 2022 at 05:17:46PM +0100, Thomas A. Schmitz via ntg-context wrote: > So Eiwei-ßes may in fact be correct... But I assume that Arthur has some > authoritative answer to this question. I’ll refer to the German hyphenation pattern list as an authority (https://lists.da

Re: [NTG-context] Force a hyphenation

2022-03-16 Thread Henning Hraban Ramm via ntg-context
w can I make sure that ConTeXt is hyphenating this corerctly? Sorry, Willi, but that hyphenation is correct, and your suggestion was also wrong in the previous iterations of German orthography. Only ck was changed to k-k; hyphenation of ß a s-s was only allowed if you replaced ß by ss anyway (

Re: [NTG-context] Force a hyphenation

2022-03-16 Thread Thomas A. Schmitz via ntg-context
Hi Willi, I must admit that after the reform some 20 years ago, I'm no longer certain about German rules. But I think that in fact, according to the new rules, ß is no longer hyphenated the way you suggest. Duden § 164.3: "Ein einzelner Konsonantenbuchstabe im Wortinneren kommt in der Regel a

Re: [NTG-context] Force a hyphenation

2022-03-16 Thread Hans Hagen via ntg-context
On 3/16/2022 4:48 PM, Willi Egger via ntg-context wrote: Hi, at the moment I am dealing with a German text. Although I have \mainlanguage[de] in the preamble the word 'des Eiweißes' is hyphenated as 'des Eiwei-ßes'. Of course this should be 'des Eiweis-ses'. How can I make sure that ConTeXt i

[NTG-context] Force a hyphenation

2022-03-16 Thread Willi Egger via ntg-context
Hi, at the moment I am dealing with a German text. Although I have \mainlanguage[de] in the preamble the word 'des Eiweißes' is hyphenated as 'des Eiwei-ßes'. Of course this should be 'des Eiweis-ses'. How can I make sure that ConTeXt is hyphenating this corerctly? Kind regards Willi _

Re: [NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-15 Thread Denis Maier via ntg-context
Thanks. That works. Denis Von: ntg-context Im Auftrag von jbf via ntg-context Gesendet: Dienstag, 15. Februar 2022 00:16 An: Denis Maier via ntg-context ; mailing list for ConTeXt users Cc: jbf Betreff: Re: [NTG-context] \hyphenatedurl in non-hyphenation context You could try this (note

Re: [NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-14 Thread jbf via ntg-context
% For now, I’m changing the definition to \setuphead[chapter][align={right,lesshyphenation}], but is there a way to disable hyphenation, but still break urls across lines? Best, Denis ___ If your question is of

[NTG-context] \hyphenatedurl in non-hyphenation context

2022-02-14 Thread Denis Maier via ntg-context
={asdf asdf \goto{\hyphenatedurl{https://doi.org/10.12345/12345.12345}}[url(https://doi.org/10.12345/12345.12345)]}] bla \stoptext % For now, I'm changing the definition to \setuphead[chapter][align={right,lesshyphenation}], but is there a way to disable hyphenation

Re: [NTG-context] Malayalam hyphenation

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:18:27 +0530 kauśika wrote: > Malayalam hyphenation may be invoked by setting the language > appropriately. For quite some time now, ConTeXt ships with the > patterns for Malayalam. Simply write > \language[ml] > in your document head. Hi Kausik

Re: [NTG-context] Malayalam hyphenation

2021-12-31 Thread kauśika via ntg-context
On Friday, December 31, 2021 6:26:36 PM IST Ajith R via ntg-context wrote: > In most paragraphs, the sentences go beyond the right margin. How can I ask > Context to break the word at the margin, without hyphenating every word > manually? Malayalam hyphenation may be invoked by se

[NTG-context] Malayalam hyphenation

2021-12-31 Thread Ajith R via ntg-context
Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the third problem I face. In most paragraphs, the sentences go beyond the right margin. How can I ask Context to brea

Re: [NTG-context] Hyphenation on digits

2021-11-03 Thread Jairo A. del Rio via ntg-context
Hi again. I've noticed \hyphenateddigits fails with alphabetical symbols, e.g. with hexadecimal numbers. Maybe there's a better solution, but something like --From phys-dim.lua actions = function(filler, digits) digits = gsub(digits,"(%d)","%1\\digitsbreak ") --space added. Would a "

Re: [NTG-context] [Solved] Line breaks, \wordright and hyphenation

2021-10-26 Thread kauśika cittūr via ntg-context
On Monday, October 25, 2021 7:34:06 AM IST kauśika cittūr wrote: > On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > > Dear list, > > > > In short, my question is: why does \wordright cause a line-break when the > > line preceding it breaks with hyphena

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line preceding it breaks with hyphenation and does not otherwise? How to > avoid it (if at all possible)? > > I ha

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 5:31:32 PM IST Hans Hagen wrote: > On 10/24/2021 1:08 PM, Benjamin Buchmuller via ntg-context wrote: > > Maybe > > > > \hfill author > > It's anyway nicer to use > > % \definenarrower > % [amnata] > % [left=\measure{amnatamargin}, > %right=\measure{amnatamargi

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread Hans Hagen via ntg-context
asure{amnatamargin}] but then them, the fact that we get something hyphenated interferes .. tricky On 24. Oct 2021, at 04:12, kauśika cittūr wrote: Dear list, In short, my question is: why does \wordright cause a line-break when the line preceding it breaks with hyphenation and does not otherwise? H

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread Benjamin Buchmuller via ntg-context
Maybe \hfill author ? > On 24. Oct 2021, at 04:12, kauśika cittūr wrote: > > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line > preceding it breaks with hyphenation and does not otherwise? How to avoid it > (if at al

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote: > Dear list, > > In short, my question is: why does \wordright cause a line-break when the > line preceding it breaks with hyphenation and does not otherwise? How to > avoid it (if at all possible)? > > I ha

[NTG-context] Line breaks, \wordright and hyphenation

2021-10-23 Thread kauśika cittūr via ntg-context
Dear list, In short, my question is: why does \wordright cause a line-break when the line preceding it breaks with hyphenation and does not otherwise? How to avoid it (if at all possible)? I have this delimitedtext instance called 'amnata' defined as below: \definemeasure[amnatam

[NTG-context] hyphenation

2021-10-13 Thread Hans Hagen via ntg-context
Hi, Here is a nice trick to show all possible (within the constraints of fonts and languages) hyphenations in a paragraoh: \bgroup \setupalign[flushright] \hyphenpenalty-10 \input tufte \par % force hyphenation \egroup This one does the same for

Re: [NTG-context] manual hyphenation LMTX

2021-09-28 Thread Hans Hagen via ntg-context
On 9/28/2021 2:57 AM, jbf via ntg-context wrote: I may have seen a response to this at some stage in the list, but I cannot find it. \- works for manual hyphenation in Mkiv but not (for me at least) in LMTX. My general setting  is \setupalign [hz, nothyphenated,stretched,verytolerant

[NTG-context] manual hyphenation LMTX

2021-09-27 Thread jbf via ntg-context
I may have seen a response to this at some stage in the list, but I cannot find it. \- works for manual hyphenation in Mkiv but not (for me at least) in LMTX. My general setting  is \setupalign [hz, nothyphenated,stretched,verytolerant] because I am typesetting a book for visually-impaired

Re: [NTG-context] Hyphenation again

2021-06-06 Thread Hans Hagen
: In this example I use \startexceptions to set hyphenation exceptions: ``` \mainlanguage[en] \startexceptions[en] appli-ca​ble obli-gated \stopexceptions \setuplayout[width=1cm] \starttext \currentmainlanguage \currentlanguage \hyphenatedword{applicable} applicable \hyphenatedword{obligated

Re: [NTG-context] Hyphenation again

2021-06-06 Thread Rik Kabel
\startexceptions to set hyphenation exceptions: ``` \mainlanguage[en] \startexceptions[en] appli-ca​ble obli-gated \stopexceptions \setuplayout[width=1cm] \starttext \currentmainlanguage \currentlanguage \hyphenatedword{applicable} applicable \hyphenatedword{obligated} obligated \stoptext ``` What am I

Re: [NTG-context] Hyphenation again

2021-06-06 Thread Steffen Wolfrum
\mainlanguage[de] \currentmainlanguage \currentlanguage \hyphenatedword{applicable} applicable \hyphenatedword{obligated} obligated \stoptext > Am 09.10.2020 um 16:38 schrieb Denis Maier : > > Hi, > another weird thing: > In this example I use \startexceptions to set hyphena

Re: [NTG-context] underscore hyphenation and hz

2021-05-16 Thread Pablo Rodriguez
On 5/10/21 3:35 PM, Pablo Rodriguez wrote: > Hans, > > I’m afraid that underscore hyphenation has issues with font expansion: > [...] Hans, many thanks for the fix in current latest (2021.05.15 22:45). Pablo -- http://

[NTG-context] underscore hyphenation and hz

2021-05-10 Thread Pablo Rodriguez
Hans, I’m afraid that underscore hyphenation has issues with font expansion: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end tfmdata.

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Pablo Rodriguez
On 5/10/21 9:36 AM, Hans Hagen wrote: > [...] > but at the cost of runtime you can try \setupbackend [space=yes] It works perfectly fine, but not with font expansion: \definefontfeature [default] [default] [expansion=quality] \setupalign [hz] \setuppapersize[A6] \setupbod

Re: [NTG-context] underscore hyphenation not working

2021-05-10 Thread Hans Hagen
On 5/10/2021 8:42 AM, Pablo Rodriguez wrote: On 5/9/21 7:46 PM, Hans Hagen wrote: [...] you can also retest the advance It works fine now. A minor issue happens with SumatraPDF-3.1.2 (aside from font advance): Works fine with 3.3.13 here. (btw, if after decades of pdf viewers still don't h

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 7:46 PM, Hans Hagen wrote: > [...] > you can also retest the advance It works fine now. A minor issue happens with SumatraPDF-3.1.2 (aside from font advance): \setuppapersize[A6] \definefontfamily[mainface][rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext \i

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Hans Hagen
On 5/9/2021 6:09 PM, Pablo Rodriguez wrote: On 5/9/21 4:40 PM, Hans Hagen wrote: On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: I wonder whether this might be caused by a bug or the code should be adapted to current latest. hm, i'll check it ... looks like some lua closure side effect Many tha

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Pablo Rodriguez
On 5/9/21 4:40 PM, Hans Hagen wrote: > On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: > >> I wonder whether this might be caused by a bug or the code should be >> adapted to current latest. > hm, i'll check it ... looks like some lua closure side effect Many thanks for your ultra-fast fix, Hans. Cur

Re: [NTG-context] underscore hyphenation not working

2021-05-09 Thread Hans Hagen
On 5/8/2021 7:55 PM, Pablo Rodriguez wrote: I wonder whether this might be caused by a bug or the code should be adapted to current latest. hm, i'll check it ... looks like some lua closure side effect Hans -

[NTG-context] underscore hyphenation not working

2021-05-08 Thread Pablo Rodriguez
Hans, some time ago, you provided me with the following code to hyphenate sha with underscore: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] if not char then return end tfmdata

  1   2   3   4   5   6   7   8   9   >