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 [kpathsea]

kpathsea is the path searching library for texlive

0
votes
0answers
14 views

Set a relative search path for fontspec within a package (.sty file)

I have a small .sty file for beamer, where I need to specify a particular title font (that's a TTF file). I can do this thus: \RequirePackage{fontspec} \newfontfamily{\WellcomeBold}[Path=fonts/]{...
0
votes
0answers
46 views

How to disable `mktexpk` in `dvips`?

Consider this ex-14-5.mf: mode:=ljfour; % 600dpi for dvips (you must run "gftopk") mode_setup; beginchar("e",10pt#,7.5pt#,2.5pt#); pickup pencircle scaled (.4pt+blacker); draw fullcircle scaled .2w ...
0
votes
3answers
104 views

How to use “Kpathsea” to open a sty file for users modifications

I have a package to create exam paper sujet.sty, in this package I have defined some commands like school which expand to the name of school. \def\school{name-of-school} I thought about using a ...
1
vote
1answer
60 views

\input@path and load path priority?

I have a project structure . ├── includes │   ├── apxproof.sty │   └── somecustommodule.sty └── tex └── document.tex including a bugfix version of apxproof.sty and setting \input@path in ...
1
vote
1answer
206 views

pdflatex cannot find file but kpsewhich does

I have a header.tex file sitting in $TEXMFHOME/tex/latex/ and I tried using \input in another .tex file in some other directory. Note that kpsewhich is able to find header.tex, printing its full path, ...
11
votes
2answers
384 views

How to check from LaTeX whether a pfb file exists?

I need to write a tex file which checks whether certain files can be found by kpathsea library. It is easy to check whether a sty or an `fd file can be found: \IfFileExists{hyperref.sty}{Hyperref ...
3
votes
1answer
332 views

Where do I place my own .sty or .cls files, to make them available to all my .tex files? - empowerment (kpathsea basics)

In order to have a non-TeXlive .sty file available, I followed the recommendations of this question : Where do I place my own .sty or .cls files, to make them available to all my .tex files?. I did ...
2
votes
1answer
336 views

How can I use a central .bib-file for alle my LaTeX documents which is shared between Mac and Windows?

I already know how to use a central .bib-file on my Mac or on Windows. I just use the absolute path to the file (which I can store in a Dropbox folder). On my Mac I use for example something like this:...
1
vote
2answers
152 views

maxidiagram found by kpsewhich, but not pdflatex

I'm trying to \usepackage{MaxiDiagram} on Arch Linux, but pdflatex complains: ! LaTeX Error: File `MaxiDiagram.sty' not found. Running kpsewhich MaxiDiagram reports that the file exists at /usr/...
5
votes
1answer
279 views

change default metafont's mode/resolution (as when called directly from pdflatex)

When I use a metafont font, pdflatex calls mf to generate the pk font files. I would like to change the resolution at which the pk files are created. If I'm correct, the call stack is: pdflatex → ...
4
votes
1answer
920 views

TeXlive 2016 error with literat (Literaturnaya) font

It is so strange that no questions on the whole website are dedicated to the Literaturnaya font (despite its frequent use in Russian documents 10 years ago or so), and only two questions reference it! ...
6
votes
2answers
2k views

How do I load a texlive font with fontspec?

This is a XeLaTeX question. It seems really silly to ask after many years of using fontspec and XeLaTeX. I suppose I have always found a workaround. This time, I'd like a definitive answer. ...
0
votes
0answers
152 views

How does LaTeX resolve path to .sty files?

I use TeX Live (on a Debian system), and I'm having a new issue with style files. For many years, I've used a style file I've written called handout.sty; it's in my ~/texmf/tex directory, and I've ...
2
votes
1answer
1k views

Why does kpsewhich fail to find this file?

I'm trying to compile a file with context, and I get an error: I couldn't open style file cont-no.bst ---line 2 of file dissertation.aux : \bibstyle{cont-no : } I thought I would ...
0
votes
1answer
300 views

mktextfm fails when pdflatex is invoked by cgi-bin script under www-data (apache)

I'm starting pdflatex from a shell-script invoked as cgi-bin application on Ubuntu (running under default www-data user) and from time to time I have the following kind of error preventing compiling: ...
1
vote
0answers
177 views

Symbolic link in ~/texmf mystery [closed]

I have TeX Live 2013 installed on Ubuntu 14.04 with kpathsea and I have a rather curious situation. I created a new beamer theme that I work on at ~/code/git/beamer/mytheme and then I created a ...
0
votes
0answers
137 views

Fonts not found in local .texmf-var but thy are in /usr/share

I'm having trouble using Droid Sans, and other fonts from the LaTeX font catalogue. Using the following MWE: \documentclass[]{article} \usepackage[defaultsans]{droidsans} \renewcommand*\...
1
vote
1answer
440 views

Latex doesn't recognize cntformats.sty [duplicate]

I downloaded manually cntformats.sty and put it in the directory exsheets. But Latex still doesn't recognize it and asks if I want to download it. I tried several times to download it by changing the ...
10
votes
1answer
251 views

How to incorporate a TEXMF tree managed by distro's package manager when using TeX Live from upstream on a GNU/Linux system?

I am using upstream's TeX Live on a GNU/Linux system with default paths except for the use of symbolic links to facilitate switching between different versions of TL. So, for example, TEXMFMAIN is /...
0
votes
1answer
414 views

system search path wrong

The subject "override system search path" seems to be similar to mine however, there is still a problem I cannot fond out. So I am running Mageia and installed the package provided by this ...
2
votes
0answers
46 views

class and style files traversing up the directory tree?

texlive, osx/linux. I believe it is impossible to place one's personal latex style and class files in a superior directory in the hierarchy, because of the way that the kpse library works (fixed ...
1
vote
1answer
677 views

Understanding font maps / Fonts in vanilla TeXLive installation on Ubuntu

I followed closely the instructions in this tutorial to install a fresh TeXLive on my Ubuntu system, including the fake package and the font cache instruction: sudo fc-cache -fsv Still, I am unable ...
2
votes
1answer
89 views

Using kpathsea command to expand filenames like \includegraphics

The \includegraphics command from graphicx automatically tries different extensions for the figures. For the purpose of automatically processing latex files, I'd like to be able to emulate this ...
0
votes
0answers
791 views

Problem using Adobe Garamond Pro with Xelatex on MacPro

I would like to use the Adobe Garamond Pro (otf) font with mathdesign using XeLaTeX. I am running TexStudio and TexLive on MacPro. I have also added these font using Font Book: AGaramondPro-Regular....
1
vote
0answers
59 views

Cannot find TeX Live root using kpsewhich, when updating MacTeX [duplicate]

I was trying to update my MacTeX this afternoon. However, TeX Live Utility complained that it couldn't find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT. I checked this in the Terminal, ...