[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Custom bibliography commands
From: |
a . soroa |
Subject: |
Custom bibliography commands |
Date: |
Tue, 18 Jan 2022 15:41:58 +0100 |
Hi!
I'm writing a document using a stylesheet that defined a new custom way
to create bibliographic references. The stylesheet is in:
https://lrec2022.lrec-conf.org/media/filer_public/16/8e/168e56e8-fb15-4213-bfbb-9e64de6b0bc9/lrec_2022_latex_template.zip
A minimal document would be this (you need to uncompress the template
above to compile the document).
#+begin_src LaTeX
% main.tex file
\documentclass{article}
\usepackage{lrec2022}
\usepackage{multibib}
\newcites{languageresource}{Language Resources}
\begin{document}
Standard reference: \cite{Martin-90}.
Custom reference: \citelanguageresource{Speecon}
\bibliographystyle{lrec2022-bib}
\bibliography{lrec2022-example}
\bibliographystylelanguageresource{lrec2022-bib}
\bibliographylanguageresource{languageresource}
\end{document}
#+end_src
Note the use of the custom command "\citelanguageresource" for
citations, and "\bibliographystylelanguageresource" and
"\bibliographylanguageresource" for the style and bibligraphy entries,
respectively.
To compile the document from the shell, one has to do the following:
#+begin_src bash
$ pdflatex main.tex
$ bibtex main.aux
$ bibtex languageresource.aux
$ pdflatex main.tex
$ pdflatex main.tex
#+end_src
Bibtex is called twice, one with "main.aux", and a second time with
the "languageresource.aux". I know that I can accomplish the same in
AucTex using C-u C-c C-c, selecting BibTex, and manually adjusting the
command. However, is there a way for AucTeX to do it automatically?
As a bonus, it would be great if I could use reftex commands on the
languageresource.bib bibliography file ("reftex-citation",
"reftex-view-crossref", etc).
Many thanks in advance,
aitor
- Custom bibliography commands,
a . soroa <=
- Re: Custom bibliography commands, Arash Esbati, 2022/01/18
- Re: Custom bibliography commands, aitor, 2022/01/19
- Re: Custom bibliography commands, Arash Esbati, 2022/01/19
- Re: Custom bibliography commands, aitor, 2022/01/20
- Re: Custom bibliography commands, Arash Esbati, 2022/01/20
- Re: Custom bibliography commands, aitor, 2022/01/21
- Re: Custom bibliography commands, Arash Esbati, 2022/01/21