From: "David C. Walden" <dave@walden-family.com>
To: ntg-context@ntg.nl
Subject: problem using protrusion and hz
Date: Tue, 08 Apr 2008 13:11:22 -0500 [thread overview]
Message-ID: <5.1.0.14.2.20080408125825.0203ccf8@pop.gmail.com> (raw)
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: dave@walden-family.com;
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
___________________________________________________________________________________
next reply other threads:[~2008-04-08 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 18:11 David C. Walden [this message]
2008-04-08 20:30 ` Hans Hagen
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=5.1.0.14.2.20080408125825.0203ccf8@pop.gmail.com \
--to=dave@walden-family.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).