Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

biblatex broken if put in non-main tex file #60

Open
uhoefel opened this issue Jun 14, 2018 · 0 comments
Open

biblatex broken if put in non-main tex file #60

uhoefel opened this issue Jun 14, 2018 · 0 comments

Comments

@uhoefel
Copy link

uhoefel commented Jun 14, 2018

Bug report

Currently, if the \addbibresource command is used in a different .tex file input e.g. via \input{tex/biblatex}, it is not recognised by Texlipse, so that I only get something along the lines of

lualatex.exe> Package biblatex Warning: Please (re)run Biber on the file:
lualatex.exe> (biblatex)                document
lualatex.exe> (biblatex)                and rerun LaTeX afterwards.

This practically breaks modularization of bigger projects, where I want to explicitly avoid having single package commands in the main tex file.

What is the current behavior?

Texlipse seems not to find \addbibresource if issued in a different than the main .tex file

What is the expected or desired behavior?

Either allow for \addbibresource in tex files input via \input{}, or allow more explicit selection of build steps.

Please provide steps to reproduce:

document.tex:

\documentclass{article}
\input{biblatex}
\begin{document}
\section{Title}
\subsection{Subtitle}
Plain text.
\subsection{Another subtitle}
More plain text. \cite{0029-5515-57-10-102020}
\printbibliography
\end{document}

biblatex.tex:

\usepackage[backref=true,backend=biber]{biblatex}
\addbibresource{bibliography/bibliography.bib}

bibliography/bibliography.bib:

@Article{0029-5515-57-10-102020,
  author       = {Wolf, R. C. and others},
  title        = {Major results from the first plasma campaign of the Wendelstein 7-X stellarator},
  journaltitle = {Nuclear Fusion},
  date         = {2017-07-27},
  volume       = {57},
  number       = {10},
  pages        = {102020},
  doi          = {10.1088/1741-4326/aa770d},
}

Adding \addbibresource{bibliography/bibliography.bib} to document.tex makes it work.

Please describe your environment:

  • TeXlipse version: 2.0.1.201801202105
  • Eclipse version: Oxygen.3a Release (4.7.3a), Build id: 20180405-1200

Operating system:

  • Windows 10

@uhoefel uhoefel changed the title biblatex broken if put in biblatex broken if put in non-main tex file Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants