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: texmf-dist-langcjk-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
- 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