Hi,
Adytia pointed me to some examples at
http://wiki.contextgarden.net/Protrusion
I tried the following code with a couple of page test page,
-
\definepapersize[specialbook][width=5.5in,height=8.5in]
\setuppapersize[specialbook][specialbook]
\setuplayout[height=7.5in,width=4.5in,backspace=40pt,location=middle]
%\usetypescript[serif][hz][quality] %line 1
%\setupalign[hanging,hz] %line 2
\usetypescript[serif,sans,mono][hanging][pure] %line 3
\setupalign[hanging] %line 4
\usetypescript[modern-base][texnansi] %line 5
\setupbodyfont[reset] %line 6
\setupbodyfont[modern]%line 7
%\setupbodyfont[serif,11pt]
\setupwhitespace[4.5pt]
\setupcolors[state=start]
\setupexternalfigures[directory={../marsh-slideshow}]
\setupindenting[none]
\setuphead[chapter][number=no]
\setupheader[state=none]
% Enable colors and activate hyperlinks
\setupcolors [state=start] \setupinteraction [state=start, color=blue]
\definecolor [darkRed][r=.5,g=.0,b=.0]
\useURL[TPJ][{http://www.tug.org/pracjourn}][][{\it Prac\TeX{} Journal}]
\useURL[mywebsite][{http://www.walden-family.com/dave}][][www.walden-family.com]
\starttext
...
\stoptext
and I get slightly different results if lines 1 and 2 versus 3 and 4
are in or out, or if both pairs of lines are commented out. If, however,
I try this with the real 215 page book I am compiling rather than
a smaller example, pdfTeX halts 200 or so pages in with a fatal
error saying it has run out of space and saying something more about
a hash table. If I comment out lines 5-7, I don't get the fatal
error but also I don't think I see protrusion and font expansion
happening. The real book doesn't have very much body text but
is does have 215 images with code like
\placefigure{none}{\externalfigure[#1.jpg][width=\textwidth]}
where #1 comes from a macro call.
Any thoughts? (I suppose I can split my source file in half
and find a ConTeXt command to start the page numbering for
the second half a 107 or so and then combine the two PDFs
with Acrobat.)
Best regards, Dave
--
home address: 12 Linden Rd., E. Sandwich, MA 02537; ph/fax=508-888-7655/4168
email address: [EMAIL PROTECTED];
website(s): http://www.walden-family.com/
___
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
___