noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

noxz.tech/software/tapas/index.www
1The name stands for
2.B t o
3.B APA ,
4and the
5.B s
6is for added deliciousness.
7It's a small program used for compiling refer output into the APA reference
8format for groff or alike.
9
10The program reads refer output from
11.ICD stdin
12and prints the compiled result to
13.ICD stdout .
14
15.B Note
16that tapas doesn't currently fully implement APA. I wrote this program because I
17needed to reference articles using APA instead of MLA, and in time I intend to
18fully implement APA.
19
20.HnS 1
21Installation
22.HnE
23
24Edit config.mk to match your local setup (tapas is installed into the
25.I /usr/local
26namespace by default), then simply enter the following command to install (if
27necessary as root):
28
29.CDS
30.COS
31make clean install
32.COE
33.CDE
34
35.HnS 1
36Customization
37.HnE
38
39tapas can be customized by creating a custom config.h and (re)compiling the
40source code.
41
42.HnS 1
43Usage
44.HnE
45
46Tapas is intended to run in a pipe chain directly after refer, like so:
47
48.CDS
49.COS
50\&... | refer | tapas | ... | troff
51.COE
52.CDE
53
54I've added some customization using ds-strings for tapas. These are the
55following:
56
57.ULS
58.LI
59.ICD ".ds APA_IN ..."
60.HTML <br/>
61Used for specifying the word for "In" when referring to articles in books.
62
63.LI
64.ICD ".ds APA_AN ..."
65.HTML <br/>
66Used for specifying the word or symbol for "and/&" when concatenating authors.
67
68.LI
69.ICD ".ds APA_MS ..."
70.HTML <br/>
71Used for specifying the macro set output e.g. 'ms'. This is not currently fully
72developed, and only has support for 'ms'.
73
74.LI
75.ICD ".ds APA_HE ..."
76.HTML <br/>
77Used for specifying the heading text e.g. 'References'.
78.ULE
79
80.HnS 1
81License
82.HnE
83
84The program is licensed under the MIT license.
85
86get source
87.URL //noxz.tech/git/tapas.git here .