Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

papers: add Japanese to cli.mjs LANGS so -ja .tex files build

The build pipeline had "en, da, es, zh" but no "ja" in LANGS, so
existing -ja translations (e.g., complex-ja.tex) were never compiled
even though the .tex source and references in cards point at -ja.pdf.
Add "ja" to LANGS and LANG_NAMES so the build picks up Japanese
sources alongside the others. Papers without a -ja.tex are still
filtered out via the texExists check, so this is safe to add globally.

+2 -2
+2 -2
papers/cli.mjs
··· 38 38 ); 39 39 const BUILDLOG = join(PAPERS_DIR, "BUILDLOG.md"); 40 40 const METADATA_PATH = join(PAPERS_DIR, "metadata.json"); 41 - const LANGS = ["en", "da", "es", "zh"]; 42 - const LANG_NAMES = { en: "English", da: "Danish", es: "Spanish", zh: "Chinese" }; 41 + const LANGS = ["en", "da", "es", "zh", "ja"]; 42 + const LANG_NAMES = { en: "English", da: "Danish", es: "Spanish", zh: "Chinese", ja: "Japanese" }; 43 43 44 44 function loadMetadata() { 45 45 if (!existsSync(METADATA_PATH)) return {};