pdftex[774] branches/stable/doc/manual: microtype tables are global
commits+karl at tug.org
commits+karl at tug.org
Sat Mar 18 16:49:06 CET 2017
Revision: 774
http://tug.org/svn/pdftex?view=revision&revision=774
Author: karl
Date: 2017-03-18 16:49:06 +0100 (Sat, 18 Mar 2017)
Log Message:
-----------
microtype tables are global
Modified Paths:
--------------
branches/stable/doc/manual/ChangeLog
branches/stable/doc/manual/pdftex-t.tex
Modified: branches/stable/doc/manual/ChangeLog
===================================================================
--- branches/stable/doc/manual/ChangeLog 2017-03-16 23:08:46 UTC (rev 773)
+++ branches/stable/doc/manual/ChangeLog 2017-03-18 15:49:06 UTC (rev 774)
@@ -1,5 +1,17 @@
+2017-03-17 Karl Berry <karl at freefriends.org>
+
+ * pdftex-t.tex (\efcode, \rpcode, \lpcode, \knbscode, \knstcode,
+ \knshcode, \knbccode, \knaccode): state that changes to these
+ tables are global, not affected by TeX's grouping, and only to the
+ particular <font> specified. Report from Doug McKenna.
+
2017-03-16 Karl Berry <karl at freefriends.org>
+ * pdftex-t.tex: behavior, not behaviour, for consistency with
+ seemingly all else (color, math, etc.).
+
+ * pdftex-t.tex: behavior, not behaviour. Nothing else here is UK.Eng.
+
* pdftex-t.tex (Map files) <encodingfile>: can be specified for
bitmap PK fonts now also.
Modified: branches/stable/doc/manual/pdftex-t.tex
===================================================================
--- branches/stable/doc/manual/pdftex-t.tex 2017-03-16 23:08:46 UTC (rev 773)
+++ branches/stable/doc/manual/pdftex-t.tex 2017-03-18 15:49:06 UTC (rev 774)
@@ -864,9 +864,7 @@
needed to compile \PDFTEX:
\startesctyping
-cd $HOME/pdftex
-unzip pdftex- at currentpdftex.zip
-cd pdftex- at currentpdftex/source
+cd pdftex.../source
./build-pdftex.sh
\stopesctyping
@@ -2602,7 +2600,7 @@
to \type{\sfcode} (but with the \Something{font} required), and it
defaults to~1000, meaning 100\,\% expandability. The given integer value
is clipped to the range $0..1000$, corresponding to a usable
-expandability range of 0..100\,\%. Example:
+expandability range of $0..100$\,\%. Example:
\starttyping
\efcode\somefont`A=800
@@ -2615,6 +2613,9 @@
primitive, otherwise one would end up with more possible font inclusions
than would be comfortable.
+Changes to this table are global, i.e., ignore \TeX's usual grouping,
+and apply only to the given \Something{font}.
+
\pdftexprimitive{\Syntax{\Tex{\pdfprotrudechars} \Whatever{integer}}}
\bookmark{\tex{pdfprotrudechars}}
@@ -2656,14 +2657,20 @@
was changed to a proportion of the em-width after \THANH\ finished his
master's thesis.
+Changes to this table are global, i.e., ignore \TeX's usual grouping,
+and apply only to the given \Something{font}.
+
\pdftexprimitive{\Syntax{\Tex{\lpcode} \Something{font}
\Something{8-bit number} \Whatever{integer}}}
\bookmark{\tex{lpcode}}
This is similar to \type{\rpcode}, but affects the amount by which
-characters may protrude into the left margin. Also here the given integer
+characters may protrude into the left margin. Here also the given integer
value is clipped to the range $-1000..1000$.
+Changes to this table are global, i.e., ignore \TeX's usual grouping,
+and apply only to the given \Something{font}.
+
\pdftexprimitive{\Syntax{\Tex{\leftmarginkern} \Something{box number}
\Whatever{expandable}}}
\bookmark{\tex{leftmarginkern}}
@@ -3092,8 +3099,12 @@
\subsection{Spacing}
-Controlling spacing before and after characters was introduced in version 1.30,
-mostly to handle punctuation rules in different languages.
+Controlling spacing before and after characters was introduced in
+version 1.30, mostly to handle punctuation rules in different
+languages. The \type{\...code} tables here, like those in the previous
+section, operate globally, i.e., ignore \TeX's usual grouping, and apply
+only to the given \Something{font}, not other instances of the
+underlying font.
\pdftexprimitive{\Syntax{\Tex{\pdfadjustinterwordglue} \Whatever{integer}}}
\bookmark{\tex{pdfadjustinterwordglue}}
@@ -3105,9 +3116,11 @@
\Something{8-bit number} \Whatever{integer}}}
\bookmark{\tex{knbscode}}
-The amount of space, in thousandths of an em, added to the glue following
-a character. This amounts is clipped to the range \type{-1000}||\type{1000}.
-For instance, the following example means that glues after periods will be
+The amount of space, in thousandths of an em, added to the natural width
+of the glue following a character (the name stands for ``kern before
+space'', although technically it is looking at glue items, not kern
+items). This amounts is clipped to the range $-1000..1000$. For
+instance, the following example means that glues after periods will be
increased by .2\,em.
\starttyping
@@ -3138,7 +3151,7 @@
\bookmark{\tex{knbccode}}
The width of the kern, in thousandths of an em, inserted before a character.
-It is clipped to the range \type{-1000}||\type{1000}. For instance, with the
+It is clipped to the range $-1000..1000$. For instance, with the
following code, a .15\,em-kern will be inserted before all question marks
(useful for \eg\ French punctuation):
@@ -3532,7 +3545,7 @@
if the \type{\pdfimageresolution} is zero, finally a default resolution
of 72\,dpi would be taken. The \type{\pdfimageresolution} is read when
\PDFTEX\ creates an image via \type{\pdfximage}. The given value is
-clipped to the range 0..65535\,[dpi].
+clipped to the range $0..65535$\,(dpi).
Currently this parameter is used particularly for calculating the
dimensions of \JPEG\ images in \EXIF\ format (unless at least one
@@ -3567,8 +3580,8 @@
% object, i.\,e.\ the value used at \pdfximage is remembered.
% See the PDF Reference for an explanation of the boxes.
-The integer primitive \type{\pdfforcepagebox} allows to globally
-override the choice of the page box used with \type{\pdfximage}. It
+The integer primitive \type{\pdfforcepagebox} allows globally
+overriding the choice of the page box used with \type{\pdfximage}. It
takes the same values as \type{\pdfpagebox}. The command is available
starting from \PDFTEX\ 1.30.0, as a shortened synonym of obsolete
\type{\pdfoptionalwaysusepdfpagebox} instruction, but is itself
More information about the pdftex-commits
mailing list