Marsh, Kaddish

This commit is contained in:
Madison Rye Progress
2025-08-01 13:16:11 -07:00
parent 04b714c163
commit f83b035faa
62 changed files with 1765 additions and 763 deletions

14
_template/fromzk.fish Executable file
View File

@ -0,0 +1,14 @@
for i in (fd '0.*' ~/sparkleup/zk/writing/post-self/motes/)
set o (echo $i | sed -e 's/.\+motes\///')
set d (echo $o | sed -e 's/[0-9b]\+.md//')
set t (echo $o | sed -e 's/\.md/.tex/')
echo "$o $d"
if not test -d src/$d
mkdir -p src/$d
end
if not test -d content/$d
mkdir -p content/$d
end
cp $i src/$o
pandoc -f markdown -t latex src/$o --wrap=none --top-level-division=chapter | sed -e 's/\\chapter/\\chapter*/' | sed -e 's/---/—/g' > content/$t; \
end