Questions tagged [texmf]

{texmf} is about questions about the texmf directory, which is the root of TeX directory structure.

Filter by
Sorted by
Tagged with
0 votes
1 answer
33 views

Where in an installed TeXLive texmf tree is mathtrip?

Where in an installed TeXLive 2022 texmf tree does one find the mathtrip package? I was unsuccessful in locating it through either a (macOS) search nor texdoc mathtrip. When I open the pdf from The ...
  • 7,350
0 votes
0 answers
51 views

kpsewhich can't find symlinked paths under $TEXMFHOME/tex/lualatex/ (but finds those under $TEXMFHOME/tex/latex/)

(This is a kind of followup of the nice Joseph's suggestion about Strategies for providing packages as version control repositories.) From kpsewhich point of view, symbolic links from: $TEXMFHOME/tex/...
0 votes
0 answers
118 views

On a TeXlive 2022 installation for Linux, where do I put user-defined files?

I am running TeXLive 2022 on Manjaro Linux. I intend to standardize the fonts invoked as Noto Serif and have set up a file called NotoSerif.fontspec in $HOME/texmf with the following contents: \...
  • 2,936
0 votes
0 answers
39 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 ...
  • 319
0 votes
2 answers
321 views

Texstudio and "Package Babel Error"

I have updated Texstudio on my Mac to Version 4.2.1. Running the following tex-file brings me two errors. \documentclass[11pt,a4paper]{article} \usepackage[ngerman]{babel} \usepackage{eurosym} \...
  • 359
1 vote
0 answers
18 views

How can I customize the directory of my own style files for latex on MAC-OS? [duplicate]

I couldn't find any satisfying solution to this problem I had for years so I finally decided to ask it myself. I want to create a folder outside the usual latex directories (e.g. /Users/myname/Dropbox/...
1 vote
1 answer
278 views

LuaLaTeX require path -- only absolute paths work [closed]

I would like to use external packages for LuaLaTeX scripting (eg.penlight). I often test my scripts with texlua command without issues. However, I noticed when I compile the document with the lualatex ...
0 votes
0 answers
121 views

initexmf --register-root=/path followed by initexmf --update-fndb on Ubuntu 20.04 terminal on Windows 10 fails to register bib file

I have installed MikTex for Ubuntu 20.04 on a Windows Subsystem for Linux 2 shell: user@machine:/mnt/c/Users/user/OneDrive/Documents/project$ sudo initexmf --register-root=/mnt/c/Users/user/OneDrive/...
  • 135
1 vote
0 answers
45 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 ...
  • 41
1 vote
0 answers
229 views

Installing nicematrix in texmaker macOS

I asked a question today in Trying to personalize this code for block matrices , where the suggestion was to use the nicematrix package. The readme file in https://www.ctan.org/pkg/nicematrix suggests ...
1 vote
1 answer
230 views

LaTeX cannot find my local style file even though it is in my local ls-R file

I am attempting to use the revtex4-2.cls style file. It is in my local texmf tree: (base) :~/myhome/texmf/latex/revtex $ ls revtex4-2.cls revtex4-2.cls My TEXMFHOME environment variable is set: $...
  • 135
1 vote
1 answer
143 views

ConTeXt fails to work on Fedora Silvervlue ("Fatal format file error; I'm stymied" followed by "unable to change to format path")

On Fedora Silverblue, running in a toolbox, ConTeXt that previously worked well is now refusing to start. The first error looks like this: (Fatal format file error; I'm stymied)mtx-context | fatal ...
  • 121
0 votes
0 answers
154 views

Change tufte-book definition file

I want to make a few changes to the styling of the document-class tufte-book - Change the headings typeface, customize section numbering, bibliography style etc. As correctly stated in this answer, ...
  • 796
0 votes
0 answers
17 views

If one is using a *.cls that requires a graphic file, where should the auxiliary files be so that it works?

I am using the *.cls files from the "Frontiers in *" Scientific Journals. They have their own classes and templates and examples. I put the *cls files in my texmf directory and did the ...
  • 151
1 vote
0 answers
124 views

How to maintain macros file both locally and on Overleaf

I want to share a .sty file between documents locally. I push my local changes to Overleaf often. It is crucial that the document can always be compiled on Overleaf with the current version of the ....
0 votes
0 answers
207 views

dvipdfmx fails to find pdftex.map / kanjix.map in a fresh install-tl distro

UPD: I added full repro scripts at https://gist.github.com/vadimkantorov/cb638c61afc2fb4526d05e6c4c3b48b6 The warninngs of dvidpfmx: warning: Couldn't open font map file "pdftex.map". ...
0 votes
1 answer
103 views

Use local TEXMFDIST as repository for install-tl

I downloaded and extracted a full TEXMFDIST tree from ftp://tug.org/texlive/historic/2020/texlive-20200406-texmf.tar.xz (for reproducibility and not depending on net install). Can I use install-tl for ...
0 votes
1 answer
500 views

Help me to install Antiqua Font

I was checking out LaTeX Font Catalogue Antiqua. It says that the package is not part of TeX Live. So I went to Antiqua on CTAN, I downloaded the archive, extracted it and opened the README file. And ...
user avatar
0 votes
0 answers
99 views

! TeX capacity exceeded, sorry [save size=4000] error

What is save_size bounded by? I used Bakoma tex and I can only change the save_size in TEXMF.INI to a maximum of 7000 and if I go above it the program will crash. % \documentclass[10pt,letter,...
  • 1
0 votes
0 answers
140 views

How to install and run two side-by-side versions of LaTeX / TeXmF? -- MiKTeX 2.1 and MiKTeX 2.9

I am a new user to both LaTeX and this Stack Exchange, so please go easy on me! I posted this question, "Can the older MiKTeX 2.1 files be used with the newer MiKTeX 2.9 and its TeXworks user ...
0 votes
1 answer
529 views

LuaLaTeX-based portable minimal distribution on Windows

I am trying to generate and compile LuaLaTeX programmatically in order to generate a report for some numerical analysis program because the end-users cannot (be expected to) install a LaTeX ...
2 votes
0 answers
43 views

Can I safely move the LaTeX doc folder in Linux from the distribution folder to the local texmf/ folder?

Latex's documentation is quite big and I am now running out of space on / . I have the main Latex installation under / , where I have a folder ../texmf-dist/doc/ which is quite big. I have space ...
  • 2,218
3 votes
0 answers
5k views

Installation of own *.sty files in TeXstudio?

How do I have to include my own *.sty files in TeXstudio (with default setting, e.g. with PdfLaTeX)? According to the log file TeXstudio uses TeX Live 2019 . The *.sty files are organised in folders ...
  • 31
1 vote
1 answer
979 views

TexStudio how to reference custom packages (local texmf tree)?

In my project folder I created the file project/texmf/tex/latex/mymacros.sty. From the command line, I can use export TEXMFHOME=texmf and then everything works fine, pdflatex recognizes all commands ...
1 vote
1 answer
408 views

TeXLive 2019/Linux: kpsewhich can't find symlinked paths under $HOME/texmf

I am trying to figure out if I can switch from Mac back to Linux after a gap of 10+ years. I installed an Ubuntu derivative on the machine, and installed TeXLive 2019 (vanilla) using the equivs ...
  • 1,080
3 votes
1 answer
425 views

What is the official way to add a new texmf tree to a texlive system on debian/ubuntu?

I have texlive installed on a debian-like host (linux mint) via apt. Now I would like to add a new texmf tree. What is the correct or recommended way to do it? I would like to keep this new texmf tree ...
  • 31
1 vote
1 answer
383 views

Why can't my .sty file be found? I followed the MacTeX instructions

I created a new package as a .sty file. I want to be able to use it in all of my documents. I followed the instructions on the MacTeX website. I located my Library folder in Macintosh HD using ...
user avatar
1 vote
1 answer
392 views

How does the file name database, in MikTeX, resolve the files it catalogs?

I recently updated my MikTeX distribution (The new interface is really nice by the way, Thank You to the contributors/developers) and I got curious about the path resolution of files when compiling a ...
  • 978
9 votes
2 answers
2k views

Is it possible to "relocate" my ~/texmf/ directory?

My custom sty files are stored in the ~/texmf/ directory. I like to keep the contents of my home directory simple, so I'd like to move ~/texmf/ somewhere else (maybe ~/.texmf/ or ~/.config/texmf/). Is ...
2 votes
2 answers
399 views

How to install just the most recent tikzmark package?

How do I install just the most recent version of the tikzmark package? I tried to install texlive 2018, but it requires glibc 2.14, and my system (CentOS 6) only have glibc 2.12. I then installed the ...
1 vote
0 answers
659 views

How change my TEXMFHOME directory config

I use Texlive 2018 on Ubuntu 18.04 LTS. I wanted to change my TEXMFHOME directory to hide it. I did it just creating a usertree in "~/.texmf" I've tried if [ -d ~/.texmf ] ; then export TEXMFHOME=...
1 vote
0 answers
82 views

texmf install script doesn't work

I wanted to use the script mentioned here to install a local texmf structure on a Mac. When I click on the script, I get the message "Local texmf folder already exists," but when I click on "Take me ...
  • 2,528
4 votes
0 answers
260 views

TeX Live 2017 onwards Using $TEXMFAUXTREES are there disadvantages

I mainly use MiKTeX (Windows) as its simpler/lighter for portable use. TeX Live 2017 introduced $TEXMFAUXTREES similar for my usage in MiKTeX to the assignment on the fly of user-roots. Although my ...
user avatar
0 votes
1 answer
98 views

TexLive lost fonts after a reboot; mktexmf is trying to access a wrong folder

I installed scheme-full of TexLive, and everything was okay until I rebooted my PC. Then all cyrillic fonts went missing, and mktexmf started printing such messages during the build (question marks ...
  • 111
2 votes
2 answers
3k views

Finding and configuring my texmf tree

I'm trying to install a new style file that doesn't come by default with LaTeX. I'm on a Linux Mint computer, and installed LaTeX with a simple sudo apt install texlive or something like that, if ...
  • 727
3 votes
1 answer
799 views

How to make pdflatex work with custom TEXMFHOME and TEXMFVAR paths?

Here is my code: % foo.tex \documentclass{article} \usepackage{fontawesome} \begin{document} \faAdjust \end{document} I have installed basictex on Mac, so compiling the above document would fail ...
  • 3,156
1 vote
0 answers
127 views

tlmgr user mode tree

This is a very bizarre question, so I'll explain the aetiology. I'm a longtime \LaTeX andknitr user, which is trying to augment his repertoire by converting to Rmarkdown. This R package allows the ...
0 votes
0 answers
200 views

texmf folder: What is it and what is it good for?

In my home directory (I am a GNU/linux machine) I have a folder named 'texmf' contained two folders named 'tlpkg' and web2c'. I vaguely recall that it was created in connection with some help I once ...
  • 403
1 vote
0 answers
815 views

Path to texmf folder

I am using TeXlive 2017, which is frozen by now. I was missing a package subfigure.sty. In order to do a manual install, - I downloaded the package.zip from ctan website, - I made a directory /home/...
1 vote
1 answer
380 views

Problem creating the TEXMFHOME directory

I would like to install a template package and the instructions given by the developer include using the command prompt with the following code mkdir "$(kpsewhich -var-value TEXMFHOME)/tex/latex/" ...
1 vote
2 answers
1k views

Can't add local texmf directory in latest Miktex

I installed the portable version (from Scoop) of MikTeX 2.9.6615-x64 on Windows 10 (as I did before with previous Miktex versions). When I try to add a custom texmf directory for local packages in ...
  • 11
1 vote
1 answer
310 views

Empty odt files produced using mk4ht on windows with miktex

I'm looking for some advice to configure my windows system in such a way that I can get mk4ht to compile into an open office document using miktex. If I create a simple tex file called i.tex \...
  • 3,975
2 votes
0 answers
2k views

How to properly configure my tex environment? [closed]

I'm new using latex and I'm a bit lost about how to properly configure my environments so my compiler is able to find my files. From what I read, I'm supposed to have a TEXINPUTS and TEXMFHOME ...
  • 254
0 votes
0 answers
110 views

TexLive's texmf-local folder storing a lot of files (over 80GB!)

Using a storage scanning application I noticed that on my macOS Sierra a lot of files are being stored in the folder /usr/local/texlive/texmf-local. It seems that in this texmf-local some kind of old ...
6 votes
1 answer
716 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 ...
0 votes
1 answer
214 views

Directory for storing .sty not where it was supposed to be

I have the same problem as in this question, but since it's too old I guess it is better to open a new question than to wait for clarification in a 7 years old answer. I have a .sty file with stuff I ...
  • 485
0 votes
1 answer
2k views

Problem with texmf.cnf in ubuntu

where do i have to place the texmf.cnf because i don't have a directory named /tex/2016 but four directory : texmf-config, texmf-dist, texmf-var, texmf-local, in my ubuntu 16.LTS thanks for the ...
  • 71
2 votes
1 answer
1k views

Including images in custom cls

Let's say I have a custom class which is well recognized by pdflatex and in the right directory (texmf). How could I integrate images (logos in headers) to be printed in each document using the ...
1 vote
0 answers
600 views

Exact definition of a "local package repository" and exact associated procedures

I spend quite a while now moving my folders containing my .sty files. They are of the kind nicepackage/nicepackage.sty , as specified in the latex wikibook My operating system is windows 7, and I ...
2 votes
1 answer
143 views

Skip user texmf for a particular package

I have a couple of packages (luaotfload being one of them) for which I make use of the bleeding edge development version which has not been uploaded to CTAN yet. Now, this version can live quite ...