3
votes
0answers
49 views

Including fully functional .tex documents [duplicate]

I'm trying to combine four separate .tex documents into one big "book" with each document as a chapter. I use the import package. This is essentially what my main document looks like: ...
4
votes
0answers
29 views

\importonly for only processing a single import?

I am composing a large document, and instead of using include/input, I use the \subimport* command from the import package. This allows me to take care of relatives paths very easily. However, the ...
0
votes
0answers
54 views

How to use shell environment variable with import/include/input?

I would like to create a folder in my home directory to store a few files in it that should serve as templates e.g. handout.tex. I begin to write my specific file somewhere in my filesystem. Now I ...
0
votes
0answers
5 views

“smart” Include/Import for file in subfolder that have images in subsubfolders [duplicate]

i've to put in one file some other documents i wrote before. i've this structure mainfile.tex chapter1/chapter1.tex chapter1/intro.tex chapter1/fig/fig1.pdf chapter1/fig/fig2.pdf in chapter1.tex ...
4
votes
1answer
237 views

subimport and includeonly

Say I have a document structured as follows. main.tex + ch1 - ch.tex - s1.tex - s2.tex + ch2 - ch.tex - s1.tex - s2.tex Here, *.tex are LaTeX ...
0
votes
2answers
975 views

relative paths don't work without absolute path

I'm trying to automate pdftex to generate docs. I'm in some kind of hell where TeX assumes people want to use absolute paths or the working directory. I have the file main.tex. It imports several ...
1
vote
1answer
227 views

Getting \includeonly functionality with import package

I had problems compiling with the \includeonly \include system since I had images in the document form different subdirectories. For example the main file would be at /Main/MainFile.tex and the ...
4
votes
3answers
389 views

Can i automatically load chapters and sections based on the filesystem?

I was interested in knowing if i can load chapters and sections of my book based on the filesystem. For example: Chapter 1/ Section 1.tex Section 2.tex Section 3.tex Chapter 2/ Section 1.tex ...