BIBTEXU(1)

๐Ÿ“ฆ
version 66186 ยท 3 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

โœจ NAME โœจ

okay so this is BIBTEXU(1), the User Commands page, and the tool is bibtexu, aka UTF-8 Big BibTeX ๐Ÿ’–

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

bibtexu [options] aux-file

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay bestie, BibTeXu is the Unicode-compliant version of BibTeX ๐Ÿ˜ญโœจ It's largely based on Niel Kempson's BibTeX8, and it gives you way better UTF-8 support by integrating the ICU library. So no more needing the Codepage and Sort order ("CS") file ๐Ÿ™…โ€โ™€๏ธ Instead, sorting and case-changing are controlled with command-line options. iconic, honestly ๐Ÿ’…

๐Ÿฆ‹ OPTIONS ๐Ÿฆ‹

  • -?, --help โ€” shows some brief help text ๐Ÿ™ˆ
  • -d, --debug TYPE โ€” reports debugging info. TYPE is one or more of all, csf, io, mem, misc, search. ๐Ÿ”
  • -s, --statistics โ€” reports internal statistics ๐Ÿ“Š
  • -t, --trace โ€” reports execution tracing ๐Ÿ‘ฃ
  • -v, --version โ€” reports the BibTeX version ๐Ÿท๏ธ
  • -l, --language LANG โ€” uses language LANG to convert strings to lower case. This argument gets passed to the ICU library ๐ŸŒ
  • -o, --location LANG โ€” uses language LANG for sorting. This argument also gets passed to the ICU library ๐Ÿงš
  • -B, --big โ€” sets a large BibTeX capacity ๐Ÿ“
  • -H, --huge โ€” sets a huge BibTeX capacity ๐Ÿ”ฅ
  • -W, --wolfgang โ€” sets a really huge BibTeX capacity, made for Wolfgang ๐Ÿ‘‘
  • -M, --min_crossrefs ## โ€” sets min_crossrefs to ## ๐Ÿ’œ
  • --mstrings ## โ€” allows ## unique strings ๐Ÿซถ

๐ŸŒˆ UNICODE SUPPORT ๐ŸŒˆ

okay so BibTeXu has extended features for handling Unicode characters โœจ Several built-in functions in bibliography styles get a glow-up, and here's the tea:

  • & โ€” pops the top two (integer) literals and pushes their bitwise AND ๐Ÿงฎ
  • | โ€” pops the top two (integer) literals and pushes their bitwise OR ๐Ÿงฎ
  • add.period$ โ€” pops the top (string) literal and adds a . to it if the last non}' character isn't a ., ?, !`, or a Unicode punctuation mark. The mark can be U+203C, U+203D, U+2047, U+2048, U+2049, U+3002, U+FF01, U+FF0E or U+FF1F. Then it pushes the resulting string ๐Ÿ’…
  • chr.to.int$ โ€” pops the top (string) literal, makes sure it's a multibyte string of a single Unicode code point, converts it to the matching Unicode scalar value (integer), and pushes that integer ๐Ÿ”ข
  • int.to.chr$ โ€” pops the top (integer) literal, treats it as the Unicode scalar value of a single code point, converts it to the matching single-character multibyte string, and pushes that string ๐Ÿ”ค
  • num.names$, format.name$ โ€” same as original BibTeX, but an Ideographic/Fullwidth Comma (U+3001, U+FF0C) is accepted as a separator between persons on top of the " and " string. An Ideographic Space (U+3000) is also accepted between a family name and a given name, alongside the regular space " " ๐ŸŽ€
  • substring$, text.length$, text.prefix$ โ€” same as original BibTeX, but the unit of operand numbers is the Unicode code point ๐ŸŒธ
  • change.case$ โ€” same as original BibTeX, but letters from non-English Latin, Greek and Cyrillic are supported now ๐ŸŒ
  • width$ โ€” same as original BibTeX, but letters of Latin-1, Latin Extended-A and CJK characters are supported ๐Ÿ“
  • is.cjk.str$ โ€” pops the top (string) literal and sets flag bits in an integer if CJK characters show up in the string, then pushes that integer. Otherwise it pushes 0. Flags 0x001, 0x002, 0x004, 0x008 and 0x800 match Hanzi (Kanji, Hanja), Kana, Hangul, Bopomofo and other CJK characters, respectively. For example, the integer 0x003 gets pushed if Hanzi and Kana characters are found in a popped string literal ๐Ÿ‡ฏ๐Ÿ‡ต
  • is.kanji.str$ โ€” same as is.cjk.str$, just kept around for compatibility with (u)pBibTeX ๐Ÿซถ

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

more detailed description of BibTeXu lives at $TEXMFDIST/doc/bibtexu/README. go read it when you're feeling nerdy ๐Ÿค“

๐Ÿ’œ AUTHORS ๐Ÿ’œ

BibTeXu was written by Yannis Haralambous and his students. It's maintained as part of TeX Live ๐Ÿงš

this manpage was written for TeX Live ๐ŸŽ€


bye bestie ๐Ÿ’– you've been reading bibtexu 4.00, last updated 30 August 2022, and you literally just learned Unix like a pro โœจ๐Ÿซถ