From 99f65c8bdd73008c217f78af253bfe855b6eae67 Mon Sep 17 00:00:00 2001
From: Gustav Eek <gustav.eek@fripost.org>
Date: Sat, 4 Nov 2023 20:42:27 +0100
Subject: Template. Move aspects between package and template

Some stuff such as page geometry are moved from the Fripost package to
the Pandoc temmplate.
---
 pandoc/fripost-minutes.latex | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

(limited to 'pandoc/fripost-minutes.latex')

diff --git a/pandoc/fripost-minutes.latex b/pandoc/fripost-minutes.latex
index 4953c8e..14767be 100644
--- a/pandoc/fripost-minutes.latex
+++ b/pandoc/fripost-minutes.latex
@@ -4,11 +4,9 @@
 $if(linestretch)$
 \usepackage{setspace}
 $endif$
-  \usepackage[T1]{fontenc}
-  \usepackage[utf8]{inputenc}
-  \usepackage{textcomp} % provide euro and other symbols
-
-\usepackage[minutes]{fripost}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{textcomp} % provide euro and other symbols
 
 %% Support for zero-width non-joiner characters.
 \makeatletter
@@ -144,18 +142,21 @@ $endfor$
 \def\languageshorthands#1{}
 $endif$
 
+% Fripost specific options
+
+\usepackage{a4wide}
+\usepackage[minutes]{fripost}
+
 $for(header-includes)$
 $header-includes$
 $endfor$
 
 $if(dir)$
-\ifPDFTeX
-  \TeXXeTstate=1
-  \newcommand{\RL}[1]{\beginR #1\endR}
-  \newcommand{\LR}[1]{\beginL #1\endL}
-  \newenvironment{RTL}{\beginR}{\endR}
-  \newenvironment{LTR}{\beginL}{\endL}
-\fi
+\TeXXeTstate=1
+\newcommand{\RL}[1]{\beginR #1\endR}
+\newcommand{\LR}[1]{\beginL #1\endL}
+\newenvironment{RTL}{\beginR}{\endR}
+\newenvironment{LTR}{\beginL}{\endL}
 $endif$
 
 $if(biblatex)$
@@ -185,11 +186,10 @@ $endif$
 \author{$for(author)$$author$$sep$ \and $endfor$}
 \date{$date$}
 
-
 \begin{document}
 $if(title)$
 \maketitle
-\thispagestyle{fancy}
+\thispagestyle{fancy} % Fripost enforced
 $if(abstract)$
 \begin{abstract}
 $abstract$
@@ -202,7 +202,6 @@ $include-before$
 
 $endfor$
 
-
 $if(toc)$
   $if(toc-title)$
     \renewcommand*\contentsname{$toc-title$}
-- 
cgit v1.2.3

