Opened 10 years ago
Closed 9 years ago
#384 closed enhancement (wontfix)
option to prevent escaping of curly brackets in BibTeX output
| Reported by: | dstillman | Owned by: | simon |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0.0 |
| Component: | export | Version: | 1.0 |
| Keywords: | Cc: |
Description
Report from user:
capitalization is not preserved when the library is written to a bibtex file (even when the intended caps are enclosed in curly braces, the export escapes them out and so i can't easily get what i want).
e.g. what i would like to see is:
@article{deb2002,
number = {2},
title = {A Fast and Elitist Multiobjective Genetic Algorithm: {NSGA}-{II}},
volume = {6},
journal = {{IEEE} Transactions on Evolutionary Computation},
author = {Deb, Kalyanmoy and Pratap, Amrit and Agarwal, Sameer and Meyarivan, T},
month = {apr},
year = {2002}
}
and what i actually get from zotero's export to .bib is:
@article{deb2002,
number = {2},
title = {A Fast and Elitist Multiobjective Genetic Algorithm: \{NSGA\}-\{II\}},
volume = {6},
journal = {\{IEEE\} Transactions on Evolutionary Computation},
author = {Deb, Kalyanmoy and Pratap, Amrit and Agarwal, Sameer and Meyarivan, T},
month = {apr},
year = {2002}
}
Change History (3)
comment:1 Changed 10 years ago by simon
- Summary changed from Explicit capitalization is not preserved in BibTeX output to option to prevent escaping of curly brackets in BibTeX output
- Type changed from defect to enhancement
comment:2 Changed 10 years ago by dstillman
(In [934]) BibTeX patch from Patrick Wagstrom on dev list
His note:
- adds the conference paper item type (currently only exported to BibTeX as inproceedings)
- Fixes bug with editor names in BibTeX export
- Provides more intelligent naming for entities in BibTeX exports. Previously items would be named something like Wagstrom2006, Wagstrom2006-1, etc. However, I noticed that this ordering could get changed around pretty easily in the export process, resulting in bad references in articles. We can't really be having that now can we? The keys are now take the first word of the title, stripping out a few common words. For example, If I had a paper called "Zoteros impact on time to author scholarly papers", it would have a key of "wagstrom_zotero_2006", which is much more constant.
There was still an editor field bug after Patrick's patch that I corrected, and author and editor fields seem to be handled properly now.
Also addresses #384, option to prevent escaping of curly brackets in BibTeX output
I believe this patch actually now prevents escaping of curly braces by default, however (according to Simon) it should still be based on a pref or option of some kind
comment:3 Changed 9 years ago by simon
- Resolution set to wontfix
- Status changed from new to closed
Once #832 is implemented, this should be unnecessary.
Note: See
TracTickets for help on using
tickets.
this is the intended behavior, since if we don't escape the brackets, people may expect the brackets to come through when, for example, the BibTeX is used as an intermediary format between bibliographic software. it does, however, make sense to add an option for people who use BibTeX.