PBIBTEX(1)

๐ŸŒธ NAME ๐ŸŒธ

okay so bestie, let me introduce you to pbibtex and upbibtex โ€” they make a (Japanese) bibliography for (La)TeX. that's the whole vibe. ๐Ÿ’–


โœจ SYNOPSIS โœจ

pbibtex [options] auxname[.aux]

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

pBibTeX (pbibtex) is a modified version of bibtex(1) that's built for handling Japanese bibliographies. the way it sorts entries? by code points in EUC-JP. and it also brings new + modified built-in functions, which I'm about to spill below. ๐Ÿ’…

upBibTeX (upbibtex) is a modified version of pBibTeX, and it sorts entries by code points in Unicode instead. two icons, slightly different superpowers, no cap. ๐Ÿ‘‘

๐Ÿฆ‹ Extensions to bibliography style (bst) functions

one brand-new built-in function has entered the chat, and a few others got a glow-up to make Japanese handling less of a struggle. โœจ

  • is.kanji.str$ โ€” [New built-in] pops the top (string) literal and peeks to see if it contains any non-ASCII characters. pushes 1 if it's got at least one, and 0 if it doesn't. simple as that. ๐ŸŒˆ
  • substring$ โ€” got modified so it won't chop a character string right in the middle of a multibyte character. rude behavior, cancelled. ๐Ÿ™…โ€โ™€๏ธ
  • text.prefix$ โ€” same kind of modification as substring$ got. matching energy. ๐Ÿ’ซ
  • add.period$ โ€” modified so it will not append "." after the Japanese punctuation marks that correspond to "!", "?" and "." โ€” namely U+FF01, U+FF1F, U+3002 and U+FF0E. it knows better than to double up. ๐Ÿ˜Œ
  • format.name$ โ€” modified to accept the Japanese zenkaku ideographic space (U+3000) for names displayed in Japanese. it also got modified to recognize Japanese commas (U+3001 and U+FF0C) similar to how "and" works between names. multi-tasking queen. ๐Ÿ‘‘

๐Ÿ’… OPTIONS ๐Ÿ’…

first things first: check out tex(1) for the deets on command-line parsing, and bibtex(1) for the common options โ€” that's -min-crossrefs, -terse, -help, -version. ๐Ÿซถ

  • [-no]-guess-input-enc โ€” disables/enables guessing of the input file encoding. let it guess or don't, your call bestie. ๐Ÿ”ฎ
  • -kanji=string โ€” sets the Japanese encoding. string is one of euc, jis, sjis, utf8, uptex. pick your fighter. โญ
  • -kanji-internal=string โ€” sets the Japanese internal encoding. string is one of euc or uptex. only two options here, keep it cute. ๐ŸŽ€

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

BibTeX was written by Oren Patashnik at Stanford University. iconic origin story fr. ๐ŸŒŸ

the Japanese version of BibTeX was originally developed by Shouichi Matsui as JBibTeX until 1991. it was developed to behave consistently with NTT JTeX when handling legacy Japanese encodings. the old documentation files jbibtex.pdf, jbtxdoc.tex, jbtxhak.tex โ€” all available in TeX Live btw โ€” describe the Japanese handling capability and some additional notes of JBibTeX. ๐Ÿ“š

current (u)pBibTeX is a forked version of JBibTeX, and it replaced the encoding conversion routine with one that's compatible with the (u)pTeX community edition using the ptexenc library. so heads up: the descriptions of encodings in the old documentation files j*.pdf โ€” especially Section 3.3 of jbibtex.pdf, like BIBTERMCODE and BIBFILECODE โ€” are no longer correct. don't trust them, bestie, they're giving expired info. ๐Ÿ’€

this manual page was written by Hironobu Yamashita. ๐Ÿซถ

email bug reports to issue@texjp.org. tell them I sent you. ๐Ÿ’Œ


and that's the whole page, pookie โ€” brought to you by Web2C 2026, dated 12 January 2026. slay, go make some beautiful bibliographies. ๐Ÿ’–โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from