Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multiple-files]

The tag has no usage guidance.

1
vote
0answers
19 views

Inputenc not working inside included file

So in the document section ű ő letter work perfectly fine, but inside another tex file which is included with \include{myothertexfile} into the document, is not working. Some of the documents inside ...
1
vote
1answer
16 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
0answers
23 views

Hiding individual sections from ToC in a modular document

I'm working on a modular thesis using the amsbook package and I would like to hide specific sections from the table of contents. None of the solutions for single files I found seem to work in the ...
5
votes
1answer
170 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 ...
1
vote
1answer
62 views

How to split a sheet of exercises in different files, one file containing just one exercise?

I have a big file having the following structure : \begin{exo} ... \end{exo} \begin{exo} ... \end{exo} My aim is to create different files containing just one exercice. How can I do this ? Does ...
2
votes
1answer
82 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 ...
5
votes
1answer
171 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 `...
0
votes
0answers
18 views

Trying to render qrcodes in latex from multiple markdown files in a single pdf. The qrcode package inserts an empty qrcode at the start

I have multiple md files that each contain a different url in their yaml block: url: https://google.com these urls get parsed as inputs in a latex template where I use the qrcode package in order ...
1
vote
1answer
72 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
5
votes
0answers
85 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 ...
1
vote
1answer
78 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
88 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
0answers
34 views

How to use destlabel option together with default names?

Suppose I have the following in document A: \documentclass{article} \usepackage[destlabel]{hyperref} \begin{document} \section{First Section}\newpage \section{Link Section}\label{mylabel} \end{...
1
vote
2answers
81 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
54 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
0answers
83 views

Creating a multi-file project using figures from a different directory [closed]

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. There is also a separate directory for ...
1
vote
1answer
113 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:...
0
votes
1answer
267 views

Multiple test versions in the same output pdf using mcexam package

I'm using the package mcexam to build tests with randomised multiple choice questions and randomised answers. The package usage is as follows: \usepackage[output=exam, numberofversions=58, version=...
0
votes
0answers
34 views

Insert all the images at once of a specific folder [duplicate]

I would like to insert in my latex document almost 100 Fotos (at once), which are inside a folder, but if it is possible, just with few commands. Now, I wont like to use: begin{figure}>...
1
vote
0answers
141 views

How to merge two tex files so that each have their own refs

My paper has a supplementary file, and I want to submit it on arXiv. I first tried to convert them to PDF and merge them using Adobe software. However arXiv enforces that I send the actual source code....
2
votes
0answers
41 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; ...
8
votes
1answer
256 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 ...
2
votes
0answers
230 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 ...
1
vote
2answers
54 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 ...
2
votes
1answer
77 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 ...
3
votes
3answers
515 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 ...
2
votes
0answers
324 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 ...
1
vote
1answer
146 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 ...
0
votes
1answer
48 views

A single command to return control to the parent document

I have a parent document and several "child" documents which I incorporate into the parent document with the \input command. I'd like a single command that would enable me to return to the ...
1
vote
1answer
114 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-...
3
votes
0answers
64 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 ...
0
votes
1answer
303 views

One bibliography section per bib file (biblatex?)

I have two .bib files, and I would like to get two separate bibliography sections, each of them containing references from one file. More precisely, I have mine.bib and external.bib, and I would like ...
2
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, ...
4
votes
1answer
190 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 ...
1
vote
1answer
729 views

Sublime Text: Reference completion across multiple files using LaTeXTools and import

Consider the following project structure project | -- part | | -- fileWithLabels.tex | | -- fileWithRefs.tex | -- main.tex Is it possible using Sublime Text 3 and LaTeXTools to achieve auto ...
0
votes
0answers
65 views

Cross-Referencing (Number and Title/Name) between Different/Multiple Documents

I have a large document (book, article or report) for which I want to produce a beamer presentation with some explanation: e. g. how the large document is structured and which chapter should be read ...
1
vote
1answer
49 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
3answers
478 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
1answer
275 views

Having multiple tex and bib files for a PhD thesis

I want to use multiple and separate .tex and .bib files for my PhD thesis. Since some of the .bib files are having same entries (possibly with different reference names), I prefer to force the .tex ...
0
votes
1answer
458 views

Glossaries not being printed

The glossaries and acronyms are not showing up at \printglossaries. Bear with me, as I hopefully sufficiently explain the structure. I'm using Windows 7 with Sublime Text 3 and MikTeX 2.9. I installed ...
1
vote
1answer
160 views

How to import data from relative path for multiple documents?

I have pgfplots tikzpicture where I use data from external data file. I use this picture in multiple latex documents that are located in different directories. So when I try to compile these documents,...
1
vote
0answers
51 views

problems on compling multiple tex files [closed]

\begin{minipage}{\linewidth} \vspace{1em} \centering % \label{tab:name} \begin{tabular}{c|c|c|c|c|c|c|c|c|c|c} % \hline t & 1 & 2 & 3 & 4 & ...
0
votes
0answers
13 views

Changing the behavior of the typeset button in Texworks in multiple files scenarios [duplicate]

I have a project which consists of multiple .tex files, which I am typesetting using Texworks. Clicking the source code in any file while holding the Alt key shows correctly the corresponding position ...
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, ...
1
vote
1answer
601 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 ...
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 ...
7
votes
1answer
5k 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} \...
2
votes
3answers
976 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 ...
3
votes
1answer
2k 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
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 ...