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

Why remove bibliographystyle? #5

Open
thisiscam opened this issue May 9, 2022 · 2 comments
Open

Why remove bibliographystyle? #5

thisiscam opened this issue May 9, 2022 · 2 comments

Comments

@thisiscam
Copy link
Contributor

Hi,

I wonder why the removal of \bibliographystyle (see https://github.com/phfaist/latexpp/blob/master/latexpp/fixes/bib.py#L49)?
I noticed that my documents' citation style changes by removing this command.
FWIW, I'm using named.bst with \ bibliographystyle{named}.

Thanks!

@phfaist
Copy link
Owner

phfaist commented May 9, 2022

Hi and thanks for the feedback. I thought that the bibliography style command is useless once you have the BBL, since the LaTeX bibliography code is already generated. The command seemed to confuse latexmk into thinking it had to run bibtex, which typically resulted in a failure, so I opted to filter out the \bibliographystyle command altogether. I guess this should be made configurable via the YaML options.

@thisiscam
Copy link
Contributor Author

There's an option of latexmk that disables bibtex processing: latexmk --bibtex-.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants