48 lines
1.5 KiB
TeX
48 lines
1.5 KiB
TeX
|
\section{Fabrication de ce document}
|
||
|
|
||
|
\definecolor{bg}{rgb}{0.9,0.9,0.9}
|
||
|
\definecolor{cm}{rgb}{0.1,0.6,0.1}
|
||
|
\definecolor{kw}{rgb}{0.8,0.1,0.1}
|
||
|
\definecolor{str}{rgb}{0.1,0.1,0.8}
|
||
|
|
||
|
\lstset{
|
||
|
basicstyle=\ttfamily,
|
||
|
numbers=left,
|
||
|
backgroundcolor=\color{bg},
|
||
|
commentstyle=\color{cm},
|
||
|
keywordstyle=\color{kw},
|
||
|
stringstyle=\color{str},
|
||
|
}
|
||
|
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
|
||
|
\subsection{Script de construction}
|
||
|
|
||
|
Programme Python :
|
||
|
|
||
|
\lstinputlisting[language=Python]{build.py}
|
||
|
|
||
|
\pagebreak
|
||
|
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
|
||
|
\subsection{Fichier principal}
|
||
|
|
||
|
Programme \XeLaTeX :
|
||
|
|
||
|
\lstinputlisting[language={[LaTeX]TeX},otherkeywords={
|
||
|
hypersetup,setmainfont,setmonofont,setlength,
|
||
|
setmainlanguage,
|
||
|
maketitle,tableofcontents,subsection,appendix,
|
||
|
gls,makeglossaries,newacronym,newglossaryentry,printglossary,
|
||
|
definecolor
|
||
|
}]{document.tex}
|
||
|
|
||
|
\pagebreak
|
||
|
%⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅⋅
|
||
|
\subsection{Base bibliographique}
|
||
|
|
||
|
Fichier Biber :
|
||
|
|
||
|
\lstdefinelanguage{bib}{morestring=[b]",
|
||
|
keywords={author,howpublished,misc,note,title,url}}
|
||
|
\lstinputlisting[language={bib}]{document.bib}
|
||
|
|
||
|
\pagebreak
|