The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Filter by
Sorted by
Tagged with
3
votes
1answer
418 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
256 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
400 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
107 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
231 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
189 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
186 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
86 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
146 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
618 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
58 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
232 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 ...
0
votes
1answer
249 views

Tikz basic Network Bus diagram line ending in circle not nice

Hi i took this code and made it sute my styles but i can not get the line end of net node end before the circle it ends inside the circle. how can i make it stop at the edge of the circle? here is ...
2
votes
1answer
458 views

How to mention local drive path inside Latex?

I'm trying to mention below path... but I am getting an error. Select \textbf{root directory} and select the folder \textbf{Diagnostics_Example} from path \textit{C:\Users\harshalb\K-DCP Projects\...
2
votes
1answer
70 views

What is the correct way to draw the following diagram

I am trying to draw the following figure using tikz. (Apologies for the rough sketch.) This is how far I have gotten: \begin{document} \begin{circuitikz} \coordinate (o) at (2.5,-1); \draw (1,3)--(...
0
votes
0answers
90 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
1answer
513 views

Define the graphics path in the header for TeXstudio

TeXstudio opens a preview, when the mouse cursor hovers the \includegraphics command. Unfortunately this does not work, if a graphicspath is set for the document. It seems that TeXstudio 2.12.4 does ...
0
votes
0answers
25 views

File paths not relative to main.tex but relative to subfile [duplicate]

I am looking for a way, if possible, of specifying file paths not relative to the main document but to the subdocument in which they are contained. As background: I am writing my thesis chapter by ...
0
votes
1answer
55 views

Filenames accessible from different directories

I have a directory structure with following directories (upper-cased) and files as follows: Main Folder masterfile.tex Chapter content.tex tempfile.tex Figures figure1.pdf All the text ...
1
vote
1answer
638 views

Pass file name with underscore [duplicate]

I have made a custom command which includes an image if it exists and writes an missing file text if it does not. The problem is that if I use underscore in the file name or path it is does not print ...
0
votes
1answer
729 views

Specify path to home directory in Windows

Is there any way to define a path relative to home in windows ? Like it's done here for linux
6
votes
0answers
63 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{...
3
votes
0answers
411 views

AucTeX/emacs unable to find a package [closed]

In my current LaTeX document I am using the "classico" package, which sets the classico font for a document (this means I can use plain LaTeX instead of xeTeX). I can compile the document with ...
3
votes
1answer
315 views

Creating a LaTeX Template from Data in Other Paths

I want to make a template where I can modify one .tex file and have it pull various ''boilerplate'' (i.e., information that doesn't change) from a network. Firstly, I would have some .tex where the ...
1
vote
0answers
154 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 ...
0
votes
0answers
632 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{{...
3
votes
2answers
2k views

How to add labels in my arrows?

I have the following code: \begin{tikzpicture} \node (A) at (0, 0) [shape=circle,draw] {$\BC^n$}; \node (B) at (4, 0) [shape=circle,draw] {$\BC$}; \draw [->] (A) to [out=60,in=120, bend right] (B)...
1
vote
0answers
354 views

Octave-Pgfplot error: Could not read table [closed]

\documentclass[border= 5mm]{standalone} \usepackage{filecontents,pgfplots} \begin{filecontents}{data.txt} x y z 2 1 5 3 2 6 2 4 7 4 4 4 5 5 5 6 7 8 9 10 11 \end{filecontents} \begin{document} \begin{...
1
vote
1answer
257 views

How to include image path that contains a dollar sign

I'm trying to include an image using an absolute path that contains a $-sign, the path looks something like: \\NETWORKSERVERA\NETWORKDISKB$\FOLDERC\imageD I've tried encapsulating it in curly ...
9
votes
2answers
787 views

Add gaps to lines with TikZ

I am drawing some block diagrams with TikZ. Sometimes, I need to combine several blocks together to form one large group by adding a border around the corresponding blocks. However, there are some ...
2
votes
1answer
219 views

Notepad++ and MiKTeX — CMD not recognizing commands/exes

Currently, I can't get a batch file/run command combo to compile my .tex files into PDFs -- it throws an error at multiple lines, which I will mark in the code with an '*' before them. The only ...
2
votes
1answer
134 views

Is there some ${HOME}/.texrc or ${HOME}/.latexrc config file that will be read by latex, bibtex, etc

I find myself copying the same export TEXINPUTS=fubar:$TEXINPUTS lines for different applications that don't all read the same environment configurations files, e.g. xterm vs. Emacs's compilation-mode....
0
votes
0answers
261 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-...
1
vote
0answers
469 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. ...
1
vote
1answer
100 views

include/input get relative paths wrong when doing out-of-source compilation

I have a document which compiles fine. I am trying to refactor it into separate files but the input command seems to be basing its paths relative to the build directory rather than the source ...
1
vote
1answer
5k views

Finding directory path for .sty files

I am attempting to add the subfloat.sty file to my LaTeX search path. In order to find that path, I executed: kpsewhich -var-value=TEXMFHOME which, as expected, gave /home/max/texmf However, ...
2
votes
0answers
248 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'. ...
1
vote
1answer
93 views

How to use graphicspath in IfFIleExists?

Code where IfFileExists does not read graphicspath \documentclass{article} \usepackage{pgffor} \extrafloats{1000} \usepackage{graphicx} % for importing .pdf images \graphicspath{{/home/masi/Documents/...
1
vote
0answers
240 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 ...
1
vote
0answers
291 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
151 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 ...
4
votes
2answers
1k views

How to escape percent sign (%) in \path or \texttt environment?

How to escape percent sign (%) in \path{...} or in \texttt{...}? For instance compiling this code fails since % sign starts comment: \path{%SystemRoot%\system32\drivers\etc\hosts} The result of ...
0
votes
1answer
87 views

Newenvironment with path name as variable

I am currently working on a larger project, with several chapters. All of them are in folders chapter<chapternumber>. Each of the folders has a subfolder images, for images. I have to put them ...
3
votes
1answer
2k views

Tex Live installation, and a problem of getting evince to show dvi files

As the picture shown, the left top picture shows that I have installed Tex Live successfully, but when I input the code 'latex', it shows that I have not installed the latex program and recommends me ...
12
votes
1answer
435 views

How to draw a path with coordinates defined by f(x)

I'm writing about fixed point and I would like to do this image in tikz without the labels. Is there any way to define a function f such x --> x*(4-x) and a recursion \begin{tikzpicture} \draw (...
1
vote
0answers
334 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. ...
4
votes
1answer
2k views

LaTeX not finding .sty files

I know a similar question has been asked many times, but I cannot seem to port those answers to my situation. I have recently installed TeXLive on my Ubuntu 14.04 system. I did this using the ...
2
votes
0answers
3k views

“tlmgr update --self/all” won't work even after a fresh installation of Texlive 2016 [closed]

I was unable to update Texlive 2015 using tlmgr so I installed the latest version, that is 2016 following the instructions. After the installation of 2016 I removed the old (2015) version and set the ...
0
votes
1answer
165 views

Path Problems Again with El Cap 10.11.6?

Last year I updated my mac to El Capitan, and followed the instructions here to fix the path issues. It was easy! Today I updated to 10.11.6. The preferences in TeXMaker (my GUI of choice) reverted ...
1
vote
0answers
188 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 (...