The following works for pdftex -------------------------------------- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand ----------------------------------- but on Context (mkii or mkiv) it gives this error: -------------------------------------------- (./prot.tex (./protcode.tex) ! Missing font identifier. <to be read again> \edef \checkfontclass #1->\edef \fontclass {\executeifdefined {\fontclass -#1}{\fo... \setcurrentfontstyle #1->\checkfontclass {#1} \edef \fontstyle {#1}\ifmmode \... l.8 \pdffontexpand\rm 20 20 5 autoexpand ------------------------------------------------------------- It does not matter whether I use minimals or texlive. -- John Culleton Wexford Press
John Culleton wrote:
The following works for pdftex -------------------------------------- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand
\rm is not a font identifier in ConTeXt, but a full-blown font switch, a bit like \rmfamily in latex. The http://wiki.contextgarden.net/Protrusion explains how to use protrusion. The bottom line: if you want protrusion in context, use context commands, not plain TeX commands. Best wishes, Taco
On Thursday 20 May 2010 11:37:15 Taco Hoekwater wrote:
John Culleton wrote:
The following works for pdftex -------------------------------------- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand
\rm is not a font identifier in ConTeXt, but a full-blown font switch, a bit like \rmfamily in latex.
The http://wiki.contextgarden.net/Protrusion explains how to use protrusion. The bottom line: if you want protrusion in context, use context commands, not plain TeX commands.
Best wishes, Taco
Thanks much. That handles protrusion. I can't find a reference in the wiki for the HZ style of expansion/contraction of a font. I searched under HZ, autoexpand and so on. What is the keyword for mkiv? -- 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 Thursday 20 May 2010 19:56:00 John Culleton wrote:
On Thursday 20 May 2010 11:37:15 Taco Hoekwater wrote:
John Culleton wrote:
The following works for pdftex -------------------------------------- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand
\rm is not a font identifier in ConTeXt, but a full-blown font switch, a bit like \rmfamily in latex.
The http://wiki.contextgarden.net/Protrusion explains how to use protrusion. The bottom line: if you want protrusion in context, use context commands, not plain TeX commands.
Best wishes, Taco
Thanks much. That handles protrusion.
I can't find a reference in the wiki for the HZ style of expansion/contraction of a font. I searched under HZ, autoexpand and so on. What is the keyword for mkiv? Never mind, found it under protrusion. -- 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
participants (2)
-
John Culleton
-
Taco Hoekwater