Skip to content

Commit

Permalink
feat: minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
badele committed May 8, 2024
1 parent be8a041 commit 801bccb
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ public
*.idx
*.ilg
*.ind
*.lof
*.log
*.lot
*.toc
content/documenter/latex/*.pdf
Binary file removed content/documenter/latex/01-simple_example.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions content/documenter/latex/01-simple_example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
% Set the title and author
\title{\Huge Document sample}
\author{Bruno Adelé}
\date{5 mai 2024}

%allow underfull vbox (allow empty space at the bottom of the page
\raggedbottom
Expand Down
Binary file removed content/documenter/latex/02-section_example.pdf
Binary file not shown.
Binary file modified content/documenter/latex/02-section_example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions content/documenter/latex/02-section_example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@ \subsubsection*{Section without counter}
\addcontentsline{toc}{section}{Section without counter}
\lipsum[4][-2]

\begin{appendix}
\addtocontents{toc}{\setcounter{tocdepth}{2}}
\section{Annexes}
% \addcontentsline{toc}{section}{Annexes}
\subsection{Liste des ilustrations}
\listoffigures
\listoftables
\end{appendix}

\end{document}
Binary file removed content/documenter/latex/03-textsize_example.pdf
Binary file not shown.
Binary file removed content/documenter/latex/04-debug_example.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions content/documenter/latex/04-debug_example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
% Set the title and author
\title{\Huge Document sample}
\author{Bruno Adelé}
\date{5 mai 2024}

%allow underfull vbox (allow empty space at the bottom of the page
\raggedbottom
Expand Down
4 changes: 3 additions & 1 deletion content/documenter/latex/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ references bibliographic.

{{< /hint >}}

{{< toc >}}

## Why LaTeX?

As **DevOps** we like to master code generation, deployment generation, document
Expand Down Expand Up @@ -146,7 +148,7 @@ l3backend-pdftex.def 2024-02-20 L3 backend support: PDF output (pdfTeX)
*****
```

### Fonts
### Miscellaneous

- List of fonts https://tug.org/FontCatalogue/allfonts.html
- Comprehensive LaTeX Symbol List
Expand Down
2 changes: 2 additions & 0 deletions content/documenter/latex/_index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ bibliographiques.

{{< /hint >}}

{{< toc >}}

## Pourquoi LaTeX ?

En tant que **DevOps** on aime bien maitriser la génération de code, la
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ doc-generate-tex-sample:
# generate pdf
pdflatex --output-dir "$dirname" "$file"
# convert pdf to png
convert -background white -alpha remove -alpha off -density 150 "$dirname/$filename.pdf" "$dirname/$filename.png"
convert -background white -alpha remove -alpha off -density 150 "$dirname/$filename.pdf[0]" "$dirname/$filename.png"
done
# Update documentation
Expand Down

0 comments on commit 801bccb

Please sign in to comment.