TEXMFHOME should default to $XDG_DATA_HOME/texmf or ~/.texmf

Bug #567988 reported by Paul Natsuo Kishimoto
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
texlive-base (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: texlive-base

The file /etc/texmf/texmf.d/05TeXMF.cnf contains the following lines:

% User texmf trees are allowed as follows.
% This used to be HOMETEXMF.
TEXMFHOME = $HOME/texmf

...which requires a user to create a non-hidden directory 'texmf' in their home directory in order to override the Ubuntu TeXLive packages with newer versions.

A better choice would be $HOME/.texmf. Better still, something complying with http://standards.freedesktop.org/basedir-spec/latest/, for example $XDG_DATA_HOME/texmf.

$ lsb_release -rd && apt-cache policy texlive-base
Description: Ubuntu lucid (development branch)
Release: 10.04
texlive-base:
  Installed: 2009-7
  Candidate: 2009-7
  Version table:
 *** 2009-7 0
        500 http://utormirror.utoronto.ca/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

summary: - [wishlist] better configuration for TEXMFHOME
+ TEXMFHOME should default to $XDG_DATA_HOME/texmf or ~/.texmf
Revision history for this message
Siep Kroonenberg (siepo) wrote :

TEXMFHOME is for user macros and -fonts, not for generated files. So you want it to be a visible directory.

Generated files DO go to hidden directories, i.e. $HOME/.texmf-var and $HOME/.texmf-config.

Revision history for this message
Siep Kroonenberg (siepo) wrote :

Re-reading the original bug report, I realize that the writer really wants a texmf directory with fonts and macros to be hidden.

So let me just add that the choice of $HOME/texmf conforms with upstream, and that I personally wouldn't want this directory to be hidden.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.