Closed reconmaster closed 10 years ago
I am not sure what the problem you are describing is. I don't intentionally avoid biber, but I don't use it either, so I have limited ability to test it. Is this a latex problem or an org-ref problem?
When I say the export process was not able to resolve my references, the interactive export gives me warnings that all cite:article
references are blank. That is unless I change the backend to bibtex8.
This works
#+LATEX_HEADER: \usepackage[backend=bibtex8]{biblatex}
#+LATEX_HEADER: \addbibresource{ref.bib}
while this does not
#+LATEX_HEADER: \usepackage[backend=biber]{biblatex}
#+LATEX_HEADER: \addbibresource{ref.bib}
when using org-ref and exporting.
Since running the latex, then biber, then latex on the tex file produced on the output during the export, I don't think this is a latex problem. While I am trying to track the problem, I am not familiar enough with the inner workings of org-ref to have any great ideas. The bibtex8 workaround is fine for me right now.
This sounds like an export problem, not an org-ref problem. You have to define an export process that calls biber. By default (if there is one) probably bibtex is getting called. This export process is not defined in org-ref. For example, an older version we used is defined here: https://github.com/jkitchin/jmax/blob/master/jmax-org.el#L374
(it is commented out).
If you can export your org-file to a Latex file, and then build it by hand at the command line, then it is definitely not an org-ref problem.
John
John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu
On Tue, Jul 29, 2014 at 11:54 AM, reconmaster notifications@github.com wrote:
When I say the export process was not able to resolve my references, the interactive export gives me warnings that all cite:article references are blank. That is unless I change the backend to bibtex8.
This works
+LATEX_HEADER: \usepackage[backend=bibtex8]{biblatex}
+LATEX_HEADER: \addbibresource{ref.bib}
while this does not
+LATEX_HEADER: \usepackage[backend=biber]{biblatex}
+LATEX_HEADER: \addbibresource{ref.bib}
when using org-ref and exporting.
Since running the latex, then biber, then latex on the tex file produced on the output during the export, I don't think this is a latex problem. I am looking into if th
— Reply to this email directly or view it on GitHub https://github.com/jkitchin/jmax/issues/30#issuecomment-50496309.
John, I thought this might be the case and I tried modifying the above lines so that biber is explicitly called. I also tried tex2dvi but with the same results. When I use your ox-manuscript's interactive build, it looks like the new org export ingores the pdf process I set there and just calls latex, bibtex, latex, latex. I will try to hunt down where this is defined and try having it call biber instead. Thanks for the feedback. -Andrew
ox-manuscript definitely does that. See if you can use this variable to get biber:
(defcustom ox-manuscript-bibtex-command "bibtex8" "Command to run bibtex." :group 'ox-manuscript)
eg
(setq ox-manuscript-bibtex-commnad "biber")
John
John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu
On Tue, Jul 29, 2014 at 4:28 PM, reconmaster notifications@github.com wrote:
John, I thought this might be the case and I tried modifying the above lines so that biber is explicitly called. I also tried tex2dvi but with the same results. When I use your ox-manuscript's interactive build, it looks like the new org export ingores the pdf process I set there and just calls latex, bibtex, latex, latex. I will try to hunt down where this is defined and try having it call biber instead. Thanks for the feedback. -Andrew
— Reply to this email directly or view it on GitHub https://github.com/jkitchin/jmax/issues/30#issuecomment-50533534.
I had difficulty using biblatex with org-ref as it could not resolve my references when using biber as the backend which is the default. I did notice that if I run emacs default latex -> biber -> latex sequence on the tex file produced in the export stage, everything seems to work fine. It was only after noticing that your example with biblatex set the backend to bibtex8 that I could get everything to work.
I am not familiar enough with biber to prefer it as a backend, but I do like the customization I can do with biblatex. I am currently using most of your orgmode customizations for latex export, and I noticed when loading your exact configuration on github I have the same problem when trying to export using the biber backend. If you intentionally are avoiding biber, maybe you could add it into the README? Just started using org-ref, but I really like what I have found. Nice work.