Questions tagged [paths]

paths give the location of bin directory which consists of (latex) executable files in any platform. Post installation it is important to set the path for the bin directory. use this tag for installation issues

53 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
67 views

Using menukeys to typeset paths containing hyphens

I want to use the menukeys package to typeset directories and filenames, but if a filename contains a hyphen, the output adds a space before the hyphen,eg \documentclass{article} \usepackage{...
4
votes
0answers
917 views

non-root non-sudo installation not working; how to install-tl using custom --profile?

I'm trying to install TeX Live in my home directory in Ubuntu 12.04, where I don't have sudo rights. I'm installing from the Live CD. But install-tl always wants to install in /usr/local/bin and ...
3
votes
0answers
991 views

LaTeX command to pick root directory

I work on a folder with LaTeX files on two different computers. Dropbox syncs both folders, but the location of folders are different in different computers, so when I include a photo in one computer, ...
2
votes
0answers
222 views

Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT

I am upgrading from TeX Live 2018 to 2019 following https://tug.org/texlive/upgrade.html At step 8 I encounter a problem. Running sh update-tlmgr-latest.sh -- --upgrade in /usr/local/texlive/2019 ...
2
votes
0answers
209 views

Modular Documents \includegraphics file not found

I'm starting a Modular Latex project for the first time and I'm having problems with adding figures. I'm using the \input{} command to add files to the main documento.tex as in the Latex/Modular ...
2
votes
0answers
523 views

TEXINPUTS equivalent for inputminted to make relative paths work?

A while ago I griped about LaTeX not supporting relative paths by default. It turns out I can export the TEXINPUTS=/path/to/source environment variable to make \input{foo} look in /path/to/source/foo. ...
2
votes
0answers
258 views

R and LaTeX: Why does white-space character disappear from path?

I'm creating a manual for an R package using LaTeX, and I have to follow a specific latex style . So, I want to create PDF using well known pdflatex, starting form .tex file generated by 'knitr'. ...
2
votes
0answers
288 views

fontspec: spaces in paths

I know that similar questions have been asked before, but I am still not sure what the official or recommended policy is concerning fontspec and fonts with spaces in their path. Example: I have a ...
2
votes
0answers
146 views

What is the counterpart in LaTeX for the R package ezknitr and its tools for managing paths and directories

Dean Attali has just added an R package called ezknitr to CRAN. It enables those who use knitr and RMarkdown in .Rmd files to handle directories quite flexibly. His blog describes it well: path ...
2
votes
0answers
214 views

Multimedia : Path to sound and video files

I have the same sound on transition between frames in a quizz beamer pdf. Each quizz file will use the same sound file, all quizz are not in the same directory. I want to avoid copying the same sound ...
2
votes
0answers
4k views

How to set PATH variable in portable miktex to be used with texmaker

When I perform ps->pdf or XeLaTeX I get error 'mgs.exe' is not recognized as an internal or external command, operable program or batch file. The solution for this is to add ...\miktexport\miktex\...
2
votes
0answers
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 ...
2
votes
0answers
95 views

path for own .xdy file

when I a put a .xdy in the current folder, texxindy find it well. However, if a put it in <localtexmf>/xindy, texindy don't find it. Is it possible to have a personnal styles in a <...
2
votes
0answers
1k views

Link to pdf file on network drive (UNC)

I would like to put a link to an external file in a presentation, but the file is located on a network drive, so I may only get an UNC path like: \\server\folder\file.pdf Is there a way to get this ...
2
votes
0answers
75 views

Setting paths for different types

I wonder if it is possible to set several paths for different types of images, that im including in my document. Currently im using \graphicspath{{./Figures/}} for saying that, it should use ...
2
votes
0answers
585 views

Relatives/absolute path for listing with subfiles

I have problem with path management. Let me explain you: I work with subfiles that are arranged in this way: REPORT --Main.tex --lab1 ----Matlab ------CodeLab1.m ----Report ------Report_P1_1.tex --...
1
vote
1answer
59 views

pgfplots relative paths with import command

I have a large number of pgfplots generated figures that I would like to include in my main document from their location in a figures folder. The figures and corresponding data are stored in folders ...
1
vote
0answers
18 views

Is there a way to add a directory to the search path on the fly / not redefine?

Numerous examples (see this one for instance) describe the the use of: \makeatletter \def\input@path{% {<path1>}% {<path2>}% }% \makeatother as way to broaden the compiler's search ...
1
vote
0answers
121 views

Set Path for *.fontspec file

According to Section 2.3 of the fontspec documentation it is possible to select a font by creating a file like ⟨fontname⟩.fontspec. Does this file always has to be in the root of the document or could ...
1
vote
0answers
48 views

Need help with preamble pathing

In my main.tex I am requesting my preamble to be loaded through the command \usepackage{preamble}, which is in the same folder as my main.tex. My subfiles are located one folder below, e.g. MAIN/...
1
vote
0answers
66 views

Brownian Motion in 2D space, adding drift and a second motion

So I found this code from these forums: \documentclass{article} \usepackage{randomwalk} \begin{document} \framebox{\RandomWalk {number = 300, length = 2pt, angles = {0,10,20,50,-10,-20,-50}, degree, ...
1
vote
0answers
110 views

Link Portable Perl to makeglossaries

I am using MiKTeX with Texmaker on Windows, and I tried to run the command makeglossaries on Texmaker (which I edited in User Commands) but the Perl interpreter was not found. Due to very restrictive ...
1
vote
0answers
579 views

MikTex installation; paths

I have installed MiKTex 2.9 64 bit for windows but it seems that I need to work on setting paths, because I get error messages like the following: ! I can't find file `graphicx'. l.14 \input ...
1
vote
0answers
264 views

How to link to local pdf file with full path

I want to add a link to /Users/p/foo.pdf, but when I hover over the link in TeXShop it seems to be a link to <pwd>/Users/p/foo.pdf. I guess that I could include the correct number of ../ at the ...
1
vote
0answers
160 views

Replace svg with svg-inkscape to get rid of subfig

I would like to include SVG images in my LaTeX document. I also would like to use subcaption for subfigures. I am using the following folder structure: <project path>/Document/document.tex for ...
1
vote
0answers
315 views

Cannot get tex commands to work using tl-install-ubuntu

I tried installing texlive using the following: https://github.com/scottkosty/install-tl-ubuntu/blob/master/example.profile I put the given folder and its extracted contents then ran it in this ...
1
vote
0answers
160 views

Refer to the current packages file path

I'm writing my Lieder-Package right now, which provides commands to build sty-files which are basically data bases for songs. Inside these data base files, I use \includegraphics and a relative path ...
1
vote
0answers
362 views

How to reference a file in another directory with the \input command under Windows 10

In a LaTeX document, I am trying to place my pre-\begin{document} commands into a separate file. I cannot find a Window 10 directory to store the file, other than the current working directory. ...
1
vote
0answers
211 views

Tex file linked in TEXMFHOME is not found

I recently moved my tex installation from Windows to Linux Mint. While I never had any trouble with the paths on Windows, I don't get it to work under Linux. I have several own packages (...
1
vote
0answers
2k views

Texmaker can't find the image

I'm writing my master thesis using texmaker as editor... I have a multi-file project with a main-file as master document and another file used as input. Here is my MWE: \documentclass{scrartcl} \...
1
vote
0answers
260 views

Different latex compilators don't get files and folders right

I'm working on my thesis and I decided to do it in LaTeX. I was using an amazing online service, ShareLatex, that allowed me to compile and edit my projects wherever I go (I use several computers in a ...
1
vote
0answers
606 views

TeXstudio PATH problem with kpsewhich

If I start up TeXstudio by launching it normally as an app in OS X Yosemite, whenever I build and view a document, it complains kpsewhich: command not found. However, which kpsewhich in a terminal ...
1
vote
0answers
100 views

remove “” from lyx macro

I am using LyX and followed http://wiki.lyx.org/BibTeX/Biblatex. I don't want to use an absolute path with \addbibresource so I've tried following there example of using the \input@path macro. This ...
1
vote
0answers
1k views

TexStudio Then Miktex Installed in Wrong Order

I installed TexStudio on my laptop without realizing I first needed Miktex (or texlive) I installed Miktex but the paths were not automatically recognized. I uninstalled TexStudios and reinstalled it ...
1
vote
0answers
361 views

Spaces are not formatted correctly in url paths when using sphinx package and reStructuredText

I have a problem similar to the one in: Obey spaces with URL package (path command). The obeyspaces option is not working within the pgfplots table column. However, my problem is slightly different ...
1
vote
0answers
423 views

paths when using \input

I tried the following: \chapter{Chapter One} \input{C:/Users/ocuk/MyDocuments/Introduction/Introduction.tex} I have already renamed "My Documents" to "MyDocuments" but is still doesn't seem to work? ...
0
votes
1answer
25 views

Recursive search for .sty file slows down texing process

I am running Debian 10 and using emacs 26.1 to create a PDF from an org file via xelatex. Everything works fine, but recently, the xelatex takes much longer than it used to. When I trace the process ...
0
votes
0answers
14 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
35 views

What it means to name path

My teacher has given me example code be he says be sure to name the path i am confused what he means by this example code: % Plot 1st data from file (you don't even have to open the files) % Make ...
0
votes
1answer
37 views

MikTeX does not see parent directory when running from within 10th version of WinEdt

I just installed trial version of WinEdt 10.3. With earlier versions of WinEdt I used relative path in LaTeX commands such as  \bibliography{../GDMT} They allowed to read data from  GDTMT.bib file ...
0
votes
0answers
37 views

“ command tex not found ” but I actually put the path into environment

I'm fresh in linux, don't know why this happened
0
votes
1answer
71 views

build tex file with pdflatex from other path

I have such a structure: ..path..\pyt\go.py ..path..\tex\base\base.sty ..path..\tex\base\img\1.jpg ..path..\tex\book\book1.tex ..path..\tex\book\images\img.pdf ..path..\tex\book\bin\ ..path..\tex\...
0
votes
0answers
39 views

What is the difference between the package-searching mechanism of PdfLatex and TexMaker?

I usually use TeXmaker to edit and compile my .tex files. I am trying to figure out where I should put the file my-package.sty, so that I can use it by simple adding \usepackage{my-package} to the ...
0
votes
0answers
124 views

LaTeX does not find the command although PATH is specified

LaTeX fails to pass the command to bash even though PATH is specified. For example, I am trying to invoke texcount, which is in directory /Library/TeX/textbin. When I check echo $PATH, the output I ...
0
votes
0answers
379 views

eps files outside the working directory

Consider the following script.tex: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics{fig/epsfig.eps} \end{figure} \end{document} When calling pdflatex ...
0
votes
0answers
42 views

When using \input{document_with_tikz.tex} the paths inside document_with_tikz.tex getting wrong

I have some main document and want to insert another .tex file which contains a tikz-picture (standalone documentclass). In my project I have a folder for some shared preambles like commands of ...
0
votes
0answers
60 views

curved path's and how to make this picture more fancy

i want to show that a big frame consist of many small frames of another typ. Therefor i started this tikzpicture. The big one is named long and the small frames are named small. \documentclass{...
0
votes
0answers
95 views

Use /graphicspath twice in document

Dear all i want to use /graphicspath twice in my document. Once in the preample.sty file I created and once in a user_settings.tex document for additional user input. But if I use /graphicspath a ...
0
votes
0answers
666 views

one folder for graphics using graphicspath

I am using graphicspath in order to pick up pictures from a unique folder for my beamer presentation. My code is: \documentclass[xcolor=pdftex,t,11pt]{beamer} \usepackage{graphicx} \graphicspath{{...
0
votes
0answers
288 views

Put my bibfile into the root directory of MikTeX but bibtex doesn't find it

I have a lot of different folders with different projects and different .tex documents. For all of them I am using the same bib-file (mainbib.bib). Since it gets a bit tedious to always keep the bib-...