pdflatex required files for a language (Chinese,Japanese)












0















I am new to LaTeX and struggling with understanding of userpackages, .sty, .tfm, etc files.



I have a requirement to create PDF with latex equations in Spanish,Chinese and Japanese.



What I have tried till now :



I tried creating document using Spanish using following code



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

begin{document}

tableofcontents

vspace{2cm} %Add a 2cm space

begin{abstract}
Este es un breve resumen del contenido del
documento escrito en español.
end{abstract}

section{Sección introductoria}
Esta es la primera sección, podemos agregar
algunos elementos adicionales y todo será
escrito correctamente. Más aún, si una palabra
es demasiado larga y tiene que ser truncada,
babel tratará de truncarla correctamente
dependiendo del idioma.

section{Sección con teoremas}
Esta sección es para ver qué pasa con los comandos
que definen texto

end{document}


Using pdflatex.exe spanish.tex in command prompt, it gave an error of .sty missing file. During installation of MiKTeX, I had selected the option to download when needed, but it does not download when required and gives FATAL error in the log file.



So, I searched that file on net and kept it in the same location as pdflatex.exe.



The spanish.pdf was generated.



Similary, I tried for Chinese lang data in the tex file.



But if gave lots of missing files - CJKutf8.sty, CJK.sty, CJK.enc, UTF8.bdg, UTF8.enc, etc.



I downloaded them from net but always some or the other file is missing



Chinese PDF document creation questions:




  1. I want to know, for a specific language where can I find all the packages that are required? so that I can download them once and then create PDFs.


  2. Where should be location of the prerequisit files? Once I download the files where should I keep it so that pdflatex.exe will be able to navigate it for that language?



I found that in C:Program files/Miktex 2.9/ there are folders for Babel-English, Babel-Spanish. But nothing for other languages. So, am not clear of where should I paste language specific pre-requisits



I hope the techies will reply with a layman answer at their earliest.



I could not get document for multi-language support for LaTeX as well... If you have something related, please send me the link.



Thanks in advance...










share|improve this question




















  • 5





    Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

    – Ulrike Fischer
    Jan 9 at 7:45











  • See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

    – JouleV
    Jan 9 at 8:11













  • I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

    – Priyanka Salvi Shelke
    Jan 9 at 9:43













  • You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

    – Ulrike Fischer
    Jan 9 at 16:22











  • Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

    – Priyanka Salvi Shelke
    Jan 10 at 5:40


















0















I am new to LaTeX and struggling with understanding of userpackages, .sty, .tfm, etc files.



I have a requirement to create PDF with latex equations in Spanish,Chinese and Japanese.



What I have tried till now :



I tried creating document using Spanish using following code



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

begin{document}

tableofcontents

vspace{2cm} %Add a 2cm space

begin{abstract}
Este es un breve resumen del contenido del
documento escrito en español.
end{abstract}

section{Sección introductoria}
Esta es la primera sección, podemos agregar
algunos elementos adicionales y todo será
escrito correctamente. Más aún, si una palabra
es demasiado larga y tiene que ser truncada,
babel tratará de truncarla correctamente
dependiendo del idioma.

section{Sección con teoremas}
Esta sección es para ver qué pasa con los comandos
que definen texto

end{document}


Using pdflatex.exe spanish.tex in command prompt, it gave an error of .sty missing file. During installation of MiKTeX, I had selected the option to download when needed, but it does not download when required and gives FATAL error in the log file.



So, I searched that file on net and kept it in the same location as pdflatex.exe.



The spanish.pdf was generated.



Similary, I tried for Chinese lang data in the tex file.



But if gave lots of missing files - CJKutf8.sty, CJK.sty, CJK.enc, UTF8.bdg, UTF8.enc, etc.



I downloaded them from net but always some or the other file is missing



Chinese PDF document creation questions:




  1. I want to know, for a specific language where can I find all the packages that are required? so that I can download them once and then create PDFs.


  2. Where should be location of the prerequisit files? Once I download the files where should I keep it so that pdflatex.exe will be able to navigate it for that language?



I found that in C:Program files/Miktex 2.9/ there are folders for Babel-English, Babel-Spanish. But nothing for other languages. So, am not clear of where should I paste language specific pre-requisits



I hope the techies will reply with a layman answer at their earliest.



I could not get document for multi-language support for LaTeX as well... If you have something related, please send me the link.



Thanks in advance...










share|improve this question




















  • 5





    Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

    – Ulrike Fischer
    Jan 9 at 7:45











  • See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

    – JouleV
    Jan 9 at 8:11













  • I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

    – Priyanka Salvi Shelke
    Jan 9 at 9:43













  • You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

    – Ulrike Fischer
    Jan 9 at 16:22











  • Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

    – Priyanka Salvi Shelke
    Jan 10 at 5:40
















0












0








0








I am new to LaTeX and struggling with understanding of userpackages, .sty, .tfm, etc files.



I have a requirement to create PDF with latex equations in Spanish,Chinese and Japanese.



What I have tried till now :



I tried creating document using Spanish using following code



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

begin{document}

tableofcontents

vspace{2cm} %Add a 2cm space

begin{abstract}
Este es un breve resumen del contenido del
documento escrito en español.
end{abstract}

section{Sección introductoria}
Esta es la primera sección, podemos agregar
algunos elementos adicionales y todo será
escrito correctamente. Más aún, si una palabra
es demasiado larga y tiene que ser truncada,
babel tratará de truncarla correctamente
dependiendo del idioma.

section{Sección con teoremas}
Esta sección es para ver qué pasa con los comandos
que definen texto

end{document}


Using pdflatex.exe spanish.tex in command prompt, it gave an error of .sty missing file. During installation of MiKTeX, I had selected the option to download when needed, but it does not download when required and gives FATAL error in the log file.



So, I searched that file on net and kept it in the same location as pdflatex.exe.



The spanish.pdf was generated.



Similary, I tried for Chinese lang data in the tex file.



But if gave lots of missing files - CJKutf8.sty, CJK.sty, CJK.enc, UTF8.bdg, UTF8.enc, etc.



I downloaded them from net but always some or the other file is missing



Chinese PDF document creation questions:




  1. I want to know, for a specific language where can I find all the packages that are required? so that I can download them once and then create PDFs.


  2. Where should be location of the prerequisit files? Once I download the files where should I keep it so that pdflatex.exe will be able to navigate it for that language?



I found that in C:Program files/Miktex 2.9/ there are folders for Babel-English, Babel-Spanish. But nothing for other languages. So, am not clear of where should I paste language specific pre-requisits



I hope the techies will reply with a layman answer at their earliest.



I could not get document for multi-language support for LaTeX as well... If you have something related, please send me the link.



Thanks in advance...










share|improve this question
















I am new to LaTeX and struggling with understanding of userpackages, .sty, .tfm, etc files.



I have a requirement to create PDF with latex equations in Spanish,Chinese and Japanese.



What I have tried till now :



I tried creating document using Spanish using following code



documentclass{article}
usepackage[utf8]{inputenc}
usepackage[spanish]{babel}

begin{document}

tableofcontents

vspace{2cm} %Add a 2cm space

begin{abstract}
Este es un breve resumen del contenido del
documento escrito en español.
end{abstract}

section{Sección introductoria}
Esta es la primera sección, podemos agregar
algunos elementos adicionales y todo será
escrito correctamente. Más aún, si una palabra
es demasiado larga y tiene que ser truncada,
babel tratará de truncarla correctamente
dependiendo del idioma.

section{Sección con teoremas}
Esta sección es para ver qué pasa con los comandos
que definen texto

end{document}


Using pdflatex.exe spanish.tex in command prompt, it gave an error of .sty missing file. During installation of MiKTeX, I had selected the option to download when needed, but it does not download when required and gives FATAL error in the log file.



So, I searched that file on net and kept it in the same location as pdflatex.exe.



The spanish.pdf was generated.



Similary, I tried for Chinese lang data in the tex file.



But if gave lots of missing files - CJKutf8.sty, CJK.sty, CJK.enc, UTF8.bdg, UTF8.enc, etc.



I downloaded them from net but always some or the other file is missing



Chinese PDF document creation questions:




  1. I want to know, for a specific language where can I find all the packages that are required? so that I can download them once and then create PDFs.


  2. Where should be location of the prerequisit files? Once I download the files where should I keep it so that pdflatex.exe will be able to navigate it for that language?



I found that in C:Program files/Miktex 2.9/ there are folders for Babel-English, Babel-Spanish. But nothing for other languages. So, am not clear of where should I paste language specific pre-requisits



I hope the techies will reply with a layman answer at their earliest.



I could not get document for multi-language support for LaTeX as well... If you have something related, please send me the link.



Thanks in advance...







pdftex packages chinese






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 9 at 7:58









Stefan Pinnow

19.6k83275




19.6k83275










asked Jan 9 at 7:41









Priyanka Salvi ShelkePriyanka Salvi Shelke

62




62








  • 5





    Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

    – Ulrike Fischer
    Jan 9 at 7:45











  • See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

    – JouleV
    Jan 9 at 8:11













  • I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

    – Priyanka Salvi Shelke
    Jan 9 at 9:43













  • You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

    – Ulrike Fischer
    Jan 9 at 16:22











  • Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

    – Priyanka Salvi Shelke
    Jan 10 at 5:40
















  • 5





    Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

    – Ulrike Fischer
    Jan 9 at 7:45











  • See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

    – JouleV
    Jan 9 at 8:11













  • I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

    – Priyanka Salvi Shelke
    Jan 9 at 9:43













  • You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

    – Ulrike Fischer
    Jan 9 at 16:22











  • Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

    – Priyanka Salvi Shelke
    Jan 10 at 5:40










5




5





Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

– Ulrike Fischer
Jan 9 at 7:45





Don't install manually. Use the MiKTeX console if the on-the-fly installation doesn't work.

– Ulrike Fischer
Jan 9 at 7:45













See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

– JouleV
Jan 9 at 8:11







See here. If you installed MiKTeX properly, you will have a MiKTeX Console application. Just search for your necessary packages and click + to install them, and you will get everything you need, not only the .sty files. The picture is when I search for "CJ" only.

– JouleV
Jan 9 at 8:11















I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

– Priyanka Salvi Shelke
Jan 9 at 9:43







I tried installing from the console, but it is giving error -"Couldn't connect to server", Details : Code = 7

– Priyanka Salvi Shelke
Jan 9 at 9:43















You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

– Ulrike Fischer
Jan 9 at 16:22





You can setup a local repository and use this in the miktex console. See tex.stackexchange.com/questions/462203/…

– Ulrike Fischer
Jan 9 at 16:22













Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

– Priyanka Salvi Shelke
Jan 10 at 5:40







Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers

– Priyanka Salvi Shelke
Jan 10 at 5:40












1 Answer
1






active

oldest

votes


















0














Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers






share|improve this answer








New contributor




Priyanka Salvi Shelke 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%2f469302%2fpdflatex-required-files-for-a-language-chinese-japanese%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers






    share|improve this answer








    New contributor




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

























      0














      Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers






      share|improve this answer








      New contributor




      Priyanka Salvi Shelke 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







        Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers






        share|improve this answer








        New contributor




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










        Setting up local repository worked charm for me... Refered the post on tex.stackexchange.com/questions/462203/… . I also included the file "zhmetrics.tar.lzma" as it was required for my Chinese text. So, I downloaded from "mirror.iopb.res.in/tex-archive/systems/win32/miktex/tm/packages". Thank you for the pointers







        share|improve this answer








        New contributor




        Priyanka Salvi Shelke 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




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









        answered Jan 10 at 5:45









        Priyanka Salvi ShelkePriyanka Salvi Shelke

        62




        62




        New contributor




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





        New contributor





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






        Priyanka Salvi Shelke 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%2f469302%2fpdflatex-required-files-for-a-language-chinese-japanese%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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents