{external-files} is about external files included in a document, e.g., pictures via \includegraphics, or parts of a document via \input or \include. For questions about files automatically generated by LaTeX (.aux, .log, .out, .toc, ...) use {auxiliary-files}.

learn more… | top users | synonyms

1
vote
0answers
17 views

LaTeX document containing csv data with empty fields

I am writing a form letter in latex. The addresses come from an external data source. The problem is that empty fields occur (quite frequently, actually) in the data source (see below). Therefore, ...
8
votes
2answers
60 views

Reading in a conf file as a property list

I'm not worried about supporting sections, although a bounty would be given for doing so :) Here's what I have so far, but it produces strange output for #2: \begin{filecontents}{test} \Property ...
1
vote
0answers
52 views

Tikz Externalize

I'm having some issues with externalising my tikz images. I'm using the following preambel with -shell-escape enabled using lualatex: \documentclass[print]{adelaide-mecheng-thesis} % for splitting ...
4
votes
2answers
60 views

Add content from an external file to the input tokens for parsing

I have a possibly very long sequence of tokens which is parsed by a macro. I would like to be able to read parts of this sequence from external files, if this is possible. I made up an MWE for this ...
6
votes
0answers
34 views

Problem with catchfile package [duplicate]

I want to use the catchfile package to import the data of nodes from external file ver.dat as following: \documentclass[tikz]{standalone} \usepackage{catchfile} \CatchFileDef{\myver}{ver.dat}{} ...
2
votes
0answers
21 views

LaTeX; Refer in one document-class to chapters in another document-class [duplicate]

I want to include an article (with documentclass: IEEEtran) into a report (with another, company specific, documentclass). I want to refer in the article (myarticle.pdf) to the ten appendices of the ...
2
votes
2answers
127 views

octopus-graph tikz/pgfplots

EDIT:I found a solution. See below. i'm trying to get something like this: I have small dots and big dots, and some small dots are connected to one big dot. I can "plot" all points with pgfplots: ...
2
votes
1answer
61 views

pdflatex.EXE: Not enough room in an internal buffer

I've got a (hopefully) trivial problem. I have a python script that is generating the a .tex file for over 600 figures. The code automatically groups figures in up to 4 subplots depending on some ...
0
votes
0answers
26 views

Logarithmic axes using \DTLplot

I am working with the dataplot package for quite some time and find it useful for my purpose. But now I have to display a log-log diagram and failed to find a suitable function; is there any command ...
3
votes
2answers
201 views

Read integers from external data file to document programming code in LaTeX

I am attempting to document my MATLAB programming code in LaTeX. For this, I use the mcode package, which defines the MATLAB lstlisting environment. With the commands ...
1
vote
0answers
37 views

How to hyperlink to a file and open it on presentation mode in beamer? [closed]

I want to create a hyperlink to the file, and want to open that file directly from the hyperlink during presentation. I tried with the following code. \documentclass{beamer} \usepackage{graphicx} ...
5
votes
2answers
204 views

Get number of pages of external PDF

Is there a possibility to get the total number of pages of an external PDF file within a LaTeX document? Assuming that there exists a PDF file test.pdf with 8 pages in the same directory my LaTeX ...
3
votes
0answers
78 views

\if and \fi inside different \def macros

Recently I failed to solve specific task in LaTeX. I wanted to make document with several sections, each divided on several subsections. Each section I had placed to separate files, and used \input ...
2
votes
0answers
40 views

Rename associated Figure files [closed]

Some journals request that the submitted figure files are named to match the compiled latex pdf (fig1.pdf, fig2.pdf, ...). Now most of my colleagues and I do not name our figures according to the ...
1
vote
1answer
51 views

Problem with documentclass memoir + pgfplots from data file

I'm using the documentclass memoir and I want to make a plot from a file.dat of two rows, nothing special. But I keep getting that pgfplots could not open the file. The point is that if I make a new ...
8
votes
2answers
519 views

Efficient way to write backslash to a file

Say I have a writer and an environment (actually an Environ) defined as \documentclass{article} \usepackage{environ} % www.ctan.org/pkg/environ \newwrite\mywriter \NewEnviron{writethis} ...
1
vote
0answers
30 views

Create parent folder [duplicate]

I'm writing my training report. I created different chapters in multipath. Now I want to join every chapter in one file. I use this command \include{C:/Users/ETTIEN/Google Drive/Rapport de ...
1
vote
2answers
37 views

How would I take imported file and format it to account for spacing?

Basically what I'm trying to do is use something like \input{details.txt} which contains: ____Here are some random details with stuff everywhere. This is to see if latex will use this ...
5
votes
1answer
108 views

Reading Arbitrary Text into a table format

Another file question from Latex; this time I'm trying to read in data from a single text file and put it directly into a table. The file reads something like: something | data | stuff | bacon ...
0
votes
0answers
70 views

How to import `.jar` files in beamer presentation?

I'm using a beamer template to do a presentation and I need to import a .jar file. Is there a specific package for importing such files, or is it even possible?
2
votes
2answers
94 views

Read part and page count from auxiliary file

My main document is included into another that rearranges and adds crop marks to it. For universalizing my script I need to extract the page and part count out of the .toc- or .aux-file. These are ...
3
votes
0answers
130 views

tikz externalization: list and make forces make to recompile the tikz images every time

I'm trying to speed up my latex development by parallelising as much tasks as possible and by redoing as little work as possible on every run. Amongst other things, I want to externalise my tikz ...
5
votes
1answer
182 views

Splitting a huge `.tex` file to chapter files on TeX/LaTeX level [closed]

Inspired by (although a possible duplicate) Outputting each chapter of a LaTeX document to a separate PDF, I wonder whether there is a possibility to extract the chapter (or whatever sectioning level) ...
3
votes
0answers
74 views

How can I read in files paragraph by paragraph?

I have an interesting project here and, while I could do it manually, it seems to me to be an interesting puzzle to automate it. I have the following structure: ./ +- main.tex | +- originals/ | | | ...
4
votes
1answer
295 views

Lualatex, fontspec and externalized tikz problem in MacTeX

To enable faster compilation of large documents I'd like to externalize tikz pictures. I also have to use lualatex and fontspec. EDIT: After further testing it seems that this is a problem only when ...
2
votes
1answer
151 views

How to get rid of extra numbered blank page before cover page in LyX?

I have a 50 pages document in LyX. For this report I have to add a coverpage before the title with different style and template from the report. This is what I do: I create my coverpage in a separate ...
1
vote
0answers
57 views

How can I make TeX find tikz's files without moving all of them?

I'm trying to recreate my file system on a cloud server so I can SSH into it from my new tablet. So I have def.tex, my main list of custom macros, which accesses tikz.tex: \input ...
1
vote
0answers
69 views

Spaces in names causes problem with graphicx

I keep getting the file name of my images next to the image. For example: The full path of the file is \\Shared Folders\courses\acce\14\exams\mtndfa.png. From reading other tex.stackexchange ...
1
vote
0answers
57 views

UPDATE LATEX missing file

my latex is already installed but at simulation some tex\context\base\supp-pdf.mkii file missing of mptopdf package, for update proxy server adress and port no.** and also proxy authentication Name ...
3
votes
1answer
49 views

How to get a file's “date modified” string when including graphics?

I am working on my thesis, and want to have the date corresponding to when each figure was generated included in it's caption. Currently I manually update the caption when I update the figure. I am ...
3
votes
2answers
259 views

How can I import a picture of the format graphml into LaTeX?

I have to import a picture into LaTeX which is in the format graphml created using yEd. I would like to avoid converting it in a .pdf since then LaTeX would import the whole A4 page. Could you help ...
1
vote
0answers
17 views

Latex Not Recognizing png R graph [duplicate]

Please help! I made a Latex (using texworks) and it will not recognize my png file. I have the file in the same directory as the .tex and, when I scroll over the command in tex works, the image ...
2
votes
2answers
290 views

Pdflatex does not read the TEX root line, how do I solve that?

I have a main.tex file with several chapters in a sub folder included as: \include{chapters/chapter01} Each of the chapters' tex file have the line % !TEX root = ../main.tex at the top of the file. ...
7
votes
3answers
589 views

pgfplots: 3D surface plot from data with free format

I want to plot 3D data from a file (data file) using pgfplots. The data represents an ellipsoid. I want to draw the outer shell like in the following picture, just without the background and in ...
2
votes
1answer
62 views

Creating one .tex file form a structured large document [duplicate]

I just finished my Ph.D thesis using LaTeX and I create it in a structured way with several folders and .tex documents inside. I have a master main.tex file and add the different chapters, sections ...
1
vote
2answers
137 views

cross-reference chapter title from different file

My dissertation is several chapters, each written in a different .tex file. How can I reference the chapter number from one chapter in the text of another? For example, how would I produce '... ...
1
vote
0answers
45 views

Silence file inclusion messages?

The question seems so natural, that I would have expected it to be well researched. But, I could not find any resources. In compiling my source, I get notified on 249 file inclusions. This clutter ...
0
votes
1answer
91 views

What is the proper way of citing/referencing an external image/document file?

I'm writing a paper in latex and I have some tables and image files that are too big to fit on the page, so I wanted to just include them as extra files with the paper and reference them through the ...
2
votes
1answer
135 views

Turn recipes (rezkonv, mealmaster) into LaTeX code

To better organize my recipes I would like to store them in a database instead of having plenty of books being scattered all around. There are many programs to realize this by offering a GUI to either ...
2
votes
1answer
188 views

Modular Documents, including image from other LaTeX-Project

I am currently writing on a document where I want to include subfiles; I am creating a modular document. Now, the problem is, that I am including (read: input) files, that have been used for other ...
5
votes
1answer
322 views

Drawing torus points and arches with coordinates read from a file

I have a quite intricate question... I have to plot a torus of radii (r,R) with two set of points of different colour on it its surface. The points' coordinates are in two different files that must be ...
11
votes
1answer
262 views

How do you perform version control on TeX-related files that are used in multiple projects?

I'm an avid TeX user for quite some time now. I use LaTeX for most of my lecture notes and my assignments. That's why I'm usually working on about half a dozen LaTeX projects at a time. Over the time ...
4
votes
1answer
98 views

How can I reference line numbers in an external source file (e.g. C++) in a maintainable way?

I doubt there's a very efficient way to do this, but LaTeX seems to be capable of just about anything. I'm writing up a document to explain a piece of C++ source code to future users of the package. ...
12
votes
2answers
341 views

Is there any tool available to LaTeX to search for files with wildcards?

Say I want to find all of the packages of the form tikzlibrary*.code.tex Is there any way I can retrieve a list of all such files available in TeX's path in a portable way, hopefully one that ...
3
votes
0answers
47 views

Getting the filename of the current input from within “show_error_hook”

In the luatex reference guide, status.filename is described to return "the name of the current input file". The luatex wiki describes how to use this along with show_error_hook to produce better error ...
5
votes
1answer
82 views

Why the pdf file cannot show the chapter?

Today,I typoset a book. My code: \documentclass[UTF8]{book} \usepackage{geometry} \usepackage{times} \usepackage[colorlinks,linkcolor=blue,anchorcolor=blue,citecolor=red,unicode]{hyperref} ...
11
votes
2answers
84 views

How can I insert an entire input stream (up to EOF) into an output stream?

I am trying to automate the generation of a text version of my resume. I'd like to incorporate a note to any potential human readers (most plain text resumes are, to my understanding, simply scanned ...
8
votes
1answer
75 views

How can I expand macros and write the expansion to an external file?

I'm trying to do a bit of single-sourcing with my resume, and would like to write given information to an external text file. \documentclass{article} \usepackage{expl3,xparse} \ExplSyntaxOn ...
4
votes
1answer
329 views

Relative paths for \input and building from different directories

The minimal example If I have a directory containing my main LaTeX source file and it uses \input to incorporate some data in another file, I can use a relative pathname. E.g., with these files: ...
4
votes
1answer
172 views

how to execute external commands from (Xe)(La)TeX?

i'm trying to capture output from an external command in a XeLaTeX document. as per http://tex.stackexchange.com/a/20566/28067 and http://stackoverflow.com/a/8929976/256361, i'm specifically doing ...