Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [multiple-files]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
25
votes
4answers
922 views

Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and ...
7
votes
1answer
1k views

Multiple Documents by Different Authors and One Table of Contents

I have a number of different LaTeX documents. Each document has a different title and author. Is there any way for me to: Combine all of these documents into one larger document with accurate page ...
7
votes
1answer
331 views

what tools are available to apply correct page numbers to a composite tex output pdf file?

this question is relevant to the full-issue pdf files of tugboat, as made available for electronic reference or download. all articles are always posted individually, but a single front-to-back pdf ...
7
votes
1answer
6k views

Bibliography and \cite{} in different files; problem when compiling master file

I am writing my dissertation in LaTeX and as it's a long document I have split up the chapters into separate .tex files and am compiling them from a master .tex file: \documentclass[]{report} \...
6
votes
1answer
213 views

mail merge and create multiple pdfs

I have a .csv file called sbriefdata with some data in it, for example A;B;10 C;D;20 E;F;30 G;H;40 and I want a separate .pdf file for each of the rows in the .csv file. I know how to do a mail ...
5
votes
1answer
188 views

Same absolute path works for \input but does not work for \include, why?

If I use the command "\input{filepath}" then the file is perfectly printed in "main.tex". If I only change the command to "\include{filepath}" I get the following error: I can't write on file `...
5
votes
2answers
1k views

TOC and Subfiles: which TOC pkg for unique TOC compilation with each subfile?

The Subfiles package makes compiling individual parts of a LaTex document convenient. The package works so that each subfile inherits the master preamble main.tex and the user is able to compile ...
5
votes
0answers
93 views

How can I produce s separate PDFs for each one of my floats, when their code isn't self-contained

I've written this document (say it's an article) with a bunch of float - figures and tables. Some of them are just \includegraphics, so the figure essentially exists outside as well inside the ...
4
votes
1answer
3k views

Texmaker: compiling a parent file

I'm writing up some old math notes that closely follow a textbook, and I have a tex file for each section of the book I worked through. I keep all these section files in a directory tex, and then on ...
4
votes
2answers
792 views

How to plot multiple plots associated to different colors of a colorbar with pgfplot

I HAVE EDITED THIS THREAD, NEW QUESTION AT THE END First of all, I apologize for my possibly bad English as it is not my mother tongue. My problem is complex but I am going to try to explain it the ...
4
votes
1answer
2k views

Table of Contents from multiple files

I have a main document referring to four files and want to create a ToC with the titles of these four files as well as their structure. Here`s a MWE for my main file: \documentclass[a4paper, 12pt, ...
3
votes
3answers
563 views

How to put nearly 10 images in a single row with multiple columns?

I am very new to this Latex environment. I have loaded images side by side up to 3 by 0.3\textwidth. But I want to put nearly 10 images in a row with multiple columns with individual caption. For ...
3
votes
2answers
2k views

How can I improve navigation within TeXstudio?

Inside my document I have my chapters and sections declared like this: \chapter{User Application - General} The sections in this chapter are not specific to either \puser{}s and \suser{} and ...
3
votes
1answer
2k views

Citing and printing references from another tex file

I have two tex files, tex1.tex and tex2.tex. I have defined multiple bibitems on tex1.tex and printed the bibliography there. Is it possible to reference some of the biblatex items from tex1 in tex2, ...
3
votes
2answers
2k views

“Predefine” a LaTeX file as master-file using Texmaker

Is there a way to put a command in either the master file or the subfiles in order to sort of predefine the master file? The reason I would like to do this is to avoid having to click on options and ...
3
votes
1answer
213 views

Incorrect crop of tikzpicture in standalone when using komaoptions

MWE \RequirePackage{luatex85} \documentclass[ tikz, border=0cm, class=scrbook, ]{standalone} \usetikzlibrary{backgrounds} \pagecolor{lightgray} % \KOMAoptions are actually included via a shared ...
3
votes
1answer
426 views

longtable next to longtable [no multicolumn]

I'd like to place multiple tables (two or three) next to each other, with the following requirements: They need to be able to span accross pages They need to be aligned next to each other I need to ...
3
votes
1answer
798 views

How to insert a blank page after an included PDF only if this PDF is present in the directory?

I have multiple PDF files(that have only one page) that I need to include into a document. I succeeded in making Latex include the PDFs that are present in the directory with this: \usepackage{...
3
votes
1answer
3k views

Error: ! Package utf8x Error: MalformedUTF-8sequence. using \include{} function

I'm writing my thesis in spanish on latex and I'm using the \include{} function to bring other .tex files to my master.tex (main file). My encoding looks something like this: \documentclass[11pt,...
3
votes
0answers
69 views

Easiest way to reorganize complex .tex document that inputs / includes multiple tex files

Issue description I have a big document that includes a few .tex files that includes (or rather \input) another set of .tex files stored in different folders. I will need to re-organize structure of ...
3
votes
0answers
579 views

One tabular with column input from multiple data files with pgfplotstable

I have a question which sort of extends the page Multiple Files input to one pgfplotstable. In the answer to this question, data is read from dataB.dat and subsequently appended to the data as ...
2
votes
3answers
1k views

Compile multiple .tex files to one file

I am making a math formulary collection but the file is getting too big and too long! So i was wondering if it is possible to make a .tex for for multiplication and one .tex file for division. And ...
2
votes
1answer
2k views

Using latexmk with multiple tex files in the directory

edit solution to compile : latexmk -pdf mainfile.tex I have left this example up as it might contain language used by others unfamiliar with this area :) At the very least it provides a Minimal ...
2
votes
1answer
708 views

Moving a file to a new editor window in Kile

Right now, multiple files are opened as multiple tabs in Kile. But when I have to copy and paste stuff from one file to another, I prefer having the files opened in two different windows. Is there a ...
2
votes
1answer
110 views

\input{} File does not exist [duplicate]

I have written a template for a personal diary. The main tex file \input a file called entries.tex, which will \input all the diary entries, which are in a subdirectory, as well as write the title of ...
2
votes
1answer
92 views

Isolate references of included files within a “namespace”

I want to compile a large series of mostly independent latex files into a single document, and I would like to be able to assume that each \label lives in its own "namespace". Ideally, what I would ...
2
votes
1answer
500 views

How to refer to pgfplot legend labels with hyperref?

I would like to \refer to a pgf legend label in the caption of a figure (to explain symbols). I create my figures with externalization. Without the hyperref package, everything works fine. But as soon ...
2
votes
1answer
181 views

Multiple image and subfigure in my document

I have a problem. I want to insert multiple image like this picture. But i can't do it Please help me \documentclass[12pt]{article} \usepackage{amssymb,amsmath} \usepackage{paracol} \usepackage[...
2
votes
1answer
1k views

Managing multiple tex files using \include and ../

I'm working on a larger thesis assignment, and I've been fiddling around with my various tex files in different folders, trying to make it look nice and orderly. Atm. my structure is similar to this: ...
2
votes
0answers
30 views

Have two different master files compiled with AucTeX

I use a template for exercises where I have a ex environnement, and then a sol environnement. Theses files are included in one master file called for instance AF1920_serie4.tex, and in another file ...
2
votes
0answers
42 views

What factors should I bear in mind when choosing between subfiles and standalone?

The ShareLaTeX documentation recommends these two technologies for working with multifile documents. The documentation says that subfiles is easier to use, and standalone allows per-file preambles; ...
2
votes
0answers
280 views

xr package + latexmkrc not working with includegraphics command?

I am trying to implement the trick described here for using the xr package to have latex references work across multiple files automatically. The technique works great, except if there is an ...
2
votes
0answers
379 views

How do I view multiple PDF outputs with TexStudio?

I tried the solution here by going to Tools->View on both files. That simply opens the currently selected tex file's output in the viewer and not both/other simultaneously. I want to view two ...
2
votes
0answers
562 views

Cross-reference in muliple chapter in multi-file thesis

I want to cross-reference between different chapters. For example I have chap2.tex and chap3.tex as files containing all the theorems and methods, respectively. The following chapters 4,5...7 will ...
2
votes
0answers
433 views

Glossaries for multiple chapters in different files

I have a question regarding putting glossaries / acronyms in my appendix pages. I followed this post as an example and everything went fine: How can i get the abbreviations as list in Appendix page? ...
2
votes
0answers
75 views

How best to produce mutltiple selective outputs in different styles from single input file

I've been using Pandoc and LaTeX for academic work, and now I'm wondering whether I could use it to produce church service sheets. The catch is that I'd not just like do produce a single output -- ...
1
vote
3answers
499 views

If possible, how to include cut marks in PDF? (using watermark?)

Update: OK, so I am thinking maybe the watermark package can do something about it. All we need is some sort of m by n dashed grid lines according to the nup= option in the \includepdf command. But I ...
1
vote
2answers
56 views

Add prefix to AUX file of included parts

I write course material for my students. Every chapter is in a different file. Some chapters are used in several classes, but in a different order. Say: ClassA.tex including chapter-foo.tex as ...
1
vote
2answers
259 views

New command, load multiple images

I have to load multiple images to my thesis. Its about 320 pictures to shortcut this, I want to make a new command to load them more flexible. My basic idea was to create a new command with multiple ...
1
vote
1answer
119 views

Saving all tables in separate file

Is there a way I can save all my tabular formatted tables in a separate a file and call them wherever they are needed. This post discusses it for single table but I need for multiple. Thanks
1
vote
1answer
122 views

Page Numbering in Letter Environment has no desired effect with \usepackage{scrletter}

For a long application I have got the following problem: I cannot seem to make page numbering in the letter working. My workflow is the following: I have got a main document with all preamble-...
1
vote
1answer
51 views

Force floats to appear where referenced

I like to work with different files. In particular I like to have the text of my document in the file main.tex and my figures in figures.tex. I include the figures.tex file at the end of my main.tex ...
1
vote
1answer
698 views

Multi-file report showing Bibliography heading twice

I am using a multi-file document calling my content, including a bibliography. The bibliography is created with a title page containing just the heading Bibliography, followed by the bibliography ...
1
vote
1answer
25 views

Getting main document's name when using subfiles

When using the subfiles package, is there some command to get the main document's name, even when compiling one of the child documents? Here's a MWE showing what I mean: \RequirePackage{filecontents}...
1
vote
1answer
98 views

One glossary for different files

I'm trying to do a symbols list for different files. I have two files file1.tex and file2.tex, I want to have a symbols list containing the symbols of both files, but I don't know how to write it ...
1
vote
1answer
120 views

\input only part of file, without losing SyncTeX support?

I want to include parts of a child document, specified by a range of line numbers, as LaTeX input, while producing useful SyncTeX information. It should also be possible to re-include lines already in ...
1
vote
2answers
94 views

Maintain a consistent style in a multi-file document

I am trying to set up a multi-file document where I use \input to add different .tex files to my main document. Each .tex file is in its own directory/folder. I have also created a .sty file which ...
1
vote
1answer
83 views

Compile print version and display version in 1 run

Often I have to create two documents with the same content but different layout: one version to print and another as a digital document. Therefore some small changes have to be made like other margins,...
1
vote
1answer
148 views

reference undefined at multiple files

I am having touble to getting my labels and references working. I have a multifile-setup where I have the \label in one file and the \ref in the other. Whatever I do, I always get ./evaluation.tex:...
1
vote
1answer
157 views

Mixing different files with different classes

I am currently writing a project which will be composed of a main file, and several chapters. The main file is based on memoir, but the chapters are all amsart. Currently I am manually changing the ...