Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
69 views

Output *.pdf file to a different directory using latexmk

I'm using latexmk in Visual Studio Code and I'd like to output the .pdf file to the current directory (same directory as the .tex file), while outputting all auxiliary files to a different directory. ...
0
votes
0answers
18 views

.tex file not compiling when moved from Desktop to another directory [duplicate]

I have noticed a strange behavior lately: Some of my .tex files will not compile unless they are on my Desktop. When I move the folder containing the .tex file with all its companion files to, say, ...
0
votes
1answer
28 views

Package forest: create a directory structure with comments

I would like to create a folder structure with comments using the forest package. I found really nice directory structure like the one from Gonzalo Medina made with forest but I don't understand how ...
0
votes
1answer
41 views

How do I set working directory for latex input

I operate on windows, I am using MIKTEX and Texstudio. All the time I need to imput files like graphics or bibliography I do define the path like this: \documentclass{beamer} \usepackage{graphicx} \...
2
votes
1answer
90 views

Using Inkscape-generated figures in LaTeX document: How to make process more efficient?

I use LaTeX to type up lecture notes for math and physics, and I use Inkscape whenever I need to generate graphics for them. I want to find a faster method for doing this. Currently, I do the ...
0
votes
0answers
11 views

Change interpreters working path on the fly

Let's say I have the following structure: Folder A/a1/a2/a3/a.tex Folder B/b1/123123/b2/b.tex Folder C/main.tex And unfortunately, both a.tex and b.tex are large and include many figures and other ....
0
votes
0answers
57 views

Execute/Run Visual Basic Script in relative folder with `\write18` during compilation

To run a visual basic script named readCSV.vbs in/before/during latex compilation, I have the following MWE: \documentclass{article} % line3: %\immediate\write18{readCSV.vbs} %Works If you put it ...
0
votes
1answer
77 views

Making a directory tree with custom symbols (symbol for MATLAB file)

I am trying to draw a directory tree. As the tree should visualize the structure of a MATLAB framework, i would love to represent the matlab files with the corresponding icon, e.g. I found the ...
1
vote
1answer
76 views

Using minted within a subfile to list a code in a subdirectory

I am using Windows as OS and TeXstudio as editor. My project has the following structure: -project -main.tex -chapter1 -chapter1.tex -bibgraf.bib -figures -...
0
votes
0answers
18 views

Referring to Directory on Google Drive (on different machines)

I've not been able to find a good solution for this problem. I use google drive which syncs on my home and work computers. At work, we use "Google Drive Stream" and at home I use "Backup and Sync". ...
0
votes
0answers
80 views

Multiple project in one repository and automatic build on jenkins for LateX

I'm a beginner in LaTeX. For my company, I must prepare some documents and reports that will be built on Jenkins. I have one repository. How to manage different styles and config files in one folder ...
3
votes
1answer
112 views

Package amsaddr.sty

How to enable package amsaddr for MiKTeX. There is not amsaddr in directory of TeX. That's why TeX cannot find amsaddr.sty. Running the file amsaddr.dtx I have this picture, but there is not file ...
1
vote
1answer
55 views

Why can't my .sty file be found? I followed the MacTeX instructions

I created a new package as a .sty file. I want to be able to use it in all of my documents. I followed the instructions on the MacTeX website. I located my Library folder in Macintosh HD using ...
0
votes
2answers
110 views

How to include all files in a directory in ConTeXt?

I need to include a large number of files in my ConTeXt document: \starttext \include file1 \include file2 \include file3 \include file4 \include file5 \stoptext They are all ...
0
votes
0answers
36 views

Importing “minted”s from a subdirectory to another subdirectory

My hierarchy goes like this: Main Folder SubFolderForCode(1) doc.tex code.py SubFolderForCode(2) doc.tex code.py SubFolderForDoc doc.tex I want to ...
0
votes
0answers
36 views

Where to put .sty file, using Linux Sublime LatexTools

I am using sublime LatexTools on a Linux machine and I Cannot find the correct directory of Tex stuff. Any help is appreciated...
0
votes
0answers
214 views

Package tikz Error: I did not find the tikz library 'bayesnet' not found

I receive the following error while I try to compile my tex file Package tikz Error: I did not find the tikz library 'bayesnet'. I looked for either could be found in the current texmf trees.. \...
0
votes
1answer
110 views

make tex glossaries files accessible for all documents across system

I created some rather big glossaries files with symbols, acronyms, ... Glossary_Acronyms.tex Glossary_Glossary.tex Glossary_Symbols.tex for a programming project with multiple tex documents as their ...
0
votes
1answer
100 views

Is there a way check for graphics only in the \graphicspath folder?

I used the \graphicspath command to tell my LaTeX document where the various pictures are located. However, I noticed that LaTeX first checks the directory where the TeX file is located and only ...
3
votes
3answers
104 views

How do I specify a directory file path in the preamble such that all subfolders of the directory are searched?

I am creating a "main document" from a collection of sub .tex documents such that both the main and sub documents can be compiled separately. i.e. Main document looks something like this: \...
0
votes
1answer
107 views

Making subdirectories for each .tex document (with AUX files) but still access .bib file at higher directory

recently I have become annoyed by the number of auxiliary files that are created when I run LaTeX. I have read some threads about this, and I found out a relatively convenient solution for me is to ...
1
vote
1answer
76 views

acr file not created when glossaries(-extra) is loaded by a preamble file located in a sub-folder

I think I may have run into a bug in the glossaries-extra (and hence, possibly glossaries) package. I like to keep my preamble grouped in a thematic manner, eg. all standard packages (such as amsmath ...
2
votes
1answer
77 views

Standalone in build mode forget command

I would like to know if it is possible to give a command that includestandalone would remember when building the pdf. To explain a bit more, I like to put all my extra data like my standalone ...
1
vote
0answers
396 views

TeXstudio Auxiliary Files Build Folder

I'm having issues setting up an auxiliary file folder. I have followed the instructions from several different threads but I'm still coming up with an error. Below is the commands I have set up (where ...
3
votes
1answer
3k views

How to \input or \include files from different directories?

My folder structure looks like that: While putting the chapters into the base file Report.tex works completely fine I get trouble when I try to insert the graphics into the chapters. For example: ...
1
vote
0answers
75 views

Automatically extracting files from archive before compilation

I've got a LaTeX project in a Git repository which is being worked on using both TeX Live (Linux) and MiKTeX (Windows). The project has a very large number of \includegraphics[...]{...} statements for ...
1
vote
1answer
108 views

ConTeXt: Relative path for figures using externalfigures

Background A wiki page, written in Markdown, is run through pandoc to produce a .tex file for ConTeXT. The wiki page makes references to images that are located in a path relative to the page itself. ...
2
votes
1answer
510 views

How to insert folder icon in root node with forest package

I am follwing the code Making a directory tree of folders and files below. But the code does not have folder icon in the root node. I want to know how to insert folder icon in the root node as well. \...
0
votes
1answer
157 views

Specifying the Main.aux file in preferences

I have a main.aux file in the folder /248239j/Latex/main.aux. In the preferences within Configure Texmaker I have the Bib(la)tex set to: %.aux I am receiving the error: could not start the command: "...
1
vote
0answers
810 views

TeXstudio/MiKTeX Not finding local Repository on different drive [closed]

I have a lot of trouble getting a working local repository, as well as some standard packages to be found, with MiKTeX 2.9 and TeXstudio 2.12.6. Firstly, I want a local repository on a different drive,...
2
votes
1answer
2k views

What is the directory TexStudio puts generated PDF files to?

I'm using TexStudio and I'm having trouble finding the directory into which PDF files are being generated to.
0
votes
1answer
1k views

How to create a “my TeX folder” with MiKTeX 2.9 on Windows 10

I was finding that for several days there and on lots of other forum but nothing specific for my problem. Could anyone here advice me how to crate my TeX folder for store my styles and templates there?...
2
votes
1answer
648 views

Make directory tree with folders and files in Tikz

I borrowed the code from @Gonzalo answer. I want to make directory tree with folders and files like the given the following picture. The MWE is below: \documentclass[border=10pt]{standalone} \...
0
votes
0answers
89 views

How to avoid name conflicts (different directories) using the `import` package

I want to provide some structure for my thesis source files. I decided to use nested directories. Every directory contains main.tex index file to be imported by a file in the parent directory. From ...
1
vote
1answer
100 views

How do I refer to ouput-dir in a macro?

I build out-of-source with pdflatex -output-dir=/foo One of my macros generates temporary files in the working directory. \immediate\write18{bash -c "some-command >outputfile"} I want it to ...
2
votes
1answer
577 views

Moving up hierachy with relative path

Is it possible to include figures with a relative path which are not in the document directory? For example: ├─Folder │ ├─Document │ │ └─Document.lyx │ └─Figures │ └─Image.jpg Can the figure be ...
1
vote
0answers
277 views

Cannot find local directories in the Tex Live directory structure

I am dealing with a vanilla installation of Tex Live 2016 and with a Ubuntu 14.04 LTS. For the installation I lauched a sudo install-tl along the lines of the instructions on www.tug.org. On the whole ...
4
votes
1answer
216 views

List all files from directory base on regex with extension

Is there a really sophisticated method to include all files which name match specific criteria (for example all .cpp, .h files) for given path to directory? \documentclass{article} \begin{document} ...
25
votes
2answers
6k views

Making a directory tree of folders and files

How to draw the directory tree image shown below, indicating folders and files? To draw the folder tree I used the code from Making a (simple) directory tree, but there is no obvious option to ...
1
vote
0answers
118 views

Installing .cls files in TeXLive without using the command window

I need to let my TeXLive for Mac distribution see a .cls file inside the following directory (only last part of the path reported): \local\tex\latex\myclass I know there are many answers to this ...
0
votes
1answer
539 views

Reading a text file with parent directory and file name containing spaces

I need to read the content of a text file located in a directory containing spaces. In addition, the filename might also contain spaces. For example, reading the following text file: C:\My ...
12
votes
3answers
2k views

How to upload my moduled tex files in arXiv?

My first ever paper was accepted and I want to upload it to arXiv. However it seems a bit difficult, since it doesn't allow you to upload the .pdf right away..I uploaded my main .tex file but when on ...
1
vote
2answers
173 views

List of included graphics with full pathname

Is there a way to get a list of all used graphics with full pathnames? The problem is that I have set the $TEXINPUTS variable pointing to a directory containing images (which I included just using the ...
0
votes
2answers
283 views

input and graphicx - look for images where file is located

I have a LaTeX document split in multiple text files, inside various folders, as follows: \section{Foo} \subsection{Foo1} \input{foo/1} \subsection{Foo2} \input{foo/2} \section{Bar} \...
2
votes
1answer
585 views

Error when using \include with higher-level directory

I have many separate documents in subfolders that each \include a *.tex file in the parent directory that contains macros. This worked fine the last time I compiled these files, about 10 years ago and ...
3
votes
0answers
74 views

How do I combine the `directory' package and the g-brief2 class? [closed]

I am struggelling to combine the directory package with the g-brief2 class. Any help is highly appreciated. I constructed a working minimal example with the directory package within an article, which ...
1
vote
0answers
613 views

Package grffile not working with graphicspath and filename containing spaces

If the image is in the document's directory this works: \usepackage{graphicx} \usepackage{grffile} \begin{document} \input{"image name with spaces"} \end{document} If the image is in a sub ...
6
votes
1answer
735 views

using \include while having output files in separate directory in big project

At this moment my project looks like this The build folder contains the main.tex file that looks like this \input{../latex/preamble} \begin{document} \input{../latex/chapter1} \input{../...
2
votes
1answer
299 views

Apostrophe in path file generating error in graphics

I am trying to embed a graphics pdf either using includegraphics or \graphicspath, however my directory includes apostrophes that are generating errors in the call. (I know this because when I put the ...
2
votes
2answers
44 views

directory class with 'address' style doesn't print all address fields

My code below doesn't work because it doesn't print all address fields. By the way I've got a problem with french caracters therfor I'm using babel. Could you please tell me what is wrong ? Thank ...