Questions tagged [kpathsea]

kpathsea is the path searching library for texlive

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

EPS inclusion from texmf-tree not working

Introduction I have a project-specific texmf tree, which I use for package development, which is called texmf-project. This tree is correctly registered as an auxtree in texlive on debian 11. In my ...
user avatar
  • 187
0 votes
1 answer
31 views

kpsewhich doesn't find package but should be as indicated by debug output

currently I'm experimenting a bit with installing packages manually (not prepackaged from the repositories (I'm under Linux)). I use tllocalmgr (see this wiki post here and this package here), but I ...
user avatar
  • 393
1 vote
1 answer
68 views

Extending the OSFONTDIR environment variable on Win 10 to include user fonts

I am trying to use some fonts I have installed as a user on Windows 10, but XeLaTeX cannot find them. The fonts have been installed in C:\Users\<My User>\AppData\Local\Microsoft\Windows\Fonts. ...
user avatar
1 vote
0 answers
36 views

How do I tell pdflatex where to find a .600pk file

I have a letter template areletter.tex file, which loads a style file called areletter.cls. My template requires a seal in order for the letterhead to compile. The seal file is ucseal60.600pk and ...
user avatar
  • 2,069
1 vote
1 answer
45 views

Font problem, TEXMFHOME

I have a brand new TeXLive vanilla installation on my Debian system. Before installing it I had removed all Debian TeX packages. The texmf.cnfin the installation only contains comments, I did not ...
user avatar
0 votes
0 answers
86 views

TeX Live cant find packages that were installed via tlmgr

Sorry if this has already been answered but I couldn't find a solution that works. I'm on arch Linux and after a long and painful install of texlive, I managed to download packages with tlmgr. To give ...
user avatar
0 votes
1 answer
70 views

Which environment variables are needed for kpsewhich to discover *.ini files?

I'm trying to use --custom-bin switch of install-tl. I've moved the TexLive's kpsewhich to my custom_bin directory. But kpsewhich fails to discover *.ini files and *.cnf files (kpsewhich -progname=...
user avatar
2 votes
2 answers
43 views

TeX Live ignores TEXINPUTS, maybe kpathsea problem

for a long time my TeX files imported the file ~/lib/tex/mylib.tex, using the assignment TEXINPUTS=".:~/lib/tex:" and referencing this file with \input{mylib}. after changing from Suse linux ...
user avatar
  • 41
0 votes
0 answers
41 views

Suspicious state from syntax checker tex-chktex error

In emacs, I have been compiling a tex file for several months now. It is kind of a template. So, I change details and compile often. I have installed the latest texlive from CTAN. And the binaries ...
user avatar
  • 2,345
2 votes
1 answer
157 views

Avoiding kpathsea: Running mktexpk

I'm running pandoc in a docker container based on the FROM pandoc/ubuntu-latex image, and it's working fine. However, each time it runs, I get the kpathsea: Running mktexpk ... step which seems to ...
user avatar
1 vote
0 answers
41 views

bootstrapping a kpathsea-like package -- finding TEXMF roots

I am in the process of writing a Go-based TeX engine. (it's working well and I should have a first version based off the tex.web -> Pascal -> Go pipeline (with DVI output) ready shortly. TRIP ...
user avatar
  • 41
1 vote
2 answers
107 views

Access and use $HOME environment for setting the path for a new font

I want to use a font I just downloaded for a document class I created. This document class will be used on other workstations so I would like the path of the font not to be "hardcoded" but ...
user avatar
0 votes
0 answers
25 views

Finding XML files with kpsewhich

What is the right way to store XML or DTD files in a texmf tree and to configure my system so that kpsewhich will be able to find them? Running kpsewhich -help-formats shows nothing about xml files, ...
user avatar
0 votes
0 answers
100 views

What use-cases show the consequentiality of MiKTeX's not using Kpathsea?

Unlike texlive, MiKTeX does not use Kpathsea. From a user perspective, it seems to me this makes the choice between MiKTeX and texlive (and other Web2C implementations of TeX and friends) far more ...
user avatar
1 vote
1 answer
285 views

Error running (foo)tex on Linux: "undefined symbol: kpathsea_cnf_line_env_progname"

G'day, I have just installed tex on a fresh install of Fedora 32 via the command: dnf install texlive I prefer to manage my tex installation via dnf, and have had success with this command on ...
user avatar
3 votes
1 answer
2k views

Missing dll's for Texmaker/Miktex - The code execution cannot proceed

I have Texmaker and MiKTeX installed. I downloaded all available MiKTeX packages. When building the doc in Texmaker, I get: The code execution cannot proceed because MikTeX200629-png.dll / ...
user avatar
1 vote
1 answer
93 views

kpathsea-warning when using filenames containing $&?

The MWE, test.tex: \documentclass{article} \begin{filecontents*}{A$&1file.tex} Hello, World! \end{filecontents*} \begin{document} \input{A$&1file.tex} \end{document} The MWE does not ...
user avatar
0 votes
0 answers
95 views

Cant get own style document to work on ubuntu in devops with texlive

I am trying to setup a pipeline in DevOps using a Linux distribution to build LaTeX documents using texlive. I got the texlive installed and has also confirmed that it is working. However, my latex ...
user avatar
  • 101
0 votes
0 answers
64 views

Latex cannot find my Beamer sty file [duplicate]

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 ...
user avatar
  • 1,492
1 vote
1 answer
299 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 the ...
user avatar
  • 8,637
34 votes
2 answers
5k 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 ...
user avatar
  • 599
2 votes
0 answers
202 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/]{...
user avatar
  • 21
0 votes
1 answer
213 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 ...
user avatar
0 votes
3 answers
283 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 ...
user avatar
  • 16k
1 vote
2 answers
656 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 ...
user avatar
  • 1,719
1 vote
1 answer
550 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, ...
user avatar
  • 128
13 votes
2 answers
641 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 ...
user avatar
  • 36.3k
4 votes
1 answer
661 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 ...
user avatar
3 votes
1 answer
613 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:...
user avatar
1 vote
2 answers
237 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/...
user avatar
  • 111
5 votes
1 answer
478 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 → ...
user avatar
4 votes
2 answers
2k 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! ...
user avatar
7 votes
2 answers
4k 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. ...
user avatar
2 votes
0 answers
213 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 ...
user avatar
  • 389
3 votes
1 answer
2k 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 ...
user avatar
  • 133
1 vote
1 answer
479 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: ...
user avatar
2 votes
0 answers
281 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 ...
user avatar
0 votes
0 answers
165 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*\...
user avatar
1 vote
1 answer
542 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 ...
user avatar
  • 11
10 votes
1 answer
290 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 /...
user avatar
  • 183k
0 votes
1 answer
748 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 ...
user avatar
  • 21
2 votes
0 answers
56 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 ...
user avatar
  • 3,271
1 vote
1 answer
852 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 ...
user avatar
  • 15.1k
2 votes
1 answer
107 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 ...
user avatar
  • 123
0 votes
0 answers
872 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....
user avatar
  • 1
1 vote
0 answers
1k 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, ...
user avatar
  • 3,733