Questions tagged [texinputs]

{texinputs} is for questions regarding the LaTeX environmental variables.

Filter by
Sorted by
Tagged with
5 votes
0 answers
84 views

(Corrected) updated \l_file_search_path_seq (expl3) no longer recognises `~` (TeX Live 2023 updated yesterday)

[This is an amended version of Updated \l_file_search_path_seq (expl3) no longer recognises `~` (TeX Live 2023 updated yesterday), which isn't the question I needed to ask.] After updating TeX Live ...
cfr's user avatar
  • 194k
5 votes
1 answer
171 views

Updated \l_file_search_path_seq (expl3) no longer recognises `~` (TeX Live 2023 updated yesterday)

[This question is an erroneous version of (Corrected) updated \l_file_search_path_seq (expl3) no longer recognises `~` (TeX Live 2023 updated yesterday).] After updating TeX Live 2023 using tlmgr ...
cfr's user avatar
  • 194k
2 votes
0 answers
231 views

TEXINPUTS, TEXMF and other variables

While investigating some things about TeX, I stumbled across TEXINPUTS, which one can use to tell (La/pdf/..?)TeX where to find it's files. I decided to look into it a bit closer and learned about ...
Marc Miller's user avatar
2 votes
0 answers
40 views

is there an IMGINPUTS environment variable?

Two env variables TEXINPUTS and BIBINPUTS provide great convenience for a user to put multiple sty files and bib files in dirs different from the current working dir for tex. Is there is similar env ...
water stone's user avatar
0 votes
1 answer
137 views

Latex can't find .sty with TEXINPUT exported

My LaTeX document starts with this: \RequirePackage{mymacros} mymacros.sty is located in a completely different dir. Following this guide which says I should export TEXINPUTS, I've added this line to ...
K--'s user avatar
  • 123
2 votes
2 answers
83 views

TeX Live ignores TEXINPUTS, maybe kpathsea problem

for a long time my TeX files imported the file ~/lib/tex/mylib.tex, using the assignment TEXINPUTS=".:~/lib/tex:" and referencing this file with \input{mylib}. after changing from Suse linux ...
TeX4fun's user avatar
  • 41
0 votes
0 answers
123 views

Windows Makefiles and TEXINPUTS

under Windows (using make from GnuWin32) i want to set my TEXINPUTS variable in a makefile My Structure is as follows: ./ |-texmf_project/ |-Package.sty |-main.tex |-makefile I want to be able to ...
Greer's user avatar
  • 1
1 vote
1 answer
171 views

error in importing tables from external .tex files

I have the following table saved into a separate .tex file. The file name is (table.tex) the table is the following \begin{table}[!htbp]\centering \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \caption{...
Alex's user avatar
  • 113
0 votes
2 answers
357 views

Setting up TEXINPUTS on MacOS Catalina

I use MacOS, LateXTools in Sublime Text as a TeX editor, and MacTeX as a TeX distribution. I store my macros in a folder named TEXINPUTS on Dropbox, and set up symlinks to the relevant location in my ...
Nick Riches's user avatar
2 votes
1 answer
283 views

How to get rid of leading zeros in a number?

I'm trying to check user input (a number parameter) for leading zeros and remove them. I wonder if such command is provided by LaTeX2e, or by one of the engines (pdftex, xetex).
bp2017's user avatar
  • 3,726
2 votes
1 answer
2k views

Read file using LaTeX

Problem I am planning to read source code of a open-source project. With a (perhaps weird) habit, I often print all the source codes according to the way they are organized (in particular, the ...
Mr.Robot's user avatar
  • 247
1 vote
1 answer
330 views

Missing files (basic sty files) when TEXINPUTS is set

Below is my files tree: .../Doc/Tex/book.tex .../Doc/Tex/images/im.jpg .../Doc/TexBase/myTemplate.sty .../Doc/TexBase/baseImages/logo.jpg On Windows it was enough to set TEXINPUTS evironment ...
pi.314's user avatar
  • 195
1 vote
1 answer
216 views

LaTeXTools + Sublime + Windows + TEXINPUTS

Can't find the way how to fix problem with TEXINPUTS env. In my docs I use personal .sty templates. Every doc is a new git repository. Usually I put my template to texlive\texmf-dist\tex\latex\...
Smosia's user avatar
  • 11
1 vote
2 answers
316 views

$TEXINPUTS and texmaker, LaTeXila

We have a number of .cls files on a central server, the corresponding directory is set in $TEXINPUTS (on Linux) and pdflatex works just fine. Now I would like to switch to a graphical environment ...
LeRookie's user avatar
  • 113
0 votes
1 answer
2k views

TEXINPUTS on Windows

I am writing an application which generates .tex filed and invokes pdflatex (on windows/texlive for now, but it should be compatible with toher distros and OS). I would like to enable the user to ...
IARI's user avatar
  • 1,455
2 votes
0 answers
2k views

How to properly configure my tex environment? [closed]

I'm new using latex and I'm a bit lost about how to properly configure my environments so my compiler is able to find my files. From what I read, I'm supposed to have a TEXINPUTS and TEXMFHOME ...
Sylver's user avatar
  • 254
0 votes
0 answers
57 views

XeLaTeX not giving priority to .cbx files in local texmf tree [duplicate]

I just installed MacTeX on a new machine. I'm running into a difficulty I hadn't had before. I have a .cbx file inside ~/Library/texmf/tex/latex/biblatex/cbx/ that has the same name as another .cbx ...
apc's user avatar
  • 836
5 votes
2 answers
517 views

\VerbatimInput : adjust a long line of a .dat file

In this document, \VerbatimInput is calling test_2.dat. test_2.dat contains a line too long, so that the compilation produces a pdf where that line is not entirely seen: By using adjustbox, one can ...
DavidC.'s user avatar
  • 835
0 votes
1 answer
507 views

\VerbatimInput gives error when the .dat file contains ( or * symbols

I have a \VerbatimInput call to a test.dat file, as shown here: \documentclass[12pt]{article} \usepackage[left=2.5cm,top=2.5cm,right=2.5cm,bottom=2.5cm]{geometry} \usepackage[utf8]{inputenc} \...
DavidC.'s user avatar
  • 835
5 votes
1 answer
1k views

How to use $texinputs in Powershell

We have a custom LaTeX build script that was written for bash many years ago. It's nice because it uses the // notation on $texinputs to recursively add image locations (allowing us to use sub-folders ...
Alex's user avatar
  • 51
2 votes
3 answers
421 views

macOS pdflatex : TEXINPUTS default value for streaming in STDIN

I have a very simple file hello.tex I want to use streaming instead of taking file as argument, and the following commands actually work: cat hello.tex | pdflatex cat hello.tex | TEXINPUTS= ...
kube's user avatar
  • 133
0 votes
1 answer
1k views

how to add a default path to texmaker LaTeX

I am trying to add a path to texmaker (Texmaker 4.5 on OSX Sierra). The reason is that i want to be able to do the same template doc every time so i dont have to re-import everything manually. I ...
Cy Bu's user avatar
  • 103
3 votes
0 answers
918 views

Setting TEXINPUTS in El Capitan (OS X)

I updated to El Capitan some time ago. My TeX installation works fine, but there is a problem: When I run latex from inside TeXShop, it does not see the TEXINPUTS environment variable. When I run ...
alexis's user avatar
  • 7,883
3 votes
1 answer
2k views

Overleaf - Included sty and other input package files common across all my projects

When an ordinary user specifies TEXINPUTS in Overleaf [e.g., as illustrated here] is there a concept of a ".." directory above the current Project? The reason I would like to be able to do that is ...
Danny Quah's user avatar
1 vote
0 answers
89 views

version of multiple files: all document in one .tex file

I am using latexpand to Replace \input{fileX} by the content of fileX automatically using the following command in ubuntu: perl latexpand mainfile.tex > newfile.tex But I am obtaining a warning ...
user144209's user avatar
1 vote
0 answers
3k views

Relative paths to tex files? [duplicate]

In the preamble of my tex document I can set graphicspath. Is it also possible to set a path to sub sections and tables, so I can do \input{relative-path/filename.tex} from any tex file and move that ...
tommy.carstensen's user avatar
2 votes
0 answers
491 views

Querying and modifying TEXINPUTS from inside a latex file? [duplicate]

If I have images, or files that I \input or \include, I know I can use: TEXINPUTS=/path/to/extra/dir pdflatex myfile.tex ... to allow Latex to find files not present in subdirectories in the current ...
sdaau's user avatar
  • 17k
3 votes
0 answers
185 views

Advice for coding with excessive quantities of symbols, accents, and special characters [closed]

I am beginning a new project where I will be using far more special characters and accents than I ever have before. Given that this will not be in my native language (or a language I even speak) I am ...
EngBIRD's user avatar
  • 3,975
2 votes
0 answers
2k views

How to add a search path for packages in TexStudio on Mac OS?

I would like to add a custom folder into the search path of TexStudio on OS X Yosemite for using custom packages. Is it possible to do so in a way that it would work when compiling LaTeX documents ...
Vlad's user avatar
  • 121
4 votes
1 answer
434 views

Fontspec not searching in TEXINPUTS

I'm writing an application in which I want to generate pdf file using xelatex. The process of generating the pdf file from tex file takes place in a tmp file however data files such as fonts and ...
Matrix's user avatar
  • 43
2 votes
2 answers
2k views

Setting TEXINPUTS in TeXstudio Mac OS X

I am a newbie using TeXStudio - and trying to set TEXINPUTS so that LaTeX can recursively search for my figures. I've run setenv TEXINPUTS :FIGURES//: at the command line, and then run LaTeX, which ...
spy123's user avatar
  • 31
5 votes
4 answers
6k views

How can I use a usepackage only for one section?

I need 2 different usepackages: one for a floatchart ( http://www.texample.net/tikz/examples/simple-flow-chart/) and one for my whole document. . For the Floatchart: \usepackage[latin1]{inputenc} \...
Kate's user avatar
  • 173
7 votes
1 answer
168 views

Completely hermetic, local TeX install

I have an unusual situation. My deployment environment needs to place pdfTeX and associated files into a custom directory that is not known until deploy time, and changes from one server to the next ...
Elliotte Rusty Harold's user avatar
8 votes
1 answer
1k views

Setting environment variable with arara

I wanted to set my TEXINPUTS environment variable from with an arara rule/directive. For example my texinputs.yaml rule is !config identifier: texinputs name: texinputs command: export TEXINPUTS="@{...
StrongBad's user avatar
  • 20.4k
2 votes
1 answer
393 views

Setting texinputs with .bat file (texlive2012)

How can I append additional paths for LaTeX to search for external .sty and .cls files using .bat file. My try: set TEXINPUTS=D:\myfolder latex %1
Baranas's user avatar
  • 877
3 votes
1 answer
690 views

TEXINPUTS and arara and/or TeXworks

I was wondering how I could use TEXINPUTS combined with either arara or TeXworks. To understand my point, I just received an answer on the thread `How to run LaTeX and lilypond-book in one command?', ...
Siska Ádám's user avatar
2 votes
2 answers
4k views

How to use Gnuplots .eps and .tex files at all with pdflatex

I tried to make a plot with data from a .txt file. The part with gnuplot works, but bringing the diagramm to Latex is frustrating. That's what I do: -- GNUPLOT -- set terminal epslatex size 10cm,5....
Josephus's user avatar
  • 117
1 vote
1 answer
1k views

How do I query pdflatex for its package search path as well as modify it?

I am trying to install a local package draftwatermark to override an out-of-date version of the package, by applying the answer in How to have local package override default package . I have placed ...
merlin2011's user avatar
  • 3,303
6 votes
1 answer
876 views

LaTeX not finding my local files

I've tried following the advise in other postings here, but nothing is working and I'm now afraid I'm going to break something. I've tried setting: export TEXINPUTS=.:~/projects/ini/latex/texmf:$...
A.Ellett's user avatar
  • 50.2k
3 votes
1 answer
478 views

TEXINPUTS ignored in ubuntu 12.04?

I have recently installed Ubuntu 12.04 (default, no tweaking) and I am trying to use pdfLaTeX, like this: the file z.tex exists I am in the directory containing z.tex TEXINPUTS is a shell variable ...
joao oliveira's user avatar
1 vote
1 answer
2k 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 ...
thornate's user avatar
  • 569
8 votes
1 answer
1k views

Configuring TEXINPUTS from AUCTeX?

I'm working on a collaborative (version controlled) LaTeX project. We have a bunch of custom .sty files in a subdirectory of our project named tex. We set TEXINPUTS=".:tex:" in the project Makefile ...
Richard Hansen's user avatar
15 votes
2 answers
2k views

Local texmf tree vs. `TEXINPUTS`

Integrating Local Additions provides a nice explanation of how to manipulate TEXINPUTS or register a local texmf tree. Q: When integrating local additions, is there a reason to prefer one approach ...
lowndrul's user avatar
  • 5,263
4 votes
1 answer
1k 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 ...
lowndrul's user avatar
  • 5,263
48 votes
1 answer
45k views

How to have local package override default package

I have an non-root account on a shared server which has an old version of a package available to all users, and I want to use a newer one on my account. I cannot just use $TEXINPUTS, because latex ...
fgregg's user avatar
  • 655
6 votes
1 answer
5k views

How to edit the environment variable TEXINPUTS in winedt for adding different search paths?

I want to edit the environment variable TEXINPUTS but I dont know how in windows platform with Winedt. I googled it many times but I didn't get what I need. I found how to reach TEXINPUTS by: > ...
Diaa's user avatar
  • 9,469
3 votes
1 answer
1k 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 ...
Yossi Farjoun's user avatar