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.

459 questions
13
votes
3 answers

Determine the operating system

I often switch between Linux and Windows. A number of my LaTeX files use images from a central folder. All of these are within a Dropbox folder, which is how I sync between them. The dropbox folders are in different paths on Windows and Linux, so I…
superbriggs
  • 2,052
3
votes
1 answer

Macros for formatting & breaking classnames, file paths etc?

I would like to format classes, file paths, directory paths, method names and so on in my document. At the very basic each of those should be formatted as \texttt. However, the rules for when LaTeX can line break them are different. For…
johnrl
  • 447
3
votes
0 answers

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, it generates error in the other one as the paths…
Ramin
  • 291
3
votes
1 answer

\path command problem in a text document

I´m dealing with a problem with a TikZ graphic. I´ve done the graphic in a new document. Now, I want to include it in a text. When I compile the code in a new document there´s no problem but.. when I copy the code in a text document I can´t compile…
FJSJ
  • 463
2
votes
0 answers

How to set path to Latex distribution in a .tex file?

I am writing my CV and and I am modifying the moderncv package. Since Texlive can update packages and potentially overwrite my changes, I have copied the moderncv package inside my working folder. However, the moderncv.cls file refers to files that…
Shailen
  • 203
  • 1
  • 6
2
votes
1 answer

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\OTX} Please guide me as I'm new to Latex.
2
votes
0 answers

Setting a path for LaTeX style files

This is a question that has come up many times but I do not seem to be able to get this to work using any of the suggestions that have been made so I would REALLY appreciate any help. I am trying to get LaTeX to find my style files in Windows 7. I…
1
vote
0 answers

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/introduction/introduction.tex. I would like to compile…
1
vote
1 answer

How to specify absolute paths

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{document} Is there a way to specify the absolute…
Viesturs
  • 7,895
1
vote
0 answers

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 (BriefVorlageDeutsch and CVVorlageDeutsch) which are located at…
Thomas
  • 111
1
vote
0 answers

PATH setting. Updating TLMGR via Terminal

I'm trying to update tlmgr via Terminal using the .sh file update-tlmgr-latest.sh. When I hit the enter button i get this error: Verifying archive integrity... All good. Uncompressing TeX Live Manager…
0
votes
0 answers

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…
larryjb
  • 45
  • 5
0
votes
1 answer

\path{} command and blank spaces

The document that I am writing includes lots of paths to files. Many of them have blank spaces that I am powerless to remove since they originate outside of my domain of control. But the \path{} command that this document uses actually butchers…
0
votes
0 answers

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 sure to name the path! \addplot+…
Trace
  • 1
0
votes
1 answer

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
1
2