Improve setup and build process, don't require new line at the end of each md file
This commit is contained in:
parent
19bd7e1a5b
commit
0c92b469e6
2
build.sh
Normal file → Executable file
2
build.sh
Normal file → Executable file
|
@ -43,7 +43,7 @@ function run_pandoc {
|
|||
rm chapter/out.tex
|
||||
fi
|
||||
|
||||
cat chapter/*.md > chapter/out.md
|
||||
for f in chapter/*.md; do (cat "${f}"; echo) >> chapter/out.md; done
|
||||
pandoc --lua-filter templates/germanquotes.lua --citeproc --filter pandoc-crossref \
|
||||
-M cref=true --top-level-division=chapter \
|
||||
--bibliography library/library.bib --biblatex \
|
||||
|
|
1
setup.sh
1
setup.sh
|
@ -16,6 +16,7 @@ if [ $1 == "markdown" ]
|
|||
then
|
||||
#cp templates/markdown.gitlab-ci.yml ./.gitlab-ci.yml
|
||||
cp templates/markdown/.drone.yml ./.drone.yml
|
||||
mkdir -p .github/workflow
|
||||
cp templates/markdown/github-workflow.yml ./.github/workflows/latex.yml
|
||||
#cp templates/markdown/azure-pipelines.yml ./azure-pipelines.yml
|
||||
cp templates/markdown/tasks.json ./.vscode/tasks.json
|
||||
|
|
Loading…
Reference in New Issue
Block a user