⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 texinfo.tex

📁 GNU libtool 是一个通用库支持脚本
💻 TEX
📖 第 1 页 / 共 5 页
字号:
    \begingroup      \openin 1 #1.png \ifeof 1        \openin 1 #1.jpg \ifeof 1          \openin 1 #1.jpeg \ifeof 1            \openin 1 #1.JPG \ifeof 1              \openin 1 #1.pdf \ifeof 1                \errhelp = \nopdfimagehelp                \errmessage{Could not find image file #1 for pdf}%              \else \gdef\pdfimgext{pdf}%              \fi            \else \gdef\pdfimgext{JPG}%            \fi          \else \gdef\pdfimgext{jpeg}%          \fi        \else \gdef\pdfimgext{jpg}%        \fi      \else \gdef\pdfimgext{png}%      \fi      \closein 1    \endgroup    %    % without \immediate, pdftex seg faults when the same image is    % included twice.  (Version 3.14159-pre-1.0-unofficial-20010704.)    \ifnum\pdftexversion < 14      \immediate\pdfimage    \else      \immediate\pdfximage    \fi      \ifdim \wd0 >0pt width \imagewidth \fi      \ifdim \wd2 >0pt height \imageheight \fi      \ifnum\pdftexversion<13         #1.\pdfimgext       \else         {#1.\pdfimgext}%       \fi    \ifnum\pdftexversion < 14 \else      \pdfrefximage \pdflastximage    \fi}  %  \def\pdfmkdest#1{{%    % We have to set dummies so commands such as @code, and characters    % such as \, aren't expanded when present in a section title.    \indexnofonts    \turnoffactive    \activebackslashdouble    \makevalueexpandable    \def\pdfdestname{#1}%    \backslashparens\pdfdestname    \safewhatsit{\pdfdest name{\pdfdestname} xyz}%  }}  %  % used to mark target names; must be expandable.  \def\pdfmkpgn#1{#1}  %  % by default, use a color that is dark enough to print on paper as  % nearly black, but still distinguishable for online viewing.  % (Defined in pdfcolor.tex.)  \let\urlcolor = \BrickRed  \let\linkcolor = \BrickRed  \def\endlink{\Black\pdfendlink}  %  % Adding outlines to PDF; macros for calculating structure of outlines  % come from Petr Olsak  \def\expnumber#1{\expandafter\ifx\csname#1\endcsname\relax 0%    \else \csname#1\endcsname \fi}  \def\advancenumber#1{\tempnum=\expnumber{#1}\relax    \advance\tempnum by 1    \expandafter\xdef\csname#1\endcsname{\the\tempnum}}  %  % #1 is the section text, which is what will be displayed in the  % outline by the pdf viewer.  #2 is the pdf expression for the number  % of subentries (or empty, for subsubsections).  #3 is the node text,  % which might be empty if this toc entry had no corresponding node.  % #4 is the page number  %  \def\dopdfoutline#1#2#3#4{%    % Generate a link to the node text if that exists; else, use the    % page number.  We could generate a destination for the section    % text in the case where a section has no node, but it doesn't    % seem worth the trouble, since most documents are normally structured.    \def\pdfoutlinedest{#3}%    \ifx\pdfoutlinedest\empty      \def\pdfoutlinedest{#4}%    \else      % Doubled backslashes in the name.      {\activebackslashdouble \xdef\pdfoutlinedest{#3}%       \backslashparens\pdfoutlinedest}%    \fi    %    % Also double the backslashes in the display string.    {\activebackslashdouble \xdef\pdfoutlinetext{#1}%     \backslashparens\pdfoutlinetext}%    %    \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}%  }  %  \def\pdfmakeoutlines{%    \begingroup      % Thanh's hack / proper braces in bookmarks      \edef\mylbrace{\iftrue \string{\else}\fi}\let\{=\mylbrace      \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace      %      % Read toc silently, to get counts of subentries for \pdfoutline.      \def\numchapentry##1##2##3##4{%	\def\thischapnum{##2}%	\def\thissecnum{0}%	\def\thissubsecnum{0}%      }%      \def\numsecentry##1##2##3##4{%	\advancenumber{chap\thischapnum}%	\def\thissecnum{##2}%	\def\thissubsecnum{0}%      }%      \def\numsubsecentry##1##2##3##4{%	\advancenumber{sec\thissecnum}%	\def\thissubsecnum{##2}%      }%      \def\numsubsubsecentry##1##2##3##4{%	\advancenumber{subsec\thissubsecnum}%      }%      \def\thischapnum{0}%      \def\thissecnum{0}%      \def\thissubsecnum{0}%      %      % use \def rather than \let here because we redefine \chapentry et      % al. a second time, below.      \def\appentry{\numchapentry}%      \def\appsecentry{\numsecentry}%      \def\appsubsecentry{\numsubsecentry}%      \def\appsubsubsecentry{\numsubsubsecentry}%      \def\unnchapentry{\numchapentry}%      \def\unnsecentry{\numsecentry}%      \def\unnsubsecentry{\numsubsecentry}%      \def\unnsubsubsecentry{\numsubsubsecentry}%      \readdatafile{toc}%      %      % Read toc second time, this time actually producing the outlines.      % The `-' means take the \expnumber as the absolute number of      % subentries, which we calculated on our first read of the .toc above.      %      % We use the node names as the destinations.      \def\numchapentry##1##2##3##4{%        \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%      \def\numsecentry##1##2##3##4{%        \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}%      \def\numsubsecentry##1##2##3##4{%        \dopdfoutline{##1}{count-\expnumber{subsec##2}}{##3}{##4}}%      \def\numsubsubsecentry##1##2##3##4{% count is always zero        \dopdfoutline{##1}{}{##3}{##4}}%      %      % PDF outlines are displayed using system fonts, instead of      % document fonts.  Therefore we cannot use special characters,      % since the encoding is unknown.  For example, the eogonek from      % Latin 2 (0xea) gets translated to a | character.  Info from      % Staszek Wawrykiewicz, 19 Jan 2004 04:09:24 +0100.      %      % xx to do this right, we have to translate 8-bit characters to      % their "best" equivalent, based on the @documentencoding.  Right      % now, I guess we'll just let the pdf reader have its way.      \indexnofonts      \setupdatafile      \catcode`\\=\active \otherbackslash      \input \tocreadfilename    \endgroup  }  %  \def\skipspaces#1{\def\PP{#1}\def\D{|}%    \ifx\PP\D\let\nextsp\relax    \else\let\nextsp\skipspaces      \ifx\p\space\else\addtokens{\filename}{\PP}%        \advance\filenamelength by 1      \fi    \fi    \nextsp}  \def\getfilename#1{\filenamelength=0\expandafter\skipspaces#1|\relax}  \ifnum\pdftexversion < 14    \let \startlink \pdfannotlink  \else    \let \startlink \pdfstartlink  \fi  % make a live url in pdf output.  \def\pdfurl#1{%    \begingroup      % it seems we really need yet another set of dummies; have not      % tried to figure out what each command should do in the context      % of @url.  for now, just make @/ a no-op, that's the only one      % people have actually reported a problem with.      %       \normalturnoffactive      \def\@{@}%      \let\/=\empty      \makevalueexpandable      \leavevmode\urlcolor      \startlink attr{/Border [0 0 0]}%        user{/Subtype /Link /A << /S /URI /URI (#1) >>}%    \endgroup}  \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}  \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}  \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}  \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}  \def\maketoks{%    \expandafter\poptoks\the\toksA|ENDTOKS|\relax    \ifx\first0\adn0    \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3    \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6    \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9    \else      \ifnum0=\countA\else\makelink\fi      \ifx\first.\let\next=\done\else        \let\next=\maketoks        \addtokens{\toksB}{\the\toksD}        \ifx\first,\addtokens{\toksB}{\space}\fi      \fi    \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi    \next}  \def\makelink{\addtokens{\toksB}%    {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}  \def\pdflink#1{%    \startlink attr{/Border [0 0 0]} goto name{\pdfmkpgn{#1}}    \linkcolor #1\endlink}  \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}\else  \let\pdfmkdest = \gobble  \let\pdfurl = \gobble  \let\endlink = \relax  \let\linkcolor = \relax  \let\pdfmakeoutlines = \relax\fi  % \ifx\pdfoutput\message{fonts,}% Change the current font style to #1, remembering it in \curfontstyle.% For now, we do not accumulate font styles: @b{@i{foo}} prints foo in% italics, not bold italics.%\def\setfontstyle#1{%  \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.  \csname ten#1\endcsname  % change the current font}% Select #1 fonts with the current style.%\def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname}\def\rm{\fam=0 \setfontstyle{rm}}\def\it{\fam=\itfam \setfontstyle{it}}\def\sl{\fam=\slfam \setfontstyle{sl}}\def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}\def\tt{\fam=\ttfam \setfontstyle{tt}}% Texinfo sort of supports the sans serif font style, which plain TeX does not.% So we set up a \sf.\newfam\sffam\def\sf{\fam=\sffam \setfontstyle{sf}}\let\li = \sf % Sometimes we call it \li, not \sf.% We don't need math for this font style.\def\ttsl{\setfontstyle{ttsl}}% 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  }%}%% PDF CMaps.  See also LaTeX's t1.cmap.%% \cmapOT1\ifpdf  \begingroup    \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.    \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap%%DocumentNeededResources: ProcSet (CIDInit)%%IncludeResource: ProcSet (CIDInit)%%BeginResource: CMap (TeX-OT1-0)%%Title: (TeX-OT1-0 TeX OT1 0)%%Version: 1.000%%EndComments/CIDInit /ProcSet findresource begin12 dict beginbegincmap/CIDSystemInfo<< /Registry (TeX)/Ordering (OT1)/Supplement 0>> def/CMapName /TeX-OT1-0 def/CMapType 2 def1 begincodespacerange<00> <7F>endcodespacerange8 beginbfrange<00> <01> <0393><09> <0A> <03A8><23> <26> <0023><28> <3B> <0028><3F> <5B> <003F><5D> <5E> <005D><61> <7A> <0061><7B> <7C> <2013>endbfrange40 beginbfchar<02> <0398><03> <039B><04> <039E><05> <03A0><06> <03A3><07> <03D2><08> <03A6><0B> <00660066><0C> <00660069><0D> <0066006C><0E> <006600660069><0F> <00660066006C><10> <0131><11> <0237><12> <0060><13> <00B4><14> <02C7><15> <02D8><16> <00AF><17> <02DA><18> <00B8><19> <00DF><1A> <00E6><1B> <0153><1C> <00F8><1D> <00C6><1E> <0152><1F> <00D8><21> <0021><22> <201D><27> <2019><3C> <00A1><3D> <003D><3E> <00BF><5C> <201C><5F> <02D9><60> <2018><7D> <02DD><7E> <007E><7F> <00A8>endbfcharendcmapCMapName currentdict /CMap defineresource popendend%%EndResource%%EOF    }\endgroup  \expandafter\edef\csname cmapOT1\endcsname#1{%    \pdffontattr#1{/ToUnicode \the\pdflastobj\space 0 R}%  }%%% \cmapOT1IT  \begingroup    \catcode`\^^M=\active \def^^M{^^J}% Output line endings as the ^^J char.    \catcode`\%=12 \immediate\pdfobj stream {%!PS-Adobe-3.0 Resource-CMap%%DocumentNeededResources: ProcSet (CIDInit)%%IncludeResource: ProcSet (CIDInit)%%BeginResource: CMap (TeX-OT1IT-0)%%Title: (TeX-OT1IT-0 TeX OT1IT 0)%%Version: 1.000%%EndComments/CIDInit /ProcSet findresource begin12 dict beginbegincmap/CIDSystemInfo<< /Registry (TeX)/Ordering (OT1IT)/Supplement 0>> def/CMapName /TeX-OT1IT-0 def/CMapType 2 def1 begincodespacerange<00> <7F>endcodespacerange8 beginbfrange<00> <01> <0393><09> <0A> <03A8><25> <26> <0025><28> <3B> <0028><3F> <5B> <003F><5D> <5E> <005D><61> <7A> <0061><7B> <7C> <2013>endbfrange42 beginbfchar<02> <0398><03> <039B><04> <039E><05> <03A0><06> <03A3><07> <03D2><08> <03A6><0B> <00660066><0C> <00660069><0D> <0066006C><0E> <006600660069><0F> <00660066006C><10> <0131><11> <0237><12> <0060><13> <00B4><14> <02C7><15> <02D8><16> <00AF>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -