ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Breaking/Hyphenating
@ 2008-09-16  0:39 Mohamed Bana
  2008-09-16  6:47 ` Breaking/Hyphenating Jano Kula
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Bana @ 2008-09-16  0:39 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Breaking/Hyphenating
  2008-09-16  0:39 Breaking/Hyphenating Mohamed Bana
@ 2008-09-16  6:47 ` Jano Kula
  2008-09-16 13:24   ` Breaking/Hyphenating Mohamed Bana
  0 siblings, 1 reply; 4+ messages in thread
From: Jano Kula @ 2008-09-16  6:47 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Breaking/Hyphenating
  2008-09-16  6:47 ` Breaking/Hyphenating Jano Kula
@ 2008-09-16 13:24   ` Mohamed Bana
  2008-09-16 14:26     ` Breaking/Hyphenating Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mohamed Bana @ 2008-09-16 13:24 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Breaking/Hyphenating
  2008-09-16 13:24   ` Breaking/Hyphenating Mohamed Bana
@ 2008-09-16 14:26     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2008-09-16 14:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-09-16 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16  0:39 Breaking/Hyphenating Mohamed Bana
2008-09-16  6:47 ` Breaking/Hyphenating Jano Kula
2008-09-16 13:24   ` Breaking/Hyphenating Mohamed Bana
2008-09-16 14:26     ` Breaking/Hyphenating 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).