Closed readerneu closed 9 years ago
\texteuro
doesn't appear in the Better BibLaTeX export Bibliography_better_biblatexexport.bib or Bibliography_zotero_biblatexexport.bib but it does occur in Bibliography_old.bib. Are you using Bibliography_better_biblatexexport.bib?@readerneu posted his bibliography to: https://www.dropbox.com/sh/zq5g7boba6rq9ah/AADcDvgv7L6pBc0bZ-IrpRFYa?dl=0
It seems that the reference for 'Baseline' is corrupt. I won't speculate on why or what the full info for that reference is.
There's 3 files there, but as noted, only one includes \texteuro
. That's not necessarily corrupt, but you need to do some setup to have the bib processor recognise it correctly. But I would venture to guess that during reference import from science direct, some charset snafu occurred.
@readerneu, can you right-click that reference ("Baseline ‘state anxiety’ influences HPA-axis sensitivity to one sham-controlled HF-rTMS session applied to the right dorsolateral prefrontal cortex"), select "report zotplus error", and post the debug ID here? That should allow me to assess whether it's an export error, or whether the exporter is correctly exporting incorrect input.
I updated the dropbox folder. I changed the "preserve capitals" to "inner". Latex complains about the same problem.
Debug ID is: KWSZPH4Q
Bibliography_betterbiblatex_capitals_inner.bib in that folder still does not contain \texteuro
, only Bibliography_old.bib does (the setting to "inner" affected only the extra braces in the output you showed above). Are you sure you are compiling only using Bibliography_betterbiblatex_capitals_inner.bib? Because if so, that bibliography is not the cause of the error. If you are compiling against Bibliography_old.bib, that explains the error, but not how it got there, as the source reference you submitted exports cleanly for me.
Well the funny thing is with bibliography_old.bib I don't get those errors. When I compile with Bibliography_betterbiblatex_capitals_inner.bib I get them. So I think the new bibliography has to cause the error. If it makes it easier for you I can send you the latex document too?
And Yes I am sure that I'm compiling with Bibliography_betterbiblatex_capitals_inner.bib.
Another thing I was surprised about is earlier the date was exported as month = jul, year = {2005},
now it is exported as
date = {2005-07},
The reason why I am asking is this:
$ grep -c texteuro ~/Downloads/Bibliography_betterbiblatex_capitals_inner.bib
0
WRT the 2005-07 date: that might be because BBT has a better date parser now. To assess whether 2005-7 is correct or not I'd need to have the source reference; you can send it as a debug ID if you want me to inspect.
You can drop your LaTeX file into https://dbinbox.com/retorquere
and
$ grep -c texteuro ~/Downloads/Bibliography_old.bib
1
so if the error is directly caused by the presence of \texteuro
rather the report about \texteuro
being collateral damage from an earlier error, I don't see how Bibliography_betterbiblatex_capitals_inner.bib could be causing it, as that command is not in there. Your LaTeX file might tell me more.
I assume that 2005-07 is causing problems because the bibliography I customized in my latex document expects the month, year format
the backup version is a simplified one which still produces the same error. The bib. file is the same but has another name...
When I compile Dissertation_backup.tex, I only get the expected "Empty bibliography on input line 148.".
When I compile Dissertation.tex, I first got "LaTeX Error: File `includes/06Anhang.tex' not found."; commenting out that line, I get "Empty bibliography on input line 331."
Both of these was with file:///home/emile/Downloads/Bibliography_betterbiblatex_capitals_inner.bib
I've put them up at https://www.sharelatex.com/project/54feca38f58d781e0c982eeb, can you get it back to the point where it fails?
Can you submit a separate issue for the date formatting? I'm not yet sure how I'm going to handle it, but it's a different problem from the \texteuro
issue you're running into.
Sure I'll do.
I tried to update the sharelatex project but I don't know how to insert the bibliography. So I sent you all the files you need in a .rar file. You just have to adjust the .bib path in the .tex file. Thanks a lot for your effort!
What command do you use to compile this? I've updated sharelatex but it gives 200+ errors when I try to compile.
I don't want to edit the files since they're in a charset I'm not sure gets safely through my editor. Could you move everything in a single directory, and remove all the directory names from the paths in the .tex files (so includes/
and F:/Dropbox/Literaturverzeichnis/Latex Folder/
) and send them again?
I can reproduce the error; The culprit was in fact (a.o.) Wendt2008BrainW.L.W.H.H+
, which has an copyright-sign in the copyright field. Your Bibliography_old did not have any of these. From what I can tell, these are added after Bibliography_old was generated, and BBT exports these correctly.
The quick way out of this is to add rights
to your skipfields
, but it's a stop-gap measure. You could also try to set BBT to export to ascii; it will change the euro symbol into \texteuro
; your Bibliography_old had those (but I don't know if you actually referenced it; if not, it would not have made it into the token stream I think), and it didn't seem to mind them.
To really address the error requires fiddling with font files and such; tex.stackexchange.com will be a better source of help than I.
BTW, your tex sources are encoded in ISO-8859; the bibliography generated by BBT is always in UTF-8. I don't know how well the LaTeX compilers deal with mixed encodings.
(edit: not a euro-sign but a copyright sign. The error messages from LaTeX are not always very enlightening. Or helpful. Or accurate)
Hold on, there's more going on.
It's a general unicode problem; just excluding "rights" won't do it. The 2nd reference has year = {März 1, 2008}
, which also trips up compilation. Which LaTeX compiler are you using?
There is a separate problem in that März 1, 2008
is not being parsed properly and is being treated as a literal date. I'm looking into that.
I use texmaker with miktex
There is a problem in the upstream date parser I use; I'm trying to resolve it with the author.
OK, the date problem has a workaround; the tests pass, so 1.5.10 will be released momentarily.
To get back to the problems you are facing:
Is there still anything I can do for you?
So thank you very much the Bibliography is working fine now!
Cool, thanks for the feedback.
Hello,
I have used a combination of zotero with better biblatex and the zotero autoexport to set up the .bib-file for my latex document. Since July (I assume due to a Firefox update) this solution doesn't work anymore and I don't know why.
@article{Ehlis2005MultiE.H.W.F+, title = {Multi-channel near-infrared spectroscopy detects specific inferior-frontal activation during incongruent Stroop trials}, volume = {69}, url = {http://www.sciencedirect.com/science/article/pii/S0301051104001619}, doi = {10.1016/j.biopsycho.2004.09.003}, timestamp = {2014-08-23 09:41:11}, number = {3}, urldate = {2014-08-23}, journal = {Biological Psychology}, author = {Ehlis, A. -C. and Herrmann, M. J. and Wagener, A. and Fallgatter, A. J.}, month = jul, year = {2005}, keywords = {Cognitive interference,Near-infrared spectroscopy,NIRS,Optical topography,Stroop task}, pages = {315--331} }
the same citation is now exported as
@article{Ehlis2005MultiE.H.W.F+, title = {Multi-channel near-infrared spectroscopy detects specific inferior-frontal activation during incongruent {Stroop} trials}, volume = {69}, url = {http://www.sciencedirect.com/science/article/pii/S0301051104001619}, doi = {10.1016/j.biopsycho.2004.09.003}, timestamp = {2014-08-23T09:41:11Z}, number = {3}, journaltitle = {Biological {Psychology}}, shortjournal = {Biological {Psychology}}, author = {Ehlis, {A}. -{C}. and {Herrmann}, {M}. {J}. and {Wagener}, {A}. and {Fallgatter}, {A}. {J}.}, urldate = {2014-08-23}, date = {2005-07}, pages = {315--331}, keywords = {Cognitive interference,Near-infrared spectroscopy,NIRS,Optical topography,Stroop task} }
So Latex is complaining about ! LaTeX Error: Command \texteuro unavailable in encoding T1.
It seems like this problem is known for Lyx but should be solved by using biblatex which I do.
Here you can find my complete .bib files (old one and the zotero-biblatex export)
https://www.dropbox.com/sh/zq5g7boba6rq9ah/AADcDvgv7L6pBc0bZ-IrpRFYa?dl=0
I'm very grateful for every hint!