How to import figure from subfolder to tex file in another sub folderrelative paths don't work without absolute pathimport and includegraphics with macros: Preserving local path at macro definition timeHow do I enter full_path and path_extension using the import package in Windows?input and import not working within macroImport file from another folderShow a full outline with subfolders in TeXnicCenter?vertically align 3 different sized figures with same aspect ratio over three pagesLet tex search a file inside a folder?Lyx error while importing Tex filesHow to /includegraphics from sub directory of main image folder, using subfiles

Who is flying the vertibirds?

How to deal with a cynical class?

If curse and magic is two sides of the same coin, why the former is forbidden?

Sailing the cryptic seas

Can I use USB data pins as power source

What is the significance behind "40 days" that often appears in the Bible?

Welcoming 2019 Pi day: How to draw the letter π?

How to write cleanly even if my character uses expletive language?

It's a yearly task, alright

How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?

Interplanetary conflict, some disease destroys the ability to understand or appreciate music

How Could an Airship Be Repaired Mid-Flight

Unexpected result from ArcLength

How can I track script which gives me "command not found" right after the login?

Dice rolling probability game

How to use deus ex machina safely?

Look at your watch and tell me what time is it. vs Look at your watch and tell me what time it is

Are all passive ability checks floors for active ability checks?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

Is there a data structure that only stores hash codes and not the actual objects?

Could the Saturn V actually have launched astronauts around Venus?

Gantt Chart like rectangles with log scale

How do I hide Chekhov's Gun?

How to deal with taxi scam when on vacation?



How to import figure from subfolder to tex file in another sub folder


relative paths don't work without absolute pathimport and includegraphics with macros: Preserving local path at macro definition timeHow do I enter full_path and path_extension using the import package in Windows?input and import not working within macroImport file from another folderShow a full outline with subfolders in TeXnicCenter?vertically align 3 different sized figures with same aspect ratio over three pagesLet tex search a file inside a folder?Lyx error while importing Tex filesHow to /includegraphics from sub directory of main image folder, using subfiles













0















I would need to know how to import figure from Figures subfolder to tex file in Chapters subfolder.



Project tree is following:



/Project/main.tex
/Project/Figures/picture.pdf
/Project/Chapters/chapter1.tex


I have tried to use either relative and absolute path to the picture.pdf but nothing works. I think the problem is I am trying to import the figure between subfolders (when I tried to import the figure from subfolder to the main.tex it works all right)



Thanks for help










share|improve this question









New contributor




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















  • 1





    Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

    – Phelype Oleinik
    9 hours ago












  • As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

    – AndiW
    7 hours ago















0















I would need to know how to import figure from Figures subfolder to tex file in Chapters subfolder.



Project tree is following:



/Project/main.tex
/Project/Figures/picture.pdf
/Project/Chapters/chapter1.tex


I have tried to use either relative and absolute path to the picture.pdf but nothing works. I think the problem is I am trying to import the figure between subfolders (when I tried to import the figure from subfolder to the main.tex it works all right)



Thanks for help










share|improve this question









New contributor




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















  • 1





    Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

    – Phelype Oleinik
    9 hours ago












  • As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

    – AndiW
    7 hours ago













0












0








0








I would need to know how to import figure from Figures subfolder to tex file in Chapters subfolder.



Project tree is following:



/Project/main.tex
/Project/Figures/picture.pdf
/Project/Chapters/chapter1.tex


I have tried to use either relative and absolute path to the picture.pdf but nothing works. I think the problem is I am trying to import the figure between subfolders (when I tried to import the figure from subfolder to the main.tex it works all right)



Thanks for help










share|improve this question









New contributor




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












I would need to know how to import figure from Figures subfolder to tex file in Chapters subfolder.



Project tree is following:



/Project/main.tex
/Project/Figures/picture.pdf
/Project/Chapters/chapter1.tex


I have tried to use either relative and absolute path to the picture.pdf but nothing works. I think the problem is I am trying to import the figure between subfolders (when I tried to import the figure from subfolder to the main.tex it works all right)



Thanks for help







import includegraphics






share|improve this question









New contributor




Martin Vit 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 question









New contributor




Martin Vit 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 question




share|improve this question








edited 9 hours ago









leandriis

10.1k1531




10.1k1531






New contributor




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









asked 9 hours ago









Martin VitMartin Vit

1




1




New contributor




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





New contributor





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






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







  • 1





    Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

    – Phelype Oleinik
    9 hours ago












  • As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

    – AndiW
    7 hours ago












  • 1





    Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

    – Phelype Oleinik
    9 hours ago












  • As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

    – AndiW
    7 hours ago







1




1





Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

– Phelype Oleinik
9 hours ago






Welcome to TeX.SX! ../Figures/picture.pdf should work as well as /Project/Figures/picture.pdf (as long as /Project is a valid path)... Can you please be more specific on what fails? Any error message?

– Phelype Oleinik
9 hours ago














As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

– AndiW
7 hours ago





As far as I know the base directory of a project is that one the main tex file resides in. So using ./Figures/ as path for graphicspath should do what you want from every folder within our project... The real problem is difficult to track down without a MWE.

– AndiW
7 hours ago










1 Answer
1






active

oldest

votes


















0














You can have your project in a folder named "Project" at any place of your OS.



Then inside it you could have:



/Chapter1



which contains its figures inside the subfolder



/Chapter1/Figures



Then:



/Chapter2



with its figures inside



/Chapter2/Figures.



To use it via graphicspath command you have to place at the beggining of every Chapter<number>.tex the command:



graphicspathChapter<number>/Figures/



PS: This could be automated to be executed just inside chapter command... if you are interested feel free to ask about this automation.



PS2: Change <number> with your real chapter's number of course.






share|improve this answer






















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



    );






    Martin Vit 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%2f479685%2fhow-to-import-figure-from-subfolder-to-tex-file-in-another-sub-folder%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














    You can have your project in a folder named "Project" at any place of your OS.



    Then inside it you could have:



    /Chapter1



    which contains its figures inside the subfolder



    /Chapter1/Figures



    Then:



    /Chapter2



    with its figures inside



    /Chapter2/Figures.



    To use it via graphicspath command you have to place at the beggining of every Chapter<number>.tex the command:



    graphicspathChapter<number>/Figures/



    PS: This could be automated to be executed just inside chapter command... if you are interested feel free to ask about this automation.



    PS2: Change <number> with your real chapter's number of course.






    share|improve this answer



























      0














      You can have your project in a folder named "Project" at any place of your OS.



      Then inside it you could have:



      /Chapter1



      which contains its figures inside the subfolder



      /Chapter1/Figures



      Then:



      /Chapter2



      with its figures inside



      /Chapter2/Figures.



      To use it via graphicspath command you have to place at the beggining of every Chapter<number>.tex the command:



      graphicspathChapter<number>/Figures/



      PS: This could be automated to be executed just inside chapter command... if you are interested feel free to ask about this automation.



      PS2: Change <number> with your real chapter's number of course.






      share|improve this answer

























        0












        0








        0







        You can have your project in a folder named "Project" at any place of your OS.



        Then inside it you could have:



        /Chapter1



        which contains its figures inside the subfolder



        /Chapter1/Figures



        Then:



        /Chapter2



        with its figures inside



        /Chapter2/Figures.



        To use it via graphicspath command you have to place at the beggining of every Chapter<number>.tex the command:



        graphicspathChapter<number>/Figures/



        PS: This could be automated to be executed just inside chapter command... if you are interested feel free to ask about this automation.



        PS2: Change <number> with your real chapter's number of course.






        share|improve this answer













        You can have your project in a folder named "Project" at any place of your OS.



        Then inside it you could have:



        /Chapter1



        which contains its figures inside the subfolder



        /Chapter1/Figures



        Then:



        /Chapter2



        with its figures inside



        /Chapter2/Figures.



        To use it via graphicspath command you have to place at the beggining of every Chapter<number>.tex the command:



        graphicspathChapter<number>/Figures/



        PS: This could be automated to be executed just inside chapter command... if you are interested feel free to ask about this automation.



        PS2: Change <number> with your real chapter's number of course.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 8 hours ago









        koleygrkoleygr

        12.6k11038




        12.6k11038




















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









            draft saved

            draft discarded


















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












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











            Martin Vit 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%2f479685%2fhow-to-import-figure-from-subfolder-to-tex-file-in-another-sub-folder%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 should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

            152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"