diff options
author | Karl Berry <karl@freefriends.org> | 2009-10-11 23:17:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-10-11 23:17:58 +0000 |
commit | 66f6f7f59a221b7c1189fc36c479b2f4c881cc36 (patch) | |
tree | 4763d05f17bf0b65b4b6b6ec7fa5b8f87512383a /Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex | |
parent | 09b9f326659d969748705afa8711a913db0d06a7 (diff) |
babelbib 1.29 (11oct09)
git-svn-id: svn://tug.org/texlive/trunk@15783 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex index d29e21512bb..bae0cff342c 100644 --- a/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex +++ b/Master/texmf-dist/doc/latex/babelbib/babelbibtest.tex @@ -7,8 +7,8 @@ \usepackage{babel} %% Load package with fixed language or flexible language: -\usepackage[annote,languagenames]{babelbib}[2003/04/21] -%\usepackage[annote,languagenames,fixlanguage]{babelbib}[2003/04/21] +%\usepackage[annote,languagenames]{babelbib}[2003/04/21] +\usepackage[annote,languagenames,datenumeric,fixlanguage]{babelbib}[2003/04/21] %% force a fall-back language other than the document's language \setbtxfallbacklanguage{ngerman} @@ -59,6 +59,24 @@ %% language names: % \newcommand\btxprintamslanguage[1]{} +%\newcommand\btxprintmonthyear[2]{\ifnumber{#1}{#1/#2}{#1\ #2}} +\newcommand\btxprintmonthyearasdf[4]{% + \ifnumber{#2}{% + \ifcase #2 \or + \csname btxmonjan#4\endcsname{#1}\or + \btxmonfeblong{#1}\or \btxmonmarlong{#1}\or + \btxmonaprlong{#1}\or \btxmonmaylong{#1}\or \btxmonjunlong{#1}\or + \btxmonjullong{#1}\or \btxmonauglong{#1}\or \btxmonseplong{#1}\or + \btxmonoctlong{#1}\or \btxmonnovlong{#1}\or \btxmondeclong{#1}\fi + \ #3% + }{% + #2\ #3}% +} + +\declarebtxcommands{english}{% + \def\btxprintmonthyearnum#1#2{#1-#2}% +} + \begin{document} If you change \verb|\usepackage[languagenames,fixlanguage]{babelbib}| to \verb|\usepackage[languagenames]{babelbib}|, the @@ -80,13 +98,17 @@ Remove the \%\ in order to see the effects. %\bibliographystyle{bababbrv} %\bibliographystyle{bababbrv-lf} %\bibliographystyle{bababbrv-fl} -%\bibliographystyle{babplain} +\bibliographystyle{babplain} %\bibliographystyle{babplain-lf} %\bibliographystyle{babplain-fl} -\bibliographystyle{babalpha} +%\bibliographystyle{babalpha} %\bibliographystyle{babunsrt} %\bibliographystyle{babamspl} \bibliography{babelbibtest} +\ifnumber{3}{3/2009}{März 2009} + +\ifnumber{März}{3/2009}{März 2009} + \end{document} |