📄 manual.html
字号:
class="ecbx-1000">tex4ht</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands for use with <span class="TEX"><span class="ecss-1000">T</span><span class="E"><span class="ecss-1000">E</span></span><span class="ecss-1000">X</span></span><span class="ecss-1000">4ht</span> </dd><dt class="description"><span class="ecbx-1000">pdftex</span> </dt><dd class="description">pdf<span class="TEX">T<span class="E">E</span>X</span>, Hàn Thê' Thành’s <span class="TEX">T<span class="E">E</span>X</span> variant that writes PDF directly </dd><dt class="description"><span class="ecbx-1000">dvipdf</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands for the DVI to PDF driver <span class="ecss-1000">dvipdf</span> </dd><dt class="description"><span class="ecbx-1000">dvipdfm</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands for Mark Wicks’ DVI to PDF driver <span class="ecss-1000">dvipdfm</span> </dd><dt class="description"><span class="ecbx-1000">dviwindo</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands that Y&Y’s Windows previewer interprets as hypertext jumps within the previewer </dd><dt class="description"><span class="ecbx-1000">vtex</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands that MicroPress’ HTML and PDF-producing <span class="TEX">T<span class="E">E</span>X</span> variants interpret as hypertext jumps within the previewer </dd><dt class="description"><span class="ecbx-1000">textures</span> </dt><dd class="description">produces <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\special</span></span></span> commands that <span class="ecss-1000">Textures </span>interprets as hypertext jumps within the previewer</dd></dl><!--l. 200--><p class="indent"> Output from <span class="ecss-1000">dvips </span>or <span class="ecss-1000">dvipsone </span>must be processed using Acrobat Distiller to obtain a PDFfile.<a href="manual3.html" id="manual3.html" ><sup>2</sup></a>The result is generally preferable to that produced by using the <span class="ecss-1000">hypertex </span>driver, and thenprocessing with <span class="ecss-1000">dvips -z</span>, but the DVI file is not portable. The main advantage of using theHyper<span class="TEX">T<span class="E">E</span>X</span> <span class="ectt-1000">\special </span>commands is that you can also use the document in hypertext DVI viewers, suchas <span class="ecss-1000">xdvi</span>. <h3 class="sectionHead"><span class="titlemark">2 </span> <a id="x1-30002"></a>Implicit behavior</h3><!--l. 212--><p class="noindent">This package can be used with more or less any normal <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> document by specifying in thedocument preamble <table width="100%" class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim">\usepackage{hyperref}</div></td></tr></table><!--l. 217--><p class="nopar"><!--l. 219--><p class="indent"> Make sure it comes <span class="ecti-1000">last </span>of your loaded packages, to give it a fighting chance of not being over-written,since its job is to redefine many <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> commands. Hopefully you will find that all cross-referenceswork correctly as hypertext. For example, <span class="ectt-1000">\section </span>commands will produce a bookmark and alink, whereas <span class="ectt-1000">\section* </span>commands will only show links when paired with a corresponding<span class="ectt-1000">\addcontentsline </span>command.<!--l. 227--><p class="indent"> In addition, the <span class="ectt-1000">hyperindex </span>option (see below) attempts to make items in the index by hyperlinkedback to the text, and the option <span class="ectt-1000">backref </span>inserts extra ‘back’ links into the bibliography for each entry.Other options control the appearance of links, and give extra control over PDF output. For example,<span class="ectt-1000">colorlinks</span>, as its name well implies, colors the links instead of using boxes; this is the option used inthis document.<!--l. 236--><p class="noindent"> <h3 class="sectionHead"><span class="titlemark">3 </span> <a id="x1-40003"></a>Package options</h3><!--l. 238--><p class="noindent">All user-configurable aspects of <span class="ecss-1000">hyperref </span>are set using a single ‘key=value’ scheme (using the <span class="ecss-1000">keyval</span>package) with the key <span class="ectt-1000">Hyp</span>. The options can be set either in the optional argument to the<span class="obeylines-h"><span class="verb"><span class="ectt-1000">\usepackage</span></span></span> command, or using the <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\hypersetup</span></span></span> macro. When the package is loaded, a file<span class="ectt-1000">hyperref.cfg </span>is read if it can be found, and this is a convenient place to set options on a site-widebasis.<!--l. 246--><p class="indent"> As an example, the behavior of a particular file could be controlled by: <ul class="itemize1"> <li class="itemize">a site-wide <span class="ectt-1000">hyperref.cfg </span>setting up the look of links, adding backreferencing, and setting a PDF display default: <table width="100%" class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> \hypersetup{backref, <br />pdfpagemode=FullScreen, <br />colorlinks=true}</div> </td></tr></table> <!--l. 256--><p class="nopar"> </li> <li class="itemize">A global option in the file, which is passed down to <span class="ecss-1000">hyperref</span>: <table width="100%" class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> \documentclass[dvips]{article}</div> </td></tr></table> <!--l. 263--><p class="nopar"> </li> <li class="itemize">File-specific options in the <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\usepackage</span></span></span> commands, which override the ones set in <span class="ectt-1000">hyperref.cfg</span>: <table width="100%" class="verbatim"><tr class="verbatim"><td class="verbatim"><div class="verbatim"> \usepackage[pdftitle={A Perfect Day},colorlinks=false]{hyperref}</div> </td></tr></table> <!--l. 270--><p class="nopar"></li></ul><!--l. 273--><p class="indent"> Some options can be given at any time, but many are restricted: before <span class="obeylines-h"><span class="verb"><span class="ectt-1000">\begin{document}</span></span></span>, only in<span class="obeylines-h"><span class="verb"><span class="ectt-1000">\usepackage[...]{hyperref}</span></span></span>, before first use, etc.<!--l. 277--><p class="indent"> In the key descriptions that follow, many options do not need a value, as they default to the valuetrue if used. These are the ones classed as ‘boolean’. The values true and false can always be specified,however.<!--l. 281--><p class="noindent"> <h4 class="subsectionHead"><span class="titlemark">3.1 </span> <a id="x1-50003.1"></a>General options</h4><!--l. 283--><p class="noindent">Firstly, the options to specify general behavior and page size.<!--l. 286--><p class="noindent"><a id="x1-5001r1"></a> <!--l. 287--><div class="longtable"><table class="longtable" cellspacing="0" cellpadding="0" frame="void" ><colgroup id="TBL-2-1g"><col id="TBL-2-1"><col id="TBL-2-2"><col id="TBL-2-3"><col id="TBL-2-4"></colgroup><tr valign="baseline" id="TBL-2-1-"><td align="left" style="white-space:nowrap;" id="TBL-2-1-1" class="td11"> <span class="ectt-1000">draft </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-1-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-1-3" class="td11"> <span class="ecti-1000">false </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-1-4" class="td11"> all hypertext options are turned off </td></tr><tr valign="baseline" id="TBL-2-2-"><td align="left" style="white-space:nowrap;" id="TBL-2-2-1" class="td11"> <span class="ectt-1000">final </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-2-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-2-3" class="td11"> <span class="ecti-1000">true </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-2-4" class="td11"> all hypertext options are turned on </td></tr><tr valign="baseline" id="TBL-2-3-"><td align="left" style="white-space:nowrap;" id="TBL-2-3-1" class="td11"> <span class="ectt-1000">debug </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-3-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-3-3" class="td11"> <span class="ecti-1000">false </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-3-4" class="td11"> extra diagnostic messages are printed in </td></tr><tr valign="baseline" id="TBL-2-4-"><td align="left" style="white-space:nowrap;" id="TBL-2-4-1" class="td11"> </td><td align="left" style="white-space:nowrap;" id="TBL-2-4-2" class="td11"> </td><td align="left" style="white-space:nowrap;" id="TBL-2-4-3" class="td11"> </td><td align="left" style="white-space:nowrap;" id="TBL-2-4-4" class="td11"> the log file </td></tr><tr valign="baseline" id="TBL-2-5-"><td align="left" style="white-space:nowrap;" id="TBL-2-5-1" class="td11"> <span class="ectt-1000">verbose </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-5-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-5-3" class="td11"> <span class="ecti-1000">false </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-5-4" class="td11"> same as debug </td></tr><tr valign="baseline" id="TBL-2-6-"><td align="left" style="white-space:nowrap;" id="TBL-2-6-1" class="td11"> <span class="ectt-1000">implicit </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-6-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-6-3" class="td11"> <span class="ecti-1000">true </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-6-4" class="td11"> redefines <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> internals </td></tr><tr valign="baseline" id="TBL-2-7-"><td align="left" style="white-space:nowrap;" id="TBL-2-7-1" class="td11"> <span class="ectt-1000">hypertexnames </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-7-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-7-3" class="td11"> <span class="ecti-1000">true </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-7-4" class="td11"> use guessable names for links </td></tr><tr valign="baseline" id="TBL-2-8-"><td align="left" style="white-space:nowrap;" id="TBL-2-8-1" class="td11"> <span class="ectt-1000">naturalnames </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-8-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-8-3" class="td11"> <span class="ecti-1000">false </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-8-4" class="td11"> use <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span>-computed names for links </td></tr><tr valign="baseline" id="TBL-2-9-"><td align="left" style="white-space:nowrap;" id="TBL-2-9-1" class="td11"> <span class="ectt-1000">a4paper </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-9-2" class="td11"> boolean </td><td align="left" style="white-space:nowrap;" id="TBL-2-9-3" class="td11"> <span class="ecti-1000">true </span></td><td align="left" style="white-space:nowrap;" id="TBL-2-9-4" class="td11"> sets paper size to 210mm <span class="cmsy-10">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -