Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tissue Research JKU
Tissue Research Doc
Commits
a5369499
Commit
a5369499
authored
Dec 03, 2021
by
Sabina Köfler
Browse files
Closes
#6
parent
fbd2a592
Pipeline
#1126
passed with stage
in 2 minutes and 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
quick-start-guides/convert_to_pdf.sh
View file @
a5369499
...
...
@@ -8,7 +8,6 @@ replace_whitespaces() {
}
# Create array to store all md files for later
# readarray -d '' array < <(find . -iname "*.md" -o -iname "*.mdown" -o -iname "*.markdown")
create_filearray
()
{
mapfile
-d
$'
\0
'
files < <
(
find
.
-iname
"*.md"
-print0
)
}
...
...
@@ -119,7 +118,7 @@ find ./$pdf_dir -iname "*.md" | while read -r file; do
else
echo
-e
"File
$file
not the same as
$pdf_path
."
fi
echo
-e
"Continuing with new file creation
\n
"
echo
-e
"
\n
Continuing with new file creation
\n
"
pandoc
-s
--toc
--template
=
my.latex
-f
gfm
"
$file
"
--pdf-engine
=
$option
-o
"
$pdf_path
"
# could add --variable font-family:sans-serif $variable
echo
-e
"File created
\n
"
done
...
...
Write
Preview
Supports
Markdown
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