Questions tagged [directory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
27
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 ...
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 ...
6
votes
2answers
2k views

Draw directory tree using folder icons

I need to create a figure like the following one An image shows a directory tree using folders icons. What do you suggest me to do?
6
votes
1answer
765 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{../latex/...
5
votes
0answers
211 views

Manage a publishing house with Latex [closed]

I work for a publisher who is primarily specializing in educational publications, offering final exams with sample solutions, exercise books and so on. The company is start-up and we write everything ...
4
votes
1answer
2k views

Look for file in different directory

I'm using gnuplot to graph some things and I have to embed the graphics in latex. The document class I'm using is article. I'm using an epslatex terminal in gnuplot so I get two files, a .tex and a ....
4
votes
1answer
6k 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: ...
4
votes
1answer
263 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} ...
4
votes
1answer
792 views

Path problem in automatically produced .tex-file using gnuplot with terminal cairolatex

I'm using the terminal cairolatex in a gnuplot script. This produces a .tex -file and a .pdf -file with the same name specified in set output .The problem is, that both files are in ...
3
votes
1answer
721 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. \...
3
votes
1answer
2k views

Create folders and directories using LaTex?

Is it possible to have LaTex create folders(directories) in windows I know this is probably impossible , but I've been asked to verify. Pretty sure it's not, that's really not what LaTex is meant for. ...
3
votes
1answer
3k views

How do I define and use a directory name inside latex for media inclusion?

In Mac OSX, using latex, I have a long class file that includes various macros containing commands of the sort \includegraphics[#5]{/Users/myname/Desktop/book/images/#2.eps} \includemovie[#4]{/Users/...
3
votes
1answer
29 views

TeXlive2020 TEXMFHOME doesn't exist

I am trying to install the "dropping" package from CTAN to compile a template in TeXstudio, using TeXlive2020 on Windows 10. The dropping.sty file cannot be found, as the error log in ...
3
votes
3answers
167 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: \...
3
votes
1answer
163 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 ...
3
votes
0answers
89 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 ...
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.
2
votes
1answer
708 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 ...
2
votes
1answer
97 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
843 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} \...
2
votes
1answer
329 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
1answer
2k views

What is the default directory I should install LaTeX packages in?

So most people are claiming that the path to install new latex packages is ~/Library/texmf when I run the terminal command kpsewhich -var-value=TEXMFHOME I get ~/Library/texmf but this directory does ...
2
votes
2answers
4k views

In what directory should I store my new LaTeX template?

I just downloaded the elsarticle document class. In the unzipped directory, there are .bst files, .tex files, a .sty file, a .pdf file, and a very unhelpful README. Where should I put these files in ...
2
votes
1answer
3k views

Subfiles in subdirectory, file not found

I am writing a long document with two other people using Dropbox as the file storage mechanism. I want to have each person be able to work on their piece individually. Therefore I want to be able to ...
2
votes
1answer
729 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 ...
2
votes
2answers
45 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 ...
2
votes
1answer
41 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
90 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: ...
2
votes
0answers
183 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. ...
2
votes
1answer
181 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 ...
2
votes
1answer
717 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
1answer
174 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. ...
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 ...
1
vote
1answer
462 views

Is there a way to put some of my project's files in a separate folder?

My university has provided a thesis project template with tons of files in it. My current working directory looks a bit like this: package1.sty package2.sty package3.sty classFile.bst classFile.cls ...
1
vote
1answer
1k views

How to set \input global directory to \graphicspath?

tI have Latex template to which I pass parameters using Pandoc. One parameter is $logopath$ where all the graphics are located and I'm able to set graphicspath properly, no problem. \graphicspath{{$...
1
vote
1answer
1k views

different directory for tex, pdf and aux files

I am using texstudio, miketex and windows 7. I would like to specify different default directory for all but .tex and .pdf files so that I could keep working directory clean. But I donot want to use ...
1
vote
1answer
73 views

Open reference to long directories paths

I am trying to link to a directory while being in a tabular environment. The path of the directory usually is pretty long and should linebreak at the boarders of the table. Additionally it would be ...
1
vote
2answers
19 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 (...
1
vote
1answer
177 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 -...
1
vote
1answer
147 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 ...
1
vote
1answer
114 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 ...
1
vote
1answer
105 views

How Do I Use the `directory` package?

I am completely unfamiliar with using the directory package, on top of which I do not understand how to use .bib files for this package. I cannot seem to duplicate the documentation's example, and it ...
1
vote
1answer
1k views

MiKTeX package management

When I first installed MiKTeX and started using it, I had to install a bunch of extra package that had been included in my .tex. I did this by using the MPM, etc. Now I'm about to uninstall MiKTeX ...
1
vote
1answer
77 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 ...
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
0answers
894 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,...
1
vote
0answers
295 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 ...
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 ...
1
vote
0answers
661 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 ...