diff options
Diffstat (limited to 'macros/latex/contrib/glossaries/glossary2glossaries.html')
-rw-r--r-- | macros/latex/contrib/glossaries/glossary2glossaries.html | 252 |
1 files changed, 137 insertions, 115 deletions
diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.html b/macros/latex/contrib/glossaries/glossary2glossaries.html index 409159bbde..08942de272 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.html +++ b/macros/latex/contrib/glossaries/glossary2glossaries.html @@ -6,8 +6,8 @@ > <head><title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> -<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> +<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" /> +<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" /> <!-- xhtml,fn-in,css-in,uni-html4,utf8 --> <meta name="src" content="glossary2glossaries.tex" /> @@ -60,15 +60,19 @@ p.indent{text-indent:0;} p + p{margin-top:1em;} p + div, p + pre {margin-top:1em;} div + p, pre + p {margin-top:1em;} +a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; } @media print {div.crosslinks {visibility:hidden;}} a img { border-top: 0; border-left: 0; border-right: 0; } center { margin-top:1em; margin-bottom:1em; } td center { margin-top:0em; margin-bottom:0em; } .Canvas { position:relative; } img.math{vertical-align:middle;} +div.par-math-display, div.math-display{text-align:center;} li p.indent { text-indent: 0em } li p:first-child{ margin-top:0em; } +li p:first-child{ margin-bottom; } li p:last-child, li div:last-child { margin-bottom:0.5em; } +li p:first-child{ margin-bottom:0; } li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; } .enumerate1 {list-style-type:decimal;} .enumerate2 {list-style-type:lower-alpha;} @@ -82,7 +86,7 @@ div.obeylines-v p { margin-top:0; margin-bottom:0; } td.displaylines {text-align:center; white-space:nowrap;} .centerline {text-align:center;} .rightline {text-align:right;} -div.verbatim {font-family: monospace,monospace; white-space: nowrap; text-align:left; clear:both; } +pre.verbatim {font-family: monospace,monospace; text-align:left; clear:both; } .fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } div.fbox {display:table} div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } @@ -144,6 +148,7 @@ table.pmatrix {width:100%;} span.bar-css {text-decoration:overline;} img.cdots{vertical-align:middle;} .partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;} +.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc, .appendixToc a, .appendixToc {line-height: 200%; font-weight:bold;} .index-item, .index-subitem, .index-subsubitem {display:block} div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; text-align:left;} div.caption span.id{font-weight: bold; white-space: nowrap; } @@ -152,16 +157,15 @@ p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } .paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;} .subparagraphHead, .likesubparagraphHead { font-weight: bold;} -.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;} .verse{white-space:nowrap; margin-left:2em} div.maketitle {text-align:center;} h2.titleHead{text-align:center;} div.maketitle{ margin-bottom: 2em; } div.author, div.date {text-align:center;} div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } -.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } -.abstract p {margin-left:5%; margin-right:5%;} +div.abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} +.abstracttitle{text-align:center;margin-bottom:1em;} .warningsymbol { color: red; font-weight: bold;} div.important { border : solid red; } div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;} @@ -192,7 +196,7 @@ class="cmr-17">Upgrading from the glossary package to the</span> class="cmr-17">glossaries package</span> </p> <div class="tabular"> <table id="TBL-1" class="tabular" -cellspacing="0" cellpadding="0" + ><colgroup id="TBL-1-1g"><col id="TBL-1-1" /></colgroup><tr style="vertical-align:baseline;" id="TBL-1-1-"><td style="white-space:nowrap; text-align:center;" id="TBL-1-1-1" @@ -200,24 +204,23 @@ class="td11"><span class="cmr-12">Nicola L.C. Talbot</span></td></tr></table> </div> <!--l. 52--><p class="noindent" ><span -class="cmr-12">2020-03-19</span></p></div> +class="cmr-12">2021-09-20</span></p></div> <div class="abstract" > -<div class="center" -> -<!--l. 54--><p class="noindent" > -</p><!--l. 54--><p class="noindent" ><span -class="cmbx-9">Abstract</span></p></div> - <!--l. 55--><p class="indent" > <span -class="cmr-9">The purpose of this document is to provide advice if you want to</span> + <h3 class="abstracttitle"> +<span +class="cmbx-9">Abstract</span> +</h3> + <!--l. 55--><p class="noindent" ><span +class="cmr-9">The purpose of this document is to provide advice if you want to convert</span> <span -class="cmr-9">convert a LaTeX</span><span -class="cmr-9"> document from using the obsolete </span><span -class="cmss-9">glossary </span><span -class="cmr-9">package to</span> +class="cmr-9">a LaTeX</span><span +class="cmr-9"> document from using the obsolete </span><span +class="cmss-9">glossary </span><span +class="cmr-9">package to the</span> <span -class="cmr-9">the replacement </span><span +class="cmr-9">replacement </span><span class="cmss-9">glossaries </span><span class="cmr-9">package.</span> </p> @@ -225,53 +228,53 @@ class="cmr-9">package.</span> <h3 class="likesectionHead"><a id="x1-1000"></a>Contents</h3> <div class="tableofcontents"> - <span class="sectionToc" >1 <a +  <span class="sectionToc" >1 <a href="#whyglossaries" id="QQ2-1-2">Why the Need for a New Package?</a></span> -<br /> <span class="sectionToc" >2 <a +<br />  <span class="sectionToc" >2 <a href="#x1-30002" id="QQ2-1-3">Package Options</a></span> -<br /> <span class="sectionToc" >3 <a +<br />  <span class="sectionToc" >3 <a href="#x1-40003" id="QQ2-1-5">Defining new glossary types</a></span> -<br /> <span class="sectionToc" >4 <a +<br />  <span class="sectionToc" >4 <a href="#x1-50004" id="QQ2-1-6"><span class="cmtt-10">\make</span><span class="cmti-10">glossary name</span></a></span> -<br /> <span class="sectionToc" >5 <a +<br />  <span class="sectionToc" >5 <a href="#x1-60005" id="QQ2-1-7">Storing glossary information</a></span> -<br /> <span class="sectionToc" >6 <a +<br />  <span class="sectionToc" >6 <a href="#x1-70006" id="QQ2-1-8">Adding an entry to the glossary</a></span> -<br />  <span class="subsectionToc" >6.1 <a +<br />   <span class="subsectionToc" >6.1 <a href="#sec:useglosentry" id="QQ2-1-9"><span class="cmtt-10">\useglosentry</span></a></span> -<br />  <span class="subsectionToc" >6.2 <a -href="#x1-90006.2" id="QQ2-1-10"><span -class="cmtt-10">\useGlosentry</span></a></span> -<br />  <span class="subsectionToc" >6.3 <a +<br />   <span class="subsectionToc" >6.2 <a +href="#x1-90006.2" id="QQ2-1-10"><span +class="cmtt-10">\useGlosentry</span></a></span> +<br />   <span class="subsectionToc" >6.3 <a href="#x1-100006.3" id="QQ2-1-11"><span class="cmtt-10">\gls</span></a></span> -<br />  <span class="subsectionToc" >6.4 <a +<br />   <span class="subsectionToc" >6.4 <a href="#sec:csglossary" id="QQ2-1-12"><span class="cmtt-10">\glossary</span></a></span> -<br /> <span class="sectionToc" >7 <a +<br />  <span class="sectionToc" >7 <a href="#x1-120007" id="QQ2-1-13">Acronyms</a></span> -<br />  <span class="subsectionToc" >7.1 <a +<br />   <span class="subsectionToc" >7.1 <a href="#x1-130007.1" id="QQ2-1-14"><span class="cmtt-10">\acrln </span>and <span class="cmtt-10">\acrsh</span></a></span> -<br />  <span class="subsectionToc" >7.2 <a +<br />   <span class="subsectionToc" >7.2 <a href="#x1-140007.2" id="QQ2-1-15"><span class="cmtt-10">\ifacronymfirstuse</span></a></span> -<br />  <span class="subsectionToc" >7.3 <a +<br />   <span class="subsectionToc" >7.3 <a href="#x1-150007.3" id="QQ2-1-16"><span class="cmtt-10">\resetacronym </span>and <span class="cmtt-10">\unsetacronym</span></a></span> -<br /> <span class="sectionToc" >8 <a +<br />  <span class="sectionToc" >8 <a href="#x1-160008" id="QQ2-1-17">Displaying the glossary</a></span> -<br /> <span class="sectionToc" >9 <a +<br />  <span class="sectionToc" >9 <a href="#x1-170009" id="QQ2-1-18">Processing Your Document</a></span> -<br /> <span class="sectionToc" >10 <a +<br />  <span class="sectionToc" >10 <a href="#x1-1800010" id="QQ2-1-19">Troubleshooting</a></span> </div> <!--l. 62--><p class="noindent" > @@ -291,17 +294,25 @@ class="cmss-10">glossaries</span> package: </p> <ul class="itemize1"> - <li class="itemize">you can define irregular plurals; - </li> - <li class="itemize">glossary terms can have an associated symbol in addition to the name and + <li class="itemize"> + <!--l. 76--><p class="noindent" >you can define irregular plurals; + </p></li> + <li class="itemize"> + <!--l. 78--><p class="noindent" >glossary terms can have an associated symbol in addition to the name and description; - </li> - <li class="itemize">new glossary styles are much easier to design; - </li> - <li class="itemize">you can add dictionaries to supply translations for the fixed names used + </p></li> + <li class="itemize"> + <!--l. 81--><p class="noindent" >new glossary styles are much easier to design; + </p></li> + <li class="itemize"> + <!--l. 83--><p class="noindent" >you can add dictionaries to supply translations for the fixed names used in headings and by some of the glossary styles; - </li> - <li class="itemize">you can choose<span class="footnote-mark"><a + + + + </p></li> + <li class="itemize"> + <!--l. 86--><p class="noindent" >you can choose<span class="footnote-mark"><a href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a id="x1-2001f1"></a> between using <span @@ -312,31 +323,40 @@ class="cmtt-10">xindy</span><a class="cmtt-10">xindy</span><a id="dx1-2005"></a> means that: - - - +</p> <ul class="itemize2"> - <li class="itemize">there is much better support for terms containing accented or + <li class="itemize"> + <!--l. 92--><p class="noindent" >there is much better support for terms containing accented or non-Latin characters; - </li> - <li class="itemize">there is support for non-standard location numbers;</li></ul> + </p></li> + <li class="itemize"> + <!--l. 95--><p class="noindent" >there is support for non-standard location numbers;</p></li></ul> </li> - <li class="itemize">you don’t need to remember to escape <span + <li class="itemize"> + <!--l. 98--><p class="noindent" >you don’t need to remember to escape <span class="cmtt-10">makeindex</span><a id="dx1-2006"></a>’s special characters as this is done internally; - </li> - <li class="itemize">hierarchical entries and homographs are + </p></li> + <li class="itemize"> + <!--l. 101--><p class="noindent" >hierarchical entries and homographs are supported;<span class="footnote-mark"><a href="#fn2x0" id="fn2x0-bk"><sup class="textsuperscript">2</sup></a></span><a id="x1-2007f2"></a> - </li> - <li class="itemize">there is better support for cross-referencing glossary entries; - </li> - <li class="itemize">acronyms are just another glossary term which helps to maintain consistency; - </li> - <li class="itemize">different acronym styles are supported. + </p></li> + <li class="itemize"> + <!--l. 104--><p class="noindent" >there is better support for cross-referencing glossary entries; + </p></li> + <li class="itemize"> + <!--l. 106--><p class="noindent" >acronyms are just another glossary term which helps to maintain consistency; + </p></li> + <li class="itemize"> + <!--l. 109--><p class="noindent" >different acronym styles are supported. +</p> </li></ul> + + + <!--l. 113--><p class="noindent" > </p> <!--l. 113--><p class="noindent" ><a @@ -376,7 +396,7 @@ class="cmss-10">glossaries </span>package options</span></div><!--tex4ht:label?: <!--l. 128--><p class="noindent" > </p> <div class="tabular"> <table id="TBL-2" class="tabular" -cellspacing="0" cellpadding="0" + ><colgroup id="TBL-2-1g"><col id="TBL-2-1" /><col id="TBL-2-2" /></colgroup><tr @@ -586,26 +606,26 @@ href="#tab:pkgopt">1<!--tex4ht:ref: tab:pkgopt --></a>. </p> - <div class="verbatim" id="verbatim-1"> + <pre class="verbatim" id="verbatim-1"> \newglossarytype[nlg]{notation}{not}{ntn}[style=long,header] - <br />\newcommand{\notationname}{Index of Notation} -</div> +\newcommand{\notationname}{Index of Notation} +</pre> <!--l. 191--><p class="nopar" > You will need to replace the above two lines with: </p> - <div class="verbatim" id="verbatim-2"> + <pre class="verbatim" id="verbatim-2"> \newglossary[nlg]{notation}{not}{ntn}{Index of Notation} -</div> +</pre> <!--l. 195--><p class="nopar" > in the preamble and </p> - <div class="verbatim" id="verbatim-3"> + <pre class="verbatim" id="verbatim-3"> \setglossarystyle{longheader} -</div> +</pre> <!--l. 199--><p class="nopar" > immediately prior to displaying this glossary. Alternatively, you can specify the style using the <span class="cmss-10">style</span><a @@ -617,9 +637,9 @@ example: </p> - <div class="verbatim" id="verbatim-4"> + <pre class="verbatim" id="verbatim-4"> \printglossary[type=notation,style=longheader] -</div> +</pre> <!--l. 205--><p class="nopar" > </p><!--l. 207--><p class="indent" > Note that the glossary title is no longer specified using <span class="cmtt-10">\</span>⟨<span @@ -666,18 +686,18 @@ document contained the following: </p> - <div class="verbatim" id="verbatim-5"> + <pre class="verbatim" id="verbatim-5"> \makeglossary - <br />\makeacronym -</div> +\makeacronym +</pre> <!--l. 226--><p class="nopar" > then you should replace both lines with the single line: </p> - <div class="verbatim" id="verbatim-6"> + <pre class="verbatim" id="verbatim-6"> \makeglossaries -</div> +</pre> <!--l. 230--><p class="nopar" > </p><!--l. 232--><p class="noindent" > </p> @@ -704,7 +724,8 @@ only used <span class="cmtt-10">\glossary</span><a id="dx1-6006"></a>, then see <a href="#sec:csglossary"><span -class="tcrm-1000">§</span>6.4 </a><a +class="tcrm-1000">§</span><span +class="cmbx-10">??</span>sec:csglossary </a><a href="#sec:csglossary"><span class="cmtt-10">\glossary</span><!--tex4ht:ref: sec:csglossary --></a>. </p><!--l. 245--><p class="indent" > Substitute all instances of @@ -789,19 +810,19 @@ internally. For example, if your document contains the following: </p> - <div class="verbatim" id="verbatim-7"> + <pre class="verbatim" id="verbatim-7"> \storeglosentry{card}{name={$"|\mathcal{S}"|$}, - <br />description={The cardinality of the set $\mathcal{S}$}} -</div> +description={The cardinality of the set $\mathcal{S}$}} +</pre> <!--l. 276--><p class="nopar" > then you will need to replace it with: </p> - <div class="verbatim" id="verbatim-8"> + <pre class="verbatim" id="verbatim-8"> \newglossaryentry{card}{name={$|\mathcal{S}|$}, - <br />description={The cardinality of the set $\mathcal{S}$}} -</div> +description={The cardinality of the set $\mathcal{S}$}} +</pre> <!--l. 281--><p class="nopar" > </p><!--l. 283--><p class="indent" > The <span class="cmss-10">format</span><a @@ -930,10 +951,11 @@ class="cmtt-10">}</span> <br /></span> The mapping from ⟨<span class="cmti-10">old options</span>⟩ to ⟨<span -class="cmti-10">new options</span>⟩ is the same as that given <a +class="cmti-10">new options</span>⟩ is the same as that given +<a href="#sec:useglosentry"><span -class="tcrm-1000">§</span>6.1 -</a><a +class="tcrm-1000">§</span><span +class="cmbx-10">??</span>sec:useglosentry </a><a href="#sec:useglosentry"><span class="cmtt-10">\useglosentry</span><!--tex4ht:ref: sec:useglosentry --></a>. </p><!--l. 333--><p class="noindent" > @@ -1108,27 +1130,27 @@ class="cmtt-10">\newacronym</span><a </p> - <div class="verbatim" id="verbatim-9"> + <pre class="verbatim" id="verbatim-9"> \newacronym{SVM}{Support Vector Machine}{description=Statistical - <br />pattern recognition technique} -</div> +pattern recognition technique} +</pre> <!--l. 410--><p class="nopar" > Then you would need to first set the style: </p> - <div class="verbatim" id="verbatim-10"> + <pre class="verbatim" id="verbatim-10"> \setacronymstyle{long-short-desc} -</div> +</pre> <!--l. 414--><p class="nopar" > and change the acronym definition to: </p> - <div class="verbatim" id="verbatim-11"> + <pre class="verbatim" id="verbatim-11"> \newacronym[description=Statistical pattern recognition - <br />technique]{svm}{SVM}{Support Vector Machine} -</div> +technique]{svm}{SVM}{Support Vector Machine} +</pre> <!--l. 419--><p class="nopar" > You can then reference the acronym using any of the new referencing commands, such as <span class="cmtt-10">\gls</span><a @@ -1213,11 +1235,11 @@ class="cmss-10">glossary</span></span><span class="obeylines-h"> - <div class="verbatim" id="verbatim-12"> + <pre class="verbatim" id="verbatim-12"> <!--l. 455--><p class="noindent" >\newacronym{SVM}{Support Vector Machine}{description=Statistical </p><!--l. 455--><p class="noindent" >pattern recognition technique} -</p></div> +</p></pre> <!--l. 455--><p class="nopar" > </div><hr> </p><!--l. 456--><p class="noindent" ></p></span> @@ -1227,11 +1249,11 @@ class="cmss-10">glossaries</span></span><span class="obeylines-h"> - <div class="verbatim" id="verbatim-13"> + <pre class="verbatim" id="verbatim-13"> <!--l. 462--><p class="noindent" >\oldacronym{SVM}{Support Vector Machine}{description=Statistical </p><!--l. 462--><p class="noindent" >pattern recognition technique} -</p></div> +</p></pre> <!--l. 462--><p class="nopar" > </div><hr> </p><!--l. 463--><p class="noindent" ></p></span> @@ -1568,36 +1590,36 @@ say: </p> - <div class="verbatim" id="verbatim-14"> + <pre class="verbatim" id="verbatim-14"> \printglossary - <br />\printglossary[acronym] -</div> +\printglossary[acronym] +</pre> <!--l. 601--><p class="nopar" > or </p> - <div class="verbatim" id="verbatim-15"> + <pre class="verbatim" id="verbatim-15"> \printglossary - <br />\printacronym -</div> +\printacronym +</pre> <!--l. 606--><p class="nopar" > then you will need to replace this with either </p> - <div class="verbatim" id="verbatim-16"> + <pre class="verbatim" id="verbatim-16"> \printglossaries -</div> +</pre> <!--l. 610--><p class="nopar" > or </p> - <div class="verbatim" id="verbatim-17"> + <pre class="verbatim" id="verbatim-17"> \printglossary - <br />\printglossary[type=\acronymtype] -</div> +\printglossary[type=\acronymtype] +</pre> <!--l. 615--><p class="nopar" > </p><!--l. 617--><p class="indent" > The <span class="cmss-10">glossary </span>package allows you to specify a short title (for the table of contents @@ -1618,9 +1640,9 @@ class="cmtt-10">notation</span>, and you had defined </p> - <div class="verbatim" id="verbatim-18"> + <pre class="verbatim" id="verbatim-18"> \newcommand{\shortnotationname}{Notation} -</div> +</pre> <!--l. 627--><p class="nopar" > then you would need to use the <span class="cmss-10">toctitle</span><a id="dx1-16007"></a> key: @@ -1628,9 +1650,9 @@ class="cmss-10">toctitle</span><a </p> - <div class="verbatim" id="verbatim-19"> + <pre class="verbatim" id="verbatim-19"> \printglossary[type=notation,toctitle=Notation] -</div> +</pre> <!--l. 631--><p class="nopar" > The <span class="cmss-10">glossaries </span>package will ignore <span class="cmtt-10">\shortnotationname</span><a |