Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [kpathsea]

kpathsea is the path searching library for texlive

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Latex cannot find my Beamer sty file

On Linux, I've downloaded the "diepen" Beamer theme to my ~/texmf folder. I've run texhash ~/texmf, which happily creates an ls-R file containing this: % ls-R -- filename database for kpathsea; do ...
1
vote
1answer
39 views

Why won't TEXINPUTS work?! (And how do I fix it?)

This is frustrating me to no end. I'm trying to use TEXINPUTS to look inside a parent directory (I don't know how else to). It refuses to do so no matter what I do. A minimal example to illustrate ...
21
votes
2answers
897 views

What does kpsewhich stand for?

I often have trouble remembering the name of the kpsewhich command. Maybe it would be easier for me to remember it, if I understand where the name come from, so the question is: What does the kpse ...
0
votes
0answers
33 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
64 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
131 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
131 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
273 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
427 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
396 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 ...
3
votes
1answer
394 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
173 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
312 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
1k 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. ...
1
vote
0answers
177 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 ...
3
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
324 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
193 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
145 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
485 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
258 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
463 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
48 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
703 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
93 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
809 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
108 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, ...