Skip to content
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

Export to MS Office 2007 (.xml) - ShortTitle missing #1485

Closed
mafanie opened this issue Jun 8, 2016 · 6 comments
Closed

Export to MS Office 2007 (.xml) - ShortTitle missing #1485

mafanie opened this issue Jun 8, 2016 · 6 comments
Assignees

Comments

@mafanie
Copy link

mafanie commented Jun 8, 2016

JabRef version 3.4 on Windows 10

When exporting to MS Office 2007 (.xml) the short title information is missing in the generated xml file. As both bib files and MS Word when importing xml files support that information, this should be exported when available.

Steps to reproduce:

  1. Input short title in bib file (shorttitle = {...})
  2. Export to MS Office 2007 (.xml)
  3. Short title is missing in export (no <b:ShortTitle> ... </b:ShortTitle>)
@matthiasgeiger
Copy link
Member

matthiasgeiger commented Jun 9, 2016

Thanks for your report!

JabRef is rather flexible in importing bib files with customized entries, i.e., you can define arbitrary fields (such as shorttitle) and they will be handled by JabRef.
However, the exporters to a specific format can not deal with all information but generally stick to the default standard entry types with its standard (required and optional) fields as described in http://mirrors.ctan.org/biblio/bibtex/base/btxdoc.pdf.

@koppor
Copy link
Member

koppor commented Jun 9, 2016 via email

@matthiasgeiger
Copy link
Member

matthiasgeiger commented Jun 9, 2016

... yes it is mentioned in the biblatex reference http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf. But as shorttitle is not part of any entry type as "required" or "optional" it is not supported as one of the standard types by JabRef. 😉

But I just had a look in the code - the export of shorttitle to MsBib is intended to work - but only if the filed is prefixed as msbib- to msbib-shorttitle. So a quickfix for you @mafanie would be to change the field name to msbib-shorttitle.

@stefan-kolb
Copy link
Member

There's obviously a standard field ShortTitle in Word, so we should map this to the biblatex field shorttitle if present?!

@stefan-kolb stefan-kolb self-assigned this Jun 9, 2016
matthiasgeiger added a commit that referenced this issue Jun 9, 2016
Fixes #1485 Export shorttitle as standard field
@matthiasgeiger
Copy link
Member

@mafanie @stefan-kolb fixed the issue. You can download a development version from http://builds.jabref.org/master to test whether the problem is solved.

@mafanie
Copy link
Author

mafanie commented Jun 10, 2016

Works as favored. Thanks a lot for the fast solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants