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
]
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
Wolfgang
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}}
nce it can
> > be used also for other things like:
> >
> > \starttext
> > what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text
> > \stoptext
>
> I’m not sure but I’d guess ActualText is also suitable for alternat
for other things like:
\starttext
what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text
\stoptext
I’m not sure but I’d guess ActualText is also suitable for alternative
texts (AltText) of images? Wouldn’t it make sense to have an alttext key
in \externalfigure for accessibility (PDF
: passes
qpdfview: passes
evince: passes
But \pdfbackendactualtext is actually just what I needed since it can
be used also for other things like:
\starttext
what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text
\stoptext
Best regards
Marcus Vinicius
On Mon, Aug 7, 2023 at 3:13 AM
unexpanded\def\sha#1%
% {\begingroup
% \sethyphenationfeatures[sha]%
% \setuphyphenation[method=traditional]%
% #1%
% \endgroup}
\starttext
\hyphenatedword{\sha{8b2f3c087046c3943ace0dc4f958ef2138e58a51b40e%
ef6fab6fa1aeb845cc257a410ab1b914bc399b4293f%
31c76fc2c73e5be5
#1%
% {\begingroup
% \sethyphenationfeatures[sha]%
% \setuphyphenation[method=traditional]%
% #1%
% \endgroup}
\starttext
\hyphenatedword{\sha{8b2f3c087046c3943ace0dc4f958ef2138e58a51b40e%
ef6fab6fa1aeb845cc257a410ab1b914bc399b4293f%
31c76fc2c73e5be5ea4
]
\registerhyphenationexception[any][macOS]
\registerhyphenationexception[it][macOS]
\startbuffer
\currentlanguage: \hyphenatedword{macOS}
\stopbuffer
\starttext
\startTEXpage[offset=1em]
\getbuffer
\language[it]\getbuffer
\stopTEXpage
\stoptext
I think this is better than having other commands
[offset=1em, width=5em]
\hsize\zeropoint
\recursestring: \\
\tt
\hyphenatedword{legibility-legible}
\stopTEXpage}
\stoptext
pt, hr and et don’t break the line at the hyphen. af breaks the line at
the hyphen adding an underscore just below the hyphen.
Either I’m missing something
pt,fr,it,deo,da,sv,af,no,nb,pl,cs,sk,hr,sl,fi,et,hu}
{\mainlanguage[\recursestring]
\startTEXpage[offset=1em, width=5em]
\hsize\zeropoint
\recursestring: \\
\tt
\hyphenatedword{legibility-legible}
\stopTEXpage}
\stoptext
pt, hr and et don’t break the line at the hyphen. af breaks th
;after","document.addfunnyhyphen")
\stopluacode
\definehyphenationfeatures
[underscore]
[righthyphenchar="FE000]
\setuphyphenation[method=traditional]%
\sethyphenationfeatures[underscore]%
\setuplanguage
[explicitrighthyphenchar=-1]
\mainlanguage[
tures[underscore]%
\setuphyphenation[method=traditional]%
\starttext
\startTEXpage[offset=1em, width=4em]
\hsize\zeropoint\tt
\hyphenatedword{legibility-legible}
\stopTEXpage
\stoptext
In current latest (and in many versions before), I get an extra hyphen
in the next line after t
ction("aftercopyingcharacters",
"after","document.addfunnyhyphen")
\stopluacode
\definehyphenationfeatures
[underscore]
[righthyphenchar="FE000]
\sethyphenationfeatures[underscore]%
\setuphyphenation[method=traditional]%
\starttext
\startTEXpage[of
> Hans added hyphenmin some time ago:
>
> \setuplanguage[de][lefthyphenmin=2, righthyphenmin=3, hyphenmin=6]
> \setuplanguage[deo][lefthyphenmin=2, righthyphenmin=3, hyphenmin=5]
> \mainlanguage[de]
> \starttext
> \startTEXpage[offset=1em]
> \hyp
,es,it,fr,da,fi}
{\registerhyphenationexception[\recursestring][Joha-nnes]}
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{Johannes}\\
\nl \hyphenatedword{Johannes}\\
\de \hyphenatedword{Johannes}\\
\es \hyphenatedword{Johannes}\\
\language[it] \hyphenatedword{Johannes}\\
will work in *all*
languages?
I thought that \hyphenation would work like that, or \startexceptions
without a language code. Apparently that's not the case.
\hyphenation only works for the given language:
\hyphenation{macOS}
\starttext
\startTEXpage[offset=1em]
\currentlanguage:
\hyphenat
eptions 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 case.
>
> \hyphenation only works for the given language:
>
> \hyphenation{
henmin some time ago:
\setuplanguage[de][lefthyphenmin=2, righthyphenmin=3, hyphenmin=6]
\setuplanguage[deo][lefthyphenmin=2, righthyphenmin=3, hyphenmin=5]
\mainlanguage[de]
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{davon}
\deo\hyphenatedword{davon}
\stopTEXpage
\stoptext
I
Dear list,
I’m experiencing a weird issue with hyphenation:
\setuphyphenation
[method=traditional]
\starttext
\hyphenatedword{a-legibility-c}
\sethyphenationfeatures
[strict]
\hyphenatedword{a-legibility-c}
\stoptext
I need the setup hyphenation commands to get underscore
e.
\hyphenation only works for the given language:
\hyphenation{macOS}
\starttext
\startTEXpage[offset=1em]
\currentlanguage:
\hyphenatedword{macOS}
\startlanguage[fr]
\currentlanguage:
\hyphenatedword{macOS}
\stoplanguage
\stopTEXpage
\stoptext
But I’d say that \registe
\stopexceptions
\startexceptions[it]
appli-cable
obli-gated
\stopexceptions
\setuplayout[width=1cm]
\starttext
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated}
obligated
\blank
\language[de]
\currentmainlanguage
\currentlanguage
obli-gated
\stopexceptions
\setuplayout[width=1cm]
\starttext
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated}
obligated
\blank
\language[de]
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
=1cm]
\starttext
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated}
obligated
\blank
\language[de]
\currentmainlanguage
\currentlanguage
\hyphenatedword{applicable}
applicable
\hyphenatedword{obligated}
obligated
\blank
Hi Bruce,
here you have a sample:
\setuphyphenation[method=traditional]
\registerhyphenationexception[en][re-im-ple-men-ta-tion]
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{re-implementation}\\
\hyphenatedword{re||implementation}\\
\hyphenatedword{re--impl
uce,
here you have a sample:
\setuphyphenation[method=traditional]
\registerhyphenationexception[en][re-im-ple-men-ta-tion]
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{re-implementation}\\
\hyphenatedword{re||implementation}\\
\hyphenatedword{re--implementation}\\
\hyphenatedword{reim
Hi,
another weird thing:
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
.
BTW \hyphenatedword works the same. I didn’t see anything colored.
There are some more commands like this, even \hyphenatedfile, see
https://source.contextgarden.net/tex/context/base/mkiv/supp-box.mkiv?search=hyphenated
Usually Arthur’s (hail the emperor of hyphenation and protector of the
patterns
> Am 09.10.2020 um 08:52 schrieb Denis Maier :
>
> Am 08.10.2020 um 19:05 schrieb Henning Hraban Ramm:
>> \starttext
>>
>> {EN: \en\hyphenatedcoloredword{applicable}}
>>
>> {DE: \de\hyphenatedcoloredword{applicable}}
>>
>> \stoptext
>>
efault,effect-widen}]
\setupbodyfont[archimate]
\starttext
\doloopoverlist{\tf, \it, \bf, \bi}{
\recursestring{{\russian\hyphenatedword{Николаевич}\
\hyphenatedword{typography}}}\par}
\stoptext
Gives:
(I don't have your fonts, but this illustrates more clearly the
difference in h
:oblique,
force=yes,
features={effect-widen}]
\definefontfamily
[archimate]
[ss]
[Optima]
[features={effect-widen}]
\setupbodyfont[archimate]
\starttext
\doloopoverlist{\tf, \it, \bf, \bi}{
\recursestring\hyphenatedword{Николаевич
bi=style:oblique,
> force=yes,
> rscale=0.9]
>
> \definefontfamily [abc] [ss] [Optima]
>
> \setupbodyfont[abc]
>
> \starttext
> \startTEXpage[offset=1em]
> \doloopoverlist{\tf, \it, \bf, \bi}{
> \recursestring\hyphenatedword{Николаевич typography}\par}
> \s
st{\tf, \it, \bf, \bi}{
\recursestring\hyphenatedword{Николаевич typography}\par}
\stopTEXpage
\stoptext
It should hyphenate both English and Russian in all four fonts (regular,
italic, bold and bold italic).
> Which is weird because Optima.ttc is in the same directory and it is f
\mainlanguage[russian]
>>
>> Hi Gerben,
>>
>> I’m afraid they may be different issues: setting a language and getting
>> the glyphs required for that language.
>>
>> See the following sample:
>>
>>\setupbodyfont[dejavu]
>>\mainla
ent issues: setting a language and getting
> the glyphs required for that language.
>
> See the following sample:
>
>\setupbodyfont[dejavu]
> \mainlanguage[russian]
>\starttext
>\hyphenatedword{%
>Николаевич
>typography
>\en typography}
>
owing sample:
\setupbodyfont[dejavu]
\mainlanguage[russian]
\starttext
\hyphenatedword{%
Николаевич
typography
\en typography}
\stoptext
Since you set the main language to Russian in the document, you would
have to mark all English texts properly. I doubt this may
ght hyphenation:
\setuplanguage[cs][righthyphenmin=2]
\mainlanguage[cs]
\setuphyphenation[method=traditional]
\registerhyphenationexception[cs][cíl-em]%
\starttext
\startTEXpage[offset=1ex]
\hyphenatedword{cílem}
\stopTEXpage
\stoptext
The value for righthyphenmi
anguage[es]
\setuplanguage[es][patterns={es,agr}]
\setupbodyfont[gentium,11pt]
\starttext
\hyphenatedword{ἄνθρωπος selección}
\stoptext
If this fails for OP, he will have to produce a real example, taking out
irrelevant parts and telling us which version he uses. In the original
example, there was only &
an,
the bigger font size is, the higher probability to get issues with
hyphenation.
It is also relevant to know how the problematic words are hyphenated in
English and German:
\startbuffer[text]
{\em\currentlanguage}\\
\hyphenatedword{gemessene Namens-konflikte
ph.
# > I hoped that the plain \showhyphens{text} can do it
# > but it displays nothing. Is this plain macro available yet,
# > or is it covered by other command?
#
# Hi Tomáš,
#
# \hyphenatedword is the command that you need.
#
# I hope it helps,
#
# Pablo
# --
# h
On 12/18/18 12:01 PM, Tomas Hala wrote:
> Hi all,
>
> I would like to detect hyphen points in a paragraph.
> I hoped that the plain \showhyphens{text} can do it
> but it displays nothing. Is this plain macro available yet,
> or is it covered by other command?
Hi Tomáš
English only.
\starttext
\hyphenatedword{Trennalgorithmus}
\de\hyphenatedword{Trennalgorithmus}
\deo\hyphenatedword{Trennalgorithmus}
\stoptext
On 10/21/18 1:22 PM, Axel Kielhorn wrote:
> Hello,
>
> I’m looking for an introduction in german.
> What I need is:
&
Dear list,
I have the following sample:
\mainlanguage[agr]
\setupbodyfont[dejavu]
\starttext
\startTEXpage[offset=2em]
\hyphenatedword{πρᾶγμα πράγματος}
\stopTEXpage
\stoptext
that ouputs:
πρᾶ-γμα πρά-γμα-τος
As far as I know, two consonants in ancient Greek
Am Sun, 26 Aug 2018 17:26:45 +0200 schrieb Pablo Rodriguez:
> Dear list,
>
> I have the following sample:
>
> \starttext
> \de\hyphenatedword{Rindfleisch}
> \de\hyphenatedword{Rindfleischetikettierung}
> \stoptext
>
> I’m not a native speaker,
Dear list,
I have the following sample:
\starttext
\de\hyphenatedword{Rindfleisch}
\de\hyphenatedword{Rindfleischetikettierung}
\stoptext
I’m not a native speaker, but I think that "Rindfleisch-etikettierung"
is right in German. (And I think that "Rindflei-s
On 7/10/2018 5:20 PM, Pablo Rodriguez wrote:
Dear list,
sorry for bothering with this again:
\setuplanguage[agr][patterns={agr, en}]
\setuplanguage[en][patterns={en, agr}]
\starttext
\hyphenatedword{judgmental}
\agr\hyphenatedword{judgmental}
\stoptext
I wonder
Dear list,
sorry for bothering with this again:
\setuplanguage[agr][patterns={agr, en}]
\setuplanguage[en][patterns={en, agr}]
\starttext
\hyphenatedword{judgmental}
\agr\hyphenatedword{judgmental}
\stoptext
I wonder why English cannot have extra hyphenation patterns
Dear list,
I have the following sample:
\setuplanguage[agr][patterns={agr, en}]
\setuplanguage[en][patterns={en, agr}]
\starttext
\hyphenatedword{judgmental}
\agr \hyphenatedword{judgmental}
\stoptext
I wonder why \en hyphenates the word and \agr doesn’t.
I mean, both
Dear list,
I have the following sample:
% \setuplanguage[agr][patterns={agr, en}]
% \mainlanguage[agr]
\setuplanguage[en][patterns={en, agr}]
\mainlanguage[en]
\starttext
\hyphenatedword{judgmental}
\stoptext
I get hyphenation if I use English as main language
Dear list,
I have the following sample:
\setuppapersize[A9]
\starttext
\hyphenatedword{office}
office
\hsize\zeropoint
office
\hyphenatedword{office}
\stoptext
Compiling with latest beta (2018.01.19 13:42), hyphen isn’t used in
\hyphenated word and the character
ion{Schwarz-en-egger}
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{Schwarzenegger} \\
{\es\hyphenatedword{Schwarzenegger}} \\
\hyphenatedword{Mountweazel} \\
\hyphenatedword{Mountweazels} \\
\hyphenatedword{epigraph} \\
\hyphenatedword{epigraphs}
\stopTEXpage
\hyphenatedword{Schwarzenegger} \\
\hyphenatedword{Mountweazel} \\
\hyphenatedword{Mountweazels} \\
\hyphenatedword{epigraph} \\
\hyphenatedword{epigraphs}
\stoptext
--
Rik
___
If your question is of interest
. April 2017 um 19:53
>> At first sight this seemed to work fine: the scheme is switched and the
>> resulting hyphenations are mostly correct. But the patterns are in a way not
>> complete.
>>
>> \hyphenatedword with context ver: 2017.04.08 12:09 MKIV beta fmt: 2017.4.
Florian Grammel <mailto:florian.gram...@gmail.com>
13. April 2017 um 19:53
At first sight this seemed to work fine: the scheme is switched and
the resulting hyphenations are mostly correct. But the patterns are in
a way not complete.
\hyphenatedword with context ver: 2017.04.08 12:0
At first sight this seemed to work fine: the scheme is switched and the
resulting hyphenations are mostly correct. But the patterns are in a way not
complete.
\hyphenatedword with context ver: 2017.04.08 12:09 MKIV beta fmt: 2017.4.9 (or
TL16’s) gives:
Önundur hét maður. Hann var Ófeigs
\mainlanguage[fr]
>
>> \setupalign[hanging, lesshyphenation, hz]
>
> I suspect that if you ask for less hyphenation, you get it.
>
> See my sample:
>
> \mainlanguage[fr]
> \setupalign[lesshyphenation]
> \starttext
> \hyphenatedword{T advint qu'il y eu
:
\mainlanguage[fr]
\setupalign[lesshyphenation]
\starttext
\hyphenatedword{T advint qu'il y eut famine au pays/ oultre la
premiere famine/ qui fut au temps de Abraham. Et Izahak s'en alla
vers Abimelech Roy des Philisthins en Gerar}
\stoptext
\hyphenatedword is your friend here
less hyphenation, you get it.
See my sample:
\mainlanguage[fr]
\setupalign[lesshyphenation]
\starttext
\hyphenatedword{T advint qu'il y eut famine au pays/ oultre la
premiere famine/ qui fut au temps de Abraham. Et Izahak s'en alla
vers Abimelech Roy des Philisthins en
\setuplanguage[fr][patterns={fr, agr}]
\mainlanguage[fr]
\starttext
\hyphenatedword{l'homme}
\stoptext
-
The above prints : l’-homme
If so, what is the alternative to specify hyphenation in a text
containing both french and ancient greek (the minority) words.
Thanks a lot
nguage[fr]
\starttext
\hyphenatedword{l'homme}
\stoptext
-
The above prints : l’-homme
If so, what is the alternative to specify hyphenation in a text
containing both french and ancient greek (the minority) words.
Thanks a lot for advising,
Best regards
Joseph
/English
\setuplanguage[fr][patterns={fr, agr}]
\mainlanguage[fr]
\starttext
\hyphenatedword{l'homme}
\stoptext
-
The above prints : l’-homme
If so, what is the alternative to specify hyphenation in a text containing both
french and ancient greek (the minority) words.
Thanks
s fixed in the latest binary.
>
> The following sample:
>
> \starttext
> \hyphenatedword{schematic}
> \stoptext
>
> outputs "sc-he-matic" with luatex-0.95.0.
>
> Many thanks for your help,
I can probably come up with link to an up-to-date binary
\hyphenatedword{schematic}
\stoptext
outputs "sc-he-matic" with luatex-0.95.0.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to
On 8/1/2016 3:32 PM, Herbert Voss wrote:
Am 01.08.2016 um 09:45 schrieb Hans Hagen:
On 8/1/2016 9:22 AM, Jan Willem Flamma wrote:
Hi Pablo,
I wasn’t aware of the \hyphenatedword feature. Thanks for sharing.
mtxrun --script patterns --hyphenate schematic
Can I change the language or do I
Am 01.08.2016 um 09:45 schrieb Hans Hagen:
On 8/1/2016 9:22 AM, Jan Willem Flamma wrote:
Hi Pablo,
I wasn’t aware of the \hyphenatedword feature. Thanks for sharing.
mtxrun --script patterns --hyphenate schematic
Can I change the language or do I have to choose a specific
pattern file
On 8/1/2016 9:22 AM, Jan Willem Flamma wrote:
Hi Pablo,
I wasn’t aware of the \hyphenatedword feature. Thanks for sharing.
I used an online hyphenation tool (English US) because it’s too tricky for me
too!
Using English UK the words maintenance and integrated are indeed correctly
hyphenated
On 8/1/2016 9:22 AM, Jan Willem Flamma wrote:
Hi Pablo,
I wasn’t aware of the \hyphenatedword feature. Thanks for sharing.
>mtxrun --script patterns --hyphenate schematic
hyphenator |
hyphenator | . s c h e m a t i c . . s c h e m a t i c .
hyphenator | 0s0c
Hi Pablo,
I wasn’t aware of the \hyphenatedword feature. Thanks for sharing.
I used an online hyphenation tool (English US) because it’s too tricky for me
too!
Using English UK the words maintenance and integrated are indeed correctly
hyphenated. So I jumped to conclusions there.
What remains
On 07/31/2016 08:40 PM, Jan Willem Flamma wrote:
> Dear all,
>
> I can confirm it behaves incorrectly on ConTeXt ver: 2016.07.30 00:26 MKIV
> beta
Hi Jan Willem,
are patterns for Brittish English better?
\starttext
\hyphenatedword{schematic, maintenance an
On 6/30/2016 8:15 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\setuplanguage[fr][patterns={fr, agr}]
\mainlanguage[fr]
\setupbodyfont[dejavu]
\starttext
\hyphenatedword{χαλεπά éligibilité}
\stoptext
I cannot compile it with latest beta
gmx.es> wrote:
>
> Dear list,
>
> I have the following sample:
>
>\setuplanguage[fr][patterns={fr, agr}]
>\mainlanguage[fr]
>\setupbodyfont[dejavu]
>\starttext
>\hyphenatedword{χαλεπά éligibilité}
>\stoptext
>
> I cannot compile it
Dear list,
I have the following sample:
\setuplanguage[fr][patterns={fr, agr}]
\mainlanguage[fr]
\setupbodyfont[dejavu]
\starttext
\hyphenatedword{χαλεπά éligibilité}
\stoptext
I cannot compile it with latest beta (or with stable from 2015.05.18 12:26).
The error
reply, Hans.
I reported the issue in the opposite way it happens:
\definefontfamily[mainface][rm][MinionPro]
\definefontfamily[anotherface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{LibreOffice libre office
ries to do its best
Many thanks for your reply, Hans.
I reported the issue in the opposite way it happens:
\definefontfamily[mainface][rm][MinionPro]
\definefontfamily[anotherface][rm][TeX Gyre Pagella]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
\hyp
[mainface]
\starttext
\startTEXpage[offset=1em]
\hyphenatedword{LibreOffice libre office}
\es\hyphenatedword{LibreOffice libre office}
\stopTEXpage
\startTEXpage[offset=1em]
\setupbodyfont[anotherface]%
\hyphenatedword{LibreOffice libre office}
\es
=5]
>
> \setuphyphenation
> [method=traditional]
>
> \sethyphenationfeatures
> [strict, givemefive]
>
> \starttext
> \hyphenatedword{bueno buenos}
> \stoptext
>
> Although I set hyphenmin to 5, I don’t get "bueno" hyphena
, givemefive]
\starttext
\hyphenatedword{bueno buenos}
\stoptext
Although I set hyphenmin to 5, I don’t get "bueno" hyphenated?
Is this a bug or am I missing something?
Many thanks for your help,
Pablo
--
http://ww
On 9/21/2015 9:44 PM, Pablo Rodriguez wrote:
On 09/21/2015 06:55 PM, Hans Hagen wrote:
On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
\def\abc{Con\-\TeX{}t}
\hyphenation{Con-TeXt}
\starttext
\startTEXpage[offset=1em, align={right, nothyphenated}]
\hyphenatedword
On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\def\abc{Con\-\TeX{}t}
\hyphenation{Con-TeXt}
\starttext
\startTEXpage[offset=1em, align={right, nothyphenated}]
\hyphenatedword{legibility}\\
\hyphenatedword{\abc}\\
\abc
On 09/21/2015 06:55 PM, Hans Hagen wrote:
> On 9/13/2015 7:59 PM, Pablo Rodriguez wrote:
>>
>> \def\abc{Con\-\TeX{}t}
>> \hyphenation{Con-TeXt}
>> \starttext
>> \startTEXpage[offset=1em, align={right, nothyphenated}]
>> \hyphenatedwor
Dear list,
I have the following sample:
\def\abc{Con\-\TeX{}t}
\hyphenation{Con-TeXt}
\starttext
\startTEXpage[offset=1em, align={right, nothyphenated}]
\hyphenatedword{legibility}\\
\hyphenatedword{\abc}\\
\abc\\
\hyphenatedword{\ConTeXt}
\stopTEXpage
]
[righthyphenchar=FE000]
\setuphyphenation
[method=traditional]
\sethyphenationfeatures
[strict]
\definefontfamily[svb][rm][SV Basic Manual]
\setupbodyfont[svb]
\starttext
\hyphenatedword{legibility}
\stoptext
For some reason, the font gives the following
]
\sethyphenationfeatures
[strict]
\definefontfamily[svb][rm][SV Basic Manual]
\setupbodyfont[svb]
\starttext
\hyphenatedword{legibility}
\stoptext
For some reason, the font gives the following error with the Lua code
(font can be downloaded from http://dl.dafont.com/dl
[nl]
\setbreakpoints[compound]
\starttext
\hyphenatedword{Amsterdam--Buitenveldert}
\stoptext
I don’t know whether it would make sense to use an en-dash for compound
words in Dutch.
I hope it helps now,
Pablo
--
http://www.ousia.tk
On Tue, Jul 07, 2015 at 03:29:11PM +, Meer, H. van der wrote:
The \hyphenatedword works here too. But it does not work out when the word
Amsterdam occurs in the text. See tthe two examples. In the first Amsterdam
is not broken according to the \hyphenation{Am-ster-dam}-rule. In the second
in the following sample:
\language[nl]
\setbreakpoints[compound]
\starttext
\hyphenatedword{Amsterdam--Buitenveldert}
\stoptext
I don’t know whether it would make sense to use an en-dash for compound
words in Dutch.
I hope it helps now,
Pablo
The \hyphenatedword works here too. But it does not work out when the word
Amsterdam occurs in the text. See tthe two examples. In the first Amsterdam is
not broken according to the \hyphenation{Am-ster-dam}-rule. In the second
example the linebreak is forced by the explicit use of Am\-ster
work for me:
\language[nl]
%~ \startexceptions[nl]
%~ Ams-terd-am
%~ \stopexceptions
\hyphenation{Ams-terd-am}
\starttext
\hyphenatedword{Amsterdam}
\stoptext
BTW, I have to change the hyphenation points, since the proposed
exception is the default hyphenation
[gentium,12pt]
\mainlanguage [bg]
\starttext
\hyphenatedword{програмираната}
\stoptext
Do I have to do anything special, in addition to \mainlanguage [bg] ?
Russian hyphenation does work.
Thanks for any advice.
--
Tom
]
\mainlanguage [bg]
\starttext
\hyphenatedword{програмираната}
\stoptext
Do I have to do anything special, in addition to \mainlanguage [bg] ?
Russian hyphenation does work.
Thanks for any advice.
--
Tom
(with modifications, of course)
then unzipped the latest ConTeXt. Everything works - but I
get no hyphenation. For a simple test file like:
\mainlanguage[en]
\starttext
\hyphenatedword{philosophically}
\stoptext
I see in the log file
mkiv lua stats : loaded patterns - en::2
Hi all,
for some reason, hyphenation for ancient Greek isn't
working in the latest current. test file:
\usetypescript[type-gentium]
\setupbodyfont[gentium,12pt]
\starttext
\hyphenatedword{allegorical}
{\fr\hyphenatedword{détoxication}}
{\agr\hyphenatedword{#966;#953;#955;#959;#963;#959;#966
On 2-8-2010 4:39, Thomas Schmitz wrote:
Hi all,
for some reason, hyphenation for ancient Greek isn't
working in the latest current. test file:
\usetypescript[type-gentium]
\setupbodyfont[gentium,12pt]
\starttext
\hyphenatedword{allegorical}
{\fr\hyphenatedword{détoxication}}
{\agr
{\agr\hyphenatedword{#966;#953;#955;#959;#963;#959;#966;#959;#973;#956;#949;#957;#945;}}
Err, you realize you posted the e-mail using HTML entities? Your
mailer may be responsible for that, but if they were in the source file,
it's to be expected that doesn't work well ;-)
Arthur
\stopexceptions
\hyphenatedword{xxxyyyzzz}
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma
{50}{\kern\recurselevel\dimexpr.2pt\relax {\nohyphens
nothyphenatedword}, hyphenatedword }
\stoptext
i should explain what i mean:
when you try to make hyphenation exceptions for different languages you
need currently
\language[en]\hyphenation{expection list for english}
\language
)
so there is room for improvements
\starttext
\dorecurse{50}{\kern\recurselevel\dimexpr.2pt\relax {\nohyphens
nothyphenatedword}, hyphenatedword }
\stoptext
i should explain what i mean:
when you try to make hyphenation exceptions for different languages you
need currently
\language
}, hyphenatedword }
\stoptext
i should explain what i mean:
when you try to make hyphenation exceptions for different languages you
need currently
\language[en]\hyphenation{expection list for english}
\language[de]\hyphenation{expection list for german}
but it would be nice to combine both
.2pt\relax {\nohyphens
nothyphenatedword}, hyphenatedword }
\stoptext
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53
Am 21.06.10 22:00, schrieb Hans Hagen:
Wolfgang (who wonders why there is no context alternative for
\hyphenation)
so there is room for improvements
\starttext
\dorecurse{50}{\kern\recurselevel\dimexpr.2pt\relax {\nohyphens
nothyphenatedword}, hyphenatedword }
\stoptext
i should
1 - 100 of 140 matches
Mail list logo