The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
66 views

How can I perform a simple file search in LaTeX?

I'm looking to improve my gitinfo package by reducing the amount of setup needed. For this, I want to be able to search for a file in the current directory, then the parent, then the grandparent ... ...
1
vote
3answers
152 views

dynamic paths in latex

Im trying to link from my preamble to some pictures used in the header. My problem is i use the same preamble in multiple documents. lets say the preamble and the needed picture is in the top folder, ...
2
votes
0answers
53 views

MiKTeX, and custom classes [duplicate]

Possible Duplicate: Create a local texmf tree in MiKTeX OK, so today is the very first time I've decided to try using TeX, and I have a few questions. I've finally, after much fussing ...
8
votes
2answers
1k views

Purpose of local texmf trees

In Tex Live there are several local texmf trees (TEXMFLOCAL for admin and TEXMFHOME for user, compare comments and answers to What are TeXLive's four different texmf folders?), in MiKTeX I manually ...
19
votes
1answer
9k views

Create a local texmf tree in MiKTeX

In TeX Live there are TEXMFLOCAL for admin and TEXMFHOME for user pre-defined, but in MiKTeX there’s by default no local texmf tree installed, therefore my question: How do I create a local texmf ...
4
votes
2answers
453 views

pdflatex / xelatex -output-directory and subdirectories when using \include

When I include a file from a subdirectory with \include{subdir/sub} and compile the file with pdflatex -output-directory .tex_test/ main.tex, pdflatex complains, that it can't write to ...
4
votes
2answers
490 views

Placing a .bib file in a package folder - TeXWorks can't find it?

I have created a courses.bib database file for all my course litterature, which I have placed along with a package of mine named tlnames.sty that defines some related macros. The folder in which both ...
3
votes
4answers
652 views

How to make “\input” in a “\include”-d file use the correct current path?

I'm having a master file let's say test.tex and also some folders sub1/ and sub2/. There is also a TeX file in each of them: sub1/sub1.tex and sub2/sub2.tex. In the sub1/ and sub2/ are also some ...
3
votes
1answer
911 views

Restructure classic thesis project with subfolders using Kile

I would like to change the folder structure of the ClassicThesis project. My current folder setup looks like this. |-- bib // Some *.bib files. |-- bst // Some *.bst files. |-- cfg // Configuration ...
7
votes
1answer
732 views

Folder structure of your work

Users, I am using LaTeX for homework at university. By now, I had always other programs generating some files, that I used in my LaTeX-document. For example MATLAB generated some graphs, Inkscape ...
6
votes
1answer
697 views

Link to file in the parent folder

I have a folder, say C:\example\paper with a bib-file C:\example\1.bib. I also have a tex file C:\example\paper\main.tex where I would like to put a link to 1.bib. I can put the whole path, of ...
15
votes
2answers
2k views

What are TeXLive's four different texmf folders?

Could someone please explain to me what the purpose of the four different texmf folders are in Mac? E.g. there is: /usr/local/texlive/2011/texmf /usr/local/texlive/2011/texmf-config ...
4
votes
2answers
793 views

Compiler automatically create specified output directory

I would like to handle my projects such that every time I compile a .tex file, the compiler would always place the output .pdf in a directory named output (and create it if it doesn't exist). Here's ...
5
votes
2answers
397 views

Make a .tex file that combines complete .tex documents in subdirectories

I'm using LaTeX for my research journal (similar to WordPress). There are a number of subdirectories that contain complete (standalone) .tex files along with PDF files that I made from those ...
19
votes
1answer
1k views

How to test if a directory exists

The command \IfFileExists works great to test is a file exists. Is there an equivalent to test if a directory exists? \IfFileExists does not seem to work for directories. \documentclass{article} ...
5
votes
2answers
1k views

How do I run bibtex after using the -output-directory flag with pdflatex, when files are included from subdirectories?

When I have master pdflatex file which includes one or more child documents using something like \include{include/childdoc}, and I call pdflatex on it using pdflatex -output-directory=out parent.tex, ...
3
votes
1answer
133 views

Tools for project delivery?

This is another in a long line of Project directory organization questions of mine. I'm trying to build a project directory organization structure which follows best-practices. I'd like the structure ...
3
votes
1answer
326 views

Project directory organization: where does code output go?

I'm trying to build a project directory organization structure which follows best-practices. Adapting this structure, part of my project structure would look as follows: myproject ...
8
votes
3answers
1k views

Texify and `--output-directory`

I'd like to tell texify to place compiled output (i.e., .pdf in my case) in the parent directory (I'm using MikTeX 2.8 on Vista32). I run the following: texify --pdf --clean ...
3
votes
1answer
864 views

Texmf tree with MikTeX + Vista32?

This post is a follow-up to my post Using subfiles package with .sty files. Answering that post, a couple people suggested I build a local texmf tree. I've hunted around and it seems that this is ...
2
votes
3answers
2k views

Using subfiles package with .sty files

Following the Project Structure Wiki and Subfiles Wiki, I've built the following project structure: ./mydocument.tex ./mystyle.sty ./tex/mysubfile.tex ./img/ mydocument.tex looks like: ...
2
votes
0answers
243 views

LaTeX equivalent to R's ProjectTemplate package? [closed]

The post LaTeX project file system structure has helped me a lot in organizing my LaTeX projects. This got me the thinkin': the R package ProjectTemplate allows the user to build an R project ...
6
votes
2answers
880 views

Is there any way to build a LaTeX document from a parent directory?

I've written a makefile for my current project which produces all deliverables (executable, written in C, and report, written in LaTeX). I have a directory structure whereby the Makefile and outputs ...
8
votes
3answers
1k views

Is there a way to use a document class/package from another folder?

I am building a document class and a set of packages to be used as templates for various documents. I'd like to aviod having to copy those over to another folder every time I use them, but I'd also ...
11
votes
5answers
4k views

Graphicspath for MikTeX

Is there a way to specify a \graphicspath that includes all sub-directories? I know I could put all my graphics in a texmf tree, but I'd like to have them in another directory tree. As far as I can ...