[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
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. Question: is it possible to realize this and how? Like this? \starttext \startexceptions voor

[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 files

[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 not sur

[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. Thanks

[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

[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 hyphenation

[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 few new

[NTG-context] Re: hyphenation inside quotation

2023-08-20 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
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“ \quotation

[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

[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 russian, which could sav

[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 bother - is we'd us

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 Thread Hans Hagen via ntg-context
ean 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 the distribution H

[NTG-context] Re: Ukrainian hyphenation?

2023-07-19 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-19 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,

[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

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&qu

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

[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}

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 >

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-29 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

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: \starttext

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 has

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] > \sho

[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{anderswo

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 the cas

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

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-14 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 "

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

2022-09-14 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-14 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

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
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 (like in Switzerland). Hraban

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

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

[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

[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 b

[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

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}, > %

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

2021-10-24 Thread Hans Hagen via ntg-context
{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? How

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[amnatamargin][3cm

[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

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-17 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]

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

Re: [NTG-context] underscore hyphenation not working

2021-05-10 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

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

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.

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

Re: [NTG-context] Hyphenation patterns

2021-04-09 Thread Arthur Rosendahl
Denis’ latest question reminded me of an earlier query he had about hyphenation, asking why “applicable” and “obligated” were hyphenated by ConTeXt as ap-plic-a-ble and ob-lig-at-ed, and not ap-pli-ca-ble and ob-li-ga-te(d) like in Merriam-Webster (the discussion started at https

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-03-01 Thread Alain Delmotte
id prepare the file lang-txt.lua and did send it to two friends for #checking, I wait for their answer (I hope not to long). # #I also have the pattern for hyphenation, the one from TeXLive uses #fonctions to shorten the length of the file. # #For French, I'll do it and send

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Tomas Hala
it to two friends for #checking, I wait for their answer (I hope not to long). # #I also have the pattern for hyphenation, the one from TeXLive uses #fonctions to shorten the length of the file. # #For French, I'll do it and send it to you. # #Thanks for t

Re: [NTG-context] Hyphenation pattern for Esperanto

2021-02-22 Thread Alain Delmotte
yyy mm dd? I did prepare the file lang-txt.lua and did send it to two friends for checking, I wait for their answer (I hope not to long). I also have the pattern for hyphenation, the one from TeXLive uses fonctions to shorten the length of the file. For French, I'll do i

Re: [NTG-context] Hyphenation on digits

2021-01-29 Thread Richard Mahoney
11a---31b) -- break after either "---" {\it Ekottarāgama}, T125, 2: 549a10-15. -- break anywhere Best, Richard -Original Message- From: Hans Hagen Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users , Henning Hraban Ramm Subject: Re: [NTG-conte

Re: [NTG-context] Hyphenation on digits

2021-01-29 Thread Hans Hagen
for such a rare case. Thank you! Might come handy for other non-words, as Richard has shown. Wikified: https://wiki.contextgarden.net/Hyphenation Depending on usage it might need to b eimproved (like: does one wants to break before a period or comma but let's first collect use cases Hans

Re: [NTG-context] Hyphenation on digits

2021-01-29 Thread Henning Hraban Ramm
a > rare case. Thank you! Might come handy for other non-words, as Richard has shown. Wikified: https://wiki.contextgarden.net/Hyphenation Hraban ___ If your question is of interest to others as well, please add an

[NTG-context] Fwd: Re: Hyphenation on digits

2021-01-28 Thread Richard Mahoney
, Richard Forwarded Message From: Richard Mahoney < rmaho...@indica-et-buddhica.org>Reply-To: Richard Mahoney < rmaho...@indica-et-buddhica.org>To: mailing list for ConTeXt users < ntg-context@ntg.nl>Subject: Re: [NTG-context] Hyphenation on digitsDate: Fri, 29

Re: [NTG-context] Hyphenation on digits

2021-01-28 Thread Jairo A. del Rio
Nice. Thank you very much, it works perfectly. :) Jairo :) El jue, 28 de ene. de 2021 a la(s) 09:00, Hans Hagen (j.ha...@xs4all.nl) escribió: > On 1/28/2021 12:50 PM, Jairo A. del Rio wrote: > > Hi, list. > > > > I want to know if ConTeXt provides an option to automatically > > hyphenate/break

Re: [NTG-context] Hyphenation on digits

2021-01-28 Thread Richard Mahoney
-buddhica.org/** *Indica et Buddhica *Littledene Bay Road Oxford NZ <https://indica-et-buddhica.org/> - Original message - From: Hans Hagen To: mailing list for ConTeXt users , "Jairo A. del Rio" Subject: Re: [NTG-context] Hyphenation on digits Date: Friday, 29 January 202

Re: [NTG-context] Hyphenation on digits

2021-01-28 Thread Hans Hagen
On 1/28/2021 12:50 PM, Jairo A. del Rio wrote: Hi, list. I want to know if ConTeXt provides an option to automatically hyphenate/break digits as if they were alphabetic characters. Example, in a narrow page I expect something like that (I've used (-) for an optional hyphen): *π =

[NTG-context] Hyphenation on digits

2021-01-28 Thread Jairo A. del Rio
Hi, list. I want to know if ConTeXt provides an option to automatically hyphenate/break digits as if they were alphabetic characters. Example, in a narrow page I expect something like that (I've used (-) for an optional hyphen): *π = *3.141592653(-) 58979323846264(-) 33832795028841(-)

Re: [NTG-context] Hyphenation pattern for Esperanto

2020-12-23 Thread Mojca Miklavec
Dear Alain, On Tue, 22 Dec 2020 at 21:02, Alain Delmotte wrote: > > Hi Hans and Mojca, > > I join a file containing the list of patterns for Esperanto This one shouldn't be needed unless you believe that there is an issue with the existing patterns. > and the definition/translation of the

Re: [NTG-context] Hyphenation pattern for Esperanto

2020-12-22 Thread Alain Delmotte
, Alain Delmotte wrote: I'd like to have hyphenation for Esperanto; it doesn't exist in ConTeXt but exist in TeX/LaTeX. Would it be difficult to create the Esperanto file for ConTeXt? The plain text

Re: [NTG-context] Hyphenation pattern for Esperanto

2020-10-14 Thread Hans Hagen
of Hans!! Alain Le 12/10/2020 à 16:38, Mojca Miklavec a écrit : Dear Alain, On Mon, 12 Oct 2020 at 13:44, Alain Delmotte wrote: I'd like to have hyphenation for Esperanto; it doesn't exist in ConTeXt but exist in TeX/LaTeX. Would it be difficult to create the Esperanto file for ConTeXt? The plain

  1   2   3   4   5   6   7   8   9   >