ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Culleton <john@wexfordpress.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Protcode for context
Date: Thu, 20 May 2010 19:56:00 -0400	[thread overview]
Message-ID: <201005201956.00653.john@wexfordpress.com> (raw)
In-Reply-To: <4BF5572B.5060604@elvenkind.com>

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


  reply	other threads:[~2010-05-20 23:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 15:29 John Culleton
2010-05-20 15:37 ` Taco Hoekwater
2010-05-20 23:56   ` John Culleton [this message]
2010-05-20 23:58     ` John Culleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005201956.00653.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).