;
> > 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
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
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
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
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
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'
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
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
\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
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&
\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
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
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
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
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
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
][
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
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,
]
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.
>&
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
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
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
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
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
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
___
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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 =
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"
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
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,
> -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
>
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
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
> 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
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
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
>
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
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.
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
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
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
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]
>
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
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
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
> -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
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
> -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
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
… \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
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
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
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
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
>
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
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 (
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
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
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
_
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
%
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
={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
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
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
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
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 "
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
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
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
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
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
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
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
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
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
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
:
In this example I use \startexceptions to set hyphenation exceptions:
```
\mainlanguage[en]
\startexceptions[en]
appli-cable
obli-gated
\stopexceptions
\setuplayout[width=1cm]
\starttext
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated
\startexceptions to set hyphenation exceptions:
```
\mainlanguage[en]
\startexceptions[en]
appli-cable
obli-gated
\stopexceptions
\setuplayout[width=1cm]
\starttext
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated}
obligated
\stoptext
```
What am I
\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
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://
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.
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
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
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
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
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
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
-
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 - 100 of 887 matches
Mail list logo