Debian Codegraph @

doc/bibtool.1

raw ◀ ▶
1 Debian patch touch this file
•1 .TH BIBTOOL 1 "24 February 2012" "Debian"
2 .SH NAME
3 BibTool \- BibTeX file manipulation tool
4 .SH SYNOPSIS
5 .B bibtool
6 [options] [files]
7 .SH DESCRIPTION
8 This manual is not meant to be exhaustive.
9 The complete documentation for
10 .B BibTool
11 can be found in the
12 .IR "BibTool Manual" .
13 BibTeX provides an easy to use means to integrate citations and
14 bibliographies into LaTeX documents. But the user is left alone with
15 the management of the BibTeX files.
16 .B BibTool
17 is intended to fill this gap.
18 .B BibTool
19 allows the manipulation of BibTeX files which goes
20 beyond the possibilities - and intentions - of BibTeX.
21 .PP
22 .B BibTool
23 manipulates BibTeX database files through
24 the command line front\-end
25 .B bibtool
26 which accepts numerous options.
27 Modifications are performed through
28 resource instructions
29 that allow the modification of the various internal parameters
30 determining the behavior of
31 .BR BibTool ;
32 resource instructions can be grouped in resource files.
33 The original
34 .B BibTool
35 distribution contains a sufficient set of resource file samples
36 to perform basic, relevant manipulations.
37 .SH OPTIONS
38 .B bibtool
39 accepts the following options.
40 .SS "Resource files"
41 .TP
42 \fB\-R\fR
43 Immediately evaluate the instructions from the default resource file.
44 .TP
45 .BI \fB\-r\ rsc_file
46 Immediately evaluate the instructions from the resource file
47 .IR rsc_file .
48 .TP
49 .BI \fB\-\-\ rsc_cmd
50 Evaluate the resource instruction
51 .IR rsc_cmd .
52 .SS "Input file"
53 .TP
54 .BI \fB\-i\ bib_file
55 Add the BibTeX database file
56 .IR bib_file
57 to the list of input files.
58 If \fB\-i\fR omitted the file name may not start with a \-.
59 If absent stdin is taken to read from.
60 .\"Multiple input files may be given.
61 Input files should follow the
62 .BR bibtex (1)
63 conventions.
64 .SS "Output file"
65 .TP
66 .BI \fB\-o\ output_file
67 Direct output to the file
68 .IR output_file .
69 If absent the output is directed to stdout.
70 .SS "Status reporting"
71 .TP
72 \fB\-q\fR
73 Suppress warnings. Errors can not be suppressed.
74 .TP
75 \fB\-v\fR
76 Enable informative messages on the activities of BibTool.
77 .SS "Sorting"
78 .TP
79 \fB\-s\fR
80 Enable sorting of entries.
81 .TP
82 \fB\-S\fR
83 Enable sorting of entries in reverse order.
84 .TP
85 .BI \fB\-A\ type
86 Determine key disambuguation;
87 .IR type
88 in 0, a, A.
89 .SS "Selecting items"
90 .TP
91 .BI \fB\-x\ aux_file
92 Extract the entries from the auxiliary
93 .RI ( .aux )
94 .\".BR latex (1)
95 LaTeX
96 .IR aux_file
97 file.
98 .TP
99 .BI \fB\-X\ regex
100 Select certain entries according to the regular expression
101 .IR regex .
102 .TP
103 \fB\-c\fR
104 Turn on the additional selection of crossreferenced entries.
105 .SS "Key generation"
106 .TP
107 .BI \fB\-f\ key_format
108 Set the specification for key generation to
109 .IR key_format .
110 .TP
111 \fB\-F\fR
112 Turn on key generation.
113 .TP
114 \fB\-k\fR
115 Generate short format keys.
116 .TP
117 \fB\-K\fR
118 Generate long format keys.
119 .SS "Semantic checks"
120 .TP
121 \fB\-d\fR
122 Find and mark (or delete) entries with identical sort keys.
123 .SS "Strings/Macros"
124 .TP
125 .BI \fB\-m\ mac_file
126 Write the macro definitions to the file
127 .IR mac_file
128 (\- is stdout).
129 .TP
130 .BI \fB\-M\ mac_file
131 Write the used macro definitions to the file
132 .IR mac_file
133 (\- is stdout).
134 .SS "Getting help"
135 .TP
136 \fB\-h\fR
137 Print short help and exit.
138 .TP
139 \fB\-V\fR
140 Print version and exit.
141 .SS "Statistics"
142 .TP
143 \fB\-#\fR
144 Print statistics about all known entry types (long).
145 .TP
146 \fB\-@\fR
147 Print statistics about the used entry types only (short).
148 .SH ENVIRONMENT
149 .TP
150 .B BIBINPUTS
151 Search path for BibTeX database
152 .RI ( .bib )
153 files.
154 .TP
155 .B BIBTOOL
156 Search path for BibTool resource
157 .RI ( .rsc )
158 files.
159 .TP
160 .B BIBTOOLRSC
161 List of resource file names separated by colon.
162 .SH FILES
163 .TP
164 .I ./.bibtoolrsc
165 The default current directory
•166 BibTool
167 resource file.
168 .TP
169 .I ~/.bibtoolrsc
170 The default individual
•171 BibTool
172 resource file.
173 .TP
174 .I
•175 /usr/share/bibtool/*.rsc
176 The BibTool resource files included in the original distribution.
•177 .TP
178 .I
179 /usr/share/doc/bibtool/bibtool.pdf
180 The
181 .IR "BibTool Manual" .
182 .TP
183 .I
184 /usr/share/doc/bibtool/ref_card.pdf
185 The
186 .IR "BibTool Quick Reference Card".
187 .SH SEE ALSO
•188 .BR bibtex (1),
189 .BR latex (1),
190 .BR tex (1)
191 .br
192 The
193 .IR "BibTool Manual" .
194 .SH BUGS
195 Some arrays are allocated statically which may result in an overflow.
196 .br
197 Most memory is allocated but not returned to the OS:
198 A garbage collection algorithm might be integrated in a future release.
199 .br
200 This man page is updated only occasionally,
201 so it is very likely out of date.
202 For complete, current documentation, refer to the
203 .IR "BibTool Manual"
204 which is distributed as LaTeX source file
205 .RB ( bibtool.tex )
206 in the original
207 .BR BibTool
208 source distribution.
209 .SH AUTHOR
210 BibTool is designed and maintained by Gerd Neugebauer.
211 .\".SH COPYRIGHT
212 .\"Copyright (C) 1996\-2019 Gerd Neugebauer <[email protected]>