-
Notifications
You must be signed in to change notification settings - Fork 30
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 and biber support. #6
base: master
Are you sure you want to change the base?
Conversation
Hey, thanks a lot for putting together a patch for this! I have a couple of comments (you can think of them as questions, too, really) that I'd like to discuss before merging this.
|
I have fixed the tabs and spacing, as well as added comments on the sed commands. Running [pdf|xe|lua]latex on *.tex that has \usepackage{biblatex} with backend=biber produces a *.bcf file. Maybe you could look for that file to automatically decide to use biber. If backend=bibtex, then no *.bcf file is produced and normal bibtex toolchain is needed. |
Hmm, that's an interesting idea, looking for the .bcf file. I believe, but would need to do some research to verify this, that you can specify multiple rules for a single target in such a way that any of them would satisfy it. The double-colon rule is not quite what I'm thinking of, but it might be made to work in this way. If you're aware of anything that works that way, that would be helpful. Meanwhile, I'll give it some more thought. As a general rule, it is not all that easy to make dependencies based on files that will be created, since the dependency tree is a static thing in make (with the exception of pulling in generated .d files and causing make to run again as a result of their creation, which is another mechanism we can probably use for this). |
Other ideas that come to mind:
|
Any news on this? |
Sorry to be slow to respond. I have not made any progress on this issue (work and life and death and difficulty intervened), but I'm back into it now. Which means that I'll be quicker to review things. I still don't know how to solve this particular problem, and would be thrilled if someone proposed something that can automatically work. |
Any progress since then? |
I haven't had any promising leads on this, no. Since leaving academia, I only use LaTeX sporadically, so it's often hard for me to get my brain back into the game. :-) |
I added biblatex and biber changes based on:
I can't figure out how to run the tests. For my latex projects that are using biblatex and biber, it is working just fine.
Should probably test it to make sure it works still with plain bibtex.
Test
Ubuntu 14.10
Makefile.ini
neverclean := *.pdf onlysources.tex := main.tex BUILD_STRATEGY := pdflatex use_biblatex := 1
main.bib
main.tex