Sie sind hier

scrdate und austrian

Hallo,

laut scrguide sollte die Ausgabe des Wochentages für "austrian" auf Deutsch möglich sein:
...
Das scrdate-Paket beherrscht derzeit die Sprachen Englisch (english
und USenglish), Deutsch (german, ngerman und austrian),...

Es wird aber englisch (default) ausgegeben.

Eine private Erweiterung der scrdate.sty bringt deutsche Namen.

\newdaylanguage{austrian}{Montag}{Dienstag}{Mittwoch}
               {Donnerstag}{Freitag}{Samstag}{Sonntag}
\newdaylanguage{naustrian}{Montag}{Dienstag}{Mittwoch}
               {Donnerstag}{Freitag}{Samstag}{Sonntag}

Beispiel:

\documentclass[]{scrbook}
\usepackage[naustrian]{babel}
\usepackage[T1]{fontenc}  
\usepackage[latin1]{inputenc} 
\usepackage{scrdate}
\begin{document}
\DayName{1999}{11}{24}
\end{document}

Meine Frage: mache ich etwas falsch oder könnte scrdate für Österreich erweitert werden?

Weiters fallen in meinem log warnings auf, für die ich keine Erklärung habe:

This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
entering extended mode
LaTeX2e
Babel and hyphenation patterns for english, afrikaans, ancientgreek, arabic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, galician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, icelandic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usenglishmax, welsh, loaded.
(c:\Temp\tex\Test\Datum_test.tex
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrbook.cls"
Document Class: scrbook 2011/01/25 v3.08 KOMA-Script document class (book)
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrkbase.sty"
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrbase.sty"
("C:\Programme\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrlfile.sty"
Package scrlfile, 2010/11/05 v3.08 KOMA-Script package (loading files)
Copyright (C) Markus Kohm

))) ("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\tocbasic.sty")
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrsize11pt.clo")
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\typearea.sty"
Package typearea, 2011/01/25 v3.08 KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-

)) ("C:\Programme\MiKTeX 2.9\tex\generic\babel\babel.sty"
*************************************
* Local config file bblopts.cfg used
*
("C:\Programme\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg")
("C:\Programme\MiKTeX 2.9\tex\generic\babel\ngermanb.ldf"
("C:\Programme\MiKTeX 2.9\tex\generic\babel\babel.def")))
("C:\Programme\MiKTeX 2.9\tex\latex\base\fontenc.sty"
("C:\Programme\MiKTeX 2.9\tex\latex\base\t1enc.def"))
("C:\Programme\MiKTeX 2.9\tex\latex\base\inputenc.sty"
("C:\Programme\MiKTeX 2.9\tex\latex\base\latin1.def"))
("C:\Programme\MiKTeX 2.9\tex\latex\koma-script\scrdate.sty")
(c:\Temp\tex\Test\Datum_test.aux)

Package scrdate Warning: \dategerman not defined.
(scrdate) \todaysnamemaybe can't use \dayname@german!.

Package scrdate Warning: \dateenglish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@english!.

Package scrdate Warning: \dateUSenglish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@USenglish!.

Package scrdate Warning: \datefrench not defined.
(scrdate) \todaysnamemaybe can't use \dayname@french!.

Package scrdate Warning: \dateitalian not defined.
(scrdate) \todaysnamemaybe can't use \dayname@italian!.

Package scrdate Warning: \datespanish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@spanish!.

Package scrdate Warning: \datecroatian not defined.
(scrdate) \todaysnamemaybe can't use \dayname@croatian!.

Package scrdate Warning: \datedutch not defined.
(scrdate) \todaysnamemaybe can't use \dayname@dutch!.

Package scrdate Warning: \datefinnish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@finnish!.

Package scrdate Warning: \datenorsk not defined.
(scrdate) \todaysnamemaybe can't use \dayname@norsk!.

Package scrdate Warning: \datedanish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@danish!.

Package scrdate Warning: \dateswedish not defined.
(scrdate) \todaysnamemaybe can't use \dayname@swedish!.

[1] (c:\Temp\tex\Test\Datum_test.aux) )
Output written on Datum_test.dvi (1 page, 236 bytes).
Transcript written on Datum_test.log.

LaTeX finished at Tue Feb 22 10:26:58

forum: 
Bild von Markus Kohm

scrdate wird austrian und naustrian in der nächsten Version unterstützen. Danke für den Hinweis.

Comments for "scrdate und austrian" abonnieren