Commit ba8dcd81 authored by Dominik Becker's avatar Dominik Becker
Browse files

#50 added Lua filter for german quoation marks with to babel / csquotes

parent 27741c3a
......@@ -12,7 +12,7 @@ fi
if [ $1 == "pandoc" ]
then
cat chapter/*.md > chapter/out.md
pandoc --citeproc --filter pandoc-crossref \
pandoc --lua-filter templates/germanquotes.lua --citeproc --filter pandoc-crossref \
-M cref=true --top-level-division=chapter \
--bibliography library/library.bib --biblatex \
-o chapter/out.tex chapter/out.md
......
-- see https://github.com/jgm/pandoc/issues/5470#issuecomment-489158514
function Quoted(el)
if el.quotetype == 'DoubleQuote' then
return {pandoc.Str("„"), pandoc.Span(el.content), pandoc.Str("“")}
end
end
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment