The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
53 views

-shell-escape for gnuplot: it does not works when I launch pdflatex programatically

The situation and the issue When I launch pdflatex from another program, programatically, it seems that, even with the option -shell-escape, I am not able to launch gnuplot. I have asked to ...
0
votes
2answers
63 views

Understanding the arguments in newtheorem e.g. \newtheorem{theorem}{Theorem}[section] [duplicate]

I would like to understand what the arguments following \newtheorem are e.g.: \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} ...
0
votes
0answers
42 views

Doc-local font?

In XeLaTeX I can use a font from the local to the doc directory as follows: \setmathfont[Path=fnt/]{latinmodern-math.otf} This loads latinmodern-math from fnt dir relative to the master file. Is ...
9
votes
1answer
105 views

Suggestions for an automatic taxonomy environment

Background In this site there are excellent examples of How to draw up a hierarchical tree diagram for taxonomic classification of several groups but often you must show only the position of a ...
3
votes
1answer
74 views

Outline font installation in self-contained tree

I'd like to achieve the following: a user should be able to grab a copy of a given directory, place that anywhere in his home directory, and run make to build LaTeX documents in that tree without ...
0
votes
0answers
63 views

Parametric Title Page

I'm relatively new to writing Tex, but have hopes and dreams of being able to do this with it. I've done some looking around, and had little luck finding much detail on it. If someone could either ...
2
votes
1answer
55 views

Custom topmatter variable

In a simple documentclass for homework assignments, how should I go about specifying a few attributes in addition to title and author in the topmatter? \begin{document} \acadclass{Linear Algebra} ...
4
votes
1answer
121 views

Environment variable TEXEDIT doesn't work with LuaLaTeX (?)

I like the ability to press e when running pdflatex in errorstopmode to jump directly to the line where the error occurs in my favourite editor. This works fine for pdflatex and xelatex as long as ...
4
votes
1answer
252 views

MikTeX does not use TEXMFLOCAL environment variable

I use TEXMFLOCAL, TEXINPUTS and TEXFONTMAPS to tune tex compilation. Everything works fine under Linux and Mac OS X, but MitTeX under Windows breaks my expectations. c:\tmp\tex> type test.bat set ...
10
votes
4answers
535 views

\if(username == foo) … \else .. \fi?

I think the pseudo code in the title says it all: How can TeX (or LaTeX) find out the $USER who is running pdflatex? I'm collaborating want the output to look very slightly different when I run latex ...
2
votes
0answers
114 views

Generating pdf files that are “viewing-time” or current system-time dependent [closed]

The \FpEval{}{} function which can be used to do computations, and store the result in a variable, in latex. For details, kindly see How can I sum two values and store the result in other variable? . ...
8
votes
1answer
3k views

Definition of the TEXINPUTS variable

I am using TeX Live 2012/Debian on Linux Mint 14. I am wondering what the right definition of the TEXINPUTS variable is.
1
vote
1answer
473 views

Setting TEXINPUTS for pdflatex in Ubuntu

I have a set of files that are commonly used as inputs in my tex files, so I put them in a directory and set the path in the TEXINPUTS environment variable (in Ubuntu). This works fine when compiling ...
6
votes
2answers
2k views

$TEXMFHOME setting

I use texlive 2012 on ubuntu 12.04. I wanted my ~/texmf folder invisible, so I edited my texmf.cnf file which is in /usr/local/texlive/2012 directory: TEXMFHOME = ~/.texmf I rebooted my computer ...
20
votes
2answers
2k views

Can I access system/environment variables from LaTeX? For instance, $HOME

For instance, I want to include a figure: ~/figures/figure.pdf. On my Linux box, this is /home/me/figures/figure.pdf, but on OS X it is /Users/me/figures/figure.pdf. I'd like it if there is an ...
4
votes
3answers
5k views

Set the default path to images directory

I have a project written in LaTeX, that has many pictures (about 1000) which I have divided into 4 folders: letter, legal, booklt and screen for different purposes. I have a folder called "images" ...
7
votes
2answers
571 views

How can I keep a clean document folder with custom .cls, .sty, .bst files in a separate subfolder?

I am using a Makefile for generating a document from its tex source. The whole project consisting of own input files (.tex,.bib,.eps, ...) and non-pre-installed static input files (cls, sty, bst) is ...
3
votes
1answer
1k views

Setting TEXMFHOME variable when using Miktex portable

Apparently Miktex sometimes doesn't properly set the TEXMFHOME variable, or rather leaves it empty, even though you manually add folders to the "root" list and refresh the file name database. So how ...
0
votes
0answers
310 views

Kile and Ubuntu 11.10 AND RevTeX [duplicate]

Possible Duplicate: How can I manually install a LaTeX package (Debian/Ubuntu Linux)? I just downloaded RevTeX for a PRL paper that I propose to write. However, after unzipping the contents ...
5
votes
1answer
583 views

Placing temporary files outside of dropbox for compilation: issues with openout_any and nomenclature

So I store my TeX source files in dropbox for backup and synchronization. Of course, it's annoying when you compile to have dropbox upload and download the changes to the temporary files, so you want ...
14
votes
2answers
1k views

Directory name as a variable

Is it possible to use the directory where the current tex-file is in as variable? For example, suppose I am in the directory /path/to/foo/ and compile there the document bar.tex (absolute path is ...
8
votes
3answers
784 views

Pass variable from LaTeX to bibtex (for easy anonymization)?

I typically use a variable for my name in .bib bibliography entries, for instance: @String {myname = "Prof. Dr. Hortensia Audactor"} String {myname = "Anonymized" } @article{audactor2005pflanzen, ...
3
votes
1answer
948 views

Using TexMaker on OS X

I've started using TexMaker as an alternative to emacs (I work on both ubuntu and mac and I want to have the same programs on both) for typesetting LaTeX. TexMaker is easy to use but there is one ...