aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Berry2006-05-05 16:09:46 +0000
committerKarl Berry2006-05-05 16:09:46 +0000
commitdfe1fb06ab96638e7cf22e1d2d549051eb5c4f7c (patch)
tree4003c033914e99bba4bd5ca238e995bfcc3c79e4
parent2dca98f3f5a898724d2818e4a03b9c153f3d7d4b (diff)
downloademacs-dfe1fb06ab96638e7cf22e1d2d549051eb5c4f7c.tar.gz
emacs-dfe1fb06ab96638e7cf22e1d2d549051eb5c4f7c.zip
reduce body text size for emacs manual to 10pt
-rw-r--r--man/ChangeLog10
-rw-r--r--man/emacs.texi8
-rw-r--r--man/help.texi2
-rw-r--r--man/texinfo.tex170
4 files changed, 186 insertions, 4 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 40855e07102..59507f016fe 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,13 @@
12006-05-05 Karl Berry <karl@gnu.org>
2
3 * texinfo.tex (\definetextfonsizexi, \definetextfonsizex): new cmds.
4 (\fonttextsize): new user-level command to change text font size.
5 * emacs.texi: call @fonttextsize 10, inside @tex to avoid
6 errors from the current release of makeinfo (4.8).
7 * help.texi (Library Keywords): change widest word in multitable
8 template from `emulations' to `convenience'. (Not sure if this is
9 related to the font change.)
10
12006-05-05 Eli Zaretskii <eliz@gnu.org> 112006-05-05 Eli Zaretskii <eliz@gnu.org>
2 12
3 * files.texi (File Names): Add a footnote about limited support of 13 * files.texi (File Names): Add a footnote about limited support of
diff --git a/man/emacs.texi b/man/emacs.texi
index 16a50d8c4bc..3e14a4b9989 100644
--- a/man/emacs.texi
+++ b/man/emacs.texi
@@ -42,7 +42,13 @@ Software Foundation raise funds for GNU development.''
42 42
43@smallbook 43@smallbook
44 44
45@setchapternewpage odd 45@c per rms and peterb, use 10pt fonts for the main text, mostly to
46@c save on paper cost. Also do not declare @setchapternewpage odd.
47@c Do this inside @tex for now, so current makeinfo does not complain.
48@tex
49@fonttextsize 10
50@end tex
51
46@defcodeindex op 52@defcodeindex op
47@synindex pg cp 53@synindex pg cp
48 54
diff --git a/man/help.texi b/man/help.texi
index 35470551862..4d69e18cc39 100644
--- a/man/help.texi
+++ b/man/help.texi
@@ -401,7 +401,7 @@ The @kbd{C-h p} command lets you search the standard Emacs Lisp
401libraries by topic keywords. Here is a partial list of keywords you can 401libraries by topic keywords. Here is a partial list of keywords you can
402use: 402use:
403 403
404@multitable {emulations} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa} 404@multitable {convenience} {aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
405@item abbrev@tab abbreviation handling, typing shortcuts, macros. 405@item abbrev@tab abbreviation handling, typing shortcuts, macros.
406@item bib@tab code related to the @code{bib} bibliography processor. 406@item bib@tab code related to the @code{bib} bibliography processor.
407@item c@tab support for the C language and related languages. 407@item c@tab support for the C language and related languages.
diff --git a/man/texinfo.tex b/man/texinfo.tex
index 7ed20f016b1..f6ac94ed734 100644
--- a/man/texinfo.tex
+++ b/man/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2006-03-21.13} 6\def\texinfoversion{2006-05-05.09}
7% 7%
8% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
@@ -1471,6 +1471,7 @@ where each line of input produces a line of output.}
1471% We don't need math for this font style. 1471% We don't need math for this font style.
1472\def\ttsl{\setfontstyle{ttsl}} 1472\def\ttsl{\setfontstyle{ttsl}}
1473 1473
1474
1474% Default leading. 1475% Default leading.
1475\newdimen\textleading \textleading = 13.2pt 1476\newdimen\textleading \textleading = 13.2pt
1476 1477
@@ -1492,11 +1493,13 @@ where each line of input produces a line of output.}
1492 }% 1493 }%
1493} 1494}
1494 1495
1496
1495% Set the font macro #1 to the font named #2, adding on the 1497% Set the font macro #1 to the font named #2, adding on the
1496% specified font prefix (normally `cm'). 1498% specified font prefix (normally `cm').
1497% #3 is the font's design size, #4 is a scale factor 1499% #3 is the font's design size, #4 is a scale factor
1498\def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4} 1500\def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
1499 1501
1502
1500% Use cm as the default font prefix. 1503% Use cm as the default font prefix.
1501% To specify the font prefix, you must define \fontprefix 1504% To specify the font prefix, you must define \fontprefix
1502% before you read in texinfo.tex. 1505% before you read in texinfo.tex.
@@ -1520,6 +1523,10 @@ where each line of input produces a line of output.}
1520\def\scshape{csc} 1523\def\scshape{csc}
1521\def\scbshape{csc} 1524\def\scbshape{csc}
1522 1525
1526% Definitions for a main text size of 11pt. This is the default in
1527% Texinfo.
1528%
1529\def\definetextfontsizexi{
1523% Text fonts (11.2pt, magstep1). 1530% Text fonts (11.2pt, magstep1).
1524\def\textnominalsize{11pt} 1531\def\textnominalsize{11pt}
1525\edef\mainmagstep{\magstephalf} 1532\edef\mainmagstep{\magstephalf}
@@ -1633,6 +1640,165 @@ where each line of input produces a line of output.}
1633\font\reducedi=cmmi10 1640\font\reducedi=cmmi10
1634\font\reducedsy=cmsy10 1641\font\reducedsy=cmsy10
1635 1642
1643% reset the current fonts
1644\textfonts
1645\rm
1646} % end of 11pt text font size definitions
1647
1648
1649% Definitions to make the main text be 10pt Computer Modern, with
1650% section, chapter, etc., sizes following suit. This is for the GNU
1651% Press printing of the Emacs 22 manual. Maybe other manuals in the
1652% future. Used with @smallbook, which sets the leading to 12pt.
1653%
1654\def\definetextfontsizex{%
1655% Text fonts (10pt).
1656\def\textnominalsize{10pt}
1657\edef\mainmagstep{1000}
1658\setfont\textrm\rmshape{10}{\mainmagstep}
1659\setfont\texttt\ttshape{10}{\mainmagstep}
1660\setfont\textbf\bfshape{10}{\mainmagstep}
1661\setfont\textit\itshape{10}{\mainmagstep}
1662\setfont\textsl\slshape{10}{\mainmagstep}
1663\setfont\textsf\sfshape{10}{\mainmagstep}
1664\setfont\textsc\scshape{10}{\mainmagstep}
1665\setfont\textttsl\ttslshape{10}{\mainmagstep}
1666\font\texti=cmmi10 scaled \mainmagstep
1667\font\textsy=cmsy10 scaled \mainmagstep
1668
1669% A few fonts for @defun names and args.
1670\setfont\defbf\bfshape{10}{\magstephalf}
1671\setfont\deftt\ttshape{10}{\magstephalf}
1672\setfont\defttsl\ttslshape{10}{\magstephalf}
1673\def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
1674
1675% Fonts for indices, footnotes, small examples (9pt).
1676\def\smallnominalsize{9pt}
1677\setfont\smallrm\rmshape{9}{1000}
1678\setfont\smalltt\ttshape{9}{1000}
1679\setfont\smallbf\bfshape{10}{900}
1680\setfont\smallit\itshape{9}{1000}
1681\setfont\smallsl\slshape{9}{1000}
1682\setfont\smallsf\sfshape{9}{1000}
1683\setfont\smallsc\scshape{10}{900}
1684\setfont\smallttsl\ttslshape{10}{900}
1685\font\smalli=cmmi9
1686\font\smallsy=cmsy9
1687
1688% Fonts for small examples (8pt).
1689\def\smallernominalsize{8pt}
1690\setfont\smallerrm\rmshape{8}{1000}
1691\setfont\smallertt\ttshape{8}{1000}
1692\setfont\smallerbf\bfshape{10}{800}
1693\setfont\smallerit\itshape{8}{1000}
1694\setfont\smallersl\slshape{8}{1000}
1695\setfont\smallersf\sfshape{8}{1000}
1696\setfont\smallersc\scshape{10}{800}
1697\setfont\smallerttsl\ttslshape{10}{800}
1698\font\smalleri=cmmi8
1699\font\smallersy=cmsy8
1700
1701% Fonts for title page (20.4pt):
1702\def\titlenominalsize{20pt}
1703\setfont\titlerm\rmbshape{12}{\magstep3}
1704\setfont\titleit\itbshape{10}{\magstep4}
1705\setfont\titlesl\slbshape{10}{\magstep4}
1706\setfont\titlett\ttbshape{12}{\magstep3}
1707\setfont\titlettsl\ttslshape{10}{\magstep4}
1708\setfont\titlesf\sfbshape{17}{\magstep1}
1709\let\titlebf=\titlerm
1710\setfont\titlesc\scbshape{10}{\magstep4}
1711\font\titlei=cmmi12 scaled \magstep3
1712\font\titlesy=cmsy10 scaled \magstep4
1713\def\authorrm{\secrm}
1714\def\authortt{\sectt}
1715
1716% Chapter fonts (14.4pt).
1717\def\chapnominalsize{14pt}
1718\setfont\chaprm\rmbshape{12}{\magstep1}
1719\setfont\chapit\itbshape{10}{\magstep2}
1720\setfont\chapsl\slbshape{10}{\magstep2}
1721\setfont\chaptt\ttbshape{12}{\magstep1}
1722\setfont\chapttsl\ttslshape{10}{\magstep2}
1723\setfont\chapsf\sfbshape{12}{\magstep1}
1724\let\chapbf\chaprm
1725\setfont\chapsc\scbshape{10}{\magstep2}
1726\font\chapi=cmmi12 scaled \magstep1
1727\font\chapsy=cmsy10 scaled \magstep2
1728
1729% Section fonts (12pt).
1730\def\secnominalsize{12pt}
1731\setfont\secrm\rmbshape{12}{1000}
1732\setfont\secit\itbshape{10}{\magstep1}
1733\setfont\secsl\slbshape{10}{\magstep1}
1734\setfont\sectt\ttbshape{12}{1000}
1735\setfont\secttsl\ttslshape{10}{\magstep1}
1736\setfont\secsf\sfbshape{12}{1000}
1737\let\secbf\secrm
1738\setfont\secsc\scbshape{10}{\magstep1}
1739\font\seci=cmmi12
1740\font\secsy=cmsy10 scaled \magstep1
1741
1742% Subsection fonts (10pt).
1743\def\ssecnominalsize{10pt}
1744\setfont\ssecrm\rmbshape{10}{1000}
1745\setfont\ssecit\itbshape{10}{1000}
1746\setfont\ssecsl\slbshape{10}{1000}
1747\setfont\ssectt\ttbshape{10}{1000}
1748\setfont\ssecttsl\ttslshape{10}{1000}
1749\setfont\ssecsf\sfbshape{10}{1000}
1750\let\ssecbf\ssecrm
1751\setfont\ssecsc\scbshape{10}{1000}
1752\font\sseci=cmmi10
1753\font\ssecsy=cmsy10
1754
1755% Reduced fonts for @acro in text (9pt).
1756\def\reducednominalsize{9pt}
1757\setfont\reducedrm\rmshape{9}{1000}
1758\setfont\reducedtt\ttshape{9}{1000}
1759\setfont\reducedbf\bfshape{10}{900}
1760\setfont\reducedit\itshape{9}{1000}
1761\setfont\reducedsl\slshape{9}{1000}
1762\setfont\reducedsf\sfshape{9}{1000}
1763\setfont\reducedsc\scshape{10}{900}
1764\setfont\reducedttsl\ttslshape{10}{900}
1765\font\reducedi=cmmi9
1766\font\reducedsy=cmsy9
1767
1768% reduce space between paragraphs
1769\divide\parskip by 2
1770
1771% reset the current fonts
1772\textfonts
1773\rm
1774} % end of 10pt text font size definitions
1775
1776
1777% We provide the user-level command
1778% @fonttextsize 10
1779% (or 11) to redefine the text font size. pt is assumed.
1780%
1781\def\xword{10}
1782\def\xiword{11}
1783%
1784\parseargdef\fonttextsize{%
1785 \def\textsizearg{#1}%
1786 \wlog{doing @fonttextsize \textsizearg}%
1787 %
1788 % Set \globaldefs so that documents can use this inside @tex, since
1789 % makeinfo 4.8 does not support it, but we need it nonetheless.
1790 %
1791 \begingroup \globaldefs=1
1792 \ifx\textsizearg\xword \definetextfontsizex
1793 \else \ifx\textsizearg\xiword \definetextfontsizexi
1794 \else
1795 \errhelp=\EMsimple
1796 \errmessage{@fonttextsize only supports `10' or `11', not `\textsizearg'}
1797 \fi\fi
1798 \endgroup
1799}
1800
1801
1636% In order for the font changes to affect most math symbols and letters, 1802% In order for the font changes to affect most math symbols and letters,
1637% we have to define the \textfont of the standard families. Since 1803% we have to define the \textfont of the standard families. Since
1638% texinfo doesn't allow for producing subscripts and superscripts except 1804% texinfo doesn't allow for producing subscripts and superscripts except
@@ -1743,7 +1909,7 @@ where each line of input produces a line of output.}
1743 1909
1744% Set up the default fonts, so we can use them for creating boxes. 1910% Set up the default fonts, so we can use them for creating boxes.
1745% 1911%
1746\textfonts \rm 1912\definetextfontsizexi
1747 1913
1748% Define these so they can be easily changed for other fonts. 1914% Define these so they can be easily changed for other fonts.
1749\def\angleleft{$\langle$} 1915\def\angleleft{$\langle$}