termux-packages/packages/texlive-installer/texmf.cnf.diff
Henrik Grimler 2ed75e267f
texlive-installer: update to 20220403
pythontex patch has been removed since termux's python now support
multiprocessing!
2022-05-02 10:43:23 +02:00

40 lines
1.6 KiB
Diff

--- ./texmf-dist/web2c/texmf.cnf.orig 2022-05-01 22:23:48.057393237 +0200
+++ ./texmf-dist/web2c/texmf.cnf 2022-05-01 22:24:03.305393226 +0200
@@ -59,7 +59,7 @@
% SELFAUTOPARENT (its grandparent = /usr/local/texlive/YYYY), and
% SELFAUTOGRANDPARENT (its great-grandparent = /usr/local/texlive).
% Sorry for the off-by-one-generation names.
-TEXMFROOT = $SELFAUTOPARENT
+TEXMFROOT = @TERMUX_PREFIX@/share/texlive
% The main tree of distributed packages and programs:
TEXMFDIST = $TEXMFROOT/texmf-dist
@@ -387,7 +387,7 @@
% OSFONTDIR is to provide a convenient hook for allowing TeX to find
% fonts installed on the system (outside of TeX). An empty default
% value would add "//" to the search paths, so we give it a dummy value.
-OSFONTDIR = /please/set/osfontdir/in/the/environment
+OSFONTDIR = @TERMUX_PREFIX@/share/fonts/TTF
% PostScript Type 1 outline fonts.
T1FONTS = $TEXMFDOTDIR;$TEXMF/fonts/type1//;$OSFONTDIR//
@@ -436,7 +436,7 @@
PDFTEXCONFIG = $TEXMFDOTDIR;$TEXMF/pdftex/{$progname,}//
% Used by DMP (ditroff-to-mpx), called by makempx -troff.
-TRFONTS = /usr{/local,}/share/groff/{current/font,site-font}/devps
+TRFONTS = @TERMUX_PREFIX@{/local,}/share/groff/{current/font,site-font}/devps
MPSUPPORT = $TEXMFDOTDIR;$TEXMF/metapost/support
% For xdvi to find mime.types and .mailcap, if they do not exist in
@@ -590,7 +590,8 @@
$SELFAUTOPARENT/share/texmf/web2c,\
$SELFAUTOPARENT/texmf-local/web2c,\
$SELFAUTOPARENT/texmf-dist/web2c,\
-$SELFAUTOPARENT/texmf/web2c\
+$SELFAUTOPARENT/texmf/web2c,\
+@TERMUX_PREFIX@/share/texlive/texmf/web2c\
}
%
% For reference, here is the old brace-using definition: