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
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
New contributor
add a comment |
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
New contributor
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 forgraphicspath
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
add a comment |
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
New contributor
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
import includegraphics
New contributor
New contributor
edited 9 hours ago
leandriis
10.1k1531
10.1k1531
New contributor
asked 9 hours ago
Martin VitMartin Vit
1
1
New contributor
New contributor
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 forgraphicspath
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
add a comment |
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 forgraphicspath
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
add a comment |
1 Answer
1
active
oldest
votes
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.
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered 8 hours ago
koleygrkoleygr
12.6k11038
12.6k11038
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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 forgraphicspath
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