Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

For a paper at university we have to use the IEEE style -- which can be done using IEEEtran LaTeX file. What we also have to take care of, though, is that the bibliography is German as well.

Using

\bibliography{./FrontBackMatter/WissenschaftlichesArbeiten_3D_-_Drucker}
\bibliographystyle{IEEEtran}

for the bibliography, I get entries like

J. F. Kelly and P. Hood-Daniel, Printing in Plastic: Build Your Own 3D Printer, 1st ed. Apress, Jun. 2011.

and

H.-J. Warnecke, E. Westkämper, and M. Decker, Einführung in die Fertigungstechnik, 7th ed. Wiesbaden: B. G. Teubner Verlag / GWV Fachverlage GmbH, 2006.

However, I need the edition to be in German -- “Auflage”, as well as the connector between authors (“und” instead of “and”). Additionally, website titles are in English double quotes (“…”) and I would like them to be in German („…“). It would also be nice if I could save the effort of putting words that start with an uppercase letter in {} to have them printed starting with uppercase letters. Right now, for example the second book’s bibtex entry looks like this:

  @book{warnecke_einfuhrung_2006,
    address = {Wiesbaden},
    edition = {7},
    title = {{E}inführung in die {F}ertigungstechnik},
    isbn = {978-3-8351-0110-4},
    lccn = {{32ZHU1750(7)}},
    language = {Deutsch},
    publisher = {B. G. Teubner Verlag / {GWV} Fachverlage {GmbH}},
    author = {Warnecke, Hans-Jürgen and Westkämper, Engelbert and Decker, Markus},
    year = {2006}
}

So I always have to change the files manually after exporting my bibliography out of Zotero (the organising tool I use).

EDIT: Here is a mwe:

\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
\documentclass[10pt,compsoc, a4paper]{IEEEtran}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} 
\usepackage[ngerman]{babel}
\begin{document}
Of course this isn’t an actual quote but I’m going to use cite anyway.\cite{kelly_printing_2011}
Awesome, right?\cite{warnecke_einfuhrung_2006},\cite{schnitker_stereolithographie_2008}
\bibliography{example}
\bibliographystyle{IEEEtran}
\end{document}

With (example) bibfile entries:

@book{kelly_printing_2011,
    edition = {1},
    title = {Printing in Plastic: Build Your Own {3D} Printer},
    isbn = {978-1430234432},
    abstract = {Printing in Plastic: Build Your Own {3D} Printer is your gateway into the exciting world of personal fabrication. The “printer” that you’ll build from this book is a personal fabricator capable of creating small parts and other objects from drops of molten plastic. Design a part using a modeling tool such as Google {SketchUp.} Then, watch while the fabricator head sweeps back and forth and upwards, depositing plastic in all the right places. You can build anything from a replacement tab to hold a bookshelf in place, to a small art project, to a bashguard for your bicycle. If you can conceive it and design it, you can build it, and you’ll have fun doing it!},
    language = {English},
    publisher = {Apress},
    author = {Kelly, James Floyd and Hood-Daniel, Patrick},
    month = jun,
    year = {2011}
},
@book{warnecke_einfuhrung_2006,
    address = {Wiesbaden},
    edition = {7},
    title = {{E}inführung in die {F}ertigungstechnik},
    isbn = {978-3-8351-0110-4},
    lccn = {{32ZHU1750(7)}},
    language = {Deutsch},
    publisher = {B. G. Teubner Verlag / {GWV} Fachverlage {GmbH}},
    author = {Warnecke, Hans-Jürgen and Westkämper, Engelbert and Decker, Markus},
    year = {2006}
},

@book{schnitker_stereolithographie_2008,
    address = {München},
    title = {{S}tereolithographie – das bekannteste {V}erfahren des {R}apid {P}rototyping},
    isbn = {978364056960-1},
    location = {V146092},
    url = {http://www.grin.com/de/e-book/146092/stereolithographie-das-bekannteste-verfahren-des-rapid-prototyping},
    language = {Deutsch},
    publisher = {{GRIN} Verlag {GmbH}},
    author = {Schnitker, Marc},
    year = {2008},
    keywords = {Lasersintern, Rapid prototyping, {RP}, Stereolithographie}
}

Full bibliography (so far): bibliography

share|improve this question
    
In the language field you must use a language that babel knows, so use language = {ngerman}, language = {german} or language = {english}. A MWE would be helpful. –  Kurt Dec 5 '12 at 15:46
    
@Kurt I added a MWE. Your suggestion would only change the German works, though. Isn’t there a solution that changes even the English works as well? –  PattaFeuFeu Dec 5 '12 at 16:09
    
The first two lines of your MWE are not complete. Can you add the missing parts please? –  Kurt Dec 5 '12 at 16:17
1  
If IEEEtran has no possibility to change the language with a option or so (I never used IEEE/IEEEtran so I don't know if it is possible) I think you have to copy IEEEtran.bst to IEEEtrandeu.bst and change this file to use German rules. –  Kurt Dec 5 '12 at 16:49
    
@Kurt Oh! I have no idea why the first two lines are incomplete. When I copied them, they were complete. However, I added the missing parts. The “HowTo” of the IEEE style doesn’t offer anything about language options, as far as I’m concerned: ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/… –  PattaFeuFeu Dec 5 '12 at 18:10
show 4 more comments

1 Answer

up vote 8 down vote accepted
+50

try the IEEEtran-de.bst from http://archiv.dante.de/~herbert/BibTeX/ You have a lot of urls the reason why I prefer to set the bibliography ragged right. My example file which now has no problem with your bib data:

\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst}
\documentclass[10pt,compsoc, a4paper]{IEEEtran}
\usepackage{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} 
\usepackage[ngerman]{babel}
\usepackage{url} 
\usepackage{ragged2e} 
\begin{document}
Of course this isn’t an actual quote but I’m going to use cite anyway.\cite{kelly_printing_2011}
Awesome, right?\cite{warnecke_einfuhrung_2006},\cite{schnitker_stereolithographie_2008}

\nocite{*}
\bibliographystyle{IEEEtran-de}
\begingroup
\RaggedRight
\bibliography{foo2}
\endgroup
\end{document}

However, some urls are still problematic, you have to add some more possible breakpoints. See documentation for package url or search here.

enter image description here

share|improve this answer
    
Sorry, but where do I put it? Somewhere within the depths of the LaTeX installation or in my working folder. –  PattaFeuFeu Dec 14 '12 at 10:13
1  
for the first try put it into your main documents folder and in your TeX source use \bibliographystyle{IEEEtrn-de} –  Herbert Dec 14 '12 at 10:15
    
It’s better than the standard IEEE style but there are still some awkward things. For example: it says “Aufl.” but uses English counters (1st, 2nd, n'th). Also, without interfering manually German titles of, say, books are still printed in lowercase letters (except for the first word) –  PattaFeuFeu Dec 14 '12 at 10:23
1  
can all be changed. Will do it in the afternoon. –  Herbert Dec 14 '12 at 10:50
1  
Don't forget to update the changelog in the style. Otherwise, +1 for rewriting a bibtex style file for a user :-) –  mafp Dec 14 '12 at 15:30
show 7 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.