* hyphenation
@ 2003-04-02 6:04 Zeljko Vrba
2003-04-08 11:26 ` hyphenation Hans Hagen
0 siblings, 1 reply; 15+ messages in thread
From: Zeljko Vrba @ 2003-04-02 6:04 UTC (permalink / raw)
I'm typesetting something in Croatian language. In cont-en.tex I put
an \installlanguage, and properly configured the hyphenation tables
(which languages to include/exclude). In my main project file, I put
\mainlanguage[hr]. Is this enough for Context to use Croatian hyphenation
rules? Is there a way to check by which rules does it hyphenate?
(I myself am not too familiar with my own language's hyphenation :),
but some words do appear hyphenated strangely nevertheless.. so I'd just
want to check it)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: hyphenation
2003-04-02 6:04 hyphenation Zeljko Vrba
@ 2003-04-08 11:26 ` Hans Hagen
2003-04-24 6:23 ` problem getting started with metafun -- runaway defininition Mark A. Lilly
0 siblings, 1 reply; 15+ messages in thread
From: Hans Hagen @ 2003-04-08 11:26 UTC (permalink / raw)
At 08:04 02/04/2003 +0200, Zeljko Vrba wrote:
>I'm typesetting something in Croatian language. In cont-en.tex I put
>an \installlanguage, and properly configured the hyphenation tables
>(which languages to include/exclude). In my main project file, I put
>\mainlanguage[hr]. Is this enough for Context to use Croatian hyphenation
>rules? Is there a way to check by which rules does it hyphenate?
>
>(I myself am not too familiar with my own language's hyphenation :),
>but some words do appear hyphenated strangely nevertheless.. so I'd just
>want to check it)
this is also related to the (font) encoding; are you sure that the encoding
matches the patterns?
(can be set up with installlanguage, see czech)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* problem getting started with metafun -- runaway defininition...
2003-04-08 11:26 ` hyphenation Hans Hagen
@ 2003-04-24 6:23 ` Mark A. Lilly
2003-04-24 7:25 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 15+ messages in thread
From: Mark A. Lilly @ 2003-04-24 6:23 UTC (permalink / raw)
hi all,
i'm trying to get started with metafun, but when i run the command to
create my metafun.mem
texexec --make --alone en metafun
(from the same directory as metafun.mp resides) i get the following error:
This is MetaPost, Version 0.641 (Web2C 7.3.1) (INIMP)
(/usr/share/texmf/metapost/context/base/metafun.mp
(/usr/share/texmf/metapost/base/plain.mp
Preloading the plain mem file, version 0.63)
<snip a bunch of directory listings>
Runaway definition?
save.showtext;save.beginfig;let.beginfig=begingraphictextfig;save.endfig ETC.
! Forbidden token found while scanning the definition of protectgraphicmacros.
<inserted text>
enddef
<to be read again>
end
l.49 save end
; let end = relax ;
I get a nearly identical error when i try to run this basic file:
\starttext
\startuseMPgraphic{dummy}
fill fullcircle scaled 5cm withcolor red ;
\stopuseMPgraphic
\useMPgraphic{dummy}
\stoptext
error:
This is MetaPost, Version 0.641 (Web2C 7.3.1)
Sorry, I can't find the mem file `metafun.mem'; will try `mpost.mem'.
(mpgraph.mp (/usr/share/texmf/metapost/context/mp-tool.mp)
(/usr/share/texmf/metapost/context/mp-spec.mp)
(/usr/share/texmf/metapost/context/base/mp-grph.mp
(/usr/share/texmf/metapost/context/mp-tool.mp)
Runaway definition?
<snip... same as above>
Does anyone have any ideas on this?
thanks,
mark
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: problem getting started with metafun -- runaway defininition...
2003-04-24 6:23 ` problem getting started with metafun -- runaway defininition Mark A. Lilly
@ 2003-04-24 7:25 ` Eckhart Guthöhrlein
2003-04-24 16:19 ` Mark A. Lilly
0 siblings, 1 reply; 15+ messages in thread
From: Eckhart Guthöhrlein @ 2003-04-24 7:25 UTC (permalink / raw)
On Wed, Apr 23, 2003 at 11:23:37PM -0700, Mark A. Lilly wrote:
> i'm trying to get started with metafun, but when i run the command to
> create my metafun.mem
> texexec --make --alone en metafun
> (from the same directory as metafun.mp resides) i get the following error:
You can run this in any directory, more important: put the
resulting metafun.mem in a place where files of that type will
be found. In your case, this should be $TEXMF/web2c.
Hope that helps.
--
Eckhart
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: problem getting started with metafun -- runaway defininition...
2003-04-24 7:25 ` Eckhart Guthöhrlein
@ 2003-04-24 16:19 ` Mark A. Lilly
0 siblings, 0 replies; 15+ messages in thread
From: Mark A. Lilly @ 2003-04-24 16:19 UTC (permalink / raw)
unfortunately, it errors out before creating the metafun.mem file.
that's where the problem seems to lie.
At 09:25 AM 4/24/2003 +0200, you wrote:
>On Wed, Apr 23, 2003 at 11:23:37PM -0700, Mark A. Lilly wrote:
> > i'm trying to get started with metafun, but when i run the command to
> > create my metafun.mem
> > texexec --make --alone en metafun
> > (from the same directory as metafun.mp resides) i get the following error:
>
>You can run this in any directory, more important: put the
>resulting metafun.mem in a place where files of that type will
>be found. In your case, this should be $TEXMF/web2c.
>Hope that helps.
>
>--
>Eckhart
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 15+ messages in thread
* hyphenation
@ 2021-10-13 7:49 Hans Hagen via ntg-context
0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-13 7:49 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen
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-100000
\input tufte
\par % force hyphenation
\egroup
This one does the same for last lines on a page with a hyphen:
\bgroup
% \interlinepenalty10000
\brokenpenalty-10000
\input tufte
\egroup
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* hyphenation
@ 2018-10-26 11:38 Hans van der Meer
2018-10-26 11:54 ` hyphenation Hans Hagen
2018-10-26 11:57 ` hyphenation Wolfgang Schuster
0 siblings, 2 replies; 15+ messages in thread
From: Hans van der Meer @ 2018-10-26 11:38 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]
Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion.
Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
Just an observation, not really a problem but maybe something waiting to be fixed.
dr. Hans van der Meer
[-- Attachment #1.2: Type: text/html, Size: 1541 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: hyphenation
2018-10-26 11:38 hyphenation Hans van der Meer
@ 2018-10-26 11:54 ` Hans Hagen
2018-10-26 11:57 ` hyphenation Wolfgang Schuster
1 sibling, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2018-10-26 11:54 UTC (permalink / raw)
To: mailing list for ConTeXt users, Hans van der Meer
On 10/26/2018 1:38 PM, Hans van der Meer wrote:
> Using roman numbers in figures I encountered a case where XIII.9 was
> hyphenated into XI-II.9. A bit unclear, in my opinion.
>
> Easily repairable with something
> like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
> Just an observation, not really a problem but maybe something waiting to
> be fixed.
\nl \hyphenation{XIII}
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: hyphenation
2018-10-26 11:38 hyphenation Hans van der Meer
2018-10-26 11:54 ` hyphenation Hans Hagen
@ 2018-10-26 11:57 ` Wolfgang Schuster
1 sibling, 0 replies; 15+ messages in thread
From: Wolfgang Schuster @ 2018-10-26 11:57 UTC (permalink / raw)
To: mailing list for ConTeXt users, Hans van der Meer
[-- Attachment #1.1: Type: text/plain, Size: 963 bytes --]
Untested:
\setupreferenceformat[style=\nohyphens]
Wolfgang
Hans van der Meer schrieb am 26.10.18 um 13:38:
> Using roman numbers in figures I encountered a case where XIII.9 was
> hyphenated into XI-II.9. A bit unclear, in my opinion.
>
> Easily repairable with something
> like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}}
> Just an observation, not really a problem but maybe something waiting
> to be fixed.
>
> dr. Hans van der Meer
>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2985 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* hyphenation
@ 2009-05-24 21:12 Henning Hraban Ramm
2009-05-25 7:07 ` hyphenation Taco Hoekwater
0 siblings, 1 reply; 15+ messages in thread
From: Henning Hraban Ramm @ 2009-05-24 21:12 UTC (permalink / raw)
To: mailing ConTeXt users list for
Ahoi,
(1)
there's an ongoing thread on the German mailing list (TeX-D-L), if it
would be possible to implement weighted(?) hyphenation, i.e. that some
breaks are better than other, e.g.
Do-nau---dampf--schiff---fahrt
Wa-ren---wirt--schaft
Eu-ro-pa---par-la--ment
(In InDesign I can suggest such priorities if I add words to the user
dictionary.)
(2)
Uses ConTeXt the same hyphenation algorithm as LaTeX? Or one of the
newer projects? (perhaps SiSiSi?)
(3)
Further, I wonder why \hyphenation{} is case dependend - in my last
project "Secretary General" was wrongly hyphenated, but
\hyphenation{se-cre-ta-ry} didn't fix it, I needed \hyphenation{Se-cre-
ta-ry}. Does that make sense?
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: hyphenation
2009-05-24 21:12 hyphenation Henning Hraban Ramm
@ 2009-05-25 7:07 ` Taco Hoekwater
0 siblings, 0 replies; 15+ messages in thread
From: Taco Hoekwater @ 2009-05-25 7:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hraban,
Your questions are more about luatex than about context, I think
(you _are_ talking about mkiv, yes?)
Henning Hraban Ramm wrote:
> Ahoi,
> (1)
> there's an ongoing thread on the German mailing list (TeX-D-L), if it
> would be possible to implement weighted(?) hyphenation, i.e. that some
> breaks are better than other, e.g.
> Do-nau---dampf--schiff---fahrt
> Wa-ren---wirt--schaft
> Eu-ro-pa---par-la--ment
> (In InDesign I can suggest such priorities if I add words to the user
> dictionary.)
There is a tracker item to that effect:
http://tracker.luatex.org/view.php?id=168
but it has no planned deadline yet.
> (2)
> Uses ConTeXt the same hyphenation algorithm as LaTeX? Or one of the
> newer projects? (perhaps SiSiSi?)
At the moment, the functionality of \patterns in luatex is the same as
in pdf(tex) except that the hyphenation patterns are fully UTF-8.
> (3)
> Further, I wonder why \hyphenation{} is case dependend - in my last
> project "Secretary General" was wrongly hyphenated, but
> \hyphenation{se-cre-ta-ry} didn't fix it, I needed
> \hyphenation{Se-cre-ta-ry}. Does that make sense?
Not so much. At first sight, this looks like a luatex bug. I will
investigate.
Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <873781070904090254u12812a9dr4fd2aca7006a67c@mail.gmail.com>]
* Re: hyphenation (was: Re: extended ascii characters)
@ 2004-01-06 16:58 Peter Münster
2004-01-06 21:37 ` hyphenation Henning Hraban Ramm
0 siblings, 1 reply; 15+ messages in thread
From: Peter Münster @ 2004-01-06 16:58 UTC (permalink / raw)
On Tue, 6 Jan 2004, Henning Hraban Ramm wrote:
> For correct hyphenation and some other details you need to declare your
> language:
> \mainlanguage[fr] or \language[fr]
The original posted example began with \fr, which should be the same as
\language[fr].
Here again the example, where you can see the problem.
\fr
\useencoding[ec]
\enableregime[il1]
\starttext
évolution évolution évolution évolution évolution évolution évolution
évolution évolution
evolution evolution evolution evolution evolution evolution evolution
evolution evolution
\stoptext
Cheers, Peter
--
http://pmrb.free.fr/contact/
------------------------------------
Film Search site: http://f-s.sf.net/
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <3.0.5.32.19990523153816.00a37680@mail.northcoast.com>]
end of thread, other threads:[~2021-10-13 7:49 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-02 6:04 hyphenation Zeljko Vrba
2003-04-08 11:26 ` hyphenation Hans Hagen
2003-04-24 6:23 ` problem getting started with metafun -- runaway defininition Mark A. Lilly
2003-04-24 7:25 ` Eckhart Guthöhrlein
2003-04-24 16:19 ` Mark A. Lilly
-- strict thread matches above, loose matches on Subject: below --
2021-10-13 7:49 hyphenation Hans Hagen via ntg-context
2018-10-26 11:38 hyphenation Hans van der Meer
2018-10-26 11:54 ` hyphenation Hans Hagen
2018-10-26 11:57 ` hyphenation Wolfgang Schuster
2009-05-24 21:12 hyphenation Henning Hraban Ramm
2009-05-25 7:07 ` hyphenation Taco Hoekwater
[not found] <873781070904090254u12812a9dr4fd2aca7006a67c@mail.gmail.com>
[not found] ` <A1349FE2-7740-4416-A001-7F766506A658@uni-bonn.de>
2009-04-09 15:02 ` hyphenation Vyatcheslav Yatskovsky
2004-01-06 16:58 hyphenation (was: Re: extended ascii characters) Peter Münster
2004-01-06 21:37 ` hyphenation Henning Hraban Ramm
2004-01-07 6:21 ` hyphenation Peter Münster
[not found] <3.0.5.32.19990523153816.00a37680@mail.northcoast.com>
[not found] ` <3.0.5.32.19990525160807.00a40210@mail.northcoast.com>
1999-05-26 7:35 ` Hyphenation Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).