update template
This commit is contained in:
@@ -54,10 +54,20 @@ sed -i "$TEMP_MD_FILE" \
|
||||
-e 's|^#||' \
|
||||
-e 's|^# |\\newpage\n# |' \
|
||||
-e 's|\[\([^]]*\)\](#\([^)]*\))|[\1](#\L\2)|' \
|
||||
-e 's|https://live.kladjes.nl/uploads|../../latex/images|'
|
||||
-e 's|https://live.kladjes.nl/uploads|../../latex/images|' \
|
||||
-e 's|```mermaid|```{.mermaid loc=img}|'
|
||||
|
||||
# -e 's|```\([^ \t]\)=|```\1 {linenumbers}|'
|
||||
|
||||
cd "$BUILD_DIR"
|
||||
pandoc --lua-filter=../../converters/include-files.lua --to=latex --from=markdown+abbreviations --template "${BASE_DIR}/converters/template.latex" -o "$TEX_FILE" "$(basename "$TEMP_MD_FILE")"
|
||||
pandoc --lua-filter=../../converters/include-files.lua \
|
||||
--to=latex \
|
||||
--from=markdown+abbreviations \
|
||||
--template "${BASE_DIR}/converters/template.latex" \
|
||||
-o "$TEX_FILE" \
|
||||
-F /home/laila/.local/share/npm/bin/mermaid-filter \
|
||||
--dpi 300 \
|
||||
"$(basename "$TEMP_MD_FILE")"
|
||||
cd "$BASE_DIR"
|
||||
|
||||
# for line in $(grep '^!\[.*\](.*\.md)$' "$TEMP_MD_FILE" | sed 's/ /%20;/g')
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
|
||||
% for images
|
||||
\usepackage{graphbox}
|
||||
\usepackage{sectsty}
|
||||
\sectionfont{\clearpage}
|
||||
|
||||
\setkeys{Gin}{width=.9\linewidth}
|
||||
|
||||
% add bookmarks with \hypertarget
|
||||
\usepackage{bookmark}
|
||||
@@ -60,6 +64,9 @@
|
||||
\let\tmpenditem\enditemize
|
||||
\renewenvironment{itemize}{\tmpitem\setlength\itemsep{-.4em}}{\tmpenditem}
|
||||
|
||||
$highlighting-macros$
|
||||
%\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
|
||||
|
||||
\begin{document}
|
||||
\raggedright
|
||||
\pagecolor{darkishyellow}
|
||||
@@ -78,7 +85,7 @@
|
||||
\large
|
||||
\lineskip .75em
|
||||
\begin{tabular}{r l}
|
||||
gemaakt door: $for(auther)$& $auther$ \\
|
||||
gemaakt door: $for(auther)$& $auther.name$ <$auther.email$> \\
|
||||
$endfor$\\
|
||||
vak code: & ELEPEE51 \\\\
|
||||
ge\"exporteerd op: & \today
|
||||
@@ -92,7 +99,7 @@
|
||||
\fancyhead[LO]{\color{gray}\fontUbuntu ?title?}
|
||||
\fancyhead[RO]{\color{gray}\fontUbuntu Superlight Personal Carrier}
|
||||
\fancyfoot{} % clear all footer fields
|
||||
\fancyfoot[LO]{\color{gray}\fontUbuntu $auther_short$}
|
||||
\fancyfoot[LO]{\color{gray}\fontUbuntu $for(auther)$$auther.name_short$${sep}, $endfor$}
|
||||
\fancyfoot[CO]{\color{gray}\fontUbuntu }
|
||||
\fancyfoot[RO]{\color{gray}\fontUbuntu \thepage}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user