fix pandoc compilation problem

main
nobohan 1 year ago
parent 6ed52886c3
commit 4cecd3cd14

@ -12,6 +12,8 @@ Pour faire un beau pdf de cette documentation, on utilise pandoc avec un templat
documentation$ sh build.sh
```
J'ai utilisé pandoc 2.14.2.
Pour que pandoc trouve les fichiers, il faut leur indiquer un chemin valide. Ici, on présuppose que les dépots de ce projet de du wiki sont tels que:
├── repo

@ -149,12 +149,12 @@
\setkomafont{descriptionlabel}{\rmfamily\mdseries\upshape\normalsize\color{clgreencolor}}
% Add some numbering to headings and a new line until heading level 6
\usepackage{titlesec}
\setcounter{secnumdepth}{6}
\titleformat{\paragraph}{\normalfont\normalsize\color{clgreencolor}}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\titleformat{\subparagraph}{\normalfont\normalsize\color{clgreencolor}}{\thesubparagraph}{1em}{}
\titlespacing*{\subparagraph}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%\usepackage{titlesec}
%\setcounter{secnumdepth}{6}
%\titleformat{\paragraph}{\normalfont\normalsize\color{clgreencolor}}{\theparagraph}{1em}{}
%\titlespacing*{\paragraph}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
%\titleformat{\subparagraph}{\normalfont\normalsize\color{clgreencolor}}{\thesubparagraph}{1em}{}
%\titlespacing*{\subparagraph}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
% Hyphenation
% We played with the tolerance to increase the hyphenation
@ -372,11 +372,6 @@ $endif$
\usepackage{tcolorbox}
% Adaptations pour la SNCF
% créer un toc jusqu'au niveau 4
\setcounter{tocdepth}{3}
% Eviter l'erreur "Environment Shaded undefined"
$if(highlighting-macros)$
$highlighting-macros$
@ -406,6 +401,9 @@ $endif$
% It then concludes the document it has been writing.
\color{clgraycolor}
\errorcontextlines 10000
\begin{document}

Loading…
Cancel
Save