Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

How do I choose where the PDF files are created?

Noob Linux user here! When compiling a file on the terminal it always creates the file in the /home directory. Is there a way to change the directory where the PDF file is going to be created?
1
vote
2answers
18 views

Set filedirectory in LaTex individually for each data type(csvsimple)

I am new to LaTex coding; so if this question has already been asked just let me know and post the link :) I try to put a lot of small csv tables into a LaTeX file and found this solution online (...
0
votes
1answer
28 views

\input files shared among collaborators and located in different folders

I am working on a collaborative project and we use Dropbox to store our shared files. I would like to \input a table made in tex (called table.tex) to a tex document but table.tex has a different file ...
0
votes
0answers
25 views

\input files with graphics in directories

I have a directory structure consisting of a a Main folder in which there are subfolders Chapter1, Chapter2, ... Each of these subfolders contains a tex file and a number of image files that are to be ...
2
votes
1answer
35 views

Recover macros from previous MacTeX distribution

I recently upgraded my MacTex distribution from 2019 to 2020. I had lots of predefined macros created with the Macro Editor in TexShop that I can now no longer access. Does anyone know where Macro ...
2
votes
1answer
30 views

How can I present a project/directory structure when presenting code? [duplicate]

When preparing a presentation for a coding camp, I would like to display my directory structure as the following Could anyone suggest any existing templates may help, or the correct latex package ...
2
votes
1answer
86 views

ConTeXt: Override global project value within a product

Background Looking to understand the definitive relationship between projects, products, environments, and components. Minimum Working Example Here's the directory structure showing the problem: ...
0
votes
0answers
20 views

Subfile with input - subfile directory auto added path?

I have a LaTeX project that will compile on my computer with MiKTeX, but not on my colleagues with TeX Live. The issue is that when I input the subfile, it appears that my computer adds the subfile's ...
0
votes
0answers
16 views

Compiling process with chapterbib and subdirectories

Let's consider the following directory structure: . ├── contents │   ├── backmatter │   │   ├── appendix.bib │   │   └── appendix.tex │   ├── frontmatter │   │   ├── preface.bib │   │   └── preface....
2
votes
0answers
157 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
19 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
94 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
70 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
178 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
134 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
111 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
167 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
45 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
100 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
157 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
75 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
165 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
79 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
1answer
117 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
152 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
160 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
132 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
137 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
95 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 ...
2
votes
1answer
681 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 ...
4
votes
1answer
5k 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
88 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
155 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
664 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
182 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
886 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
3k 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
826 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
100 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
113 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
702 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
293 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
256 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} ...
26
votes
2answers
7k 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
127 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
614 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 ...
13
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
187 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
329 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} \...