Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

English Version #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions epub/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/.texpadtmp/
Spieleabend.psd
manual.pdf
manual_compressed.pdf
faltblatt.pdf
PoSo/
*.aux
*.log
*.out
*.toc
manual.fdb_latexmk
manual.fls
alt
manual.synctex.gz
.DS_Store
kopimi.htaccess
awesomebox.sty
comment.cut
manual.epub
.~lock.translation.rtf#
2 changes: 2 additions & 0 deletions epub/.latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$pdf_mode = 4; # LuaLaTeX
@default_files = ('manual.tex');
Binary file added epub/img/Vorne.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/alle_studienablaufplaene.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/ascii.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/begruessung1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/campusplan_highlighted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions epub/img/countdown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/f1_neu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/filmwerbung.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
126 changes: 126 additions & 0 deletions epub/img/fsr_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/nikolauspruefung.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/output.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/panorama_fakultaet1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/panorama_teich1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/sbalzarini.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/slub-lesesaal.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/estimating_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/exploits_of_a_mom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/grownups.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/password_strength.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/vomiting_emoji.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added epub/img/xkcd/zealous_autoconfig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions epub/latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$pdf_mode = 1;
$pdflatex = 'lualatex';
5 changes: 5 additions & 0 deletions epub/makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
default:; pandoc manual.tex \
--toc --pdf-engine=lualatex \
--metadata-file=meta.yaml \
--epub-cover-image=img/Vorne.jpg \
-o manual.epub
59 changes: 59 additions & 0 deletions epub/manual.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
\documentclass[10pt]{scrreprt}

% quick TOC setup
\KOMAoption{toc}{chapterentrydotfill}
% don't use parskip package, set parskip=full instead
\KOMAoption{parskip}{half}

\usepackage[twoside
,papersize={148mm, 210mm}
,layoutsize={148mm, 210mm}
,top=1.5cm
,bottom=2cm
,footskip=1cm
,textwidth=12cm
,verbose
]{geometry}

\input{preamble.tex}

% we need this dummy counter to make a label at the spieleabendplakat
\newcounter{dummy}

\newcounter{linkcounter}
\newcommand\linklist{}
\renewcommand{\minisec}[1]{\subsection*{#1}}
\makeatletter
\def\@breaklinklistat{22}
\def\@breaklinklistandat{54}

\makeatother

\sloppy % forces "ugly" line breaks

\pagestyle{plain}

\def\link#1{\url{#1}}

\begin{document}

\tableofcontents

%\textit{\foreignlanguage{english}{\enquote{Any inaccuracies in this index may be explained by the fact that it has been sorted with the help of a computer.}}}\\
%\mbox{}\hfill --- Donald Knuth

\include{texte/zeitplan}
\include{texte/vorwort}
\include{texte/grusswort}
\include{texte/faq}
\include{texte/checkliste}
\include{texte/f1help}
\include{texte/fakultaet}
\include{texte/campus}
\include{texte/veranstaltungen}
\include{texte/studienalltag}
\include{texte/moduluebersicht}
\include{texte/werbung}
\include{texte/campusplan}

\end{document}
4 changes: 4 additions & 0 deletions epub/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: The Manual
author: Technische Universität Dresden, Fachschaftsrat
date: September 2022
lang: en-US
75 changes: 75 additions & 0 deletions epub/preamble.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
% \renewcommand*{\chapterheadstartvskip}{}

\usepackage[english]{babel}

\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{eso-pic}
\usepackage{caption}
\usepackage{wrapfig}
\usepackage{menukeys}
\usepackage{amssymb}
\usepackage{eurosym}
\usepackage{multicol}
\usepackage{lscape}
\usepackage{comment}
\setlength{\multicolsep}{0.5em}
\usepackage{adjustbox}
% fancy fone awesome boxes
\usepackage{awesomebox}

% mainly for linklist
\usepackage{longtable}
\usepackage{enumitem} % to easily remove itemize indent for the checklist

\usepackage{pdfpages}
\usepackage{fontspec}
\usepackage{microtype}
\usepackage[autostyle=true]{csquotes}

\PassOptionsToPackage{hyphens}{url}
\usepackage[colorlinks=false, pdfborder={0 0 0}]{hyperref}
\hypersetup{
pdfauthor={FSR Informatik der TU Dresden},
pdftitle={The Manual - ESE 2022},
breaklinks=true, colorlinks=false, pdfborder={0 0 0},
pdfencoding=unicode
}


% \definecolor{ese_bg_color}{rgb}{0.0, 0.20, 0.376} % the definitive color -- #003360 (2015?)
% \definecolor{ese_bg_color}{rgb}{0.0, 0.263, 0.486} % the definitive color -- #00437C (2016?)
% \definecolor{ese_bg_color}{rgb}{0.051, 0.373, 0.596} % the definitive color -- #0D5F98 (2017)
% \definecolor{ese_bg_color}{rgb}{0.796, 0.376, 0.251} % the definitive color -- #CB6040 (2018)
% \definecolor{ese_bg_color}{rgb}{0.0, 0.47, 0.3} % wip-ish color -- #01794C (2019)
% \definecolor{ese_bg_color}{RGB}{5,109,133} % final_really_final -- #056d85 (2020)
\definecolor{ese_bg_color}{RGB}{155,30,70} % complement -- #9B1E46 (2021)
\definecolor{ese_fg_color}{rgb}{1, 1, 1}

\definecolor{fancypageref_color}{RGB}{155,30,70} %

\definecolor{ifsrgray}{rgb}{0.6, 0.6, 0.6} % 153, 153, 153

% is toggled twice for moduluebersicht.tex
\changemenucolor{gray}{bg}{named}{ese_fg_color} %background of the menukeys
\changemenucolor{gray}{br}{named}{ese_bg_color} %border of the menukeys
\changemenucolor{gray}{txt}{named}{ese_bg_color} %text of the menukeys

\setmainfont[
Scale=0.90,
BoldFeatures={Scale=1.0}
]{Open Sans}

\setmonofont[
Scale = 1.09
]{Latin Modern Mono}

\setkomafont{chapter}{\color{ese_bg_color}\fontspec[BoldFont={* Bold}]{Open Sans}\huge\bfseries}
\setkomafont{minisec}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}\large\bfseries}
\setkomafont{paragraph}{\color{ifsrgray}\fontspec[BoldFont={* Bold}]{Open Sans}}
\setkomafont{pagenumber}{\color{ifsrgray}\fontspec{Open Sans}}

\addtokomafont{disposition}{\normalfont\fontspec{Open Sans}}
\defaultfontfeatures{Ligatures=TeX} % enable ligatures (e.g. --) for new fonts

\newcommand{\ascii}{{\texttt{ascii}}}
7 changes: 7 additions & 0 deletions epub/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# English version of "The Manual"

See makefile for how to generate the epub from tex sources with Pandoc.

The text files are translation of "../text" with some omissions. The
images are low resolution version to keep the total size of the epub smaller than 5mb.

Loading