Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Fachrat Informatik
pter
Commits
4749d026
Commit
4749d026
authored
Nov 28, 2015
by
Gerion Entrup
Browse files
add fsr stuff and slightly improve makepdf.sh
parent
f3919abf
Changes
2
Hide whitespace changes
Inline
Side-by-side
makepdf.sh
View file @
4749d026
#!/bin/sh
if
[
$#
-lt
1
]
;
then
echo
"USAGE: ./makepdf.sh protokoll.md"
echo
"USAGE: ./makepdf.sh
[--fsr]
protokoll.
{
md
|txt|...}
"
exit
1
fi
pandoc
$1
--template
=
"pandoc.finf.latex"
-o
${
1
/md
}
pdf
if
[
"
$1
"
==
"--fsr"
]
;
then
F
=
"fsr"
else
F
=
"finf"
fi
pandoc
"
$1
"
--template
=
"pandoc.
${
F
}
.latex"
-o
"
${
1
/
${
1
##*.
}}
"
pdf
pandoc.fsr.latex
0 → 100644
View file @
4749d026
\documentclass
[halfparskip, 10pt, a4paper, DIV17, smallheadings]
{
scrartcl
}
\usepackage
[utf8]
{
inputenc
}
\usepackage
[T1]
{
fontenc
}
\usepackage
[automark]
{
scrpage2
}
\usepackage
{
lmodern
}
\usepackage
{
xspace
}
\usepackage
{
hyperref
}
\usepackage
{
ngerman
}
\usepackage
{
eurosym
}
\usepackage
{
graphicx
}
\usepackage
{
titlesec
}
%\setcounter{secnumdepth}{0}% % Turns off numbering for sections
\titleformat
{
\section
}{
\bfseries
}{}{
0em
}{}
\titleformat
{
\subsection
}{
\bfseries
}{
TOP
\arabic
{
subsection
}
:
}{
0em
}{}
\titleformat
{
\subsubsection
}{
\bfseries
}{}{
0em
}{}
\DeclareUnicodeCharacter
{
20AC
}{
\euro
}
\newcommand
{
\TOP
}
[2]
{
\subsection*
{
TOP #1: #2
}
}
\newcommand
{
\subTOP
}
[1]
{
\subsubsection*
{
#1
}
}
% remove pandoc tightlist shit
\def\tightlist
{}
\hypersetup
{
pdfauthor=
{$
protokollant
$}
,
pdftitle=
{
Protokoll der Fachschatsratsitzung Elekrotechnik und Informatik vom
$
datum
$}
,
pdfsubject=
{
Studium der Informatik, Elektrotechnik und Mechatronik
}
,
pdfkeywords=
{
Informatik, Elektrotechnik, Mechatronik, Fachrat, Fachschaft, Hannover
}
,
bookmarks=true,
colorlinks=true,
urlcolor=black,
hyperindex=true
}
\parindent
0mm
\begin{document}
\clearscrheadfoot
\pagestyle
{
scrheadings
}
\begin{footnotesize}
\begin{minipage}
{
.49
\linewidth
}
Fachschaftsrat Elektrotechnik und Informatik,
\,
Leibniz Universität Hannover
\\
Appelstraße 9a
\(
\bullet
\)
30167 Hannnover
\end{minipage}
\begin{minipage}
{
.50
\linewidth
}
\begin{flushright}
E-Mail:
\href
{
mailto:fr@finf-hannover.de
}{
fr@finf.uni-hannover.de
}
\\
\href
{
mailto:fsr@fet.uni-hannover.de
}{
fsr@fet.uni-hannover.de
}
\\
\href
{
mailto:MAIL-FMEC@listserv.uni-hannover.de
}{
MAIL-FMEC@listserv.uni-hannover.de
}
\end{flushright}
\end{minipage}
\end{footnotesize}
\setfootsepline
{
.4pt
}
\cfoot
{
Fachschaftsrat Elektotechnik und Informatik, LUH
\hfill
\pagemark
\hfill
Fachschaftsratsitzung vom
$
datum
$}
\bigskip
\section*
{
Protokoll der Fachschaftsratsitzung Elektrotechnik und Informatik vom
$
datum
$}
$
body
$
\bigskip
\bigskip
Protokoll:
$
protokollant
$
\end{document}
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