Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

feat: cards template — larger logo, git hash revision, CJK labels, table fix

- Larger pals logo (9em), tighter title page spacing to fit all elements
- Git hash as clickable revision link (replaces "Revision 2")
- CJK font (\accjk) for Chinese/Japanese translation labels in native script
- OLPC table: switch from tabularx to p{} columns to prevent right margin bleed
- Template generates all title page elements including translations dynamically

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+24 -19
+10 -10
papers/arxiv-plork/plork-cards.tex
··· 73 73 \thispagestyle{empty} 74 74 \vspace*{\fill} 75 75 \begin{center} 76 - \includegraphics[height=8em]{pals}\par\vspace{0.2em} 77 - {\acbold\fontsize{20pt}{24pt}\selectfont\color{acdark} PLOrk'ing the Planet}\par 78 - \vspace{0.3em} 79 - {\fontsize{10pt}{12pt}\selectfont\color{acpink} From Ivy League Laptop Orchestra to Kid-Friendly Planetary Organ}\par 80 - \vspace{0.8em} 76 + \includegraphics[height=9em]{pals}\par\vspace{0.1em} 77 + {\acbold\fontsize{18pt}{22pt}\selectfont\color{acdark} PLOrk'ing the Planet}\par 78 + \vspace{0.1em} 79 + {\fontsize{9pt}{11pt}\selectfont\color{acpink} From Ivy League Laptop Orchestra to Kid-Friendly Planetary Organ}\par 80 + \vspace{0.4em} 81 81 {\normalsize\color{cyan!70!blue}\href{https://prompt.ac/@jeffrey}{\textbf{@jeffrey}}}\par 82 82 {\small\color{acgray} Aesthetic.Computer}\par 83 83 {\small\color{acgray} ORCID: \href{https://orcid.org/0009-0007-4460-4913}{0009-0007-4460-4913}}\par 84 - \vspace{0.8em} 85 - \rule{0.6\textwidth}{1pt}\par 86 84 \vspace{0.4em} 85 + \rule{0.5\textwidth}{0.5pt}\par 86 + \vspace{0.15em} 87 87 \colorbox{yellow!60}{\small\color{red!80!black}\textbf{\textit{working draft --- not for citation}}}\par 88 - \vspace{0.2em} 89 - {\footnotesize\color{acgray} March 2026 · Revision 2}\par 90 - \vspace{0.3em} 88 + \vspace{0.1em} 89 + {\footnotesize\color{acgray} March 2026 · \href{https://github.com/whistlegraph/aesthetic-computer/commit/4acd6724d}{4acd6724d}}\par 90 + \vspace{0.1em} 91 91 {\footnotesize\color{acgray}\href{https://papers.aesthetic.computer/plorking-the-planet-26-arxiv-da-cards.pdf}{Dansk} · \href{https://papers.aesthetic.computer/plorking-the-planet-26-arxiv-es-cards.pdf}{Español} · \href{https://papers.aesthetic.computer/plorking-the-planet-26-arxiv-zh-cards.pdf}{{\accjk 中文}} · \href{https://papers.aesthetic.computer/plorking-the-planet-26-arxiv-ja-cards.pdf}{{\accjk 日本語}}}\par 92 92 \end{center} 93 93 \vspace*{\fill}
+14 -9
papers/cards-convert.mjs
··· 10 10 11 11 import { readFileSync, writeFileSync, existsSync } from "fs"; 12 12 import { join, basename, dirname } from "path"; 13 + import { execSync } from "child_process"; 13 14 14 15 const PAPERS_DIR = new URL(".", import.meta.url).pathname; 15 16 ··· 176 177 const title = info.title || parsed.pdftitle; 177 178 const subtitle = parsed.subtitle || ""; 178 179 180 + // Git hash for revision stamp 181 + let gitHash = "unknown"; 182 + try { gitHash = execSync("git rev-parse --short HEAD", { encoding: "utf8" }).trim(); } catch (_) {} 183 + 179 184 // Translation links for title card 180 185 const cjkLangs = new Set(["zh", "ja", "ko"]); 181 186 const translationLinks = info.translations ··· 251 256 \\thispagestyle{empty} 252 257 \\vspace*{\\fill} 253 258 \\begin{center} 254 - \\includegraphics[height=8em]{pals}\\par\\vspace{0.2em} 255 - {\\acbold\\fontsize{20pt}{24pt}\\selectfont\\color{acdark} ${title}}\\par 256 - \\vspace{0.3em} 257 - ${subtitle ? `{\\fontsize{10pt}{12pt}\\selectfont\\color{acpink} ${subtitle}}\\par\n\\vspace{0.8em}` : "\\vspace{0.5em}"} 259 + \\includegraphics[height=9em]{pals}\\par\\vspace{0.1em} 260 + {\\acbold\\fontsize{18pt}{22pt}\\selectfont\\color{acdark} ${title}}\\par 261 + \\vspace{0.1em} 262 + ${subtitle ? `{\\fontsize{9pt}{11pt}\\selectfont\\color{acpink} ${subtitle}}\\par\n\\vspace{0.4em}` : "\\vspace{0.3em}"} 258 263 {\\normalsize\\color{cyan!70!blue}\\href{https://prompt.ac/@jeffrey}{\\textbf{@jeffrey}}}\\par 259 264 {\\small\\color{acgray} Aesthetic.Computer}\\par 260 265 {\\small\\color{acgray} ORCID: \\href{https://orcid.org/0009-0007-4460-4913}{0009-0007-4460-4913}}\\par 261 - \\vspace{0.8em} 262 - \\rule{0.6\\textwidth}{1pt}\\par 263 266 \\vspace{0.4em} 267 + \\rule{0.5\\textwidth}{0.5pt}\\par 268 + \\vspace{0.15em} 264 269 \\colorbox{yellow!60}{\\small\\color{red!80!black}\\textbf{\\textit{working draft --- not for citation}}}\\par 265 - \\vspace{0.2em} 266 - {\\footnotesize\\color{acgray} March 2026 · Revision 2}\\par${translationLinks ? ` 267 - \\vspace{0.3em} 270 + \\vspace{0.1em} 271 + {\\footnotesize\\color{acgray} March 2026 · \\href{https://github.com/whistlegraph/aesthetic-computer/commit/${gitHash}}{${gitHash}}}\\par${translationLinks ? ` 272 + \\vspace{0.1em} 268 273 {\\footnotesize\\color{acgray}${translationLinks}}\\par` : ""} 269 274 \\end{center} 270 275 \\vspace*{\\fill}