subimport and includegraphics compatibility issue











up vote
1
down vote

favorite












I am trying to subimport a content.tex document into a larger thesis.tex document. All works well with importing text and tikz files, but I am getting the following error when trying to import includegraphics{picture.png} which is called from the content.tex file.



Unable to load picture or PDF file


I've looked at a number of SO answers, but can't find anyone else who is having this problem.



I think that the problem might be coming from the fact that my includegraphics{} call is trying to find a file that is in a different directory than that which contains my content.tex. Specifically, I use the .. convention to navigate to a different directory, i.e. includegraphics{../../figs/picture.png}.



Any thoughts would be most appreciated.










share|improve this question




























    up vote
    1
    down vote

    favorite












    I am trying to subimport a content.tex document into a larger thesis.tex document. All works well with importing text and tikz files, but I am getting the following error when trying to import includegraphics{picture.png} which is called from the content.tex file.



    Unable to load picture or PDF file


    I've looked at a number of SO answers, but can't find anyone else who is having this problem.



    I think that the problem might be coming from the fact that my includegraphics{} call is trying to find a file that is in a different directory than that which contains my content.tex. Specifically, I use the .. convention to navigate to a different directory, i.e. includegraphics{../../figs/picture.png}.



    Any thoughts would be most appreciated.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am trying to subimport a content.tex document into a larger thesis.tex document. All works well with importing text and tikz files, but I am getting the following error when trying to import includegraphics{picture.png} which is called from the content.tex file.



      Unable to load picture or PDF file


      I've looked at a number of SO answers, but can't find anyone else who is having this problem.



      I think that the problem might be coming from the fact that my includegraphics{} call is trying to find a file that is in a different directory than that which contains my content.tex. Specifically, I use the .. convention to navigate to a different directory, i.e. includegraphics{../../figs/picture.png}.



      Any thoughts would be most appreciated.










      share|improve this question















      I am trying to subimport a content.tex document into a larger thesis.tex document. All works well with importing text and tikz files, but I am getting the following error when trying to import includegraphics{picture.png} which is called from the content.tex file.



      Unable to load picture or PDF file


      I've looked at a number of SO answers, but can't find anyone else who is having this problem.



      I think that the problem might be coming from the fact that my includegraphics{} call is trying to find a file that is in a different directory than that which contains my content.tex. Specifically, I use the .. convention to navigate to a different directory, i.e. includegraphics{../../figs/picture.png}.



      Any thoughts would be most appreciated.







      graphics compiling import






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 8 '16 at 17:14

























      asked Mar 8 '16 at 1:03









      user2728808

      285




      285






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          subimport doesn't update includegraphics, and the path is relative to the master .tex rather then the nested imported file.






          share|improve this answer










          New contributor




          Andrej 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',
            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%2f297878%2fsubimport-and-includegraphics-compatibility-issue%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








            up vote
            0
            down vote













            subimport doesn't update includegraphics, and the path is relative to the master .tex rather then the nested imported file.






            share|improve this answer










            New contributor




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






















              up vote
              0
              down vote













              subimport doesn't update includegraphics, and the path is relative to the master .tex rather then the nested imported file.






              share|improve this answer










              New contributor




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




















                up vote
                0
                down vote










                up vote
                0
                down vote









                subimport doesn't update includegraphics, and the path is relative to the master .tex rather then the nested imported file.






                share|improve this answer










                New contributor




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









                subimport doesn't update includegraphics, and the path is relative to the master .tex rather then the nested imported file.







                share|improve this answer










                New contributor




                Andrej 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








                edited 45 mins ago









                Werner

                431k599491628




                431k599491628






                New contributor




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









                answered 1 hour ago









                Andrej

                1011




                1011




                New contributor




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





                New contributor





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






                Andrej 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



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f297878%2fsubimport-and-includegraphics-compatibility-issue%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