Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Dominik Becker
LaTex Boilerplate
Commits
ba8dcd81
Commit
ba8dcd81
authored
Feb 14, 2021
by
Dominik Becker
Browse files
#50
added Lua filter for german quoation marks with to babel / csquotes
parent
27741c3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
build.sh
build.sh
+1
-1
templates/germanquotes.lua
templates/germanquotes.lua
+6
-0
No files found.
build.sh
View file @
ba8dcd81
...
...
@@ -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
...
...
templates/germanquotes.lua
0 → 100644
View file @
ba8dcd81
-- 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment