-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 Export to Word 2007 xml: date field is not exported #1750
Comments
Thanks for your report! I tried with a recent 3.6 dev version and could not reproduce the behavior. |
I could reproduce this issue with the master build using the test BibLaTeX file http://mirrors.ctan.org/macros/latex/contrib/biblatex/bibtex/bib/biblatex/biblatex-examples.bib (file suggested in https://github.com/JabRef/jabref/wiki/BibTeX ). |
@mlep Then I maybe misunderstood sth: Check the example |
My guess was: if there is information about the year in the BibLaTeX entry (in the field year or in the field date), this information should be found in the xml file. Currently, because this filter exports the entries without this information, the xml file maybe, in practice, of limited use. |
Okay, so I file this as a bug. Because in biblatex we have either date or year field as required. And when only date field is there, then the export does not export any year/date things |
Yes, we should add a mapping from date to year if there is no year field available. |
I will fix that |
As part of the reworking in #1765 , I already fixed the exportation of the year. If you notice any other things which look odd regarding the export, please report. |
Thanks for fixing the year. It works very well! Other odd things (since you asked...):
|
Thanks for the test. I will look into that the next days. I already noted that not all fields are exported correctly.
|
One way would be to use getFieldOrAlias which solves some of these things
automatically.
|
@oscargus I already used it for the year. |
Another issue concerning MS Word 2007 XML-Export: If you have a list of authors in BibTeX separated with lowercase "and", everything works well during export, i.e. first, middle and last names of authors are converted correctly. Yet, if "AND" in capital letters is applied as separation, the parsing does not work. |
Is this a missing feature or bug in MS Word 2007 XML-Export? In BibTeX there is the field "Language". In MS-Bib there is the tag |
@Mattri Thanks for your report. Regarding the language field, there is already code for translating the lang field to LCID, but it may be not functioning correctly. |
@Mattri Regarding the language mapping, I looked a bit deeper and think that we can not provide a complete mapping for all kind of languages, because the LCID Language codes are not easy translatable into the internally java used. Currently we only support English. @mlep |
Current status:
The field "Standardnumber" in Word is used for ISBN or MRN things. |
You may try BibUtils https://sourceforge.net/p/bibutils/home/Bibutils/ and see how/if it is mapped. (Unfortunately, the source seems hard to find...) |
The mapping for number seems to be Issue. See:
The official method to find the mapping seems to be use Microsoft Word and look at the output... |
Ah yes, I see that this is a BibTeX only thing http://www.cs.arizona.edu/~collberg/Teaching/07.231/BibTeX/bibtex.html , because both BibLaTeX and Word have an Issue, Volume and Edition field, DOI is an extra field, too. This is a sample I created in Word 2013:
|
Most fixes/features done in #1765. For the rest I will create a follow up issue. |
Hello, Also I read about the possibility of export filters, however I have not been able to locate a set of .layout files for MS Office WORD. Could they be made available? Thanks, |
@spalc Hi, I just created a fix which adds the field for export and import.
For your reference, you can find a complete overview of the field mapping between biblatex and msoffice xml here in the help: |
Hi Christoph, I took a look at the field mapping between biblatex and ms office xml and ran a few tests. I will continue to explore the tool and let you know if I have other suggestions. |
Hi, |
I just accidentally pushed directly to the master 🤦♂️. so the address fix and the translator fix are now both in the latest master. https://builds.jabref.org/master/ |
Thanks Christoph. |
JabRef 3.5 windows 10 10.0 amd64 Java 1.8.0_92
Jabref can import and recognize year of biblatex file, but cannot export xml 07 word format with year.
Steps to reproduce:
I am asked to create an issue here. (http://discourse.jabref.org/t/export-bib-to-2007-office-xml/142)
The text was updated successfully, but these errors were encountered: