-
-
Notifications
You must be signed in to change notification settings - Fork 61
bibtex @mastersthesis is not handled correctly #98
Comments
It's a bibtex conversion issue. The string "Master's thesis" is
If you can edit this and insert German equivalents to the English +++ Johannes Ballmann [Jan 09 15 10:58 ]:
|
I'll have a look on the translations this weekend. |
@fibsifan: You could try the biblatex entry type @jgm: It seems this reveals a small pandoc-citeproc bug. Apparently in bibtex From the 1988 bibtex specs, http://mirrors.ctan.org/biblio/bibtex/base/btxdoc.pdf: “The MASTERSTHESIS and PHDTHESIS entry types now take an optional type field. For example you can get the standard styles to call your reference a ‘Ph.D. dissertation’ instead of the default ‘PhD thesis’ by including a |
Thank you @nickbart1980. @jgm: I am not sure about the first 4 and the last 2. phdthesis could also be translated to Doktorarbeit. When i use LaTeX and
it is listed as "Diss."
|
I'd simply borrow the biblatex translations; adapted from my local /usr/local/texlive/2014/texmf-dist//tex/latex/biblatex/lbx/german.lbx:
from /usr/local/texlive/2014/texmf-dist//tex/latex/biblatex/lbx/french.lbx:
Other biblatex language files (including brazilian.lbx, catalan.lbx, croatian.lbx, czech.lbx, danish.lbx, dutch.lbx, finnish.lbx, greek.lbx, icelandic.lbx, italian.lbx, norsk.lbx, norwegian.lbx, nynorsk.lbx, polish.lbx, portuges.lbx, portuguese.lbx, russian.lbx, slovene.lbx, spanish.lbx, swedish.lbx) could easily be adapted, too, though not all of them provide the complete set of terms. EDIT: removed duplicate lines |
Tried to patch Bibtex.hs by adding
… but I'm confused as to what settings are required to activate this. |
@nickbart1980 - in bibtex conversion, pandoc-citeproc looks to the LANG environment variable. |
OK, I think this is all working now. |
Well, it doesn't seem to work here yet. Neither Example:
|
+++ nickbart1980 [May 06 15 03:16 ]:
Yes, for bibtex conversion only LANG matters; locale in metadata is |
@nickbart1980 this last commit should do the trick. |
Yes it does. Great. |
I use pandoc-citeproc to convert BibTeX to YAML (
pandoc-citeproc -y refs.bib > refs.yaml
) and afterwards I put therefs.yaml
in the list of pandoc input files. When I have a@mastersthesis
reference in my bibliography, it gets converted as follows:becomes
I would rather have "Diplomarbeit" in the genre field, as that seems to be the one, that gets printed. How can this be fixed, without having to correct every entry in the yaml file (is this a pandoc-citeproc issue at all)?
The text was updated successfully, but these errors were encountered: