summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chemsec/README.md
blob: 09d3d6f8885223305946eb29d56b986a0c134325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# chemsec

LaTeX style for automated creation of numeric chemical
labels for scientific documents.

For documentation run

    latex chemsec.dtx

To generate style file run

    latex chemsec.ins

The style file in this directory should always be identical
to the file generated by `latex chemsec.ins`

# Examples

Several examples accompany the CTAN package in the `chemsec`
directory.  You can compile these by processing the files twice
using a latex program.

    <latex command> example1
    <latex command> example1

If you obtain the package from the GitHub repository you can run 
the examples by changing to the `test` subdirectory and using the
supplied makefile. For example to process the `example1.tex` file
use:

    make clean example1

or
    make LATEX=latex clean example1

if you want to use a latex program other than `pdflatex`.

## Note

* The examples use the chemsec.sty file in the base
directory, this is not updated by the make program.

* The make program copies the example latex files and the
style file into the test directory. Dependency tracking
should keep these up to date.

* The clean target should remove everything but the
makefile from the test directory.