Re: [NTG-context] Breaking/Hyphenating

2008-09-16 Thread Jano Kula
Hi!

Mohamed Bana wrote:
 1.  What must I do to the 3rd paragraph on the first page to get it to space
 properly? It's far too close to the previous one.
 
 1st page, 3rd paragraph; http://filebin.ca/dnoqva/test.pdf or 
 http://filebin.ca/dnoqva. Here's a screenshot; 
 http://imagebin.ca/view/5Es-dHG.html
 
 Source; http://pastebin.com/f15e49b5e

Works nicely here with
luaTeX-0.28.0
ConTeXt 2008.09.10 14:01

\setuplayout[grid=yes] might help also.

 2.  On the 1st page the d in praised protrudes to the margin, how do I stop
 this. I should point out that this happens often, and I don't mind if TeX
 creates a page with 1-2 lines as long as nothing protudes into the margin.

Regular Overfull hbox. TeX doesn't know how to break the world (line). 
Whatch log file or set \overfullrule=10pt. Usually you could tell TeX 
where to break the world with \- but in this example it seems compound 
words (||) aren't supposed to be broken at all.



Jano

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


Re: [NTG-context] Breaking/Hyphenating

2008-09-16 Thread Mohamed Bana
The file seems to typeset almost perfectly with mkii, even without
\setuplayout[grid=yes] \overfullrule=10pt.

Source; http://pastebin.com/m271212a6
Pdf; http://filebin.ca/octdd/test.pdf or http://filebin.ca/octdd


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


Re: [NTG-context] Breaking/Hyphenating

2008-09-16 Thread Hans Hagen
Mohamed Bana wrote:
 The file seems to typeset almost perfectly with mkii, even without
 \setuplayout[grid=yes] \overfullrule=10pt.

a simpler test file is

\showframe \mainlanguage[uk]

\starttext
 \placefigure[left]{}{} \input zapf
\stoptext

there can be several reasons for the difference (btw, uk patterns cannot 
hyphenate widely)

- different fonts i.e. different glyphs dimensions and spacing (lm 
opentype is not the same as lm type1)
- different hyphenation algorithm (mostly the same as traditional tex, 
but some limitations and optimizations removed)

Hans



-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | 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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Breaking/Hyphenating

2008-09-15 Thread Mohamed Bana
1.  What must I do to the 3rd paragraph on the first page to get it to space
properly? It's far too close to the previous one.

1st page, 3rd paragraph; http://filebin.ca/dnoqva/test.pdf or 
http://filebin.ca/dnoqva. Here's a screenshot; 
http://imagebin.ca/view/5Es-dHG.html

Source; http://pastebin.com/f15e49b5e

2.  On the 1st page the d in praised protrudes to the margin, how do I stop
this. I should point out that this happens often, and I don't mind if TeX
creates a page with 1-2 lines as long as nothing protudes into the margin.



thanks
Mohamed

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