Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
0answers
30 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 ...
0
votes
0answers
23 views

Draw a path through some specified points

I want to write a small program to draw an automata using tikz, but when I finish, it seems like this: Actually, I use the way of converting Graghviz to tikz. So I would like to draw a path from (_0) ...
0
votes
0answers
24 views

How to use .bib files of a directory different from the actual one?

I would like to cite the references of a .bib file in my document. Could you please help me how to give the path to this file for BibTex (preferably without setting things in TeXnicCenter)? My MWE is ...
0
votes
0answers
21 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
38 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 ...
2
votes
2answers
85 views

How to suitably configure the TEXINPUTS variable in latexmkrc for detecting the sty and cls files present in a custom folder in the project directory?

I am working on a project where in the .cls and .sty files installed by the TeX distributions are too old, but they have been patched by other users on github. I wish to use these updated versions of ...
1
vote
0answers
40 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/...
0
votes
1answer
313 views

Path & Compilation issue | Texmaker MikteX

I've just installed MiKTeX and TeXMaker on my PC (previously worked on Overleaf which is fine until you have to write a whole master thesis). I have trouble while trying to compile a document, cf. ...
0
votes
1answer
62 views

Path Variable Problem in TikzEdt

When I start tikzedt on windows 10 I face the problem of a path variable as in fig. A solution is requested.
0
votes
1answer
60 views

TextMate ConTeXt bundle

I am in macOS High Sierra, with TextMate 2 and the (outdated, from 2010) ConTeXt bundle. And I have MacTeX 2018 installed. I tried to compile something and it said that my PATH was something and that ...
1
vote
1answer
44 views

Search order of graphic files

There are many packages that contain graphic files. For example, rutitlepage has logo.pdf, hand.pdf in notes, and so on. If I want to use my own logo.pdf, which I want to load from a subfolder, then ...
1
vote
2answers
47 views

Drawing path from intersection of two paths to origin of those two intersecting paths

I have two paths which are to be drawn with dotted lines (shown in figure) and they intersect at some point C. Now I need to draw a resultant path of these two paths with solid lines. The resultant ...
0
votes
1answer
189 views

What is the easiest way to set path of updated(new version) texlive installation?

I can remember that I might get a easy solution, but now I can't find this in this site. $ whereis pdflatex pdflatex: /usr/bin/pdflatex /usr/bin/X11/pdflatex /usr/share/man/man1/pdflatex.1.gz But, ...
1
vote
0answers
55 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, ...
0
votes
0answers
87 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
1answer
48 views

How to specify absolute paths [duplicate]

I input a file inp.txt using its path relative to the directory containing the main.tex file and where I will run pdflatex: \documentclass{article} \begin{document} \input{../inputs/inp.txt} \end{...
4
votes
2answers
72 views

Drawing a 'line of arrows' with the same distance between them

I have a rectangle node and want to draw multiple arrows showing in one direction and have a fixed distance between each other. The drawback of my current MWE is that the distances written in the ...
2
votes
3answers
70 views

Tikz: control where path meets a node in a path diagram

I'm trying to make a path diagram for my thesis and I'm running into trouble right at the beginning: I want the arrows to end below the y-rectangles (meaning at the lower side of the rectangles). I ...
26
votes
1answer
744 views

Is there a way to create Tex Live or LaTeX virtual environment?

I am looking for a Python-style virtualenv or venv to create a virtual environment where I can install LaTeX packages such that the packages are available to my current LaTeX project only (but not ...
2
votes
1answer
79 views

Tikz: draw path starting at an anchor and just going a specific distance in some angle

I would like to draw a decoreted path starting at the anchor of one node and going in a specific direction for a specific distance. I Found something like this: \draw(node.north) -- (50:2cm); This ...
1
vote
2answers
51 views

Let tex search a file inside a folder?

As mentioned in my last question i have problems with \input command and relative paths which getting wrong. I also tried the import-package but don't get this to work. Till now I just have two ...
0
votes
0answers
34 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
1answer
51 views

Determine the relative path of a package

The general idea is that I can get the relative path of my project root by including the package mymacros.sty in my subprojects. I have the following setup: mymacros.sty myimg figure.tikz the ...
2
votes
0answers
61 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 ...
4
votes
1answer
162 views

Overlay of text along path

In beamer, I failed to show the text above a path from the second slide on using the overlay specification like <2-> and onslide<2->. How to do that? \documentclass{beamer} \usepackage{...
0
votes
1answer
154 views

Have Miktex and Texlive side-by-side

I'm trying to have both MikTex and TexLive working on my Ubuntu Linux. Both the tex distros have been installed through apt-get. I know this is related to settings on the PATH variable. So what I did ...
1
vote
0answers
223 views

How to set texmaker when upgrading from MacTeX 2017 to 2018? [closed]

I am a frequent reader of tex.stackexcnage, this is my fist post and, since English is not my native language, I hope you will forgive my clumsiness. I've been using fo several months texmaker on ...
1
vote
1answer
317 views

How to specify the absolute path of the output directory with latexmk?

I'm trying to execute latexmk from my web application and need to specify the path of its output directory. (I'm on Linux CentOS 6.9) I have my .tex files in the directory /home/(the path) (this is ...
1
vote
0answers
60 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 ...
0
votes
1answer
468 views

Error with pygmentize when using minted package

Problem: I get multiple undefined control sequences when using the package minted and I believe it is caused by pygmentize. Background I use the software Texpad and the active LaTeX distribution is ...
0
votes
2answers
106 views

Inkscape saving pdfs without the path

I'd like to know why and if someone knows a solution about saving pdf + latex gives the wrong path to the tex file. So for instance: If I save an svg inside mainfolder/subfolder as pdf with omit ...
0
votes
0answers
217 views

Problems with missing font in Texlive 2017

I am having this problem, but in my case here with a different font. I get the following output when trying to compile a document that uses \usepackage[bitstream-charter]{mathdesign} kpathsea: ...
0
votes
0answers
39 views

Is Texlive 2017 pdftex supposed to use /usr/local/texlive/2017/texmf-var/? [duplicate]

I am having this problem. I have found out that the missing font is correctly specified in /usr/local/texlive/2017/texmf-dist/fonts/map/pdftex/updmap/pdftex.map but when I run pdflatex on my ...
0
votes
0answers
68 views

space appearing in graphics paths

I'm trying to compile a LaTEX document which contains some figures from a different directory to the tex file. When I compile (lualatex) from the command line (Linux) as my own user it works fine. ...
1
vote
0answers
37 views

Midway in a path containing -| or |- [duplicate]

I try to find midway position on this kind of pathes : \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \pagestyle{empty} \begin{document} \tikzset{pics/.cd, % Marque ronde ...
5
votes
3answers
608 views

How to draw and label vertices of a polygon?

I am drawing a convex polygon and a line connecting two points on edges. However, as shown in the figure below, the endpoints of the line are not on the edges. How to fix that? \documentclass{...
1
vote
2answers
60 views

why is the directory trimmed from my path argument in includegraphics?

Hi community I have a weird problem. It seems that includegraphics won't accept the entire argument, it always trims off the directory part! The argument was manipulated and concatenated in another ...
0
votes
0answers
444 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 ...
2
votes
1answer
335 views

GitLab CI Runner with relative paths in main.tex

I have a LaTeX document where I include another TeX file with a relative path like \include{../Meta/commands.tex}. If I compile it on my local machine all works fine. Now I also want to use the CI ...
1
vote
2answers
185 views

Switching between local package and texlive package

This question is about texlive 2017 under Windows OS. Some years ago there was change in the libertine package that broke my workflow. So I installed the older version of the libertine package in the ...
3
votes
2answers
269 views

Spaces in files names in \input

There is already a similar question but the answer didn't solve my problem. I would like to put in some text from an other .tex file (called munich.tex). This .tex file is in a subfolder called "01 - ...
1
vote
1answer
89 views

Tikz fill area enclosed by cycle [duplicate]

It is in tikz possible to fill area inside a cycle, right? I am having issues with it and I can't figure out what I am messing up: \documentclass[center]{article} \usepackage{tikz} \begin{document} ...
1
vote
0answers
163 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
1answer
149 views

Concatenate string and `\today` macro

I'd like to use the \today command within a pathname. \usepackage{graphicx} \usepackage[iso]{datetime} \graphicspath{{./Figures_\today/}} This should point to ./Figures_2017-11-13/ What is the ...
0
votes
1answer
155 views

Make \input path work irrespective of from where latex is ran

In the directory /user/, I have a file header.tex. In the file /user/dir/main.tex, I use \input{../header.tex}. When I run pdflatex main.tex from /user/dir, everything works fine. But if I ...
2
votes
3answers
81 views

Package or macro for converting Windows/DOS paths

If I to include a graphic I have to manually replace backslashes '\' with slashes '/', which isn't very convenient especially if the path is long. But Latex is all about convenience and automation, ...
1
vote
1answer
110 views

Metapost: text along a line

Followed is a small code to show text along a line. The "bar" is what I want. My question is how I can get the "bar" case no matter from "A to B" or "B to A'. Generally, I want to draw a line and ...
4
votes
1answer
517 views

How do I *automatically* set the search path for MikTeX?

Short version of the question I need to automatically (not manually) install some packages that were not included after the installation of MiKTeX 2.9. I was able to solve this problem by following ...
0
votes
0answers
56 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{...
1
vote
1answer
183 views

Metapost: path definition

I am a newbie of metapost. Please forgive my question if it is too simple. Can we define a path for two parallel lines? As daleif explained below, the answer is no since it is not a connected ...