Skip to content
Snippets Groups Projects

Full rebase of Marco's changes

Open Simon Schuster requested to merge marcos-full-changes-rebased into master
1 file
+ 26
3
Compare changes
  • Side-by-side
  • Inline
+ 26
3
@@ -549,6 +549,25 @@
\RequirePackage[chapter, newfloat]{minted}
}
% Allow linebreaks in inline listings: https://github.com/gpoore/minted/issues/31
\renewcommand{\minted@inputpyg}{%
\expandafter\let\expandafter\minted@PYGstyle%
\csname PYG\minted@get@opt{style}{default}\endcsname
\VerbatimPygments{\PYG}{\minted@PYGstyle}%
\ifthenelse{\boolean{minted@isinline}}%
{\ifthenelse{\equal{\minted@get@opt{breaklines}{false}}{true}}%
{\let\FV@BeginVBox\relax
\let\FV@EndVBox\relax
\def\FV@BProcessLine##1{%
\FancyVerbFormatLine{%
\FV@BreakByTokenAnywhereHook
\FancyVerbFormatText{\FancyVerbBreakStart##1\FancyVerbBreakStop}}}%
\minted@inputpyg@inline}%
{\minted@inputpyg@inline}}%
{\minted@inputpyg@block}%
}
\captionsetup[listing]{aboveskip=0pt}
\setminted{
@@ -577,9 +596,7 @@
% Provides \asminline[options]/code/ and \asminline[options]{code}
% for GNU Assembler in AT&T syntax
\newmintinline[asminline]{gas}{
breakafter = /\,\\-,
}
\newmintinline[asminline]{gas}{}
% I4 Cover Page (uses csquotes, should be loaded after minted, which loads lineno, which wants to be loaded after csquotes)
\RequirePackage{i4coverpage}
@@ -587,6 +604,12 @@
% Provides \bashinline[options]/code/ and \asminline[options]{code}
\newmintinline[bashinline]{bash}{}
\newmintinline[breakableinlinebash]{bash}{
breaklines = true,
breakafter=/,
breakaftersymbolpre=,
}
\ifthenelse{\boolean{germanthesis}}{
\newcommand{\listoflistingscaption}{Quellcodeverzeichnis}
}{
Loading