Transition to org-mode, fixup some latex mistakes!

This commit is contained in:
David Holland 2022-09-23 12:35:58 +02:00
parent 461abf0fc5
commit 85519ece49
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
5 changed files with 4481 additions and 786 deletions

3
.gitignore vendored
View File

@ -4,7 +4,8 @@
!/dustdoc.cls
!/generate-pdfs
!/Documentation.tex
!/Documentation.pdf
!/Documentation.tex
!/Documentation_v2.org
!/print_a4.tex
!/print_a4.pdf

Binary file not shown.

File diff suppressed because it is too large Load Diff

3431
Documentation_v2.org Normal file

File diff suppressed because it is too large Load Diff

View File

@ -19,8 +19,10 @@
\RequirePackage{array}
\RequirePackage{caption}
\RequirePackage{longtable}
\RequirePackage{tabu}
% Replaced because outdated and unmaintained
%\RequirePackage{longtable}
%\RequirePackage{tabu}
\RequirePackage{tabularray}
\RequirePackage{fix-cm}
\RequirePackage{fontspec}
@ -116,9 +118,19 @@
{\begin{tcolorbox}[before upper={\setlength{\parindent}{1.5em}\noindent},colback=admonitionBG,coltitle=draculaBG,colframe=draculaPink,colbacktitle=draculaPink,title=CAUTION]}
{\end{tcolorbox}}
\newenvironment{packagetable}
{\begin{longtabu}to \textwidth [b]{X[1,r]|X[1,l]}}
{\end{longtabu}}
% See note for tabu
%\newenvironment{packagetable}
%{\begin{longtabu}to \textwidth [b]{X[1,r]|X[1,l]}}
%{\end{longtabu}}
\NewTblrTheme{packagetable}{
\DefTblrTemplate{head}{default}{}
\DefTblrTemplate{foot}{default}{}
}
\newenvironment{pkgtable}
{\begin{longtblr}[b, theme=packagetable]{colspec={X[1,r]|X[1,l]}, width=\textwidth}}
{\end{longtblr}}
\newenvironment{mintedlisting}{%
\begin{listing}[H]%