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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
.TH BIBTEXU "1" "30 August 2022" "bibtexu 4.00" "User Commands"
.SH NAME
bibtexu \- UTF-8 Big BibTeX
.SH SYNOPSIS
.B bibtexu
[\fIoptions\fR] \fIaux-file\fR
.SH DESCRIPTION
.PP
.B BibTeXu
is the Unicode-compliant version of BibTeX.
It is largely based on Niel Kempson's BibTeX8, and it provides
a better support for UTF-8 by integrating ICU library. Therefore,
.B BibTeXu
no longer requires the Codepage and Sort order ("CS") file; instead,
the method of sorting and case-changing can be controlled via
command-line options.
.SH OPTIONS
.TP
\fB\-?\fR \fB\-\-help\fR
display some brief help text.
.TP
\fB\-d\fR \fB\-\-debug\fR TYPE
report debugging information. TYPE is one
or more of all, csf, io, mem, misc, search.
.TP
\fB\-s\fR \fB\-\-statistics\fR
report internal statistics.
.TP
\fB\-t\fR \fB\-\-trace\fR
report execution tracing.
.TP
\fB\-v\fR \fB\-\-version\fR
report BibTeX version.
.TP
\fB\-l\fR \fB\-\-language\fR LANG
use language LANG to convert strings to low case.
This argument is passed to ICU library.
.TP
\fB\-o\fR \fB\-\-location\fR LANG
use language LANG for sorting.
This argument is passed to ICU library.
.TP
\fB\-B\fR \fB\-\-big\fR
set large BibTeX capacity.
.TP
\fB\-H\fR \fB\-\-huge\fR
set huge BibTeX capacity.
.TP
\fB\-W\fR \fB\-\-wolfgang\fR
set really huge BibTeX capacity for Wolfgang.
.TP
\fB\-M\fR \fB\-\-min_crossrefs\fR ##
set min_crossrefs to ##.
.TP
\fB\-\-mstrings\fR ##
allow ## unique strings.
.SH UNICODE SUPPORT
.PP
.B BibTeXu
supports extended features to handle Unicode characters.
Several built-in functions in bibliography styles are enhanced as follows.
.TP
\fB&\fR
Pops the top two (integer) literals and pushes their bitwise AND.
.TP
\fB|\fR
Pops the top two (integer) literals and pushes their bitwise OR.
.TP
\fBadd.period$\fR
Pops the top (string) literal, adds a `.' to it if the last non`}'
character isn't a `.', `?', `!' or a Unicode punctuation mark and pushes this resulting string.
The mark may be U+203C, U+203D, U+2047, U+2048, U+2049, U+3002, U+FF01, U+FF0E or U+FF1F.
.TP
\fBchr.to.int$\fR
Pops the top (string) literal, makes sure it's a multibyte string of a single Unicode code point,
converts it to the corresponding Unicode scalar value (integer), and pushes this integer.
.TP
\fBint.to.chr$\fR
Pops the top (integer) literal, interpreted as the Unicode scalar value of a single code point,
converts it to the corresponding single character multibyte string, and pushes this string.
.TP
\fBnum.names$\fR, \fBformat.name$\fR
The function is the same as original BibTeX but
an Ideographic/Fullwidth Comma (U+3001, U+FF0C) in addition to an " and " string is
accepted as a sepalator between persons and
Ideographic Space (U+3000) in addition to a space " " is accepted as a sepalator between a family name and a given name.
.TP
\fBsubstring$\fR, \fBtext.length$\fR, \fBtext.prefix$\fR
The function is the same as original BibTeX but the unit of operand numbers is Unicode code point.
.TP
\fBchange.case$\fR
The function is the same as original BibTeX but letters of
non-english Latin, Greek and Cyrillic are supported.
.TP
\fBwidth$\fR
The function is the same as original BibTeX but letters of Latin-1 and Latin Extended-A
and CJK characters are supported.
.TP
\fBis.cjk.str$\fR
Pops the top (string) literal, set flag bits to an integer if CJK characters are found in the string,
and pushes the resulting integer, otherwise pushes 0.
Flags 0x001, 0x002, 0x004, 0x008 and 0x800 are corresponding to Hanzi (Kanji, Hanja), Kana, Hangul,
Bopomofo and other CJK characters, respectively.
For example, an integer 0x003 will be pushed if Hanzi and Kana characters are found in a poped string literal.
.TP
\fBis.kanji.str$\fR
Same as \fBis.cjk.str$\fR for compatibility with (u)pBibTeX.
.SH SEE ALSO
More detailed description of
.B BibTeXu
is available at $TEXMFDIST/doc/bibtexu/README.
.SH AUTHORS
.B BibTeXu
was written by Yannis Haralambous and his students.
It is maintained as part of TeX Live.
.PP
This manpage was written for TeX Live.
|