Debian Codegraph @

texmf-dist/doc/latex/gmiflink/README

raw
1 The gmiflink.sty LaTeX package
2 is a work of Grzegorz `Natror' Murzynowski,
3 <natror at o2 dot pl>
4
5
6 1. Copyright 2005, 2006 by Grzegorz `Natror' Murzynowski
7
8 This program is subject to the LaTeX Project Public License.
9 See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
10 for the details of that license.
11
12
13 2. Introduction
14
15 The gmiflink.sty package protects you against an error when a link is
16 dangling and typesets some plain text instead of a hyperlink then. It
17 is intended for use with the hyperref.sty package.
18
19 I used it for typesetting the names of the objects in a documentation
20 of a computer program. If the object had been defined a \hyperlink to its
21 definition was made, otherwise a plain object's name was typeset.
22 I also use this package in automatic making of hyperlinking indexes.
23
24 It provides the macros \gmiflink, \gmifref and
25 \gmhypertarget for conditional making of hyperlinks in your document.
26
27 \gmhypertarget makes a \hypertarget and a \label of the given name.
28
29 \gmiflink makes a \hyperlink to the given \hypertarget if the
30 correspondent label exists, otherwise typesets an ordinary text.
31
32 \gmifref makes a (hyper-)\ref to the given label if the label exists,
33 otherwise it typesets an ordinary text.
34
35
36 3. Installation
37
38 Just put the gmiflink.sty somewhere in the texmf/tex/latex
39 branch. Creating a /texmf/tex/latex/gm directory may be advisable if
40 you consider using other packages written by me.
41
42 Then you should refresh your TeX distribution's files'
43 database most probably.
44
45
46 4. Contents
47
48 The distribution of this package consists of the following three files.
49
50 gmiflink.sty
51 README
52 gmiflink.pdf
53
54
55 5. Documentation
56
57 The last of the above files (the .pdf) is a documentation compiled
58 from the .sty file by running LaTeX (twice) on the gmiflink.sty
59 file:
60 xelatex gmiflink.sty
61 in the directory you wish the documentation to be in,
62 you don't have copy the .sty file there---TeX will find it.
63 Compiling of the documentation requires the packages: gmdoc
64 (gmdoc.sty and gmdocc.cls), gmverb.sty, gmutils.sty and also some
65 standard packages: hyperref.sty, xcolor.sty, geometry.sty,
66 multicol.sty, lmodern.sty, fontenc.sty that should be installed
67 on your computer by default.
68
69 If you have not installed the mwart.cls class (available on CTAN in
70 mwcls package), the result of your compilation may differ a bit from
71 the .pdf provided in this .zip archive in formattings: If you have not
72 installed mwart.cls, the standard article.cls will be used.