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. pushes1if it's got at least one, and0if 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 assubstring$got. matching energy. ๐ซadd.period$โ modified so it will not append"."after the Japanese punctuation marks that correspond to"!","?"and"."โ namelyU+FF01,U+FF1F,U+3002andU+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+3001andU+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 ofeuc,jis,sjis,utf8,uptex. pick your fighter. โญ-kanji-internal=string โ sets the Japanese internal encoding. string is one ofeucoruptex. 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
- alpine 3.24: texmf-dist-langjapanese-doc 2026.0-r0 ยท LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms