build
This commit is contained in:
@@ -33,9 +33,6 @@ jobs:
|
|||||||
entrypoint: sh
|
entrypoint: sh
|
||||||
args: >-
|
args: >-
|
||||||
-c "mkdir -p pdf aux .texcache/texmf-var .texcache/xdg &&
|
-c "mkdir -p pdf aux .texcache/texmf-var .texcache/xdg &&
|
||||||
apt-get update -y &&
|
|
||||||
apt-get install -y pipx &&
|
|
||||||
pipx install pygments &&
|
|
||||||
for f in ${{ steps.roots.outputs.roots }}; do
|
for f in ${{ steps.roots.outputs.roots }}; do
|
||||||
echo Building $f;
|
echo Building $f;
|
||||||
latexmk -xelatex -shell-escape -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
|
latexmk -xelatex -shell-escape -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
|
||||||
|
|||||||
@@ -82,12 +82,17 @@ delim_0 ",\~"
|
|||||||
\renewcommand*{\sectionformat}{\colorbox{black}{\textcolor{white}{\thesection\autodot}}\enskip}
|
\renewcommand*{\sectionformat}{\colorbox{black}{\textcolor{white}{\thesection\autodot}}\enskip}
|
||||||
\renewcommand*{\sectionlinesformat}[4]{\makebox[0pt][l]{\rule[-\fboxsep-\fboxrule]{\textwidth}{\fboxrule}}#3\parbox[b]{0.85\textwidth}{\linespread{1}\selectfont#4}}
|
\renewcommand*{\sectionlinesformat}[4]{\makebox[0pt][l]{\rule[-\fboxsep-\fboxrule]{\textwidth}{\fboxrule}}#3\parbox[b]{0.85\textwidth}{\linespread{1}\selectfont#4}}
|
||||||
|
|
||||||
|
% minted
|
||||||
\RequirePackage{minted}
|
\RequirePackage{minted}
|
||||||
\setmonofont{JetBrains Mono}
|
\setmonofont{JetBrains Mono}
|
||||||
\usemintedstyle{monokai}
|
\usemintedstyle{monokai}
|
||||||
\definecolor{codeBg}{HTML}{282822} % Monokai's dark background color
|
\definecolor{codeBg}{HTML}{282822} % Monokai's dark background color
|
||||||
\setmintedinline{fontsize=\small, linenos, frame=single, framesep=2mm, bgcolor=codeBg}
|
\setmintedinline{fontsize=\small, linenos, frame=single, framesep=2mm, bgcolor=codeBg}
|
||||||
\setminted{fontsize=\small, framesep=2mm, linenos, bgcolor=codeBg}
|
\setminted{fontsize=\small, framesep=2mm, linenos, bgcolor=codeBg}
|
||||||
|
\AtBeginEnvironment{minted}{%
|
||||||
|
\color{monokaitext}%
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
% Define purple colors
|
% Define purple colors
|
||||||
\definecolor{notaDark}{RGB}{106, 27, 154} % Dark purple for header
|
\definecolor{notaDark}{RGB}{106, 27, 154} % Dark purple for header
|
||||||
|
|||||||
Reference in New Issue
Block a user