mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
Version 1.30a.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2001-11-05 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
Version 1.30a.
|
||||||
|
|
||||||
2001-11-05 Akim Demaille <akim@epita.fr>
|
2001-11-05 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
|
* tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
% Load plain if necessary, i.e., if running under initex.
|
% Load plain if necessary, i.e., if running under initex.
|
||||||
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
|
||||||
%
|
%
|
||||||
\def\texinfoversion{2000-12-12.07}
|
\def\texinfoversion{2001-07-25.07}
|
||||||
%
|
%
|
||||||
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
|
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
|
||||||
% Free Software Foundation, Inc.
|
% 2000, 01 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This texinfo.tex file is free software; you can redistribute it and/or
|
% This texinfo.tex file is free software; you can redistribute it and/or
|
||||||
% modify it under the terms of the GNU General Public License as
|
% modify it under the terms of the GNU General Public License as
|
||||||
@@ -170,6 +170,16 @@
|
|||||||
}%
|
}%
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
|
% add check for \lastpenalty to plain's definitions. If the last thing
|
||||||
|
% we did was a \nobreak, we don't want to insert more space.
|
||||||
|
%
|
||||||
|
\def\smallbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\smallskipamount
|
||||||
|
\removelastskip\penalty-50\smallskip\fi\fi}
|
||||||
|
\def\medbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\medskipamount
|
||||||
|
\removelastskip\penalty-100\medskip\fi\fi}
|
||||||
|
\def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount
|
||||||
|
\removelastskip\penalty-200\bigskip\fi\fi}
|
||||||
|
|
||||||
% For @cropmarks command.
|
% For @cropmarks command.
|
||||||
% Do @cropmarks to get crop marks.
|
% Do @cropmarks to get crop marks.
|
||||||
%
|
%
|
||||||
@@ -431,7 +441,7 @@
|
|||||||
% environments. --karl, 6may93
|
% environments. --karl, 6may93
|
||||||
%{\advance \baselineskip by -\singlespaceskip
|
%{\advance \baselineskip by -\singlespaceskip
|
||||||
%\kern \baselineskip}%
|
%\kern \baselineskip}%
|
||||||
\setleading \singlespaceskip
|
\setleading\singlespaceskip
|
||||||
}
|
}
|
||||||
|
|
||||||
%% Simple single-character @ commands
|
%% Simple single-character @ commands
|
||||||
@@ -924,11 +934,15 @@ where each line of input produces a line of output.}
|
|||||||
\fi
|
\fi
|
||||||
\ifx\empty\imagewidth\else width \imagewidth \fi
|
\ifx\empty\imagewidth\else width \imagewidth \fi
|
||||||
\ifx\empty\imageheight\else height \imageheight \fi
|
\ifx\empty\imageheight\else height \imageheight \fi
|
||||||
{#1.pdf}%
|
\ifnum\pdftexversion<13
|
||||||
|
#1.pdf%
|
||||||
|
\else
|
||||||
|
{#1.pdf}%
|
||||||
|
\fi
|
||||||
\ifnum\pdftexversion < 14 \else
|
\ifnum\pdftexversion < 14 \else
|
||||||
\pdfrefximage \pdflastximage
|
\pdfrefximage \pdflastximage
|
||||||
\fi}
|
\fi}
|
||||||
\def\pdfmkdest#1{\pdfdest name{#1@} xyz}
|
\def\pdfmkdest#1{{\normalturnoffactive \pdfdest name{#1} xyz}}
|
||||||
\def\pdfmkpgn#1{#1@}
|
\def\pdfmkpgn#1{#1@}
|
||||||
\let\linkcolor = \Blue % was Cyan, but that seems light?
|
\let\linkcolor = \Blue % was Cyan, but that seems light?
|
||||||
\def\endlink{\Black\pdfendlink}
|
\def\endlink{\Black\pdfendlink}
|
||||||
@@ -1026,6 +1040,7 @@ where each line of input produces a line of output.}
|
|||||||
\def\pdfurl#1{%
|
\def\pdfurl#1{%
|
||||||
\begingroup
|
\begingroup
|
||||||
\normalturnoffactive\def\@{@}%
|
\normalturnoffactive\def\@{@}%
|
||||||
|
\let\value=\expandablevalue
|
||||||
\leavevmode\Red
|
\leavevmode\Red
|
||||||
\startlink attr{/Border [0 0 0]}%
|
\startlink attr{/Border [0 0 0]}%
|
||||||
user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
|
user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
|
||||||
@@ -1053,9 +1068,8 @@ where each line of input produces a line of output.}
|
|||||||
\def\makelink{\addtokens{\toksB}%
|
\def\makelink{\addtokens{\toksB}%
|
||||||
{\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
|
{\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
|
||||||
\def\pdflink#1{%
|
\def\pdflink#1{%
|
||||||
\startlink attr{/Border [0 0 0]} goto name{\mkpgn{#1}}
|
\startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}
|
||||||
\linkcolor #1\endlink}
|
\linkcolor #1\endlink}
|
||||||
\def\mkpgn#1{#1@}
|
|
||||||
\def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
|
\def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
|
||||||
\fi % \ifx\pdfoutput
|
\fi % \ifx\pdfoutput
|
||||||
|
|
||||||
@@ -1072,9 +1086,29 @@ where each line of input produces a line of output.}
|
|||||||
% We don't need math for this one.
|
% We don't need math for this one.
|
||||||
\def\ttsl{\tenttsl}
|
\def\ttsl{\tenttsl}
|
||||||
|
|
||||||
|
% Default leading.
|
||||||
|
\newdimen\textleading \textleading = 13.2pt
|
||||||
|
|
||||||
|
% Set the baselineskip to #1, and the lineskip and strut size
|
||||||
|
% correspondingly. There is no deep meaning behind these magic numbers
|
||||||
|
% used as factors; they just match (closely enough) what Knuth defined.
|
||||||
|
%
|
||||||
|
\def\lineskipfactor{.08333}
|
||||||
|
\def\strutheightpercent{.70833}
|
||||||
|
\def\strutdepthpercent {.29167}
|
||||||
|
%
|
||||||
|
\def\setleading#1{%
|
||||||
|
\normalbaselineskip = #1\relax
|
||||||
|
\normallineskip = \lineskipfactor\normalbaselineskip
|
||||||
|
\normalbaselines
|
||||||
|
\setbox\strutbox =\hbox{%
|
||||||
|
\vrule width0pt height\strutheightpercent\baselineskip
|
||||||
|
depth \strutdepthpercent \baselineskip
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
|
||||||
% Use Computer Modern fonts at \magstephalf (11pt).
|
% Use Computer Modern fonts at \magstephalf (11pt).
|
||||||
\newcount\mainmagstep
|
\newcount\mainmagstep \mainmagstep=\magstephalf
|
||||||
\mainmagstep=\magstephalf
|
|
||||||
|
|
||||||
% Set the font macro #1 to the font named #2, adding on the
|
% Set the font macro #1 to the font named #2, adding on the
|
||||||
% specified font prefix (normally `cm').
|
% specified font prefix (normally `cm').
|
||||||
@@ -1141,6 +1175,18 @@ where each line of input produces a line of output.}
|
|||||||
\font\smalli=cmmi9
|
\font\smalli=cmmi9
|
||||||
\font\smallsy=cmsy9
|
\font\smallsy=cmsy9
|
||||||
|
|
||||||
|
% Fonts for small examples (8pt).
|
||||||
|
\setfont\smallerrm\rmshape{8}{1000}
|
||||||
|
\setfont\smallertt\ttshape{8}{1000}
|
||||||
|
\setfont\smallerbf\bfshape{10}{800}
|
||||||
|
\setfont\smallerit\itshape{8}{1000}
|
||||||
|
\setfont\smallersl\slshape{8}{1000}
|
||||||
|
\setfont\smallersf\sfshape{8}{1000}
|
||||||
|
\setfont\smallersc\scshape{10}{800}
|
||||||
|
\setfont\smallerttsl\ttslshape{10}{800}
|
||||||
|
\font\smalleri=cmmi8
|
||||||
|
\font\smallersy=cmsy8
|
||||||
|
|
||||||
% Fonts for title page:
|
% Fonts for title page:
|
||||||
\setfont\titlerm\rmbshape{12}{\magstep3}
|
\setfont\titlerm\rmbshape{12}{\magstep3}
|
||||||
\setfont\titleit\itbshape{10}{\magstep4}
|
\setfont\titleit\itbshape{10}{\magstep4}
|
||||||
@@ -1229,7 +1275,7 @@ where each line of input produces a line of output.}
|
|||||||
\let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl
|
\let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl
|
||||||
\let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc
|
\let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc
|
||||||
\let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy \let\tenttsl=\textttsl
|
\let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy \let\tenttsl=\textttsl
|
||||||
\resetmathfonts}
|
\resetmathfonts \setleading{\textleading}}
|
||||||
\def\titlefonts{%
|
\def\titlefonts{%
|
||||||
\let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl
|
\let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl
|
||||||
\let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc
|
\let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc
|
||||||
@@ -1258,7 +1304,14 @@ where each line of input produces a line of output.}
|
|||||||
\let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc
|
\let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc
|
||||||
\let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy
|
\let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy
|
||||||
\let\tenttsl=\smallttsl
|
\let\tenttsl=\smallttsl
|
||||||
\resetmathfonts \setleading{11pt}}
|
\resetmathfonts \setleading{10.5pt}}
|
||||||
|
\def\smallerfonts{%
|
||||||
|
\let\tenrm=\smallerrm \let\tenit=\smallerit \let\tensl=\smallersl
|
||||||
|
\let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc
|
||||||
|
\let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy
|
||||||
|
\let\tenttsl=\smallerttsl
|
||||||
|
\resetmathfonts \setleading{9.5pt}}
|
||||||
|
\let\smallexamplefonts = \smallerfonts
|
||||||
|
|
||||||
% Set up the default fonts, so we can use them for creating boxes.
|
% Set up the default fonts, so we can use them for creating boxes.
|
||||||
%
|
%
|
||||||
@@ -1561,6 +1614,10 @@ where each line of input produces a line of output.}
|
|||||||
\oldpage
|
\oldpage
|
||||||
\endgroup
|
\endgroup
|
||||||
%
|
%
|
||||||
|
% Need this before the \...aftertitlepage checks so that if they are
|
||||||
|
% in effect the toc pages will come out with page numbers.
|
||||||
|
\HEADINGSon
|
||||||
|
%
|
||||||
% If they want short, they certainly want long too.
|
% If they want short, they certainly want long too.
|
||||||
\ifsetshortcontentsaftertitlepage
|
\ifsetshortcontentsaftertitlepage
|
||||||
\shortcontents
|
\shortcontents
|
||||||
@@ -1576,8 +1633,6 @@ where each line of input produces a line of output.}
|
|||||||
\fi
|
\fi
|
||||||
%
|
%
|
||||||
\ifpdf \pdfmakepagedesttrue \fi
|
\ifpdf \pdfmakepagedesttrue \fi
|
||||||
%
|
|
||||||
\HEADINGSon
|
|
||||||
}
|
}
|
||||||
|
|
||||||
\def\finishtitlepage{%
|
\def\finishtitlepage{%
|
||||||
@@ -2339,13 +2394,15 @@ width0pt\relax} \fi
|
|||||||
%
|
%
|
||||||
\def\ignore{\doignore{ignore}}
|
\def\ignore{\doignore{ignore}}
|
||||||
|
|
||||||
% Ignore @ifinfo, @ifhtml, @ifnottex, @html, @menu, and @direntry text.
|
% Also ignore @ifinfo, @ifhtml, @ifnottex, @html, @menu,
|
||||||
|
% @documentdescription, and @direntry text.
|
||||||
%
|
%
|
||||||
\def\ifinfo{\doignore{ifinfo}}
|
\def\ifinfo{\doignore{ifinfo}}
|
||||||
\def\ifhtml{\doignore{ifhtml}}
|
\def\ifhtml{\doignore{ifhtml}}
|
||||||
\def\ifnottex{\doignore{ifnottex}}
|
\def\ifnottex{\doignore{ifnottex}}
|
||||||
\def\html{\doignore{html}}
|
\def\html{\doignore{html}}
|
||||||
\def\menu{\doignore{menu}}
|
\def\menu{\doignore{menu}}
|
||||||
|
\def\documentdescription{\doignore{documentdescription}}
|
||||||
\def\direntry{\doignore{direntry}}
|
\def\direntry{\doignore{direntry}}
|
||||||
|
|
||||||
% @dircategory CATEGORY -- specify a category of the dir file
|
% @dircategory CATEGORY -- specify a category of the dir file
|
||||||
@@ -2452,10 +2509,14 @@ width0pt\relax} \fi
|
|||||||
\let\tenrm=\nullfont \let\tenit=\nullfont \let\tensl=\nullfont
|
\let\tenrm=\nullfont \let\tenit=\nullfont \let\tensl=\nullfont
|
||||||
\let\tenbf=\nullfont \let\tentt=\nullfont \let\smallcaps=\nullfont
|
\let\tenbf=\nullfont \let\tentt=\nullfont \let\smallcaps=\nullfont
|
||||||
\let\tensf=\nullfont
|
\let\tensf=\nullfont
|
||||||
% Similarly for index fonts (mostly for their use in smallexample).
|
% Similarly for index fonts.
|
||||||
\let\smallrm=\nullfont \let\smallit=\nullfont \let\smallsl=\nullfont
|
\let\smallrm=\nullfont \let\smallit=\nullfont \let\smallsl=\nullfont
|
||||||
\let\smallbf=\nullfont \let\smalltt=\nullfont \let\smallsc=\nullfont
|
\let\smallbf=\nullfont \let\smalltt=\nullfont \let\smallsc=\nullfont
|
||||||
\let\smallsf=\nullfont
|
\let\smallsf=\nullfont
|
||||||
|
% Similarly for smallexample fonts.
|
||||||
|
\let\smallerrm=\nullfont \let\smallerit=\nullfont \let\smallersl=\nullfont
|
||||||
|
\let\smallerbf=\nullfont \let\smallertt=\nullfont \let\smallersc=\nullfont
|
||||||
|
\let\smallersf=\nullfont
|
||||||
%
|
%
|
||||||
% Don't complain when characters are missing from the fonts.
|
% Don't complain when characters are missing from the fonts.
|
||||||
\tracinglostchars = 0
|
\tracinglostchars = 0
|
||||||
@@ -2904,16 +2965,17 @@ width0pt\relax} \fi
|
|||||||
% Now the real index entry with the fonts.
|
% Now the real index entry with the fonts.
|
||||||
\toks0 = {#2}%
|
\toks0 = {#2}%
|
||||||
%
|
%
|
||||||
% If third (subentry) arg is present, add it to the index
|
% If the third (subentry) arg is present, add it to the index
|
||||||
% string. And include a space.
|
% line to write.
|
||||||
\ifx\thirdarg\emptymacro \else
|
\ifx\thirdarg\emptymacro \else
|
||||||
\toks0 = \expandafter{\the\toks0 \space #3}%
|
\toks0 = \expandafter{\the\toks0{#3}}%
|
||||||
\fi
|
\fi
|
||||||
%
|
%
|
||||||
% Set up the complete index entry, with both the sort key
|
% Set up the complete index entry, with both the sort key and
|
||||||
% and the original text, including any font commands. We write
|
% the original text, including any font commands. We write
|
||||||
% three arguments to \entry to the .?? file, texindex reduces to
|
% three arguments to \entry to the .?? file (four in the
|
||||||
% two when writing the .??s sorted result.
|
% subentry case), texindex reduces to two when writing the .??s
|
||||||
|
% sorted result.
|
||||||
\edef\temp{%
|
\edef\temp{%
|
||||||
\write\csname#1indfile\endcsname{%
|
\write\csname#1indfile\endcsname{%
|
||||||
\realbackslash entry{\indexsorttmp}{\folio}{\the\toks0}}%
|
\realbackslash entry{\indexsorttmp}{\folio}{\the\toks0}}%
|
||||||
@@ -3135,11 +3197,18 @@ width0pt\relax} \fi
|
|||||||
\def\primary #1{\line{#1\hfil}}
|
\def\primary #1{\line{#1\hfil}}
|
||||||
|
|
||||||
\newskip\secondaryindent \secondaryindent=0.5cm
|
\newskip\secondaryindent \secondaryindent=0.5cm
|
||||||
|
\def\secondary#1#2{{%
|
||||||
\def\secondary #1#2{
|
\parfillskip=0in
|
||||||
{\parfillskip=0in \parskip=0in
|
\parskip=0in
|
||||||
\hangindent =1in \hangafter=1
|
\hangindent=1in
|
||||||
\noindent\hskip\secondaryindent\hbox{#1}\indexdotfill #2\par
|
\hangafter=1
|
||||||
|
\noindent\hskip\secondaryindent\hbox{#1}\indexdotfill
|
||||||
|
\ifpdf
|
||||||
|
\pdfgettoks#2.\ \the\toksA % The page number ends the paragraph.
|
||||||
|
\else
|
||||||
|
#2
|
||||||
|
\fi
|
||||||
|
\par
|
||||||
}}
|
}}
|
||||||
|
|
||||||
% Define two-column mode, which we use to typeset indexes.
|
% Define two-column mode, which we use to typeset indexes.
|
||||||
@@ -4134,9 +4203,17 @@ width0pt\relax} \fi
|
|||||||
% is reset to zero; thus the \afterenvbreak inserts no space -- but the
|
% is reset to zero; thus the \afterenvbreak inserts no space -- but the
|
||||||
% start of the next paragraph will insert \parskip
|
% start of the next paragraph will insert \parskip
|
||||||
%
|
%
|
||||||
\def\aboveenvbreak{{\advance\envskipamount by \parskip
|
\def\aboveenvbreak{{%
|
||||||
\endgraf \ifdim\lastskip<\envskipamount
|
\ifnum\lastpenalty < 10000
|
||||||
\removelastskip \penalty-50 \vskip\envskipamount \fi}}
|
\advance\envskipamount by \parskip
|
||||||
|
\endgraf
|
||||||
|
\ifdim\lastskip<\envskipamount
|
||||||
|
\removelastskip
|
||||||
|
\penalty-50
|
||||||
|
\vskip\envskipamount
|
||||||
|
\fi
|
||||||
|
\fi
|
||||||
|
}}
|
||||||
|
|
||||||
\let\afterenvbreak = \aboveenvbreak
|
\let\afterenvbreak = \aboveenvbreak
|
||||||
|
|
||||||
@@ -4268,7 +4345,7 @@ width0pt\relax} \fi
|
|||||||
\def\smalllispx{\begingroup
|
\def\smalllispx{\begingroup
|
||||||
\def\Esmalllisp{\nonfillfinish\endgroup}%
|
\def\Esmalllisp{\nonfillfinish\endgroup}%
|
||||||
\def\Esmallexample{\nonfillfinish\endgroup}%
|
\def\Esmallexample{\nonfillfinish\endgroup}%
|
||||||
\smallfonts
|
\smallexamplefonts
|
||||||
\lisp
|
\lisp
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4279,12 +4356,12 @@ width0pt\relax} \fi
|
|||||||
\let\Edisplay = \nonfillfinish
|
\let\Edisplay = \nonfillfinish
|
||||||
\gobble
|
\gobble
|
||||||
}
|
}
|
||||||
|
%
|
||||||
% @smalldisplay (when @smallbook): @display plus smaller fonts.
|
% @smalldisplay (when @smallbook): @display plus smaller fonts.
|
||||||
%
|
%
|
||||||
\def\smalldisplayx{\begingroup
|
\def\smalldisplayx{\begingroup
|
||||||
\def\Esmalldisplay{\nonfillfinish\endgroup}%
|
\def\Esmalldisplay{\nonfillfinish\endgroup}%
|
||||||
\smallfonts \rm
|
\smallexamplefonts \rm
|
||||||
\display
|
\display
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4296,12 +4373,12 @@ width0pt\relax} \fi
|
|||||||
\let\Eformat = \nonfillfinish
|
\let\Eformat = \nonfillfinish
|
||||||
\gobble
|
\gobble
|
||||||
}
|
}
|
||||||
|
%
|
||||||
% @smallformat (when @smallbook): @format plus smaller fonts.
|
% @smallformat (when @smallbook): @format plus smaller fonts.
|
||||||
%
|
%
|
||||||
\def\smallformatx{\begingroup
|
\def\smallformatx{\begingroup
|
||||||
\def\Esmallformat{\nonfillfinish\endgroup}%
|
\def\Esmallformat{\nonfillfinish\endgroup}%
|
||||||
\smallfonts \rm
|
\smallexamplefonts \rm
|
||||||
\format
|
\format
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5452,13 +5529,15 @@ width0pt\relax} \fi
|
|||||||
\ifpdf
|
\ifpdf
|
||||||
\leavevmode
|
\leavevmode
|
||||||
\getfilename{#4}%
|
\getfilename{#4}%
|
||||||
\ifnum\filenamelength>0
|
{\normalturnoffactive
|
||||||
\startlink attr{/Border [0 0 0]}%
|
\ifnum\filenamelength>0
|
||||||
goto file{\the\filename.pdf} name{#1@}%
|
\startlink attr{/Border [0 0 0]}%
|
||||||
\else
|
goto file{\the\filename.pdf} name{#1}%
|
||||||
\startlink attr{/Border [0 0 0]}%
|
\else
|
||||||
goto name{#1@}%
|
\startlink attr{/Border [0 0 0]}%
|
||||||
\fi
|
goto name{#1}%
|
||||||
|
\fi
|
||||||
|
}%
|
||||||
\linkcolor
|
\linkcolor
|
||||||
\fi
|
\fi
|
||||||
%
|
%
|
||||||
@@ -5738,24 +5817,6 @@ width0pt\relax} \fi
|
|||||||
|
|
||||||
}%end \catcode `\@=11
|
}%end \catcode `\@=11
|
||||||
|
|
||||||
% Set the baselineskip to #1, and the lineskip and strut size
|
|
||||||
% correspondingly. There is no deep meaning behind these magic numbers
|
|
||||||
% used as factors; they just match (closely enough) what Knuth defined.
|
|
||||||
%
|
|
||||||
\def\lineskipfactor{.08333}
|
|
||||||
\def\strutheightpercent{.70833}
|
|
||||||
\def\strutdepthpercent {.29167}
|
|
||||||
%
|
|
||||||
\def\setleading#1{%
|
|
||||||
\normalbaselineskip = #1\relax
|
|
||||||
\normallineskip = \lineskipfactor\normalbaselineskip
|
|
||||||
\normalbaselines
|
|
||||||
\setbox\strutbox =\hbox{%
|
|
||||||
\vrule width0pt height\strutheightpercent\baselineskip
|
|
||||||
depth \strutdepthpercent \baselineskip
|
|
||||||
}%
|
|
||||||
}
|
|
||||||
|
|
||||||
% @| inserts a changebar to the left of the current line. It should
|
% @| inserts a changebar to the left of the current line. It should
|
||||||
% surround any changed text. This approach does *not* work if the
|
% surround any changed text. This approach does *not* work if the
|
||||||
% change spans more than two lines of output. To handle that, we would
|
% change spans more than two lines of output. To handle that, we would
|
||||||
@@ -5827,8 +5888,10 @@ width0pt\relax} \fi
|
|||||||
% Arguments to @image:
|
% Arguments to @image:
|
||||||
% #1 is (mandatory) image filename; we tack on .eps extension.
|
% #1 is (mandatory) image filename; we tack on .eps extension.
|
||||||
% #2 is (optional) width, #3 is (optional) height.
|
% #2 is (optional) width, #3 is (optional) height.
|
||||||
% #4 is just the usual extra ignored arg for parsing this stuff.
|
% #4 is (ignored optional) html alt text.
|
||||||
\def\imagexxx#1,#2,#3,#4\finish{%
|
% #5 is (ignored optional) extension.
|
||||||
|
% #6 is just the usual extra ignored arg for parsing this stuff.
|
||||||
|
\def\imagexxx#1,#2,#3,#4,#5,#6\finish{%
|
||||||
\ifpdf
|
\ifpdf
|
||||||
\centerline{\dopdfimage{#1}{#2}{#3}}%
|
\centerline{\dopdfimage{#1}{#2}{#3}}%
|
||||||
\else
|
\else
|
||||||
@@ -5836,7 +5899,8 @@ width0pt\relax} \fi
|
|||||||
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
|
\setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
|
||||||
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
|
\setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
|
||||||
\begingroup
|
\begingroup
|
||||||
\catcode`\^^M = 5 % in case we're inside an example
|
\catcode`\^^M = 5 % in case we're inside an example
|
||||||
|
\normalturnoffactive % allow _ et al. in names
|
||||||
% If the image is by itself, center it.
|
% If the image is by itself, center it.
|
||||||
\ifvmode
|
\ifvmode
|
||||||
\nobreak\bigskip
|
\nobreak\bigskip
|
||||||
@@ -5922,8 +5986,9 @@ should work if nowhere else does.}
|
|||||||
}
|
}
|
||||||
|
|
||||||
% Parameters in order: 1) textheight; 2) textwidth; 3) voffset;
|
% Parameters in order: 1) textheight; 2) textwidth; 3) voffset;
|
||||||
% 4) hoffset; 5) binding offset; 6) topskip. Then whoever calls us can
|
% 4) hoffset; 5) binding offset; 6) topskip. We also call
|
||||||
% set \parskip and call \setleading for \baselineskip.
|
% \setleading{\textleading}, so the caller should define \textleading.
|
||||||
|
% The caller should also set \parskip.
|
||||||
%
|
%
|
||||||
\def\internalpagesizes#1#2#3#4#5#6{%
|
\def\internalpagesizes#1#2#3#4#5#6{%
|
||||||
\voffset = #3\relax
|
\voffset = #3\relax
|
||||||
@@ -5944,14 +6009,25 @@ should work if nowhere else does.}
|
|||||||
\normaloffset = #4\relax
|
\normaloffset = #4\relax
|
||||||
\bindingoffset = #5\relax
|
\bindingoffset = #5\relax
|
||||||
%
|
%
|
||||||
|
\setleading{\textleading}
|
||||||
|
%
|
||||||
\parindent = \defaultparindent
|
\parindent = \defaultparindent
|
||||||
\setemergencystretch
|
\setemergencystretch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Use `small' versions.
|
||||||
|
%
|
||||||
|
\def\smallenvironments{%
|
||||||
|
\let\smalldisplay = \smalldisplayx
|
||||||
|
\let\smallexample = \smalllispx
|
||||||
|
\let\smallformat = \smallformatx
|
||||||
|
\let\smalllisp = \smalllispx
|
||||||
|
}
|
||||||
|
|
||||||
% @letterpaper (the default).
|
% @letterpaper (the default).
|
||||||
\def\letterpaper{{\globaldefs = 1
|
\def\letterpaper{{\globaldefs = 1
|
||||||
\parskip = 3pt plus 2pt minus 1pt
|
\parskip = 3pt plus 2pt minus 1pt
|
||||||
\setleading{13.2pt}%
|
\textleading = 13.2pt
|
||||||
%
|
%
|
||||||
% If page is nothing but text, make it come out even.
|
% If page is nothing but text, make it come out even.
|
||||||
\internalpagesizes{46\baselineskip}{6in}{\voffset}{.25in}{\bindingoffset}{36pt}%
|
\internalpagesizes{46\baselineskip}{6in}{\voffset}{.25in}{\bindingoffset}{36pt}%
|
||||||
@@ -5960,7 +6036,7 @@ should work if nowhere else does.}
|
|||||||
% Use @smallbook to reset parameters for 7x9.5 (or so) format.
|
% Use @smallbook to reset parameters for 7x9.5 (or so) format.
|
||||||
\def\smallbook{{\globaldefs = 1
|
\def\smallbook{{\globaldefs = 1
|
||||||
\parskip = 2pt plus 1pt
|
\parskip = 2pt plus 1pt
|
||||||
\setleading{12pt}%
|
\textleading = 12pt
|
||||||
%
|
%
|
||||||
\internalpagesizes{7.5in}{5.in}{\voffset}{.25in}{\bindingoffset}{16pt}%
|
\internalpagesizes{7.5in}{5.in}{\voffset}{.25in}{\bindingoffset}{16pt}%
|
||||||
%
|
%
|
||||||
@@ -5970,17 +6046,13 @@ should work if nowhere else does.}
|
|||||||
\contentsrightmargin = 0pt
|
\contentsrightmargin = 0pt
|
||||||
\deftypemargin = 0pt
|
\deftypemargin = 0pt
|
||||||
\defbodyindent = .5cm
|
\defbodyindent = .5cm
|
||||||
%
|
\smallenvironments
|
||||||
\let\smalldisplay = \smalldisplayx
|
|
||||||
\let\smallexample = \smalllispx
|
|
||||||
\let\smallformat = \smallformatx
|
|
||||||
\let\smalllisp = \smalllispx
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
% Use @afourpaper to print on European A4 paper.
|
% Use @afourpaper to print on European A4 paper.
|
||||||
\def\afourpaper{{\globaldefs = 1
|
\def\afourpaper{{\globaldefs = 1
|
||||||
\setleading{12pt}%
|
|
||||||
\parskip = 3pt plus 2pt minus 1pt
|
\parskip = 3pt plus 2pt minus 1pt
|
||||||
|
\textleading = 12pt
|
||||||
%
|
%
|
||||||
\internalpagesizes{53\baselineskip}{160mm}{\voffset}{4mm}{\bindingoffset}{44pt}%
|
\internalpagesizes{53\baselineskip}{160mm}{\voffset}{4mm}{\bindingoffset}{44pt}%
|
||||||
%
|
%
|
||||||
@@ -5988,23 +6060,39 @@ should work if nowhere else does.}
|
|||||||
\hfuzz = 1pt
|
\hfuzz = 1pt
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
% Use @afivepaper to print on European A5 paper.
|
||||||
|
% From romildo@urano.iceb.ufop.br, 2 July 2000.
|
||||||
|
% He also recommends making @example and @lisp be small.
|
||||||
|
\def\afivepaper{{\globaldefs = 1
|
||||||
|
\parskip = 2pt plus 1pt minus 0.1pt
|
||||||
|
\textleading = 12.5pt
|
||||||
|
%
|
||||||
|
\internalpagesizes{166mm}{120mm}{\voffset}{-8mm}{\bindingoffset}{8pt}%
|
||||||
|
%
|
||||||
|
\lispnarrowing = 0.2in
|
||||||
|
\tolerance = 800
|
||||||
|
\hfuzz = 1.2pt
|
||||||
|
\contentsrightmargin = 0mm
|
||||||
|
\deftypemargin = 0pt
|
||||||
|
\defbodyindent = 2mm
|
||||||
|
\tableindent = 12mm
|
||||||
|
%
|
||||||
|
\smallenvironments
|
||||||
|
}}
|
||||||
|
|
||||||
% A specific text layout, 24x15cm overall, intended for A4 paper. Top margin
|
% A specific text layout, 24x15cm overall, intended for A4 paper. Top margin
|
||||||
% 29mm, hence bottom margin 28mm, nominal side margin 3cm.
|
% 29mm, hence bottom margin 28mm, nominal side margin 3cm.
|
||||||
\def\afourlatex{{\globaldefs = 1
|
\def\afourlatex{{\globaldefs = 1
|
||||||
\setleading{13.6pt}%
|
\textleading = 13.6pt
|
||||||
%
|
%
|
||||||
\afourpaper
|
\afourpaper
|
||||||
\internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}%
|
\internalpagesizes{237mm}{150mm}{3.6mm}{3.6mm}{3mm}{7mm}%
|
||||||
%
|
|
||||||
\globaldefs = 0
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
% Use @afourwide to print on European A4 paper in wide format.
|
% Use @afourwide to print on European A4 paper in wide format.
|
||||||
\def\afourwide{%
|
\def\afourwide{%
|
||||||
\afourpaper
|
\afourpaper
|
||||||
\internalpagesizes{6.5in}{9.5in}{\hoffset}{\normaloffset}{\bindingoffset}{7mm}%
|
\internalpagesizes{6.5in}{9.5in}{\hoffset}{\normaloffset}{\bindingoffset}{7mm}%
|
||||||
%
|
|
||||||
\globaldefs = 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
% @pagesizes TEXTHEIGHT[,TEXTWIDTH]
|
% @pagesizes TEXTHEIGHT[,TEXTWIDTH]
|
||||||
@@ -6018,7 +6106,7 @@ should work if nowhere else does.}
|
|||||||
\globaldefs = 1
|
\globaldefs = 1
|
||||||
%
|
%
|
||||||
\parskip = 3pt plus 2pt minus 1pt
|
\parskip = 3pt plus 2pt minus 1pt
|
||||||
\setleading{13.2pt}%
|
\setleading{\textleading}%
|
||||||
%
|
%
|
||||||
\internalpagesizes{#1}{\hsize}{\voffset}{\normaloffset}{\bindingoffset}{44pt}%
|
\internalpagesizes{#1}{\hsize}{\voffset}{\normaloffset}{\bindingoffset}{44pt}%
|
||||||
}}
|
}}
|
||||||
|
|||||||
10
configure
vendored
10
configure
vendored
@@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.52e for GNU Bison 1.30a.
|
# Generated by GNU Autoconf 2.52g for GNU Bison 1.30a.
|
||||||
#
|
#
|
||||||
# Report bugs to <bug-bison@gnu.org>.
|
# Report bugs to <bug-bison@gnu.org>.
|
||||||
#
|
#
|
||||||
@@ -914,7 +914,7 @@ test -n "$ac_init_help" && exit 0
|
|||||||
if $ac_init_version; then
|
if $ac_init_version; then
|
||||||
cat <<\_ACEOF
|
cat <<\_ACEOF
|
||||||
GNU Bison configure 1.30a
|
GNU Bison configure 1.30a
|
||||||
generated by GNU Autoconf 2.52e
|
generated by GNU Autoconf 2.52g
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
@@ -929,7 +929,7 @@ This file contains any messages produced by compilers while
|
|||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
|
|
||||||
It was created by GNU Bison $as_me 1.30a, which was
|
It was created by GNU Bison $as_me 1.30a, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52g. Invocation command line was
|
||||||
|
|
||||||
$ $0 $@
|
$ $0 $@
|
||||||
|
|
||||||
@@ -8767,7 +8767,7 @@ _ASBOX
|
|||||||
cat >&5 <<_CSEOF
|
cat >&5 <<_CSEOF
|
||||||
|
|
||||||
This file was extended by GNU Bison $as_me 1.30a, which was
|
This file was extended by GNU Bison $as_me 1.30a, which was
|
||||||
generated by GNU Autoconf 2.52e. Invocation command line was
|
generated by GNU Autoconf 2.52g. Invocation command line was
|
||||||
|
|
||||||
CONFIG_FILES = $CONFIG_FILES
|
CONFIG_FILES = $CONFIG_FILES
|
||||||
CONFIG_HEADERS = $CONFIG_HEADERS
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
||||||
@@ -8829,7 +8829,7 @@ _ACEOF
|
|||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
ac_cs_version="\\
|
ac_cs_version="\\
|
||||||
GNU Bison config.status 1.30a
|
GNU Bison config.status 1.30a
|
||||||
configured by $0, generated by GNU Autoconf 2.52e,
|
configured by $0, generated by GNU Autoconf 2.52g,
|
||||||
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
||||||
|
|
||||||
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
||||||
|
|||||||
Reference in New Issue
Block a user