Debian Codegraph @

texmf-dist/doc/latex/axodraw2/INSTALL

raw
1 MANUAL INSTALLATION of axohelp v. 1.2 and axodraw2
2 ==================================================
3
4
5
6 A. Fully Manual Installation
7 ----------------------------
8
9 Note: if you do not wish to use axodraw2 with pdflatex, xelatex, or
10 lualatex, but will only use it with latex, then only the
11 first step is needed.
12
13 1. Copy axodraw2.sty to a suitable directory for LaTeX style files.
14
15 2. Compile the axohelp program by a command line like
16
17 gcc -o axohelp -Wall -O3 axohelp.c
18
19 (The exact details of the command line depend on your operating
20 system and which compiler you have installed for the C
21 language.)
22
23 3. Move axohelp to a suitable directory for executables.
24
25 4. (Optional) Copy axodraw2-man.pdf to a suitable directory for
26 LaTex package documentation.
27
28 5. (Optional) Copy axohelp.1 to a suitable directory for man pages.
29
30
31 B. Using autoconf etc:
32 ---------------------
33
34 You can also make axohelp using the GNU utilities autoconf,
35 automake and autoreconf (if these are installed). Doing this is
36 enormous overkill for a program like axohelp with a single source
37 file and with no need to make adjustments dependent on the
38 operating system etc. Even so, we provide the files necessary for
39 the use of autoconf and automake, since these are needed when the
40 axodraw2 package is incorporated into TeXLive (which has an
41 enormous automated build process). So here are the instructions
42 for building with autoconf and automake. For these, it is assumed
43 that the GNU utilities autoconf, automake and autoreconf are
44 installed:
45
46 As in Fully Manual Installation, but replace step 2 by
47
48 2'. Run
49
50 autoreconf --install
51 ./configure
52 make
53
54 Note that there are a couple of test scripts: axohelp.test, which
55 gives a rudimentary test, and axohelp-big.test, which gives a
56 comprehensive test on all axodraw2 objects used in the
57 manual. **Warnings**: a. You could get a spurious failure of a test
58 because of a mismatch between the line-endings of the test file and
59 the file generated by axohelp (UNIX \n v. MS-Windows \r\n). b. You
60 could also get spurious test failure because of differences in the
61 effects of rounding error with your compiled axohelp and the one
62 used on the test system.
63