New: pandoc-tex.sh and logging im lua filter
Some checks failed
Word Count / count-words (push) Has been cancelled
Some checks failed
Word Count / count-words (push) Has been cancelled
This commit is contained in:
@@ -564,6 +564,7 @@ local function code_to_figure (conf)
|
|||||||
-- Check if a converter exists for this block. If not, return the block
|
-- Check if a converter exists for this block. If not, return the block
|
||||||
-- unchanged.
|
-- unchanged.
|
||||||
local diagram_type = block.classes[1]
|
local diagram_type = block.classes[1]
|
||||||
|
print("Diagram type: ", diagram_type)
|
||||||
if not diagram_type then
|
if not diagram_type then
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|||||||
26
pandoc-tex.sh
Normal file
26
pandoc-tex.sh
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
pandoc \
|
||||||
|
00-praemble.md \
|
||||||
|
01-toc.md \
|
||||||
|
02-Allgemein.md \
|
||||||
|
03-Diplomarbeitsbuch-individueller-teil-Adam-Gaiswinkler.md \
|
||||||
|
04-Diplomarbeitsbuch-individueller-teil-Florian-Edlmayer.md \
|
||||||
|
05-Diplomarbeitsbuch-individueller-teil-Konstantin-Hintermayer.md \
|
||||||
|
97-tabellenverzeichnis.md \
|
||||||
|
98-abbildungsverzeichnis.md \
|
||||||
|
99-bibliographie.md \
|
||||||
|
--number-sections \
|
||||||
|
--lua-filter _extensions/diagram/diagram.lua \
|
||||||
|
--syntax-definition _extensions/razor/razor.xml \
|
||||||
|
--syntax-definition _extensions/nginx/nginx.xml \
|
||||||
|
--citeproc \
|
||||||
|
--bibliography sources.bib \
|
||||||
|
--csl _extensions/sources/tgm.csl \
|
||||||
|
--include-before-body 00_preamble.tex \
|
||||||
|
-H _extensions/header/header.tex \
|
||||||
|
-V geometry:"top=2.5cm, bottom=2cm, left=3cm, right=2cm, a4paper" \
|
||||||
|
-V toc-title="Inhaltsverzeichnis" \
|
||||||
|
-V classoption=twoside \
|
||||||
|
-V fontsize=12pt \
|
||||||
|
-V linestretch=1.5 \
|
||||||
|
-o diplomarbeitsbuch.tex
|
||||||
Reference in New Issue
Block a user