Toledot minus epilogue
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
for i in (fd '0.*' ~/sparkleup/zk/writing/post-self/toledot/)
|
||||
for i in (fd '0.*' ~/work/writing/post-self/toledot.post-self.ink/content/read/)
|
||||
set o (echo $i | sed -e 's/.\+toledot\///')
|
||||
set d (echo $o | sed -e 's/[0-9]\+.md//')
|
||||
set t (echo $o | sed -e 's/\.md/.tex/')
|
||||
@ -10,5 +10,5 @@ for i in (fd '0.*' ~/sparkleup/zk/writing/post-self/toledot/)
|
||||
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; \
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user