diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/gmiflink/README | 141 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/gmiflink/gmiflink.pdf | bin | 0 -> 57800 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/gmiflink/gmiflink.sty | 40 |
3 files changed, 101 insertions, 80 deletions
diff --git a/Master/texmf-dist/doc/latex/gmiflink/README b/Master/texmf-dist/doc/latex/gmiflink/README index 695b67bc086..50c7db10fe4 100644 --- a/Master/texmf-dist/doc/latex/gmiflink/README +++ b/Master/texmf-dist/doc/latex/gmiflink/README @@ -1,69 +1,72 @@ -The gmiflink.sty LaTeX package -is a work of Grzegorz `Natror' Murzynowski, -<natror at o2 dot pl> - - -1. Copyright 2005, 2006 by Grzegorz `Natror' Murzynowski - -This program 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. - - -2. Introduction - -The gmiflink.sty package protects you against an error when a link is -dangling and typesets some plain text instead of a hyperlink then. It -is intended for use with the hyperref.sty package. - -I used it for typesetting the names of the objects in a documentation -of a computer program. If the object had been defined a \hyperlink to its -definition was made, otherwise a plain object's name was typeset. -I also use this package in automatic making of hyperlinking indexes. - -It provides the macros \gmiflink, \gmifref and -\gmhypertarget for conditional making of hyperlinks in your document. - -\gmhypertarget makes a \hypertarget and a \label of the given name. - -\gmiflink makes a \hyperlink to the given \hypertarget if the -correspondent label exists, otherwise typesets an ordinary text. - -\gmifref makes a (hyper-)\ref to the given label if the label exists, -otherwise it typesets an ordinary text. - - -3. Installation - -Just put the gmiflink.sty somewhere in the texmf/tex/latex -branch. Creating a /texmf/tex/latex/gm directory may be advisable if -you consider using other packages written by me. - -Then you should refresh your TeX distribution's files' -database most probably. - - -4. Contents - -The distribution of this package consists of the following four files. - -gmiflink.sty -README -gmiflinkDoc.tex -gmiflinkDoc.pdf - - -5. Documentation - -The last of the above files (the .pdf) is a documentation compiled -from the .sty file by running LaTeX (twice) on the gmiflinkDoc.tex -file. Compiling of the documentation requires the packages: gmdoc -(gmdoc.sty and gmdocc.cls), gmverb.sty, gmutils.sty and also some -standard packages: hyperref.sty, color.sty, geometry.sty, -multicol.sty, lmodern.sty, fontenc.sty that should be installed -on your computer by default. - -If you have not installed the mwart.cls class (available on CTAN in -mwcls package), the result of your compilation may differ a bit from -the .pdf provided in this .zip archive in formattings: If you have not -installed mwart.cls, the standard article.cls will be used. +The gmiflink.sty LaTeX package
+is a work of Grzegorz `Natror' Murzynowski,
+<natror at o2 dot pl>
+
+
+1. Copyright 2005, 2006 by Grzegorz `Natror' Murzynowski
+
+This program 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.
+
+
+2. Introduction
+
+The gmiflink.sty package protects you against an error when a link is
+dangling and typesets some plain text instead of a hyperlink then. It
+is intended for use with the hyperref.sty package.
+
+I used it for typesetting the names of the objects in a documentation
+of a computer program. If the object had been defined a \hyperlink to its
+definition was made, otherwise a plain object's name was typeset.
+I also use this package in automatic making of hyperlinking indexes.
+
+It provides the macros \gmiflink, \gmifref and
+\gmhypertarget for conditional making of hyperlinks in your document.
+
+\gmhypertarget makes a \hypertarget and a \label of the given name.
+
+\gmiflink makes a \hyperlink to the given \hypertarget if the
+correspondent label exists, otherwise typesets an ordinary text.
+
+\gmifref makes a (hyper-)\ref to the given label if the label exists,
+otherwise it typesets an ordinary text.
+
+
+3. Installation
+
+Just put the gmiflink.sty somewhere in the texmf/tex/latex
+branch. Creating a /texmf/tex/latex/gm directory may be advisable if
+you consider using other packages written by me.
+
+Then you should refresh your TeX distribution's files'
+database most probably.
+
+
+4. Contents
+
+The distribution of this package consists of the following three files.
+
+gmiflink.sty
+README
+gmiflink.pdf
+
+
+5. Documentation
+
+The last of the above files (the .pdf) is a documentation compiled
+from the .sty file by running LaTeX (twice) on the gmiflink.sty
+file:
+xelatex gmiflink.sty
+ in the directory you wish the documentation to be in,
+you don't have copy the .sty file there---TeX will find it.
+Compiling of the documentation requires the packages: gmdoc
+(gmdoc.sty and gmdocc.cls), gmverb.sty, gmutils.sty and also some
+standard packages: hyperref.sty, xcolor.sty, geometry.sty,
+multicol.sty, lmodern.sty, fontenc.sty that should be installed
+on your computer by default.
+
+If you have not installed the mwart.cls class (available on CTAN in
+mwcls package), the result of your compilation may differ a bit from
+the .pdf provided in this .zip archive in formattings: If you have not
+installed mwart.cls, the standard article.cls will be used.
diff --git a/Master/texmf-dist/doc/latex/gmiflink/gmiflink.pdf b/Master/texmf-dist/doc/latex/gmiflink/gmiflink.pdf Binary files differnew file mode 100644 index 00000000000..47a172948cf --- /dev/null +++ b/Master/texmf-dist/doc/latex/gmiflink/gmiflink.pdf diff --git a/Master/texmf-dist/tex/latex/gmiflink/gmiflink.sty b/Master/texmf-dist/tex/latex/gmiflink/gmiflink.sty index 958c0a66bb7..94a15b5a437 100644 --- a/Master/texmf-dist/tex/latex/gmiflink/gmiflink.sty +++ b/Master/texmf-dist/tex/latex/gmiflink/gmiflink.sty @@ -24,6 +24,23 @@ % \CheckSum{61} %% +% \iffalse +% This is a~driver. To learn how to use it, read the README +% or the documentation in .pdf + +\ifnum\catcode`\@=12 +\documentclass[codespacesgrey, noindex, nochanges, pagella]{gmdocc}% the package is to small to +% make an index of its macros and it's too old to have the |\changes| +% ^^A( +% history ;-)\,. +\begin{document} +\DocInput{gmiflink.sty} +\afterfi{\end{document}} +\fi + +% \fi + + \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{gmiflink} [2006/08/16 v0.97 Conditionally hyperlinking package (GM)] @@ -87,12 +104,11 @@ % \subdivision{Contents of the \pk{gmiflink.zip} archive} % % The distribution of the \pk{gmiflink} package consists of the -% following four files and a~\acro{TDS}-compliant archive. +% following three files and a~\acro{TDS}-compliant archive. % \begin{verse} % \pk{gmiflink.sty}\\ % \pk{README}\\ -% \pk{gmiflinkDoc.tex}\\ -% \pk{gmiflinkDoc.pdf}\\ +% \pk{gmiflink.pdf}\\ % \pk{gmiflink.tds.zip} % \end{verse} % @@ -102,13 +118,16 @@ % % The last of the above files (the \pk{.pdf}, i.e., \emph{this % file}) is a~documentation compiled from the \pk{.sty} file by -% running \LaTeX\ on the \pk{gmiflinkDoc.tex} file. -% Compiling the documentation requires the packages: \pk{gmdoc} -% (\pk{gmdoc.sty} and \pk{gmdocc.cls}), \pk{gmverb.sty}, -% \pk{gmutils.sty}, \pk{gmiflink.sty} and also some standard -% packages: \pk{hyperref.sty}, \pk{color.sty}, \pk{geometry.sty}, -% \pk{multicol.sty}, \pk{lmodern.sty}, \pk{fontenc.sty} that should -% be installed on your computer by default. +% running \LaTeX\ on the \pk{gmiflink.sty} file +% (|xelatex gmiflink.sty| in the directory you wish the +% documentation to be in, you don't have copy the \file{.sty} file +% there, \TeX\ will find it). Compiling the documentation requires the +% packages: \pk{gmdoc} (\pk{gmdoc.sty} and \pk{gmdocc.cls}), +% \pk{gmverb.sty}, \pk{gmutils.sty}, \pk{gmiflink.sty} and also some +% standard packages: \pk{hyperref.sty}, \pk{xcolor.sty}, +% \pk{geometry.sty}, \pk{multicol.sty}, \pk{lmodern.sty}, +% \pk{fontenc.sty} that should be installed on your computer by +% default. % % If you had not installed the \pk{mwcls} classes (available on % CTAN and present in \TeX\ Live e.g.), the result of your @@ -192,5 +211,4 @@ % (For my GNU Emacs:) %%% Local Variables: %%% mode: doctex -%%% TeX-master: "../../../../LaTeX/TeXGuru/gmiflink/gmiflinkDoc" %%% End: |