How to print months in French with BibTeX?












11















How can I print months in French with BibTeX?



@Misc{url-site,
key = {site},
title = {textit{site}},
month = jun,
year = {2012},
howpublished = {URL: texttt{http://www. a web site.com/}}

}


It displays June, but I'd like Juin










share|improve this question





























    11















    How can I print months in French with BibTeX?



    @Misc{url-site,
    key = {site},
    title = {textit{site}},
    month = jun,
    year = {2012},
    howpublished = {URL: texttt{http://www. a web site.com/}}

    }


    It displays June, but I'd like Juin










    share|improve this question



























      11












      11








      11








      How can I print months in French with BibTeX?



      @Misc{url-site,
      key = {site},
      title = {textit{site}},
      month = jun,
      year = {2012},
      howpublished = {URL: texttt{http://www. a web site.com/}}

      }


      It displays June, but I'd like Juin










      share|improve this question
















      How can I print months in French with BibTeX?



      @Misc{url-site,
      key = {site},
      title = {textit{site}},
      month = jun,
      year = {2012},
      howpublished = {URL: texttt{http://www. a web site.com/}}

      }


      It displays June, but I'd like Juin







      bibliographies bibtex datetime






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 5 hours ago









      Jonas Stein

      3,30242746




      3,30242746










      asked Sep 6 '12 at 16:45









      researcherresearcher

      1,56562739




      1,56562739






















          2 Answers
          2






          active

          oldest

          votes


















          8














          You don't indicate which bibliography style file you use, so I'll assume that it's the "default" file, viz., plain.bst. If so, the problem you're facing is that this file contains the instruction



          MACRO {jun} {"June"}


          Thus, the string "jun" in your bib file will be typeset as "June" unless there's an explicit override. You can provide this override by inserting the instruction



          @string{ jun = "Juin" }


          at the top of your bib file.



          Separately, I'd also recommend that you change the line



          howpublished = {URL: texttt{http://www.awebsite.com/}}


          to



          howpublished = {URL: url{http://www.awebsite.com/}}


          and load the url package (which provides the command url). The advantage of taking this approach is that the url package can (almost) always choose a suitable line break for long and complicated url strings, letting you avoid massively underfull or overfull lines.



          Taking these observations together, your .bib file (called, say, urlcite.bib) should contain:



          @string{ jun = "Juin" }
          @Misc{url-site,
          key = {site},
          title = {textit{site}},
          month = jun,
          year = 2012,
          howpublished = {URL: url{http://www.awebsite.com/}}
          }


          A full MWE might then look like this:



          documentclass{article}
          usepackage{url} % for the url command
          bibliographystyle{plain} % or whatever style file you prefer
          usepackage[french]{babel}
          begin{document}
          cite{url-site}
          bibliography{urlcite} % if bib entries are in the file "urlcite.bib"
          end{document}





          share|improve this answer

































            11














            You only have to add one of the following sections to your .bib file:



            English



            @STRING{ jan = "January" }
            @STRING{ feb = "February" }
            @STRING{ mar = "March" }
            @STRING{ apr = "April" }
            @STRING{ may = "May" }
            @STRING{ jun = "June" }
            @STRING{ jul = "July" }
            @STRING{ aug = "August" }
            @STRING{ sep = "September" }
            @STRING{ oct = "October" }
            @STRING{ nov = "November" }
            @STRING{ dec = "December" }


            French



            @STRING{ jan = "Janvier" }
            @STRING{ feb = "F{'e}vrier" }
            @STRING{ mar = "Mars" }
            @STRING{ apr = "Avril" }
            @STRING{ may = "Mai" }
            @STRING{ jun = "Juin" }
            @STRING{ jul = "Juilliet" }
            @STRING{ aug = "Ao{^u}t" }
            @STRING{ sep = "Septembre" }
            @STRING{ oct = "Octobre" }
            @STRING{ nov = "Novembre" }
            @STRING{ dec = "D{'e}cembre" }


            German



            @STRING{ jan = "Januar" }
            @STRING{ feb = "Februar" }
            @STRING{ mar = "M{"a}rz" }
            @STRING{ apr = "April" }
            @STRING{ may = "Mai" }
            @STRING{ jun = "Juni" }
            @STRING{ jul = "Juli" }
            @STRING{ aug = "August" }
            @STRING{ sep = "September" }
            @STRING{ oct = "Oktober" }
            @STRING{ nov = "November" }
            @STRING{ dec = "Dezember" }





            share|improve this answer


























            • the same problem persist ;(

              – researcher
              Sep 6 '12 at 17:37











            • @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

              – researcher
              Sep 6 '12 at 17:39











            • @MarcoDaniel Sorry, I forgot the @

              – egreg
              Sep 6 '12 at 17:39






            • 1





              @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

              – Martin Thoma
              Sep 4 '15 at 15:08












            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f70455%2fhow-to-print-months-in-french-with-bibtex%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            8














            You don't indicate which bibliography style file you use, so I'll assume that it's the "default" file, viz., plain.bst. If so, the problem you're facing is that this file contains the instruction



            MACRO {jun} {"June"}


            Thus, the string "jun" in your bib file will be typeset as "June" unless there's an explicit override. You can provide this override by inserting the instruction



            @string{ jun = "Juin" }


            at the top of your bib file.



            Separately, I'd also recommend that you change the line



            howpublished = {URL: texttt{http://www.awebsite.com/}}


            to



            howpublished = {URL: url{http://www.awebsite.com/}}


            and load the url package (which provides the command url). The advantage of taking this approach is that the url package can (almost) always choose a suitable line break for long and complicated url strings, letting you avoid massively underfull or overfull lines.



            Taking these observations together, your .bib file (called, say, urlcite.bib) should contain:



            @string{ jun = "Juin" }
            @Misc{url-site,
            key = {site},
            title = {textit{site}},
            month = jun,
            year = 2012,
            howpublished = {URL: url{http://www.awebsite.com/}}
            }


            A full MWE might then look like this:



            documentclass{article}
            usepackage{url} % for the url command
            bibliographystyle{plain} % or whatever style file you prefer
            usepackage[french]{babel}
            begin{document}
            cite{url-site}
            bibliography{urlcite} % if bib entries are in the file "urlcite.bib"
            end{document}





            share|improve this answer






























              8














              You don't indicate which bibliography style file you use, so I'll assume that it's the "default" file, viz., plain.bst. If so, the problem you're facing is that this file contains the instruction



              MACRO {jun} {"June"}


              Thus, the string "jun" in your bib file will be typeset as "June" unless there's an explicit override. You can provide this override by inserting the instruction



              @string{ jun = "Juin" }


              at the top of your bib file.



              Separately, I'd also recommend that you change the line



              howpublished = {URL: texttt{http://www.awebsite.com/}}


              to



              howpublished = {URL: url{http://www.awebsite.com/}}


              and load the url package (which provides the command url). The advantage of taking this approach is that the url package can (almost) always choose a suitable line break for long and complicated url strings, letting you avoid massively underfull or overfull lines.



              Taking these observations together, your .bib file (called, say, urlcite.bib) should contain:



              @string{ jun = "Juin" }
              @Misc{url-site,
              key = {site},
              title = {textit{site}},
              month = jun,
              year = 2012,
              howpublished = {URL: url{http://www.awebsite.com/}}
              }


              A full MWE might then look like this:



              documentclass{article}
              usepackage{url} % for the url command
              bibliographystyle{plain} % or whatever style file you prefer
              usepackage[french]{babel}
              begin{document}
              cite{url-site}
              bibliography{urlcite} % if bib entries are in the file "urlcite.bib"
              end{document}





              share|improve this answer




























                8












                8








                8







                You don't indicate which bibliography style file you use, so I'll assume that it's the "default" file, viz., plain.bst. If so, the problem you're facing is that this file contains the instruction



                MACRO {jun} {"June"}


                Thus, the string "jun" in your bib file will be typeset as "June" unless there's an explicit override. You can provide this override by inserting the instruction



                @string{ jun = "Juin" }


                at the top of your bib file.



                Separately, I'd also recommend that you change the line



                howpublished = {URL: texttt{http://www.awebsite.com/}}


                to



                howpublished = {URL: url{http://www.awebsite.com/}}


                and load the url package (which provides the command url). The advantage of taking this approach is that the url package can (almost) always choose a suitable line break for long and complicated url strings, letting you avoid massively underfull or overfull lines.



                Taking these observations together, your .bib file (called, say, urlcite.bib) should contain:



                @string{ jun = "Juin" }
                @Misc{url-site,
                key = {site},
                title = {textit{site}},
                month = jun,
                year = 2012,
                howpublished = {URL: url{http://www.awebsite.com/}}
                }


                A full MWE might then look like this:



                documentclass{article}
                usepackage{url} % for the url command
                bibliographystyle{plain} % or whatever style file you prefer
                usepackage[french]{babel}
                begin{document}
                cite{url-site}
                bibliography{urlcite} % if bib entries are in the file "urlcite.bib"
                end{document}





                share|improve this answer















                You don't indicate which bibliography style file you use, so I'll assume that it's the "default" file, viz., plain.bst. If so, the problem you're facing is that this file contains the instruction



                MACRO {jun} {"June"}


                Thus, the string "jun" in your bib file will be typeset as "June" unless there's an explicit override. You can provide this override by inserting the instruction



                @string{ jun = "Juin" }


                at the top of your bib file.



                Separately, I'd also recommend that you change the line



                howpublished = {URL: texttt{http://www.awebsite.com/}}


                to



                howpublished = {URL: url{http://www.awebsite.com/}}


                and load the url package (which provides the command url). The advantage of taking this approach is that the url package can (almost) always choose a suitable line break for long and complicated url strings, letting you avoid massively underfull or overfull lines.



                Taking these observations together, your .bib file (called, say, urlcite.bib) should contain:



                @string{ jun = "Juin" }
                @Misc{url-site,
                key = {site},
                title = {textit{site}},
                month = jun,
                year = 2012,
                howpublished = {URL: url{http://www.awebsite.com/}}
                }


                A full MWE might then look like this:



                documentclass{article}
                usepackage{url} % for the url command
                bibliographystyle{plain} % or whatever style file you prefer
                usepackage[french]{babel}
                begin{document}
                cite{url-site}
                bibliography{urlcite} % if bib entries are in the file "urlcite.bib"
                end{document}






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Sep 6 '12 at 18:40

























                answered Sep 6 '12 at 17:48









                MicoMico

                285k31388778




                285k31388778























                    11














                    You only have to add one of the following sections to your .bib file:



                    English



                    @STRING{ jan = "January" }
                    @STRING{ feb = "February" }
                    @STRING{ mar = "March" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "May" }
                    @STRING{ jun = "June" }
                    @STRING{ jul = "July" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "October" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "December" }


                    French



                    @STRING{ jan = "Janvier" }
                    @STRING{ feb = "F{'e}vrier" }
                    @STRING{ mar = "Mars" }
                    @STRING{ apr = "Avril" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juin" }
                    @STRING{ jul = "Juilliet" }
                    @STRING{ aug = "Ao{^u}t" }
                    @STRING{ sep = "Septembre" }
                    @STRING{ oct = "Octobre" }
                    @STRING{ nov = "Novembre" }
                    @STRING{ dec = "D{'e}cembre" }


                    German



                    @STRING{ jan = "Januar" }
                    @STRING{ feb = "Februar" }
                    @STRING{ mar = "M{"a}rz" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juni" }
                    @STRING{ jul = "Juli" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "Oktober" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "Dezember" }





                    share|improve this answer


























                    • the same problem persist ;(

                      – researcher
                      Sep 6 '12 at 17:37











                    • @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                      – researcher
                      Sep 6 '12 at 17:39











                    • @MarcoDaniel Sorry, I forgot the @

                      – egreg
                      Sep 6 '12 at 17:39






                    • 1





                      @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                      – Martin Thoma
                      Sep 4 '15 at 15:08
















                    11














                    You only have to add one of the following sections to your .bib file:



                    English



                    @STRING{ jan = "January" }
                    @STRING{ feb = "February" }
                    @STRING{ mar = "March" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "May" }
                    @STRING{ jun = "June" }
                    @STRING{ jul = "July" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "October" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "December" }


                    French



                    @STRING{ jan = "Janvier" }
                    @STRING{ feb = "F{'e}vrier" }
                    @STRING{ mar = "Mars" }
                    @STRING{ apr = "Avril" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juin" }
                    @STRING{ jul = "Juilliet" }
                    @STRING{ aug = "Ao{^u}t" }
                    @STRING{ sep = "Septembre" }
                    @STRING{ oct = "Octobre" }
                    @STRING{ nov = "Novembre" }
                    @STRING{ dec = "D{'e}cembre" }


                    German



                    @STRING{ jan = "Januar" }
                    @STRING{ feb = "Februar" }
                    @STRING{ mar = "M{"a}rz" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juni" }
                    @STRING{ jul = "Juli" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "Oktober" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "Dezember" }





                    share|improve this answer


























                    • the same problem persist ;(

                      – researcher
                      Sep 6 '12 at 17:37











                    • @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                      – researcher
                      Sep 6 '12 at 17:39











                    • @MarcoDaniel Sorry, I forgot the @

                      – egreg
                      Sep 6 '12 at 17:39






                    • 1





                      @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                      – Martin Thoma
                      Sep 4 '15 at 15:08














                    11












                    11








                    11







                    You only have to add one of the following sections to your .bib file:



                    English



                    @STRING{ jan = "January" }
                    @STRING{ feb = "February" }
                    @STRING{ mar = "March" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "May" }
                    @STRING{ jun = "June" }
                    @STRING{ jul = "July" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "October" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "December" }


                    French



                    @STRING{ jan = "Janvier" }
                    @STRING{ feb = "F{'e}vrier" }
                    @STRING{ mar = "Mars" }
                    @STRING{ apr = "Avril" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juin" }
                    @STRING{ jul = "Juilliet" }
                    @STRING{ aug = "Ao{^u}t" }
                    @STRING{ sep = "Septembre" }
                    @STRING{ oct = "Octobre" }
                    @STRING{ nov = "Novembre" }
                    @STRING{ dec = "D{'e}cembre" }


                    German



                    @STRING{ jan = "Januar" }
                    @STRING{ feb = "Februar" }
                    @STRING{ mar = "M{"a}rz" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juni" }
                    @STRING{ jul = "Juli" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "Oktober" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "Dezember" }





                    share|improve this answer















                    You only have to add one of the following sections to your .bib file:



                    English



                    @STRING{ jan = "January" }
                    @STRING{ feb = "February" }
                    @STRING{ mar = "March" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "May" }
                    @STRING{ jun = "June" }
                    @STRING{ jul = "July" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "October" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "December" }


                    French



                    @STRING{ jan = "Janvier" }
                    @STRING{ feb = "F{'e}vrier" }
                    @STRING{ mar = "Mars" }
                    @STRING{ apr = "Avril" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juin" }
                    @STRING{ jul = "Juilliet" }
                    @STRING{ aug = "Ao{^u}t" }
                    @STRING{ sep = "Septembre" }
                    @STRING{ oct = "Octobre" }
                    @STRING{ nov = "Novembre" }
                    @STRING{ dec = "D{'e}cembre" }


                    German



                    @STRING{ jan = "Januar" }
                    @STRING{ feb = "Februar" }
                    @STRING{ mar = "M{"a}rz" }
                    @STRING{ apr = "April" }
                    @STRING{ may = "Mai" }
                    @STRING{ jun = "Juni" }
                    @STRING{ jul = "Juli" }
                    @STRING{ aug = "August" }
                    @STRING{ sep = "September" }
                    @STRING{ oct = "Oktober" }
                    @STRING{ nov = "November" }
                    @STRING{ dec = "Dezember" }






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 29 '15 at 10:32

























                    answered Sep 6 '12 at 17:31









                    egregegreg

                    732k8919303253




                    732k8919303253













                    • the same problem persist ;(

                      – researcher
                      Sep 6 '12 at 17:37











                    • @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                      – researcher
                      Sep 6 '12 at 17:39











                    • @MarcoDaniel Sorry, I forgot the @

                      – egreg
                      Sep 6 '12 at 17:39






                    • 1





                      @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                      – Martin Thoma
                      Sep 4 '15 at 15:08



















                    • the same problem persist ;(

                      – researcher
                      Sep 6 '12 at 17:37











                    • @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                      – researcher
                      Sep 6 '12 at 17:39











                    • @MarcoDaniel Sorry, I forgot the @

                      – egreg
                      Sep 6 '12 at 17:39






                    • 1





                      @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                      – Martin Thoma
                      Sep 4 '15 at 15:08

















                    the same problem persist ;(

                    – researcher
                    Sep 6 '12 at 17:37





                    the same problem persist ;(

                    – researcher
                    Sep 6 '12 at 17:37













                    @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                    – researcher
                    Sep 6 '12 at 17:39





                    @string{Jan = "Janvier"} not STRING{ jan = "Janvier" } Thank you so much for help

                    – researcher
                    Sep 6 '12 at 17:39













                    @MarcoDaniel Sorry, I forgot the @

                    – egreg
                    Sep 6 '12 at 17:39





                    @MarcoDaniel Sorry, I forgot the @

                    – egreg
                    Sep 6 '12 at 17:39




                    1




                    1





                    @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                    – Martin Thoma
                    Sep 4 '15 at 15:08





                    @egreg May I add the German one to your answer for convenience? (so that Germans finding this answer can copy-paste it)

                    – Martin Thoma
                    Sep 4 '15 at 15:08


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f70455%2fhow-to-print-months-in-french-with-bibtex%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Lallio

                    Futebolista

                    Jornalista