CEFSCONV(1)
π NAME π
cefsconv β the lil filter that takes a TeX document in SJIS encoding stuffed full of CEF macros and turns it into its βpreprocessedβ form. slay β¨
π SYNOPSIS π
cefsconv < infile > outfile
π¦ DESCRIPTION π¦
okay bestie, story time. The Chinese Encoding Framework (CEF for short, we love an acronym) was made by Christian Wittern <cwittern@conline.central.de> and what it does is let you drop CJK characters in alllll kinds of encodings into your doc using these SGML macros: &CX-aabb; for Big 5 and CNS encoding, and &U-aabb; for Unicode. π
so like, about that X β it's a number from 0 to 7, and here's the tea: 0 means Big 5 encoding, and 1-7 mean CNS encoding planes 1-7. and aabb? that's either a decimal or a hexadecimal number. your choice, main character. π
cefsconv takes the CEF macros in a SJIS encoded document together with the SJIS encoding itself and converts the whole thing into a form that can be directly processed with LaTeX 2e. iconic behavior fr fr.
and ngl, it's literally identical to running this:
sjisconv < infile | cefconv > outfile
same energy, just one command instead of two. π
oh and also? this filter is part of the CJK macro package for LaTeX 2e. so you know it's got good genes. π«Ά
πΈ SEE ALSO πΈ
sjisconv(1)bg5conv(1)cefconv(1)cef5conv(1)extconv(1)- the CJK documentation files
π AUTHOR π
Werner Lemberg <wl@gnu.org> β the actual legend behind this π
no cap, go read the friends listed above if you wanna fully understand the pipeline. iykyk. πβ¨
okay that's the whole page!! this was CJK Version 4.8.5, dated 16-Oct-2021 β and yes, cefsconv(1) is the manual we've been vibing in this whole time ππ¦ bye bestie, go convert something gorgeous π
π
π¦ where this page comes from
- alpine 3.24: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- debian bookworm: latex-cjk-chinese 4.8.5-1
- debian trixie: latex-cjk-chinese 4.8.5-1
- fedora 43: texlive-cjkutils 11:svn60833-93.fc43 Β· LPPL-1.3c
- fedora 43: texlive-cjkutils 11:svn60833-95.fc43.1 Β· LPPL-1.3c
- fedora 44: texlive-cjkutils 12:svn60833-105.fc44 Β· LPPL-1.3c
- fedora 44: texlive-cjkutils 12:svn60833-111.fc44 Β· LPPL-1.3c
- opensuse-leap 16.0: texlive-cjkutils-doc 2025.221.4.8.5svn60833-160000.3.1 Β· GPL-2.0-or-later
- ubuntu noble: latex-cjk-chinese 4.8.5-1
- ubuntu questing: latex-cjk-chinese 4.8.5-2
- ubuntu resolute: latex-cjk-chinese 4.8.5-2build1
- ubuntu stonking: latex-cjk-chinese 4.8.5-3
- Copyright (C) 1994-2021 Werner Lemberg <wl@gnu.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms