As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [paths]

{paths} is for installation issues related to problems stemming from broken paths to the (La)TeX executable files. These executable files are stored in the 'bin' directory of the TeX distribution on any platform. After having installed a TeX distribution, it is important to have the path for the 'bin' directory set correctly.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Referencing mcexam.sty

I would like to make my version of mcexam.sty available to all my mcexam files without having to have mcexam.sty in every folder. For example, I may have an exam document in the following locations: ...
larryjb's user avatar
  • 41
2 votes
1 answer
61 views

tex4ebook and \coverimage[someOptions]{AbsolutePath/someimage.jpg} does not work

I use tex4ebook with \coverimage[someOptions]{AbsolutePath/someimage.jpg} in the document, directly after \begin{document}. But the AbsolutePath is not respected and does not find someimage.jpg, ...
Thomkrates's user avatar
0 votes
1 answer
169 views

New installation of TexLive 2023, PATH setting problem under Windows 11

I thought the new installation of TeXLive 2023 seemed to have set everything needed, but I have discovered a problem with the systems path variable. I worked before with TeXLive 2022 and now both path ...
Thomkrates's user avatar
0 votes
0 answers
39 views

BibTex does not work and MiKTeX PATH issue

I am a total newbie to this. I have recently installed MiKTeX on Windows 10. I work with a template given from my university so the code should be OK, but there is a problem probably with BibTex. ...
Tusau's user avatar
  • 1
2 votes
1 answer
99 views

What is the correct way to import files within subfiles?

The subfiles docs explains that it handles path issues when main files and subfiles are in different directories and subfiles contain paths relative to their own directories using the \import package. ...
socialscientist's user avatar
3 votes
2 answers
61 views

How do (relative) paths work with the subfile package?

I am trying to understand how (relative) paths need to be used with the subfiles package. In particular, it's not clear how content that I usually would include with \include, \input, \includegraphics,...
socialscientist's user avatar
0 votes
0 answers
29 views

Texstudio and Inkscape-- error "Inkscape not Installed" but definitely in $PATH and ~.bashrc

Suggestions at TexStudio and Inkscape were followed as my problem also involves the use of --shell-escape. No improvement using methods suggested there. Here is my situation: I am attempting to use ...
Birdman's user avatar
  • 115
1 vote
0 answers
76 views

Different output of package.path in lua cli and lualatex

I have a problem to get a lua script (using luasql installed via luarocks) working within lualatex. The lua script basically retrieves data from a mysql database. But within lualatex, the necessary ...
fermikante's user avatar
0 votes
0 answers
40 views

Strange order of reading files?

Let us consider the following code: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{photo} \end{document} I have in my working directory the file photo.jpg, but the ...
Przemysław Scherwentke's user avatar
1 vote
1 answer
72 views

How to pass to package unicode-math's \setmathfont command a path to a font file?

I downloaded the OpenType font file STIXTwoMath-Regular.otf from the STIX Two Git repository, and saved it as ~/STIXTwoMath-Regular.otf. I then saved the following LaTeX code in the file ~/Hw2/Test....
Evan Aad's user avatar
  • 10.8k
2 votes
0 answers
74 views

How to define path for use with /input, such that TeXStudio can detect the location of the file using global command

Background I am writing a large document (main.tex) with several chapters (Introduction.tex, LiteratureReview.tex, etc). I use TeXStudio to compile the document. Each chapter is included using /input (...
Bernardo's user avatar
0 votes
0 answers
97 views

How to add texlive to texstudio path on windows 11?

I downloaded both Texlive and TexStudio but on compiling a document TexStuio says that there is no path to TexLive. How do I add TexLive to TexStudio?
Rose Chirackal Joseph's user avatar
0 votes
1 answer
28 views

How can nested files infer their paths? Part II: From a leaf to another branch of the root

The following question is closely related to this one but represents a scenario much closer to my real life use case, in which descendants reference their ancestors, rather than vice versa, and the ...
Evan Aad's user avatar
  • 10.8k
1 vote
1 answer
72 views

How can nested files infer their paths? Part I: From root to leaf

I have set up the following file tree. . [D] (working directory) Test.tex [F] SubFolder [D] SubTest.tex [F] SubSubFolder [D] SubSubTest.tex [F] I would like each file to print ...
Evan Aad's user avatar
  • 10.8k
1 vote
1 answer
62 views

Is it possible to have a search path for subfiles?

Similar to how the graphicspath works, would it be possible to create a search path subfilespath for .tex files instead of images? For example, given a folder structure as below. - Main - FolderA ...
Steven's user avatar
  • 143
0 votes
1 answer
44 views

Problems after installing TexLive in a non-standard location (and how to uninstall it)

Background My main goal is to compile my thesis in latex under POP-OS 22.04. (I used to use Miktex on Windows or Ubuntu). Now I have installed TexLive in a non-standard location (passing --texdir=/...
Maverick's user avatar
  • 303
1 vote
1 answer
139 views

compilation issues with pdflatex on msys2

I installed both texlive and miktex as well as cygwin and msys on a new machine. Now, after adding the paths to the pdflatex.exe in either texlive or miktex installation folders I can compile my tex ...
mike's user avatar
  • 13
2 votes
1 answer
32 views

Decoration causes line to disappear

I have the following diagram: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{decorations.markings} \begin{document} \begin{tikzpicture} \newcommand\rad{.75} \foreach \a/\r in {60/0, ...
Sriotchilism O'Zaic's user avatar
0 votes
1 answer
294 views

How to change Windows path ('\') to LaTeX path ('/')?

Windows paths use backslash, but paths in LaTeX documents require foreslash. When copying filepaths from Windows Explorer they will contain backslash. I know that I could use a text editor using find &...
theozh's user avatar
  • 125
0 votes
0 answers
39 views

How can I refer to multiple .bib files by explicitly specifying their full path address?

I use the Natbib package for bibliography management. Usually, my .tex files are somewhere in my c:\\ drive, but I would like to keep my .bib files in my Google Drive, which creates a virtual drive on ...
Salivan's user avatar
  • 303
0 votes
1 answer
149 views

How to obtain absolute path of a file

Many languages provide functions to obtain the absolute path of a file. I wonder if Tex/LaTex has also such macros. In the following example, given a file name, test if this file really exists. Then, ...
lyl's user avatar
  • 2,667
2 votes
2 answers
89 views

Cannot decorate an empty path in pgfplot

I want to save a plot, draw it cropped and put an arrow on it \documentclass[10pt,convert={convertexe=magick,density=1000,outext=.png}]{standalone} \usepackage{tikz,pgfplots} \usetikzlibrary{...
Pygmalion's user avatar
  • 5,789
1 vote
1 answer
99 views

Cannot decorate an empty path

I want to save a path, draw it cropped and put an arrow on it \documentclass[10pt,convert={convertexe=magick,density=1000,outext=.png}]{standalone} \usepackage{tikz} \usetikzlibrary{decorations....
Pygmalion's user avatar
  • 5,789
0 votes
0 answers
99 views

Including a file with absolute path

I have a python script which compiles a tex file on my D drive. I would like to include a data file into my tex file. This data file is located on the following directory on Windows: \\filesrv\xxx-sc\...
thomkell's user avatar
0 votes
2 answers
62 views

How to determine coordinates of a label?

I have the following code and try to get all H's to the right side of the left boxes since they are currently overlapping. Has anyone an idea how to do that? Thanks!! \documentclass{report} \...
xxoptionxx's user avatar
0 votes
1 answer
62 views

Using font files available in a subdirectory (similarly to "\graphicspath")

I have a LaTeX document that uses font (and fontmap) files not available among the standard packages. It is compiled with pdflatex and biber. If all the relevant font files are in the same directory ...
pglpm's user avatar
  • 269
0 votes
0 answers
118 views

relative paths and compile problem in windows cmd

Tying to write a BATCH file in windows cmd to compile/update all PDF under each folder. Silly me wasn't really thinking about the larger maintenance issue while started my "little" project. ...
CasperYC's user avatar
  • 627
1 vote
0 answers
619 views

Texmaker - LaTeX Error: File `bm.sty' not found

I was trying to use pstricks in Texmaker and wanted to manually install a package. However, since it didn't work I downloaded MiKTeX and I must have accidentally destroyed my settings and the paths. ...
Ferdi's user avatar
  • 67
2 votes
1 answer
58 views

How do I color a region enclosed by a curve drawn using tkz-euclide?

I have a region enclosed by a closed curve as can been on the picture below. How can I color this region? I remark that I have used tkz-euclide, though I think the library tikz-avoidpath was created ...
Máté Wierdl's user avatar
0 votes
1 answer
530 views

Installing and switching to new distribution

I installed the new texlive 2022 distribution and removed the old 2021 texlive distribution with tlmgr uninstall --all (after verifying I was on the right distribution with tex version and it returned ...
Louis.vgn's user avatar
  • 183
2 votes
2 answers
648 views

Place text along a path

I'm using the decorations library to put text along a path. But the text does not appear on the path, instead, it appears in the node, how should I correct it? Also, the dotted path is not symmetrical,...
newbie's user avatar
  • 237
0 votes
0 answers
133 views

TeX Giving a Blank Console

Using a Mac on Monterey 12.2.1, and TeXShop on 4.70. When attempting to Typeset, the console window is completely blank. A "which pdflatex" search in the Terminal gives /Library/TeX/texbin/...
BKrik's user avatar
  • 1
6 votes
3 answers
442 views

Is there a way to draw the rest of a path by mirroring the existing part?

Here is a simple path, which has a symmetry: \begin{document} \begin{tikzpicture} \draw[thick] (0,0) -- ++(-9,0) -- ++(5,3) -- ++(2,7) -- ++(2,0); \draw[green,thick] (0,10) -- ++(2,0) -- ++(2,-7) -- +...
TobiBS's user avatar
  • 5,002
1 vote
0 answers
18 views

How can I customize the directory of my own style files for latex on MAC-OS? [duplicate]

I couldn't find any satisfying solution to this problem I had for years so I finally decided to ask it myself. I want to create a folder outside the usual latex directories (e.g. /Users/myname/Dropbox/...
Riley Zhang's user avatar
0 votes
2 answers
150 views

usepackage, absolute path, and github development

I've forked the github repo for a package that is on CTAN and distributed with TeXLive. I'd like to do some development on it, and use it locally before committing back. This seems a pretty standard ...
Colin's user avatar
  • 203
0 votes
1 answer
398 views

Add search path on compilation

I need to (for a single compilation) point LaTeX to a (single or multiple additional) directory/es that will be recursively searched for class or package files. This is because I have project specific ...
uli_1973's user avatar
  • 1,890
1 vote
1 answer
147 views

How to get the full path of TeXLive tree root?

I know that it's /usr/local/texlive/2021/texmf-dist on my machine (MacOS), but how can I get this path programmatically from the command line? I don't see it in my env, but tlmgr works perfectly: ...
yegor256's user avatar
  • 11.2k
6 votes
2 answers
212 views

TiKz Path Exclusion - Compound Shapes (pathfinder functionality)

On Adobe Illustrator, it is very easy to use Pathfinder to create compound shapes by (using the path exclude function with the shape to be retained in the back layer and all paths to be removed in ...
Terry Panda's user avatar
1 vote
0 answers
121 views

Storing file paths and names in an array or list for use as arguments for \catchfilebetweentags or \insertgraphics [closed]

EDITED SOLVED---Thanks @Skillmon I have a multitude of compartmentalized tex files each with three tags (all built from the same template with the same tag names). The files are 20001.tex, 20002.tex,.....
TheBeeTee's user avatar
1 vote
1 answer
103 views

Metapost: how to build a cycle path for the picture to hatchfill?

Followed is a minimum example to show my problem. I want to hatchfill the Cee section. I don't know how to build the cycle path for the hatch. I have tried buildcycle but failed. How can I add the ...
warem's user avatar
  • 3,179
1 vote
0 answers
53 views

How do I tell pdflatex where to find a .600pk file

I have a letter template areletter.tex file, which loads a style file called areletter.cls. My template requires a seal in order for the letterhead to compile. The seal file is ucseal60.600pk and ...
Leo Simon's user avatar
  • 2,169
0 votes
0 answers
72 views

Problem on minted package on Windows 10 Pycharm

I have a problem with minted package, because when I try to use it in my text editor (TeXmaker), it returns me the next error: "You must have `pygmentize' installed to use this package" ...
MATIAS EZEQUIEL STICCA GONZLEZ's user avatar
0 votes
0 answers
107 views

\graphicspath & Dropbox

Hmmm... I have an issue that may or may not be a problem with a Dropbox situation? I have my .tex file in a folder on my Mac called 'Staff Handbook'. Inside this folder is another folder called '...
Simon Bradley's user avatar
3 votes
1 answer
3k views

Error with minted and TeXMaker : You must have `pygmentize' installed to use this package

I discovered TeX and LaTeX recently, and I started to learn how to make math documents, but I need to write some source codes in Python3. So I choose to use the package minted, but I got this error: !...
lefaba's user avatar
  • 51
0 votes
1 answer
92 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
0 votes
0 answers
60 views

UNC paths with xelatex > no pdf output

It appears that my home university has changed the paths for our directory from a letter drive M: to a server path (the drive M: was also on a remote server, by the way). The paths to files in that ...
Sverre's user avatar
  • 20.3k
2 votes
1 answer
2k views

Texlive 2021 and tlmgr: an unsolved issue

I have installed Texlive 2021 on UBUNTU 21.04 from tug.org. I have had to install it as root user since, while trying to install it as simple user he didn't let the installer write in some directories....
Matteo Triossi's user avatar
2 votes
1 answer
1k views

How to I properly setup LaTeX Workshop in VSCode with WSL2

I am completely lost. I have installed TeXLive on windows 10 and with TeXworks I'm able to use the packages stmaryrd, physics, and mathtools along with the normal ams packages. However the second I ...
Spamakin's user avatar
1 vote
0 answers
732 views

One Dot vs Two Dots to import file

Sometimes I see one dot (like: \subfile{./chapters/file.tex}) and sometimes two (like: \graphicspath{{figures/}{../figures/}}) while importing a file. Can someone clarify which is used when?
dictatemetokcus's user avatar
0 votes
0 answers
656 views

Package not found despite being installed on Linux

I am trying to us the extarticle.cls class but when I compile I get an error saying it cannot be found. ! LaTeX Error: File 'extarticle.cls' not found. Since I am using a Debian based system I checked ...
G_T's user avatar
  • 465

1
2 3 4 5
9