diff options
author | Karl Berry <karl@freefriends.org> | 2007-08-16 00:36:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-08-16 00:36:59 +0000 |
commit | 3aed69f900ce6a1011d17c3886e1d65c66822612 (patch) | |
tree | 71347232fcd706c8e5b7e3b6b8a4dcc443104bf9 /Master/texmf-dist/doc/latex/glossaries | |
parent | e8a50aed5d15bb07b077c572f74b697de13dd259 (diff) |
glossaries 1.04 (15aug07)
git-svn-id: svn://tug.org/texlive/trunk@4740 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries')
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/CHANGES | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/README | 84 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/doc/CHANGES | 11 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/doc/README | 42 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/doc/glossaries.pdf | bin | 453752 -> 472066 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/doc/sample.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/doc/sampleAcr.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/glossaries/latex2html/styles/glossaries.perl (renamed from Master/texmf-dist/doc/latex/glossaries/latex2html/glossaries.perl) | 18 |
8 files changed, 66 insertions, 102 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/CHANGES b/Master/texmf-dist/doc/latex/glossaries/CHANGES index 427b1ce1b03..485ca845623 100644 --- a/Master/texmf-dist/doc/latex/glossaries/CHANGES +++ b/Master/texmf-dist/doc/latex/glossaries/CHANGES @@ -1,5 +1,11 @@ glossaries change log: +v1.04 (3 Aug 2007): + * Added \glstextformat + +v1.03 (4 July 2007): + * Added \glspostdescription + v1.02 (25 May 2007): * Added overview section in the documentation diff --git a/Master/texmf-dist/doc/latex/glossaries/README b/Master/texmf-dist/doc/latex/glossaries/README index c80f663bf1a..843f528baca 100644 --- a/Master/texmf-dist/doc/latex/glossaries/README +++ b/Master/texmf-dist/doc/latex/glossaries/README @@ -1,42 +1,42 @@ -LaTeX Package : glossaries v 1.02
-
-Last Modified : 25 May 2007
-
-Author : Nicola Talbot
-
-This package is provided to assist generating glossaries.
-The package supports acronyms and multiple glossaries.
-New entries are defined to have a name and description (and
-optionally an associated symbol.) Plural forms can also be
-specified. New glossary styles can be defined, and preambles
-and postambles can be specified. There is provision for loading
-a database of terms, only terms used in the text will be added
-to the relevant glossary.
-
-*This package replaces the glossary package which is now obsolete.*
-
-The package is supplied using the TeX Directory Structure (TDS).
-Files in texmf directory should go in the corresponding
-$LOCALTEXMF directories. The scripts directory contains the Perl
-script makeglossaries and the batch file makeglossaries.bat
-which should go somewhere on your operating system's PATH. (Both
-files are required for Windows, only the Perl script is
-required for other operating systems.)
-
-*Remember to refresh TeX's database*
-
-This package comes with a LaTeX2HTML style file glossaries.perl.
-This is located in latex2html/styles and should be placed in
-the relevant LaTeX2HTML styles directory, but note that
-glossaries.perl only supplies a sub-set of the commands provided
-by glossary.sty, so some commands may not be implemented, or
-may be implemented in a different way.
-
-The package and documentation source code is also supplied as a
-dtx and ins file located in texmf/source.
-
-This material is subject to the LaTeX Project Public License.
-See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
-
-http://theoval.cmp.uea.ac.uk/~nlct/
-
+LaTeX Package : glossaries v 1.04 + +Last Modified : 3 August 2007 + +Author : Nicola Talbot + +This package is provided to assist generating glossaries. +The package supports acronyms and multiple glossaries. +New entries are defined to have a name and description (and +optionally an associated symbol.) Plural forms can also be +specified. New glossary styles can be defined, and preambles +and postambles can be specified. There is provision for loading +a database of terms, only terms used in the text will be added +to the relevant glossary. + +*This package replaces the glossary package which is now obsolete.* + +The package is supplied using the TeX Directory Structure (TDS). +Files in texmf directory should go in the corresponding +$LOCALTEXMF directories. The scripts directory contains the Perl +script makeglossaries and the batch file makeglossaries.bat +which should go somewhere on your operating system's PATH. (Both +files are required for Windows, only the Perl script is +required for other operating systems.) + +*Remember to refresh TeX's database* + +This package comes with a LaTeX2HTML style file glossaries.perl. +This is located in latex2html/styles and should be placed in +the relevant LaTeX2HTML styles directory, but note that +glossaries.perl only supplies a sub-set of the commands provided +by glossary.sty, so some commands may not be implemented, or +may be implemented in a different way. + +The package and documentation source code is also supplied as a +dtx and ins file located in texmf/source. + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license. + +http://theoval.cmp.uea.ac.uk/~nlct/ + diff --git a/Master/texmf-dist/doc/latex/glossaries/doc/CHANGES b/Master/texmf-dist/doc/latex/glossaries/doc/CHANGES deleted file mode 100644 index 427b1ce1b03..00000000000 --- a/Master/texmf-dist/doc/latex/glossaries/doc/CHANGES +++ /dev/null @@ -1,11 +0,0 @@ -glossaries change log: - -v1.02 (25 May 2007): - * Added overview section in the documentation - -v1.01 (17 May 2007): - * Added number range facility (equivalent to makeindex's |( and |) - formatting commands.) - * Added a space after \delimN and \delimR in the ist file. - -v1.0 (16 May 2007): Initial release diff --git a/Master/texmf-dist/doc/latex/glossaries/doc/README b/Master/texmf-dist/doc/latex/glossaries/doc/README deleted file mode 100644 index c80f663bf1a..00000000000 --- a/Master/texmf-dist/doc/latex/glossaries/doc/README +++ /dev/null @@ -1,42 +0,0 @@ -LaTeX Package : glossaries v 1.02
-
-Last Modified : 25 May 2007
-
-Author : Nicola Talbot
-
-This package is provided to assist generating glossaries.
-The package supports acronyms and multiple glossaries.
-New entries are defined to have a name and description (and
-optionally an associated symbol.) Plural forms can also be
-specified. New glossary styles can be defined, and preambles
-and postambles can be specified. There is provision for loading
-a database of terms, only terms used in the text will be added
-to the relevant glossary.
-
-*This package replaces the glossary package which is now obsolete.*
-
-The package is supplied using the TeX Directory Structure (TDS).
-Files in texmf directory should go in the corresponding
-$LOCALTEXMF directories. The scripts directory contains the Perl
-script makeglossaries and the batch file makeglossaries.bat
-which should go somewhere on your operating system's PATH. (Both
-files are required for Windows, only the Perl script is
-required for other operating systems.)
-
-*Remember to refresh TeX's database*
-
-This package comes with a LaTeX2HTML style file glossaries.perl.
-This is located in latex2html/styles and should be placed in
-the relevant LaTeX2HTML styles directory, but note that
-glossaries.perl only supplies a sub-set of the commands provided
-by glossary.sty, so some commands may not be implemented, or
-may be implemented in a different way.
-
-The package and documentation source code is also supplied as a
-dtx and ins file located in texmf/source.
-
-This material is subject to the LaTeX Project Public License.
-See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the details of that license.
-
-http://theoval.cmp.uea.ac.uk/~nlct/
-
diff --git a/Master/texmf-dist/doc/latex/glossaries/doc/glossaries.pdf b/Master/texmf-dist/doc/latex/glossaries/doc/glossaries.pdf Binary files differindex b5d381ed5d7..0404aa4144f 100644 --- a/Master/texmf-dist/doc/latex/glossaries/doc/glossaries.pdf +++ b/Master/texmf-dist/doc/latex/glossaries/doc/glossaries.pdf diff --git a/Master/texmf-dist/doc/latex/glossaries/doc/sample.tex b/Master/texmf-dist/doc/latex/glossaries/doc/sample.tex index 516cb248421..3110d9b8d17 100644 --- a/Master/texmf-dist/doc/latex/glossaries/doc/sample.tex +++ b/Master/texmf-dist/doc/latex/glossaries/doc/sample.tex @@ -25,6 +25,11 @@ description={rectangular array of quantities}, % plural is not simply obtained by appending an s, so specify plural=matrices} +\newcommand{\pardescription}{distinct section of piece of +writing\par beginning on new usually indented line} +\newglossaryentry{par}{name=paragraph, +description=\pardescription} + \begin{document} \title{Sample Document Using glossary Package} diff --git a/Master/texmf-dist/doc/latex/glossaries/doc/sampleAcr.tex b/Master/texmf-dist/doc/latex/glossaries/doc/sampleAcr.tex index 02531ff49a0..2b26e982be0 100644 --- a/Master/texmf-dist/doc/latex/glossaries/doc/sampleAcr.tex +++ b/Master/texmf-dist/doc/latex/glossaries/doc/sampleAcr.tex @@ -5,6 +5,8 @@ \makeglossaries +\renewcommand*{\glstextformat}[1]{\textsf{#1}} + \newacronym{svm}% label {svm}% abbreviation {support vector machine}% long form diff --git a/Master/texmf-dist/doc/latex/glossaries/latex2html/glossaries.perl b/Master/texmf-dist/doc/latex/glossaries/latex2html/styles/glossaries.perl index 67f04090aa1..d6f1b0fd6e8 100644 --- a/Master/texmf-dist/doc/latex/glossaries/latex2html/glossaries.perl +++ b/Master/texmf-dist/doc/latex/glossaries/latex2html/styles/glossaries.perl @@ -1,7 +1,7 @@ # File : glossaries.perl # Author : Nicola Talbot -# Date : 16 May 2007 -# Version : 1.0 +# Date : 14th June 2007 +# Version : 1.01 # Description : LaTeX2HTML (limited!) implementation of glossaries # package. Note that not all the glossaries.sty # macros have been implemented. @@ -280,6 +280,7 @@ sub get_keyval{ while (/\b$key\s*=/) { ($value,$_) = &get_firstkeyval($key, $_); + last unless defined($value); } ($value,$_); @@ -1159,13 +1160,16 @@ sub do_cmd_glslink{ $text = &missing_braces unless (s/$next_pair_pr_rx/$text=$2;''/eo); - local ($space) = ''; - if (/^\s+[^\[]/ or /^\s*\[.*\]\s/) {$space = ' ';} - ($optarg,$pat) = &get_next_optional_argument; + # v1.01 removed following lines (\glslink doesn't have + # a final optional argument! + #local ($space) = ''; + #if (/^\s+[^\[]/ or /^\s*\[.*\]\s/) {$space = ' ';} + #($optarg,$pat) = &get_next_optional_argument; $type = &gls_get_type($label); - &make_glslink($type, $label, $format, $text).$space . $_; + #&make_glslink($type, $label, $format, $text).$space . $_; + &make_glslink($type, $label, $format, $text) . $_; } sub do_cmd_glsentrydesc{ @@ -1329,7 +1333,7 @@ sub do_cmd_gls{ # entry has already been used $text = &gls_get_text($label); - $display = &gls_get_display($type);; + $display = &gls_get_display($type); } else { |