Problems in running Latex files-need help to fix












0














I have problem in executing latex files by terminal in Mac due to missing files and unknown modification of tex directory. As I am new user, I don't want to make too changes in system files and ask someone to help to get rid of the problem. For the tex file "my-slides", I have used "latex my-slides", and following errors occur



Shabbirs-MacBook-Pro:slides shabbir$ latex my-slides
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=latex)
restricted write18 enabled.
entering extended mode
(./my-slides.tex
LaTeX2e <2018-04-01> patch level 2
Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
(/opt/local/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/opt/local/share/texmf-texlive/tex/latex/base/size12.clo))
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/graphics.cfg)
(/opt/local/share/texmf-texlive/tex/latex/graphics-def/dvips.def)))
(/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty
(/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/color.cfg)
(/opt/local/share/texmf-texlive/tex/latex/graphics/dvipsnam.def))
(/opt/local/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/opt/local/share/texmf-texlive/tex/latex/amsmath/amstext.sty
(/opt/local/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
(/opt/local/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
(/opt/local/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
(/opt/local/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/opt/local/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/opt/local/share/texmf-texlive/tex/latex/txfonts.sty)
(/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
(/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
kpathsea: Running mktextfm ecrm1200
/opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source abbreviation for ecrm1200.
/opt/local/share/texmf-texlive/web2c/mktexnam: Need to update ?
mktextfm: Running mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200
This is METAFONT, Version 2.7182818 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded base=mf)


kpathsea: Running mktexmf ecrm1200
! I can't find file `ecrm1200'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

Transcript written on mfput.log.
grep: ecrm1200.log: No such file or directory
mktextfm: `mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
kpathsea: Appending font creation commands to missfont.log.

! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
nd.
<to be read again>
relax
l.105 fontencodingencodingdefaultselectfont

?


I have 2015 and 2017 versions of Latex installed and need to compile for "dvipdfmx" command for my desired pdf output. It seems fonts problem but how to correctly fix it is a problem for me.



Can someone help please?









share









New contributor




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

























    0














    I have problem in executing latex files by terminal in Mac due to missing files and unknown modification of tex directory. As I am new user, I don't want to make too changes in system files and ask someone to help to get rid of the problem. For the tex file "my-slides", I have used "latex my-slides", and following errors occur



    Shabbirs-MacBook-Pro:slides shabbir$ latex my-slides
    This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=latex)
    restricted write18 enabled.
    entering extended mode
    (./my-slides.tex
    LaTeX2e <2018-04-01> patch level 2
    Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
    (/opt/local/share/texmf-texlive/tex/latex/base/article.cls
    Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
    (/opt/local/share/texmf-texlive/tex/latex/base/size12.clo))
    (/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
    (/opt/local/share/texmf-texlive/tex/latex/graphics/keyval.sty)
    (/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
    (/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
    (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/graphics.cfg)
    (/opt/local/share/texmf-texlive/tex/latex/graphics-def/dvips.def)))
    (/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty
    (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/color.cfg)
    (/opt/local/share/texmf-texlive/tex/latex/graphics/dvipsnam.def))
    (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
    For additional information on amsmath, use the `?' option.
    (/opt/local/share/texmf-texlive/tex/latex/amsmath/amstext.sty
    (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
    (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
    (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
    (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
    (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
    (/opt/local/share/texmf-texlive/tex/latex/txfonts.sty)
    (/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
    (/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
    kpathsea: Running mktextfm ecrm1200
    /opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source abbreviation for ecrm1200.
    /opt/local/share/texmf-texlive/web2c/mktexnam: Need to update ?
    mktextfm: Running mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200
    This is METAFONT, Version 2.7182818 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded base=mf)


    kpathsea: Running mktexmf ecrm1200
    ! I can't find file `ecrm1200'.
    <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

    Please type another input file name
    ! Emergency stop.
    <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

    Transcript written on mfput.log.
    grep: ecrm1200.log: No such file or directory
    mktextfm: `mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
    kpathsea: Appending font creation commands to missfont.log.

    ! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
    nd.
    <to be read again>
    relax
    l.105 fontencodingencodingdefaultselectfont

    ?


    I have 2015 and 2017 versions of Latex installed and need to compile for "dvipdfmx" command for my desired pdf output. It seems fonts problem but how to correctly fix it is a problem for me.



    Can someone help please?









    share









    New contributor




    khanncp 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







      I have problem in executing latex files by terminal in Mac due to missing files and unknown modification of tex directory. As I am new user, I don't want to make too changes in system files and ask someone to help to get rid of the problem. For the tex file "my-slides", I have used "latex my-slides", and following errors occur



      Shabbirs-MacBook-Pro:slides shabbir$ latex my-slides
      This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=latex)
      restricted write18 enabled.
      entering extended mode
      (./my-slides.tex
      LaTeX2e <2018-04-01> patch level 2
      Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
      (/opt/local/share/texmf-texlive/tex/latex/base/article.cls
      Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
      (/opt/local/share/texmf-texlive/tex/latex/base/size12.clo))
      (/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics/keyval.sty)
      (/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
      (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/graphics.cfg)
      (/opt/local/share/texmf-texlive/tex/latex/graphics-def/dvips.def)))
      (/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/color.cfg)
      (/opt/local/share/texmf-texlive/tex/latex/graphics/dvipsnam.def))
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
      For additional information on amsmath, use the `?' option.
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amstext.sty
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
      (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
      (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
      (/opt/local/share/texmf-texlive/tex/latex/txfonts.sty)
      (/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
      (/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
      kpathsea: Running mktextfm ecrm1200
      /opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source abbreviation for ecrm1200.
      /opt/local/share/texmf-texlive/web2c/mktexnam: Need to update ?
      mktextfm: Running mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200
      This is METAFONT, Version 2.7182818 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded base=mf)


      kpathsea: Running mktexmf ecrm1200
      ! I can't find file `ecrm1200'.
      <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

      Please type another input file name
      ! Emergency stop.
      <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

      Transcript written on mfput.log.
      grep: ecrm1200.log: No such file or directory
      mktextfm: `mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
      kpathsea: Appending font creation commands to missfont.log.

      ! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
      nd.
      <to be read again>
      relax
      l.105 fontencodingencodingdefaultselectfont

      ?


      I have 2015 and 2017 versions of Latex installed and need to compile for "dvipdfmx" command for my desired pdf output. It seems fonts problem but how to correctly fix it is a problem for me.



      Can someone help please?









      share









      New contributor




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











      I have problem in executing latex files by terminal in Mac due to missing files and unknown modification of tex directory. As I am new user, I don't want to make too changes in system files and ask someone to help to get rid of the problem. For the tex file "my-slides", I have used "latex my-slides", and following errors occur



      Shabbirs-MacBook-Pro:slides shabbir$ latex my-slides
      This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=latex)
      restricted write18 enabled.
      entering extended mode
      (./my-slides.tex
      LaTeX2e <2018-04-01> patch level 2
      Babel <3.18> and hyphenation patterns for 3 language(s) loaded.
      (/opt/local/share/texmf-texlive/tex/latex/base/article.cls
      Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
      (/opt/local/share/texmf-texlive/tex/latex/base/size12.clo))
      (/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics/keyval.sty)
      (/opt/local/share/texmf-texlive/tex/latex/graphics/graphics.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics/trig.sty)
      (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/graphics.cfg)
      (/opt/local/share/texmf-texlive/tex/latex/graphics-def/dvips.def)))
      (/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty
      (/opt/local/share/texmf-texlive/tex/latex/graphics-cfg/color.cfg)
      (/opt/local/share/texmf-texlive/tex/latex/graphics/dvipsnam.def))
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
      For additional information on amsmath, use the `?' option.
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amstext.sty
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsgen.sty))
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty)
      (/opt/local/share/texmf-texlive/tex/latex/amsmath/amsopn.sty))
      (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
      (/opt/local/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
      (/opt/local/share/texmf-texlive/tex/latex/txfonts.sty)
      (/opt/local/share/texmf-texlive/tex/latex/base/fontenc.sty
      (/opt/local/share/texmf-texlive/tex/latex/base/t1enc.def)
      kpathsea: Running mktextfm ecrm1200
      /opt/local/share/texmf-texlive/web2c/mktexnam: Could not map source abbreviation for ecrm1200.
      /opt/local/share/texmf-texlive/web2c/mktexnam: Need to update ?
      mktextfm: Running mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200
      This is METAFONT, Version 2.7182818 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded base=mf)


      kpathsea: Running mktexmf ecrm1200
      ! I can't find file `ecrm1200'.
      <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

      Please type another input file name
      ! Emergency stop.
      <*> ...ljfour; mag:=1; nonstopmode; input ecrm1200

      Transcript written on mfput.log.
      grep: ecrm1200.log: No such file or directory
      mktextfm: `mf-nowin -progname=mf mode:=ljfour; mag:=1; nonstopmode; input ecrm1200' failed to make ecrm1200.tfm.
      kpathsea: Appending font creation commands to missfont.log.

      ! Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric (TFM) file not fou
      nd.
      <to be read again>
      relax
      l.105 fontencodingencodingdefaultselectfont

      ?


      I have 2015 and 2017 versions of Latex installed and need to compile for "dvipdfmx" command for my desired pdf output. It seems fonts problem but how to correctly fix it is a problem for me.



      Can someone help please?







      fonts pdftex font-encodings update





      share









      New contributor




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










      share









      New contributor




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








      share



      share








      edited 3 mins ago









      Phelype Oleinik

      21.3k54380




      21.3k54380






      New contributor




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









      asked 4 mins ago









      khanncp

      1




      1




      New contributor




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





      New contributor





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






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



























          active

          oldest

          votes











          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
          });


          }
          });






          khanncp is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467224%2fproblems-in-running-latex-files-need-help-to-fix%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          khanncp is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          khanncp is a new contributor. Be nice, and check out our Code of Conduct.













          khanncp is a new contributor. Be nice, and check out our Code of Conduct.












          khanncp is a new contributor. Be nice, and check out our Code of Conduct.
















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f467224%2fproblems-in-running-latex-files-need-help-to-fix%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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux