Skip to content

Commit

Permalink
Now the bibliography is split by chapters in the HTML and global in t…
Browse files Browse the repository at this point in the history
…he PDF
  • Loading branch information
alegrand committed May 6, 2019
1 parent afd25a0 commit a47304b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 5 additions & 9 deletions 18_biblio.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ Nous vous signalons quelques outils pour rechercher de manière légale la versi

- [Scili](https://www.scilit.net/) : https://www.scilit.net/

<!-- `r if (knitr::is_html_output()){ ' -->
<!-- <div id="refs"></div> -->
<!-- '}` -->

<!-- `r if (knitr::is_latex_output()){ ' -->
<!-- \\renewcommand\\bibname{Bibliographie} -->
<!-- '} -->
<!-- #\\addcontentsline{toc}{chapter}{Bibliographie} -->
<!-- ` -->
`r if (knitr::is_latex_output()){ '
\\renewcommand\\bibname{Bibliographie}
'}
#\\addcontentsline{toc}{chapter}{Bibliographie}
`
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ fix-booksprintrr.tex: booksprintrr.tex
-e 's|begin{center}\\large#1\\end{center}|begin{center}\\Large#1\\end{center}|g' \
-e 's|\\addcontentsline{toc}{chapter}{.*}||g' \
-e 's|author{\(.*\)Facilitatrice|author{\1\\\\\\medskip Facilitratice|g' \
-e 's|^\\bibliography{refs.bib}$$||g' \
-e 's|^\\renewcommand\\bibname{Bibliographie}$$|\\renewcommand\\bibname{Bibliographie}\\bibliography{refs.bib}|g' \
booksprintrr.tex
cp booksprintrr.tex booksprintrr.tex.bak
cat booksprintrr.tex.bak | \
Expand Down

0 comments on commit a47304b

Please sign in to comment.