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
1
vote
1answer
57 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
0answers
54 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/...
0
votes
0answers
27 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 ...
1
vote
0answers
36 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
1answer
32 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: $...
1
vote
1answer
66 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 ...
0
votes
0answers
75 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, ...
0
votes
0answers
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 ...
1
vote
0answers
39 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
0answers
71 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
1answer
50 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
1answer
124 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 ...
0
votes
0answers
54 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,...
0
votes
0answers
66 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
1answer
187 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
0answers
37 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
votes
0answers
2k 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 ...
1
vote
1answer
452 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
1answer
225 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 ...
2
votes
1answer
170 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 ...
1
vote
1answer
92 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 ...
1
vote
1answer
216 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 ...
9
votes
2answers
1k 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
2answers
260 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
0answers
410 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
0answers
61 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 ...
4
votes
0answers
181 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 ...
0
votes
1answer
65 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 ...
2
votes
1answer
1k 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 ...
3
votes
1answer
563 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 ...
1
vote
0answers
96 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
0answers
114 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 ...
1
vote
0answers
666 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
1answer
302 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
2answers
830 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 ...
1
vote
1answer
247 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 \...
2
votes
0answers
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 ...
0
votes
0answers
101 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 ...
4
votes
1answer
598 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
1answer
157 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 ...
0
votes
1answer
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 ...
2
votes
1answer
741 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
0answers
584 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
1answer
86 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 ...
2
votes
2answers
79 views

Including resources in “non-installed” class

I am trying to modify an existing class to simplify its usage. Basically I would just like the user to copy a folder which contains the .cls file and some resources (a png file with a logo, some fonts ...
5
votes
3answers
820 views

changing location of texmf folder for use across multiple computers (OS X / Apple)

I'm currently running Os X 10.11.6 (El Capitan) and, from what I understand, one is supposed to create the texmf folder under the user's Library; however, I was wondering if it is possible to change ...
0
votes
1answer
321 views

Where in local TEXMF tree should I put a file that I regularly `\input`

I have a chunk of TeX code, I use to setup some styles for drawing block diagrams in Tikz. Since i draw a fair few block diagrams, I thought I would stop copy-pasting it around and put it in a ...
2
votes
0answers
486 views

ConTeXt: what is ~/texmf folder and what is its relation with /usr/share/texmf

First of all, I am a complete noob in TeX/LaTeX/ConTeXt/WhaTeVeR, so please be gentle. OK so I installed ConTeXt (version 2013.84.svn30044-18.5) on my OpenSuSE 42.1 using the official repository, and ...
0
votes
0answers
380 views

MiKTeX and initexmf - Change user root priority without using settings GUI

When running MiKTeX as non-admin, packages get automatically installed in AppData; sometimes, however, you want to manually install a version of a package in another root folder without removing the ...
2
votes
0answers
1k views

MacTeX does not find my local .sty files on El Capitan

I have just installed MacTex under El Capitan and put my latex .sty files in the ~/Library/texmf/tex/latex folder, as suggested here, but MacTex still does not find them. What can I do?