home
·
contact
·
privacy
projects
/
redo-blog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tests.
[redo-blog]
/
processor
/
metadata
/
default.intermediate.do
diff --git
a/processor/metadata/default.intermediate.do
b/processor/metadata/default.intermediate.do
index e6addeae5d18512aee7bed156b7feea0aeda5888..a09d4b2e5022c884a2fe61832d205940582501fa 100644
(file)
--- a/
processor/metadata/default.intermediate.do
+++ b/
processor/metadata/default.intermediate.do
@@
-1,6
+1,6
@@
#!/bin/sh
#!/bin/sh
-template=intermediate.tmpl
+template=intermediate.
pandoc_
tmpl
uuidfile="${1%.intermediate}.uuid"
redo-ifchange "$uuidfile"
redo-ifchange "$template"
uuidfile="${1%.intermediate}.uuid"
redo-ifchange "$uuidfile"
redo-ifchange "$template"
@@
-8,8
+8,8
@@
mdfile="../${1%.intermediate}.md"
rstfile="../${1%.intermediate}.rst"
if [ -f "$rstfile" ]; then
redo-ifchange "$rstfile"
rstfile="../${1%.intermediate}.rst"
if [ -f "$rstfile" ]; then
redo-ifchange "$rstfile"
- pandoc -f rst --template="$template" --mathml -t html5 "$rstfile" > "$3"
+ pandoc -f rst --template="$template" --mathml -t html5 "$rstfile"
--base-header-level=2
> "$3"
elif [ -f "$mdfile" ]; then
redo-ifchange "$mdfile"
elif [ -f "$mdfile" ]; then
redo-ifchange "$mdfile"
- pandoc -f markdown --template="$template" --mathml -t html5 "$mdfile" > "$3"
+ pandoc -f markdown --template="$template" --mathml -t html5 "$mdfile"
--base-header-level=2
> "$3"
fi
fi