Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

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

fix: guard lstset in cards sty so it only runs when listings is loaded

Without the guard, lstset config renders as visible text on the title
page of cards PDFs that don't use code listings.

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

+13 -10
+13 -10
papers/ac-paper-cards.sty
··· 213 213 214 214 % === LISTINGS OVERFLOW PREVENTION === 215 215 % Force line breaking in code listings on narrow cards. 216 + % Only applies when the paper actually loads the listings package. 216 217 \AtBeginDocument{% 217 - \lstset{ 218 - breaklines=true, 219 - breakatwhitespace=false, 220 - breakautoindent=true, 221 - postbreak=\mbox{\textcolor{acgray}{$\hookrightarrow$}\space}, 222 - basicstyle=\ttfamily\footnotesize, 223 - columns=fullflexible, 224 - xleftmargin=0.3em, 225 - xrightmargin=0.3em, 226 - }% 218 + \@ifpackageloaded{listings}{% 219 + \lstset{ 220 + breaklines=true, 221 + breakatwhitespace=false, 222 + breakautoindent=true, 223 + postbreak=\mbox{\textcolor{acgray}{$\hookrightarrow$}\space}, 224 + basicstyle=\ttfamily\footnotesize, 225 + columns=fullflexible, 226 + xleftmargin=0.3em, 227 + xrightmargin=0.3em, 228 + }% 229 + }{}% 227 230 } 228 231 229 232 % === TABLE OVERFLOW PREVENTION ===
system/public/papers.aesthetic.computer/potter-and-prompt-26-arxiv-cards.pdf

This is a binary file and will not be displayed.