From: Raymond LeClair <raymond.leclair@synterein.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Tracking in MKII and MKIV
Date: Mon, 15 Aug 2011 20:22:38 -0400 [thread overview]
Message-ID: <6E564668-96CA-4116-8B8C-394E3EE7E1BA@synterein.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4230 bytes --]
I am automating the creation of books using ConTeXt with a graphic design graduate student at the Rhode Island School of Design.
The book cover is created using MetaPost inside a ConTeXt source file.
The graphic designer tells me it is very common to specify the interletter spacing, or tracking, and in fact, he considers this capability to be essential.
I understand that these, so called, microtypography capabilities are present in pdfTeX fully, but only partially present in LuaTeX (protrusion and expansion), although tracking can be set in a way using \kerncharacters[0.5] in LuaTeX.
However, the quality of the typesetting produced by LuaTeX is completely inadequate, while the quality of the typesetting produced by pdfTeX is very good.
Am I miss-understanding the differences in capability between pdfTeX and LuaTeX in this regard?
Relevant examples follow and PDFs are attached.
I processed the following ConTeXt source file using MKII:
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en 2011.8.13)
ConTeXt ver: 2011.05.18 18:04 MKII fmt: 2011.8.13 int: english/english
===== START MKII EXAMPLE =====
\pdfminorversion=5
\definepapersize[LG1][width=9.3in,height=6.87in]
\definepapersize[LP1][width=9.55in,height=7.12in]
\setuppapersize[LG1][LP1]
\setuplayout[location=middle,marking=off]
\setuppagenumber[state=stop]
\startMPenvironment
\usetypescript[modern][ec]
\switchtotypeface[modern][7.0pt]
\setupinterlinespace
\def\stretchedspacefactor{4}
\def\stretchedspaceamount{0.25em}
\stopMPenvironment
\startuniqueMPgraphic{cover}
cover_paper_width := 9.55in;
cover_paper_height := 7.12in;
left_margin := 0.347222222222in;
top_margin := 0.347222222222in;
bottom_margin := 0.347222222222in;
draw (0, 0)--(cover_paper_width, cover_paper_height)
withpen pencircle scaled 1bp withcolor white;
picture labelText;
labelText := btex {\vbox{\hsize 2.38888888889in \baselineskip 10.5pt
T\hskip 0.25em\stretchednormalcase{HIS BOOK
CONTAINS 988 TWEETS POSTED TO TWITTER BY
LADYGAGA FROM MARCH 27, 2008 TO AUGUST 5,
2011. IT WAS PUBLISHED ON DEMAND ON AUGUST
14, 2011}}} etex;
labeloffset := 0bp;
label.lrt(labelText, (left_margin,
cover_paper_height - top_margin));
\stopuniqueMPgraphic
\defineoverlay[cover][\uniqueMPgraphic{cover}]
\starttext
\title{}
\setupbackgrounds[paper][background={cover}]
\stoptext
===== STOP MKII EXAMPLE =====
I processed the following ConTeXt source file using MKIV:
this is luatex, version beta-0.70.1-2011051908 (rev 4277)
ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.7.13 int: english/english
===== START MKVI EXAMPLE =====
\pdfminorversion=5
\definepapersize[LG1][width=9.24in,height=6.87in]
\definepapersize[LP1][width=9.49in,height=7.12in]
\setuppapersize[LG1][LP1]
\setuplayout[location=middle,marking=off]
\setuppagenumber[state=stop]
\definefont[LabelFont][Serif sa 0.583]
\startuniqueMPgraphic{cover}
cover_paper_width := 9.49in;
cover_paper_height := 7.12in;
left_margin := 0.347222222222in;
top_margin := 0.347222222222in;
bottom_margin := 0.347222222222in;
draw (0, 0)--(cover_paper_width, cover_paper_height)
withpen pencircle scaled 1bp withcolor white;
picture labelText;
labelText := btex {\vbox{\hsize 2.38888888889in \baselineskip 10.5pt \LabelFont
{\kerncharacters[0.5]
THIS BOOK CONTAINS 988 TWEETS POSTED TO
TWITTER BY LADYGAGA FROM MARCH 27, 2008
TO AUGUST 5, 2011. IT WAS PUBLISHED ON
DEMAND ON AUGUST 14, 2011}}} etex;
labeloffset := 0bp;
label.lrt(labelText, (left_margin,
cover_paper_height - top_margin));
\stopuniqueMPgraphic
\defineoverlay[cover][\uniqueMPgraphic{cover}]
\starttext
\title{}
\setupbackgrounds[paper][background={cover}]
\stoptext
===== STOP MKVI EXAMPLE =====
The MKII PDF
[-- Attachment #2: cover-mkii.pdf --]
[-- Type: application/pdf, Size: 27999 bytes --]
[-- Attachment #3: Type: text/plain, Size: 15 bytes --]
The MKIV PDF
[-- Attachment #4: cover-mkiv.pdf --]
[-- Type: application/pdf, Size: 8780 bytes --]
[-- Attachment #5: Type: text/plain, Size: 2 bytes --]
[-- Attachment #6: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-08-16 0:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-16 0:22 Raymond LeClair [this message]
2011-08-16 8:02 ` Wolfgang Schuster
2011-08-16 8:23 ` Hans Hagen
2011-08-16 8:37 ` Hans Hagen
2011-08-16 23:11 ` 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=6E564668-96CA-4116-8B8C-394E3EE7E1BA@synterein.com \
--to=raymond.leclair@synterein.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).