CEF5CONV(1)

πŸ“¦ version 2026.0, in alpine 3.24

πŸ’– CEF5CONV(1) β€” the vibe-y manual πŸ’–

cef5conv β€” converting a TeX document that's in Big 5 encoding and full of CEF macros into its preprocessed form. πŸŽ€


✨ SYNOPSIS ✨

cef5conv < infile > outfile

That's it bestie. In goes the file, out comes the file. 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so first, the lore. πŸ“–

The Chinese Encoding Framework (CEF for short, iykyk) was developed by Christian Wittern <cwittern@conline.central.de>, and what it does is make it possible to include CJK characters in various encodings using SGML macros. Specifically:

  • &CX-aabb; β€” for Big 5 and CNS encoding
  • &U-aabb; β€” for Unicode

And the X in there? It's a number between 0 and 7. So:

  • 0 = Big 5 encoding
  • 1–7 = CNS encoding planes 1–7

And aabb is either a decimal or hexadecimal number, so pick your fighter. πŸ’…


Now the main character moment: cef5conv takes the CEF macros of a Big 5 encoded document together with the Big5 encoding itself and converts the whole thing into a form that can directly be processed with LaTeX 2e. πŸ”₯

It is literally, exactly identical to running:

bg5conv < infile | cefconv > outfile

Same energy. Same result. No cap. ✨

This filter is part of the CJK macro package for LaTeX 2e, so it's out here doing its lil job for the team. 🫢


πŸ‘€ SEE ALSO πŸ‘€

Go read the docs bestie, they ate. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Werner Lemberg <wl@gnu.org> β€” iconic, legendary, we stan. πŸŽ€


CJK Version 4.8.5 β€” dated 16-Oct-2021. That's the version and the date, mwah, and that's the whole page. 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms