% ===> this file was generated automatically by noweave --- better not edit it
\documentclass[fontsize=11pt, paper=a4, twoside, open=right, hidelinks]{scrbook} 

% For the used packages there is first a description what this package does
% Source: https://en.wikibooks.org/wiki/LaTeX/Package_Reference
% To choose the encoding of the input text. You might need it if you are
% writing documents in a language other than English. Check in the 
% Special Characters section. The source is UTF-8 encoded.
\usepackage[utf8]{inputenc} 

% It provides the internationalization of LaTeX. It has to be loaded in 
% any document, and you have to give as an option the main language you 
% are going to use in the document. For more information see the 
% Internationalization section.
\usepackage[english]{babel} 

% To choose the font encoding of the output text. You might need it if 
% you are writing documents in a language other than English. Check in 
% the Fonts section. It is also for the date format.
\usepackage[T1]{fontenc} \usepackage{lmodern} 

% To support T1 you need lmodern (Latin Modern) too
\usepackage{lwarp} 

% You need the following package to convert LaTex to HTML and as a result 
% for Epub 
\usepackage{microtype} 

% Microtype changes the spaces between the words and letters
% It must be behind <lwarp>
%\usepackage{amsmath}
% Packages to use math symbols
%\usepackage[olines,singlespacing=true]{scrlayer-scrpage}
%\automark[part]{part}
%\pagestyle{myheadings}
% Lets you change line spacing, e.g. provides the \doublespacing command 
% for making double spaced documents. For more information, see the 
% relevant section.
\usepackage[singlespacing=true]{scrlayer-scrpage} 

% Only the import is defined here. All other things are defined in the
% Title page.
\usepackage{scrhack} 

% To avoid messages about deprecated values for KOMA scripts
\usepackage[doublespacing]{setspace} \let\tempone\itemize \let\temptwo\enditemize \renewenvironment{itemize}{\tempone\addtolength{\itemsep}{-0.9\baselineskip}}{\temptwo} 

% die folgende Zeile wird benötigt, farbigen Text zu formatieren
\usepackage{color} 

% To insert programming code within the document. Many languages are 
% supported and the output can be customized. For more information, see 
% the Source Code Listings. 
\usepackage{listings} 

%\booltrue{FormatEPUB} % !
% die folgende Zeile wird für NoWeb benötigt
\usepackage{noweb} \noweboptions{smallcode,longchunks,shift} 

% To create QR-Coes within LaTeX
\usepackage{qrcode} 

% Allows you to insert graphic files within a document. 
\usepackage{graphicx} 

%Der Befehl figure wurde so umdefiniert, dass auch ohne float ein Bild 
%an der Stelle angezeigt wird, an der es eingefügt ist.
\makeatletter

\renewenvironment{figure}[1][]{ \par

\medskip

\begin{minipage}{\linewidth} \def\@captype{figure} }{ \end{minipage} \medskip

\par

} \makeatother

\makeatletter

\renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{3em}} \makeatother

%\usepackage{caption}
% Hyperref gives LaTeX the possibility to manage links within the document or 
% to any URL when you compile in PDF. For more information, see the 
% relevant section.
% Cleverref en­hances LaTeX's cross-ref­er­enc­ing fea­tures, al­low­ing the 
% for­mat of ref­er­ences to be de­ter­mined au­to­mat­i­cally ac­cord­ing to
% the type of ref­er­ence.  
\usepackage[lowtilde]{url} 

% For the bibliography with URL and UTF-8
\usepackage[sorting=none,backend=biber,backref=true]{biblatex} 

% Needed, so biblatex will use its language sensitive quotation
\usepackage{csquotes} 

% hyperref transforms citations into hyperlink. It have to load after biblatex
\usepackage[breaklinks=true]{hyperref} \addbibresource{Literatur.bib} 

% The showkeys package prints the internal keys of, among other things, 
% citations in the text and items in the bibliography. The package loading 
% order does not matter. It is displayed at the Start of a paragraph.
% This is not wanted
%\usepackage{showkeys}
%\newcommand{\comment}[1]{}
\newcommand{\urlWkp}[1]{$\rightarrow$ \url{http://en.wikipedia.org/wiki/#1}} \newcommand{\hrefWkp}[1]{\href{http://en.wikipedia.org/wiki/#1}{\tt\ \ldots /#1}} 

%Gibt einen kleine Zeilenabstand in Listen - itemize durch fouritemize ersetzen
\newenvironment{fouritemize}{\begin{itemize}\itemsep 2pt}{\end{itemize}} 

%Gibt -wenn nötig - einen kleineren Zeilenabstand in Beschreibungen
\newenvironment{nulldescription}{\begin{description}\itemsep 0pt}{\end{description}} 

% Verkleinert Zeilenabstand bei nummerierten Listen
\usepackage{enumitem} 

%\setlist[enumerate]{itemsep=-0mm}
\setlist{nosep} 

%zur Erstellung eines Stichwortverzeichnisses
\usepackage{makeidx} \makeindex

\textheight220mm{} 

%Setzt die Ebene der Gliederung für die Nummerierung
\setcounter{secnumdepth}{5} 

%Setzt die Ebenen für das Inhaltsverzeichnis
\setcounter{tocdepth}{4} \setcounter{FileDepth}{1} 

%\booltrue{combineHigherDepths}
%\setcounter{sideTOCDepth}{1}
% Literaturverzeichnis mit Nummerierung der Einträge
%\bibliographystyle{unsrt}
\bibliography{Literatur} \title{\texttt{Debian} packages with gbp} \author{Dipl.-Ing. Mechtilde Stehmann \and Dr. Michael Stehmann} \vspace{2cm} \date{\normalsize \today} 

% To deactivate ligatures of (-) and (>).
% and work for pdflatex'
% Thanks Marei for her nice ideas and her support
\makeatletter

\ExplSyntaxOn

\def\disableLig{ \do@noligs\- \do@noligs\> \do@noligs\< \do@noligs\' 

%%%%%\char_set_catcode_other:N \ 
} 

\AddToHook{cmd/endmoddef/after}{\disableLig} 

\let\orig@subpageref\subpageref \renewcommand{\subpageref}[1]{ \tl_set_rescan:Nnn \l_tmpa_tl {\char_set_catcode_other:N -} {#1} \exp_args:NV \orig@subpageref \l_tmpa_tl } 

%
\let\orig@pagenumsl\@pagenumsl \def\@pagenumsl#1{ \tl_set_rescan:Nnn \l_tmpa_tl {\char_set_catcode_other:N -} {#1} \exp_args:NV \orig@pagenumsl \l_tmpa_tl } \ExplSyntaxOff

\makeatother

\begin{document} 

\renewcommand{\figurename}{Figure} 

\input{GBP-Title} \include{GBP-Part1} \include{GBP-Part2} \include{GBP-Part3} \include{GBP-Part4} \include{GBP-Part5} \include{GBP-Part6} 

% bindet die Datei Titel.tex ein% bindet Part1 = 'Überblick' ein% bindet Part2 = 'Vorbereitung' ein% bindet Part3 = 'Debian-Paket bauen' ein% bindet Part4 = 'Veröffentlichen' ein% bindet Part5 = 'Weitere Bestandteile' ein% bindet Part6 = 'Plugins und Skripte' ein
\pagenumbering{Roman} \renewcommand\thepage{A--\roman{page}} \part{Anhang} \appendix

%\chapter*{Todos}
%\begin{itemize}
%\item{Funktionen debmake analysieren}
%\item{Beschreibung der regulären Ausdrücke im watch file}
%\item{Dokumente nach \textit{/usr/share/doc/} verschieben}
%\item{textsuite-autopkgtext-missing}
%\item{watch-does-not-check-gpg-signature}
%\item{auf \textit{Package is up to date for from} in der Uscan-Ausgabe}
%\end{itemize}
%\begin{verbatim}
%Typical git workflow
%git workflow is quite straightforward:
%fetch tarball
%git-import-orig <tarball> (updates upstream and pristine-tar branches)
%update changelog and other files
%do package improvements, remove patches applied upstream, etc.
%debcommit -a (does a local commit in the master branch)
%git-buildpackage (which uses cowbuilder in my setup)
%local testing
%dch -r
%git commit -a -m "Release ...."
%git-buildpackage --git-tag \
%--git-sign-tags (produces and tags the release for upload)
%dput <...>.changes
%git push --all (pushes all local changes to the repo at salsa.d.o)
%git push --tags (pushes the tags)
%\end{verbatim}
%Found this solution for the appendix in
% https://en.wikibooks.org/wiki/LaTeX/Document_Structure#The_document_environment
% Pinting 'List of figures'
\phantomsection

\addcontentsline{toc}{chapter}{Table of Figures} \listoffigures

\newpage

% Printing complete bibliography
% Filename = Literatur.bib
\renewcommand{\bibname}{Bibliography} \phantomsection

\addcontentsline{toc}{chapter}{Bibliography} \printbibliography

\newpage

\renewcommand{\indexname}{Index} 

\phantomsection

\addcontentsline{toc}{chapter}{Index} 

\printindex

% That is the end of the document
\end{document} \nwfilename 
