From b7a79951c52929f393c994ac9ab64ca7864b7f97 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Wed, 21 May 2025 16:11:11 +0200 Subject: [PATCH] adjust LaTeX notes --- writing/tex/calendar.md | 12 ++++++++++++ writing/{latex_setup.md => tex/tex_packages.md} | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 writing/tex/calendar.md rename writing/{latex_setup.md => tex/tex_packages.md} (92%) diff --git a/writing/tex/calendar.md b/writing/tex/calendar.md new file mode 100644 index 0000000..08e55e4 --- /dev/null +++ b/writing/tex/calendar.md @@ -0,0 +1,12 @@ +--- +title: "Calendar" +tags: [ "writing", "tex", "fun" ] +requires: [ "LaTeX Packages" ] +--- + +```sh +yplan $(date +%Y) > ${file}.tex +pdflatex -output-directory=/tmp/ ${file}.tex +mv /tmp/${file}.pdf . +``` + diff --git a/writing/latex_setup.md b/writing/tex/tex_packages.md similarity index 92% rename from writing/latex_setup.md rename to writing/tex/tex_packages.md index fe7cd42..d7d42cc 100644 --- a/writing/latex_setup.md +++ b/writing/tex/tex_packages.md @@ -1,5 +1,5 @@ --- -title: "LaTeX Setup the Hard Way" +title: "LaTeX Packages" tags: [ "writing" ] --- @@ -21,7 +21,7 @@ ls /opt/texlive/${YEAR}/texmf-dist/scripts/texlive/tlmgr.pl ``` Double-check the year. -It should *not* match the real year, it should match the `texlive`. +It should *not* match the current year, it should match the `texlive`. ## Problems along the Path