Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Add latexmkrc
Browse files Browse the repository at this point in the history
  • Loading branch information
ragonneau committed Oct 20, 2022
1 parent f44538a commit 76938b6
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 7 deletions.
25 changes: 18 additions & 7 deletions biblio.tex
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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%
Expand All @@ -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}
\end{document}
26 changes: 26 additions & 0 deletions latexmkrc
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 76938b6

Please sign in to comment.