ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyphenating compound words in MKIV & microtypography
@ 2011-05-23 12:07 Otso Helenius
  2011-05-23 12:40 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Otso Helenius @ 2011-05-23 12:07 UTC (permalink / raw)
  To: ntg-context

Hi,

MKIV seems to have a problem in hyphenating long finnish compound words in MKIV (2011.05.18 22:26).
Here is a minimalist example (columns added to exaggerate the problem):

\mainlanguage[fi]
\language[fi]
\starttext
\startcolumns[n=3]
kolmivaihekilowattituntimittari ympäristöliiketoiminta epäjärjestelmällisyydellistyttymättömyydellänsäkään järjestelmällisentelentelemättömyydellänsäkään 
\stopcolumns
\stoptext

Similarly with en-hyphenation and \input knuth, some of the lines stretch out in an ugly fashion.
What am I doing wrong? I don't have these problems in LaTeX.

P.S. The punctuation characters should be partially hung out in a justified paragraph (similar to
what microtype package does on LaTeX). Wikipedia says ConTeXt has "interfaces for handling
microtypography" but they don't seem as apparent and as easy as using microtype on LaTeX.

The wiki article Protrusion#MkIV presents \definefontfeature but I find it counterintuitive that one has to use

\definefontfeature[default][default][protrusion=quality,expansion=quality]
\setupalign[hz,hanging]

to enable the features. It is unclear if these lines switch the features on globally for all loaded fonts
(for example ttf/otf ones defined with \starttypescript). IMHO these features should be enabled by default
because they produce better typographic quality by default (which should be the preference), and could be
switched off anyway if wanted. The less setup lines one has to add before \starttext to get high quality
results the better.



Otso Helenius
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-23 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 12:07 Hyphenating compound words in MKIV & microtypography Otso Helenius
2011-05-23 12:40 ` Hans Hagen
     [not found]   ` <20110523155403.GA13604@innsmouth.lan>
2011-05-23 16:27     ` Hyphenating compound words in MKIV & microtypographyy 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).