The following code works with mkii but not with mkiv: \usetypescript[times][texnansi] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right] I substituted "termes" for "times" in both places but it still works under mkii (texexec) but not mkiv (context). I'll proceed with mkii for the current project but long term I expect difficulties. -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.scribd.com/doc/24676863/ http://www.booklocker.com/books/4055.html
On Fri, May 21, 2010 at 2:40 PM, John Culleton
The following code works with mkii but not with mkiv:
\usetypescript[times][texnansi] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right]
I substituted "termes" for "times" in both places but it still works under mkii (texexec) but not mkiv (context). I'll proceed with mkii for the current project but long term I expect difficulties.
It seems ok here %%test.tex \usetypescript[times] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right] \starttext \chapter{foo} \dorecurse{100}{\input knuth} \stoptext # pdffonts test.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- QNBETP+TeXGyreTermes-Regular CID Type 0C yes yes yes 14 0 Where are the problems ? -- luigi
On Friday 21 May 2010 08:46:37 luigi scarso wrote:
On Fri, May 21, 2010 at 2:40 PM, John Culleton
wrote: The following code works with mkii but not with mkiv:
\usetypescript[times][texnansi] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right]
I substituted "termes" for "times" in both places but it still works under mkii (texexec) but not mkiv (context). I'll proceed with mkii for the current project but long term I expect difficulties.
It seems ok here %%test.tex \usetypescript[times] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right]
\starttext \chapter{foo} \dorecurse{100}{\input knuth}
\stoptext
# pdffonts test.pdf name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- QNBETP+TeXGyreTermes-Regular CID Type 0C yes yes yes 14 0
Where are the problems ? The hanging characters (hyphens etc.) don't hang. The exact same file is used for input. -- John Culleton Wexford Press "Create Book Covers with Scribus" Printable E-book 38 pages $5.95 http://www.scribd.com/doc/24676863/ http://www.booklocker.com/books/4055.html
John Culleton wrote:
The following code works with mkii but not with mkiv:
\usetypescript[times][texnansi] \usetypescript[serif,sans][hanging][pure] \setupalign[hanging] \setupbodyfont[times,12pt] \setuphead[chapter][page=right]
I substituted "termes" for "times" in both places but it still works under mkii (texexec) but not mkiv (context). I'll proceed with mkii for the current project but long term I expect difficulties.
The rules in mkiv are a little different. This is hinted at by the last section of the wiki page, but not very clear. Here is how to get protrusion in mkiv: \definefontfeature[default][default][protrusion=quality] \setupalign[hanging] \setupbodyfont[times,12pt] (so less, but different code is need) Best wishes, Taco
participants (3)
-
John Culleton
-
luigi scarso
-
Taco Hoekwater