Git Product home page Git Product logo

apalike-german's Introduction

The apalike-german package: an author year style for BibTeX

Objective

I made apalike-german.bst because I was forced to use plain old BibTeX in conjunction with apalike.bst but I needed German localization. It is simply a copy of the original file. My editions concern the following:

  • Inserted words were translated to German.
  • Puryifing of label numbers is removed. Thus, dots in the label year shall not be removed.
  • Capitalization of title words will remain.

Installing

Create the directory {TEXMF}/bibtex/bst/apalike-german, move apalike-german.bst there and update the file name database.

Usage

First let me point out that if you are not forced to use plain BibTeX it is much better to rely on the biblatex package, preferably in conjunction with Biber. Thus, you gain much more flexibility for your references. If you took this into account, call \bibliographystyle{apalike-german} as usual after \begin{document}.

In case a numerical year lacks you can use an expression like "n.d.":

@MISC{undated-item,
  ...
  year = {o.J.},
}

The dots are kept, but only four digits are allowed!

Help

Best is to use the GitHub tracker.

Or visit me on my website and use the comment function there.

History

  • 11-sep-2016: Original version by Ingram Braun.
  • 17-mar-2018: Macro mar bug fixed (Issue #1).
  • 30-dec-2022: Project URL renewed.

Copyright

© 2016–2022 by Ingram Braun, 1986–2010 by Oren Patashnik.

License

The LaTeX Project Public License 1.3c or later

apalike-german's People

Contributors

carlorff avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

worldofjarcraft

apalike-german's Issues

MACRO {mar} verursacht Fehler

Das folgende Beispiel verursacht bei mir (MikTeX 2.9/BibTeX 0.99d) im BibTeX-Durchlauf den Fehler

This is BibTeX, Version 0.99d (MiKTeX 2.9.6350 64-bit)
The top-level auxiliary file: jhghjghjasghjsgs.aux
The style file: apalike-german.bst
"}" is missing in command: macro---line 767 of file apalike-german.bst
 : macro {mar} {"M\"
 :                  {a}rz"}
Database file #1: jhghjghjasghjsgs.bib
Warning--empty publisher in elk
(There was 1 error message)
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel} 
\usepackage{natbib}         
\usepackage[T1]{fontenc}    

\begin{filecontents}{\jobname.bib}
@book{elk,
  author = {Elk, Anne},
  year   = {1980},
  title  = {Towards a Unified Theory on Brontosauruses},
}
\end{filecontents}

\begin{document}
\citep{elk}

\bibliography{\jobname}
\bibliographystyle{apalike-german}
\end{document}

Das Problem scheint mir die Zeile

MACRO {mar} {"M\"{a}rz"}

zu sein. Andere deutsche Stile haben dort MACRO{mar}{"M\^^b{a}rz"}, siehe auch Q36 in http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf

Via https://tex.stackexchange.com/q/382865/35864

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.