From 76938b6e92cf378aad34536fbb231bc56e81daf8 Mon Sep 17 00:00:00 2001 From: "Tom M. Ragonneau" Date: Thu, 20 Oct 2022 15:40:48 +0800 Subject: [PATCH] Add latexmkrc --- biblio.tex | 25 ++++++++++++++++++------- latexmkrc | 26 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 latexmkrc diff --git a/biblio.tex b/biblio.tex index 8bb019d..f1a0ead 100644 --- a/biblio.tex +++ b/biblio.tex @@ -1,6 +1,19 @@ +%% biblio.tex +%% Copyright 2022 Tom M. Ragonneau +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.3 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX +% version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Tom M. Ragonneau. \documentclass{article} \usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} \usepackage[american]{babel} \usepackage[a4paper]{geometry} \usepackage{csquotes} @@ -24,9 +37,7 @@ mathesis={M\adddot A\adddotspace thesis}, phdthesis={Ph\adddot D\adddotspace thesis}, } -\addbibresource[label=strings]{strings.bib} -\addbibresource[label=ragonneau]{ragonneau.bib} -\addbibresource[label=optim]{optim.bib} +\appto{\bibsetup}{\sloppy} \title{Bibliographies \texttt{ragonneau.bib} and \texttt{optim.bib}} \author{Tom M. Ragonneau% @@ -44,16 +55,16 @@ \section{File \texttt{ragonneau.bib}} - \begin{refsection}[strings,ragonneau] + \begin{refsection}[strings.bib,ragonneau.bib] \nocite{*} \printbibliography[heading=none] \end{refsection} \section{File \texttt{optim.bib}} - \begin{refsection}[strings,optim] + \begin{refsection}[strings.bib,optim.bib] \nocite{*} \printbibliography[heading=none] \end{refsection} -\end{document} \ No newline at end of file +\end{document} diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..48ed7f7 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,26 @@ +## latexmkrc +## Copyright 2022 Tom M. Ragonneau +# +# This work may be distributed and/or modified under the +# conditions of the LaTeX Project Public License, either version 1.3 +# of this license or (at your option) any later version. +# The latest version of this license is in +# http://www.latex-project.org/lppl.txt +# and version 1.3 or later is part of all distributions of LaTeX +# version 2005/12/01 or later. +# +# This work has the LPPL maintenance status `maintained'. +# +# The Current Maintainer of this work is Tom M. Ragonneau. + +# Generate pdf using pdflatex +$pdf_mode = 1; +$postscript_mode = 0; +$dvi_mode = 0; + +# Run bibtex or biber as needed to regenerate the bbl files +$bibtex_use = 2; +$biber = "biber --noconf %O %S"; + +# Remove extra extensions on clean +$clean_ext = "run.xml";