diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a70144f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "tools/markdown-pdf-generator"] + path = tools/markdown-pdf-generator + url = https://git.ured.se/victor/markdown-pdf-generator.git diff --git a/latex/policymall.tex b/latex/policymall.tex index 93baf5a..30a5952 100644 --- a/latex/policymall.tex +++ b/latex/policymall.tex @@ -10,7 +10,6 @@ \usepackage[utf8]{inputenc} \usepackage[swedish]{babel} % Svenska språkinställningar \usepackage{graphicx} % För att hantera bilder -\usepackage{svg} % För att kunna inkludera SVG-filer (kräver Inkscape) \usepackage{geometry} % För att ställa in marginaler och pappersstorlek \usepackage{fancyhdr} % För att anpassa sidhuvud och sidfot \usepackage{lastpage} % För att kunna referera till sista sidan ("Sida X av Y") @@ -49,10 +48,10 @@ %\fancyhead[L]{\includesvg[width=1.7cm, height=1.7cm]{logga}} %\lhead{\includesvg[width=1.7cm]{logga}} -% Logga på ALLA sidor \AddToShipoutPicture{% \AtPageLowerLeft{% - \put(20,790){\includesvg[width=1.7cm]{logga}} % Justera koordinater + % Vi byter till 'includegraphics' och använder vår absoluta sökväg + \put(20,790){\includegraphics[width=1.7cm]{latex/logga.pdf}} % Justera koordinater } } diff --git a/tools/markdown-pdf-generator b/tools/markdown-pdf-generator new file mode 160000 index 0000000..65e8827 --- /dev/null +++ b/tools/markdown-pdf-generator @@ -0,0 +1 @@ +Subproject commit 65e88274131ba6026b58aebce5e687c77a6b49ae