aboutsummaryrefslogtreecommitdiffstats
path: root/pandoc
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2023-11-04 20:42:27 +0100
committerGustav Eek <gustav.eek@fripost.org>2023-11-04 20:59:40 +0100
commit99f65c8bdd73008c217f78af253bfe855b6eae67 (patch)
treeae4f44415e42757040e1f94af443eae638e2f92b /pandoc
parente4e8168f27dd3889c59f110dbe18d6c913aba88a (diff)
Template. Move aspects between package and template
Some stuff such as page geometry are moved from the Fripost package to the Pandoc temmplate.
Diffstat (limited to 'pandoc')
-rw-r--r--pandoc/fripost-minutes.latex29
1 files changed, 14 insertions, 15 deletions
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$}