diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-17 20:30:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-17 20:30:35 +0000 |
commit | c389b7299225b11856320fa1561f9b1ca35bbc6b (patch) | |
tree | 924a04ffd988fc845b43e88880a21664b97340d5 /Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc | |
parent | 3917441f015eb84d969489a2dfb8e0c85142d0c0 (diff) |
latexmk (17mar22) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2021.final@62768 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc')
-rw-r--r-- | Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc b/Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc deleted file mode 100644 index cd75f2d2d0f..00000000000 --- a/Master/texmf-dist/doc/support/latexmk/example_rcfiles/glossary_latexmkrc +++ /dev/null @@ -1,44 +0,0 @@ -# This shows how to use the glossaries package -# (http://www.ctan.org/pkg/glossaries) and the glossaries-extra package -# (http://www.ctan.org/pkg/glossaries-extra) with latexmk. - -# N.B. There is also the OBSOLETE glossary package -# (http://www.ctan.org/pkg/glossary), which has some differences. See item 2. - -# 1. If you use the glossaries or the glossaries-extra package, then you use: - - add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' ); - add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); - $clean_ext .= " acr acn alg glo gls glg"; - sub makeglossaries { - my ($base_name, $path) = fileparse( $_[0] ); - pushd $path; - my $return = system "makeglossaries", $base_name; - popd; - return $return; - } - - -# 2. If you use the OBSOLETE glossary package, then you can do the following: -# (Note that the code lines are commented out to avoid trouble when this -# file is simply copied into a latexmkrc or this file is arranged to be -# read by latexmk, and one of the modern packages glossaries and -# glossaries-extra is used.) - - ## For the main glossary: - #add_cus_dep( 'glo', 'gls', 0, 'makeglo2gls' ); - #sub makeglo2gls { - # system("makeindex -s \"$_[0].ist\" -t \"$_[0].glg\" -o \"$_[0].gls\" \"$_[0].glo\"" ); - #} - - ## For acronyms: - ## - ## ===> WARNING: The code below is ONLY FOR PACKAGE glossary, NOT FOR - ## glossaries and glossaries-extra. In the current glossaries and - ## glossaries-extra packages the roles of the .acr and .acn files are - ## exchanged compared with the old glossary package. Hence the the - ## code below will fail with the more modern packages. - #add_cus_dep( 'acr', 'acn', 0, 'makeacr2acn' ); - #sub makeacr2acn { - # system( "makeindex -s \"$_[0].ist\" -t \"$_[0].alg\" -o \"$_[0].acn\" \"$_[0].acr\"" ); - #} |