CEFSCONV(1)

πŸ“¦
version 60833 Β· 2 versions
  • 60833 Β· alpine 3.24, arch rolling, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 4.8.4+git20170127 Β· ubuntu jammy
, in alpine 3.24, arch rolling, debian bookworm, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 🌸


πŸ‘‘ 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 πŸ’…πŸ’–