Commit c16f422b authored by Ellon Mendes's avatar Ellon Mendes
Browse files

Auto select month language in bibliography using \iftoogle

parent 7c4c6578
......@@ -865,29 +865,29 @@ FUNCTION {unpublished}
FUNCTION {default.type} { misc }
MACRO {jan} {"Janvier"}
MACRO {jan} {"\iftoggle{ThesisInEnglish}{January}{Janvier}"}
MACRO {feb} {"Fvrier"}
MACRO {feb} {"\iftoggle{ThesisInEnglish}{February}{F\'{e}vrier}"}
MACRO {mar} {"Mars"}
MACRO {mar} {"\iftoggle{ThesisInEnglish}{March}{Mars}"}
MACRO {apr} {"Avril"}
MACRO {apr} {"\iftoggle{ThesisInEnglish}{April}{Avril}"}
MACRO {may} {"Mai"}
MACRO {may} {"\iftoggle{ThesisInEnglish}{May}{Mai}"}
MACRO {jun} {"Juin"}
MACRO {jun} {"\iftoggle{ThesisInEnglish}{June}{Juin}"}
MACRO {jul} {"Juillet"}
MACRO {jul} {"\iftoggle{ThesisInEnglish}{July}{Juillet}"}
MACRO {aug} {"Aot"}
MACRO {aug} {"\iftoggle{ThesisInEnglish}{August}{Ao\^{u}t}"}
MACRO {sep} {"Septembre"}
MACRO {sep} {"\iftoggle{ThesisInEnglish}{September}{Septembre}"}
MACRO {oct} {"Octobre"}
MACRO {oct} {"\iftoggle{ThesisInEnglish}{October}{Octobre}"}
MACRO {nov} {"Novembre"}
MACRO {nov} {"\iftoggle{ThesisInEnglish}{November}{Novembre}"}
MACRO {dec} {"Dcembre"}
MACRO {dec} {"\iftoggle{ThesisInEnglish}{December}{D\'{e}cembre}"}
MACRO {acmcs} {"ACM Computing Surveys"}
......
......@@ -865,29 +865,29 @@ FUNCTION {unpublished}
FUNCTION {default.type} { misc }
MACRO {jan} {"Janvier"}
MACRO {jan} {"\iftoggle{ThesisInEnglish}{January}{Janvier}"}
MACRO {feb} {"Fvrier"}
MACRO {feb} {"\iftoggle{ThesisInEnglish}{February}{F\'{e}vrier}"}
MACRO {mar} {"Mars"}
MACRO {mar} {"\iftoggle{ThesisInEnglish}{March}{Mars}"}
MACRO {apr} {"Avril"}
MACRO {apr} {"\iftoggle{ThesisInEnglish}{April}{Avril}"}
MACRO {may} {"Mai"}
MACRO {may} {"\iftoggle{ThesisInEnglish}{May}{Mai}"}
MACRO {jun} {"Juin"}
MACRO {jun} {"\iftoggle{ThesisInEnglish}{June}{Juin}"}
MACRO {jul} {"Juillet"}
MACRO {jul} {"\iftoggle{ThesisInEnglish}{July}{Juillet}"}
MACRO {aug} {"Aot"}
MACRO {aug} {"\iftoggle{ThesisInEnglish}{August}{Ao\^{u}t}"}
MACRO {sep} {"Septembre"}
MACRO {sep} {"\iftoggle{ThesisInEnglish}{September}{Septembre}"}
MACRO {oct} {"Octobre"}
MACRO {oct} {"\iftoggle{ThesisInEnglish}{October}{Octobre}"}
MACRO {nov} {"Novembre"}
MACRO {nov} {"\iftoggle{ThesisInEnglish}{November}{Novembre}"}
MACRO {dec} {"Dcembre"}
MACRO {dec} {"\iftoggle{ThesisInEnglish}{December}{D\'{e}cembre}"}
MACRO {acmcs} {"ACM Computing Surveys"}
......
......@@ -3,7 +3,10 @@
To add a new entry chose the proper template, copy-paste it in th end of this
file, replace the "_" by an "at-symbol" (I cannot type it here otherwise this
file could not be processed. See an example in the end of this file), and fill
its fields. Optional fields in the templates are commented out with a '%'.
its fields. Optional fields in the templates are commented out with a '%'. You
can use the month macros (jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec)
without quotes to let the bib-style handle the language of the month (French or
English), like in the example in the end of the file.
Note that not all external programs that process bibliography information in
.bib files support comments inside the reference entry (notably bibtex
......@@ -203,6 +206,7 @@ _unpublished{Xunpublished,
@book{goossens93,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The LaTeX Companion",
month = dec,
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment