Problem with multiple languages in BibTeX












4















I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code:



documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
usepackage[english,spanish]{babel}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{amssymb}
.
.
usepackage{indentfirst} %(Because I have declared a new language, english)
usepackage[apaciteclassic]{apacite}
usepackage[round,authoryear]{natbib}
.
.
begin{document}
selectlanguage{spanish}
.
.
.
bibliographystyle{apacite}
renewcommand{bibname}{REFERENCIAS}
letoldbibsectionbibsection
bibliography{biblioteca}
.
.
.
end{document}


All works but the bibliography is showed in English (for example, the ordinal numbers are showed "Nth", instead of Nª, "and" instead of "y", etc). If I type usepackage[spanish]{babel} and delete selectlanguage{spanish} the bibliography is showed in Spanish. What I can do? I need to use both languages.










share|improve this question

























  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – karlkoeller
    Aug 17 '13 at 15:53






  • 3





    Can you add to your question two english and two spanish bib entrys?

    – Kurt
    Aug 17 '13 at 16:02






  • 3





    I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

    – Javier Bezos
    Aug 17 '13 at 16:33











  • @JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

    – karlkoeller
    Aug 17 '13 at 17:39











  • I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

    – GregM
    Aug 17 '13 at 19:31


















4















I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code:



documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
usepackage[english,spanish]{babel}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{amssymb}
.
.
usepackage{indentfirst} %(Because I have declared a new language, english)
usepackage[apaciteclassic]{apacite}
usepackage[round,authoryear]{natbib}
.
.
begin{document}
selectlanguage{spanish}
.
.
.
bibliographystyle{apacite}
renewcommand{bibname}{REFERENCIAS}
letoldbibsectionbibsection
bibliography{biblioteca}
.
.
.
end{document}


All works but the bibliography is showed in English (for example, the ordinal numbers are showed "Nth", instead of Nª, "and" instead of "y", etc). If I type usepackage[spanish]{babel} and delete selectlanguage{spanish} the bibliography is showed in Spanish. What I can do? I need to use both languages.










share|improve this question

























  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – karlkoeller
    Aug 17 '13 at 15:53






  • 3





    Can you add to your question two english and two spanish bib entrys?

    – Kurt
    Aug 17 '13 at 16:02






  • 3





    I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

    – Javier Bezos
    Aug 17 '13 at 16:33











  • @JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

    – karlkoeller
    Aug 17 '13 at 17:39











  • I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

    – GregM
    Aug 17 '13 at 19:31
















4












4








4


0






I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code:



documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
usepackage[english,spanish]{babel}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{amssymb}
.
.
usepackage{indentfirst} %(Because I have declared a new language, english)
usepackage[apaciteclassic]{apacite}
usepackage[round,authoryear]{natbib}
.
.
begin{document}
selectlanguage{spanish}
.
.
.
bibliographystyle{apacite}
renewcommand{bibname}{REFERENCIAS}
letoldbibsectionbibsection
bibliography{biblioteca}
.
.
.
end{document}


All works but the bibliography is showed in English (for example, the ordinal numbers are showed "Nth", instead of Nª, "and" instead of "y", etc). If I type usepackage[spanish]{babel} and delete selectlanguage{spanish} the bibliography is showed in Spanish. What I can do? I need to use both languages.










share|improve this question
















I'm new here. I'm typing my Thesis and I'm using two languages (Spanish, English). This is my code:



documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie}
usepackage[english,spanish]{babel}
usepackage[latin1]{inputenc}
usepackage[T1]{fontenc}
usepackage{amssymb}
.
.
usepackage{indentfirst} %(Because I have declared a new language, english)
usepackage[apaciteclassic]{apacite}
usepackage[round,authoryear]{natbib}
.
.
begin{document}
selectlanguage{spanish}
.
.
.
bibliographystyle{apacite}
renewcommand{bibname}{REFERENCIAS}
letoldbibsectionbibsection
bibliography{biblioteca}
.
.
.
end{document}


All works but the bibliography is showed in English (for example, the ordinal numbers are showed "Nth", instead of Nª, "and" instead of "y", etc). If I type usepackage[spanish]{babel} and delete selectlanguage{spanish} the bibliography is showed in Spanish. What I can do? I need to use both languages.







bibtex languages babel spanish






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 17 '13 at 16:31









lockstep

191k52590721




191k52590721










asked Aug 17 '13 at 15:46









GregMGregM

4818




4818













  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – karlkoeller
    Aug 17 '13 at 15:53






  • 3





    Can you add to your question two english and two spanish bib entrys?

    – Kurt
    Aug 17 '13 at 16:02






  • 3





    I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

    – Javier Bezos
    Aug 17 '13 at 16:33











  • @JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

    – karlkoeller
    Aug 17 '13 at 17:39











  • I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

    – GregM
    Aug 17 '13 at 19:31





















  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

    – karlkoeller
    Aug 17 '13 at 15:53






  • 3





    Can you add to your question two english and two spanish bib entrys?

    – Kurt
    Aug 17 '13 at 16:02






  • 3





    I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

    – Javier Bezos
    Aug 17 '13 at 16:33











  • @JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

    – karlkoeller
    Aug 17 '13 at 17:39











  • I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

    – GregM
    Aug 17 '13 at 19:31



















Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

– karlkoeller
Aug 17 '13 at 15:53





Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.

– karlkoeller
Aug 17 '13 at 15:53




3




3





Can you add to your question two english and two spanish bib entrys?

– Kurt
Aug 17 '13 at 16:02





Can you add to your question two english and two spanish bib entrys?

– Kurt
Aug 17 '13 at 16:02




3




3





I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

– Javier Bezos
Aug 17 '13 at 16:33





I would like to point out the combination documentclass[spanish]{..} with usepackage[english,spanish]{babel} doesn't make Spanish the main language (the second spanish is just ignored). If you want to set spanish as the main language, you must upgrade to babel 3.9 and use usepackage[english,main=spanish]{babel} or remove spanish from the global options.

– Javier Bezos
Aug 17 '13 at 16:33













@JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

– karlkoeller
Aug 17 '13 at 17:39





@JavierBezos at least all names and hyphenation are changed to Spanish, am I wrong?

– karlkoeller
Aug 17 '13 at 17:39













I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

– GregM
Aug 17 '13 at 19:31







I just removed spanish from the line documentclass[hidelinks,letterpaper,titlepage,12pt,oneside,spanish,final]{report_eie} and everything seems to work fine.

– GregM
Aug 17 '13 at 19:31












2 Answers
2






active

oldest

votes


















2














If I understand you correctly, you want Spanish entries in the bibliography to be handled like they should be in Spanish, and English entries similarly in English?



If this is the case, You'll have to use a bibtex style that is capable of switching the language for each entry in the bibliography.



biblatex provides such a functionality, by using an additional field 'hyphenation' for each bibtex database entry. This field indicates the language the entry should be presented in, thus allowing biblatex to put each entry in a correct babel language environment. Then you'll get each entry in the bibliography to behave in its correctly.






share|improve this answer

































    0














    Can You please show me the solution with biblatex, how to use multiple languages with bibliography style included?



    Thank You for response.






    share|improve this answer








    New contributor




    Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      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%2f128686%2fproblem-with-multiple-languages-in-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









      2














      If I understand you correctly, you want Spanish entries in the bibliography to be handled like they should be in Spanish, and English entries similarly in English?



      If this is the case, You'll have to use a bibtex style that is capable of switching the language for each entry in the bibliography.



      biblatex provides such a functionality, by using an additional field 'hyphenation' for each bibtex database entry. This field indicates the language the entry should be presented in, thus allowing biblatex to put each entry in a correct babel language environment. Then you'll get each entry in the bibliography to behave in its correctly.






      share|improve this answer






























        2














        If I understand you correctly, you want Spanish entries in the bibliography to be handled like they should be in Spanish, and English entries similarly in English?



        If this is the case, You'll have to use a bibtex style that is capable of switching the language for each entry in the bibliography.



        biblatex provides such a functionality, by using an additional field 'hyphenation' for each bibtex database entry. This field indicates the language the entry should be presented in, thus allowing biblatex to put each entry in a correct babel language environment. Then you'll get each entry in the bibliography to behave in its correctly.






        share|improve this answer




























          2












          2








          2







          If I understand you correctly, you want Spanish entries in the bibliography to be handled like they should be in Spanish, and English entries similarly in English?



          If this is the case, You'll have to use a bibtex style that is capable of switching the language for each entry in the bibliography.



          biblatex provides such a functionality, by using an additional field 'hyphenation' for each bibtex database entry. This field indicates the language the entry should be presented in, thus allowing biblatex to put each entry in a correct babel language environment. Then you'll get each entry in the bibliography to behave in its correctly.






          share|improve this answer















          If I understand you correctly, you want Spanish entries in the bibliography to be handled like they should be in Spanish, and English entries similarly in English?



          If this is the case, You'll have to use a bibtex style that is capable of switching the language for each entry in the bibliography.



          biblatex provides such a functionality, by using an additional field 'hyphenation' for each bibtex database entry. This field indicates the language the entry should be presented in, thus allowing biblatex to put each entry in a correct babel language environment. Then you'll get each entry in the bibliography to behave in its correctly.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 18 '13 at 16:39









          alandella

          1,8321435




          1,8321435










          answered Sep 18 '13 at 16:36









          HarriKooHarriKoo

          213




          213























              0














              Can You please show me the solution with biblatex, how to use multiple languages with bibliography style included?



              Thank You for response.






              share|improve this answer








              New contributor




              Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                Can You please show me the solution with biblatex, how to use multiple languages with bibliography style included?



                Thank You for response.






                share|improve this answer








                New contributor




                Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  Can You please show me the solution with biblatex, how to use multiple languages with bibliography style included?



                  Thank You for response.






                  share|improve this answer








                  New contributor




                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  Can You please show me the solution with biblatex, how to use multiple languages with bibliography style included?



                  Thank You for response.







                  share|improve this answer








                  New contributor




                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 17 mins ago









                  Michal NytraMichal Nytra

                  1




                  1




                  New contributor




                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  Michal Nytra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      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%2f128686%2fproblem-with-multiple-languages-in-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

                      Accessing regular linux commands in Huawei's Dopra Linux

                      Can't connect RFCOMM socket: Host is down

                      Kernel panic - not syncing: Fatal Exception in Interrupt