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
0answers
35 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
29 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 ...
0
votes
1answer
72 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
vote
1answer
39 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
55 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
93 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 ...
7
votes
2answers
571 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
162 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
204 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
52 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
124 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
48 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 ...
1
vote
1answer
571 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
294 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
60 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
92 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
453 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
241 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
614 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
191 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 ...
4
votes
1answer
453 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
135 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
1k 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
385 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
561 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
67 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
63 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
673 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
271 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
363 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
315 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?
3
votes
1answer
781 views

Overleaf - Included sty and other input package files common across all my projects

When an ordinary user specifies TEXINPUTS in Overleaf [e.g., as illustrated here] is there a concept of a ".." directory above the current Project? The reason I would like to be able to do that is ...
2
votes
0answers
6k views

No PDF output file and no error message [closed]

I am very new to LaTeX, please accept my apologies! A couple of months after finishing my dissertation with LaTeX, I want to run PDFLaTeX (Texmaker) again. However, no PDF output file is being ...
3
votes
1answer
627 views

Registering windows network path as local texmf directory in MiKTeX

I would like to add a Windows UNC network path (e.g. \\server\path\to\local\texmf) as local texmf directory to my MiKTeX installation. I know how to add a path that has a local drive letter (e.g. C:\...
3
votes
0answers
2k views

Updating .sty files in ~/texmf [closed]

I am using TeX Live on Linux Mint 17.2, and I have previously set up the ~/texmf directory, so that I can manually install my own .sty files. However, after editing the .sty files in ~/texmf, LaTeX ...
1
vote
1answer
699 views

Latex files not compiling due to buffer size

So I have some Latex files with large eps images which cause a buf_size error. When I was compiling the files a few months ago I solved the problem by increasing the buffer size in texmf.cnf. I have ...
2
votes
0answers
399 views

Where to put tfm and gf files [closed]

I am working on custom logo with MetaFont. I build logo.tfm and logo.600gf files but TeX or DviView ignore these. They try to build the font on the fly failing. What can I Do?
2
votes
0answers
24 views

Where should I put my input files that should be accessible from anywhere? [duplicate]

I'm using MiKTeX and TeXnicCenter to compile my projects. Is there a folder where I can store all your input files which I want to include in another document, so I don't have to put all the files in ...
2
votes
1answer
113 views

\IfFileExists for global bibliography files

I'm developing a document class which automatically loads the bibliography from Mendeley if available. Here is the code hooked to \end{document}: \IfFileExists{library.bib}{ \ClassWarningNoLine{...
0
votes
1answer
62 views

Script for creating a texmf tree based on “some-latex-file.tex”

At some point in time I recall being told that texlive ships with a perl script that creates a texmf-tree based on the packages used in the source file. Is there such a thing?
2
votes
1answer
122 views

Storing common files in texmf - MacOS

I have a number of files that I include in various latex documents (using \include). I thought the best way to keep them in one location would be to put them in a directory under ~/Library/texmf. If I ...
0
votes
0answers
1k views

How to include an image in a LaTeX class? [duplicate]

So I have an image and I want it to be part of the class (this is going to be a class for letters, and the image is the logo of my University). Is it possible to configure graphicx so that it can ...
1
vote
0answers
596 views

Doxygen/LaTeX: What is TeX capacity, and how do I edit texmf.cfg to bypass “TeX capacity exceeded” errors? How is texmf.cnf relevant?

I am making some documentation using doxygen, but getting the "TeX capacity exceeded" error when running the make command in the terminal to generate the PDF documentation. This is the relevant part ...
3
votes
0answers
398 views

texmf-local on Dropbox?

how local does texmf-local have to be? I have about 6 different computers, osx and linux, different versions, some on virtual machines. can I create one ~/Dropbox/texmf-local/ folder, and ln -s it ...
2
votes
1answer
5k views

XeLaTeX on centos 7 does not work

I tried to compile some trivial LaTeX files with the shipped XeLaTeX on centos 7: $ xelatex trivial.tex This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013) restricted \write18 enabled. ...
3
votes
0answers
231 views

What is the difference between TEXMFHOME and TEXINPUTS? [duplicate]

A question was asked: Where do I place my own .sty or .cls files, to make them available to all my .tex files? The accepted answer basically says the following: Create a local texmf tree, say at the ...
4
votes
1answer
455 views

Editing texmf.cnf to avoid “TeX capacity exceeded” error

I'm getting the "TeX capacity exceeded" which seems to be a common issue, and I've been trying to edit my texmf.cnf file to fix it but it's locked on my computer which is a mac running OS X Maverick. ...
6
votes
2answers
352 views

Search for files first in the texmf trees

If I want to check first if a file is in the current dir and then look for it in the texmf tree I can do it like this: \documentclass{article} \begin{document} \IfFileExists{./biblatex.def} {yes, ...