What is the difference between the package-searching mechanism of PdfLatex and TexMaker?Where do I place my...

Does windows 10s telemetry include sending *.docs if word crashed

Roman Numerals equation 1

We are very unlucky in my court

If I delete my router's history can my ISP still provide it to my parents?

Why avoid shared user accounts?

Are there any modern advantages of a fire piston?

Can I string the D&D Starter Set campaign into another module, keeping the same characters?

Why has the mole been redefined for 2019?

Highly technological aliens land nuclear fusion powered ships in medieval city and slaughter everyone, using swords?

Dilemma of explaining to interviewer that he is the reason for declining second interview

Avoiding morning and evening handshakes

Why Normality assumption in linear regression

Explain the objections to these measures against human trafficking

Why is "points exist" not an axiom in geometry?

How can animals be objects of ethics without being subjects as well?

How to remove lines through the legend markers in ListPlot?

Writing a character who is going through a civilizing process without overdoing it?

One Half of Ten; A Riddle

Why do stocks necessarily drop during a recession?

Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?

How should I handle players who ignore the session zero agreement?

How to deal with an incendiary email that was recalled

Publishing research using outdated methods

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?



What is the difference between the package-searching mechanism of PdfLatex and TexMaker?


Where do I place my own .sty or .cls files, to make them available to all my .tex files?Checking installed packagesFinding directory path for .sty files













0















I usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding usepackage{my-package} to the preamble of any .tex file.



I found several related answers suggesting using kpsewhich and related commands, such as




  • Where do I place my own .sty or .cls files, to make them available to all my .tex files?


  • Finding directory path for .sty files


  • Checking installed packages



However, on my system it seems that TeXmaker can find packages that neither kpsewhich nor pdflatex can find. For example, TeXmaker can compile the following file example.tex without error, and produces the correct output.



documentclass{article}
usepackage{lipsum}
begin{document}
lipsum[1]
end{document}


But pdflatex example.tex generates the error message



! LaTeX Error: File 'lipsum.sty' not found.,



and kpsewhich lipsum.sty returns nothing.



Does this mean that there are more than one version of pdflatex installed on my system? If so how do I check/configure which version TeXmaker uses?
(I'm using MacOS 10.11.6 and Texmaker 4.5 is installed using Macports)



Please share your thoughts. Thanks!









share









New contributor




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

























    0















    I usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding usepackage{my-package} to the preamble of any .tex file.



    I found several related answers suggesting using kpsewhich and related commands, such as




    • Where do I place my own .sty or .cls files, to make them available to all my .tex files?


    • Finding directory path for .sty files


    • Checking installed packages



    However, on my system it seems that TeXmaker can find packages that neither kpsewhich nor pdflatex can find. For example, TeXmaker can compile the following file example.tex without error, and produces the correct output.



    documentclass{article}
    usepackage{lipsum}
    begin{document}
    lipsum[1]
    end{document}


    But pdflatex example.tex generates the error message



    ! LaTeX Error: File 'lipsum.sty' not found.,



    and kpsewhich lipsum.sty returns nothing.



    Does this mean that there are more than one version of pdflatex installed on my system? If so how do I check/configure which version TeXmaker uses?
    (I'm using MacOS 10.11.6 and Texmaker 4.5 is installed using Macports)



    Please share your thoughts. Thanks!









    share









    New contributor




    Linxiao 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 usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding usepackage{my-package} to the preamble of any .tex file.



      I found several related answers suggesting using kpsewhich and related commands, such as




      • Where do I place my own .sty or .cls files, to make them available to all my .tex files?


      • Finding directory path for .sty files


      • Checking installed packages



      However, on my system it seems that TeXmaker can find packages that neither kpsewhich nor pdflatex can find. For example, TeXmaker can compile the following file example.tex without error, and produces the correct output.



      documentclass{article}
      usepackage{lipsum}
      begin{document}
      lipsum[1]
      end{document}


      But pdflatex example.tex generates the error message



      ! LaTeX Error: File 'lipsum.sty' not found.,



      and kpsewhich lipsum.sty returns nothing.



      Does this mean that there are more than one version of pdflatex installed on my system? If so how do I check/configure which version TeXmaker uses?
      (I'm using MacOS 10.11.6 and Texmaker 4.5 is installed using Macports)



      Please share your thoughts. Thanks!









      share









      New contributor




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












      I usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding usepackage{my-package} to the preamble of any .tex file.



      I found several related answers suggesting using kpsewhich and related commands, such as




      • Where do I place my own .sty or .cls files, to make them available to all my .tex files?


      • Finding directory path for .sty files


      • Checking installed packages



      However, on my system it seems that TeXmaker can find packages that neither kpsewhich nor pdflatex can find. For example, TeXmaker can compile the following file example.tex without error, and produces the correct output.



      documentclass{article}
      usepackage{lipsum}
      begin{document}
      lipsum[1]
      end{document}


      But pdflatex example.tex generates the error message



      ! LaTeX Error: File 'lipsum.sty' not found.,



      and kpsewhich lipsum.sty returns nothing.



      Does this mean that there are more than one version of pdflatex installed on my system? If so how do I check/configure which version TeXmaker uses?
      (I'm using MacOS 10.11.6 and Texmaker 4.5 is installed using Macports)



      Please share your thoughts. Thanks!







      pdftex packages texmaker paths kpsewhich





      share









      New contributor




      Linxiao 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




      Linxiao 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 34 secs ago









      JouleV

      4,3751938




      4,3751938






      New contributor




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









      asked 3 mins ago









      LinxiaoLinxiao

      1




      1




      New contributor




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





      New contributor





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






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






















          0






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


          }
          });






          Linxiao 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%2f477284%2fwhat-is-the-difference-between-the-package-searching-mechanism-of-pdflatex-and-t%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












          Linxiao 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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477284%2fwhat-is-the-difference-between-the-package-searching-mechanism-of-pdflatex-and-t%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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...