* protcode again
@ 2010-05-21 12:40 John Culleton
2010-05-21 12:46 ` luigi scarso
2010-05-21 13:02 ` Taco Hoekwater
0 siblings, 2 replies; 4+ messages in thread
From: John Culleton @ 2010-05-21 12:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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] 4+ messages in thread
* Re: protcode again
2010-05-21 12:40 protcode again John Culleton
@ 2010-05-21 12:46 ` luigi scarso
2010-05-22 0:43 ` John Culleton
2010-05-21 13:02 ` Taco Hoekwater
1 sibling, 1 reply; 4+ messages in thread
From: luigi scarso @ 2010-05-21 12:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, May 21, 2010 at 2:40 PM, John Culleton <john@wexfordpress.com> 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 ?
--
luigi
___________________________________________________________________________________
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] 4+ messages in thread
* Re: protcode again
2010-05-21 12:40 protcode again John Culleton
2010-05-21 12:46 ` luigi scarso
@ 2010-05-21 13:02 ` Taco Hoekwater
1 sibling, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2010-05-21 13:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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] 4+ messages in thread
* Re: protcode again
2010-05-21 12:46 ` luigi scarso
@ 2010-05-22 0:43 ` John Culleton
0 siblings, 0 replies; 4+ messages in thread
From: John Culleton @ 2010-05-22 0:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Friday 21 May 2010 08:46:37 luigi scarso wrote:
> On Fri, May 21, 2010 at 2:40 PM, John Culleton
<john@wexfordpress.com> 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
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2010-05-22 0:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-21 12:40 protcode again John Culleton
2010-05-21 12:46 ` luigi scarso
2010-05-22 0:43 ` John Culleton
2010-05-21 13:02 ` Taco Hoekwater
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).