[BACK]Return to patch-bin_mktexpk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts / patches

File: [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts / patches / patch-bin_mktexpk (download)

Revision 1.1, Sun May 10 03:56:44 2020 UTC (2 years, 9 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD

texlive: update to 2020

* The \input primitive in all TeX engines, including tex, now also accepts a
  group-delimited ename argument, as a system-dependent extension. The usage
  with a standard space/token-delimited ename is completely unchanged. The
  group-delimited argument was previously implemented in LuaTeX; now it is available
  in all engines. ASCII double quote characters (") are removed from the filename,
  but it is otherwise left unchanged after tokenization. This does not currently
  affect LaTeX \input command, as that is a macro redefinition of the standard
  \input primitive.
* New option nf-line for kpsewhich, tex, mf, and all other engines, to support
  arbitrary conuration settings on the command line.
* The addition of various primitives to various engines in this and previous years
  is intended to result in a common set of functionality available across
  all engines.

epTeX, eupTeX: New primitives \Uchar, \Ucharcat, \current(x)spacingmode, \ifincsname;
 revise \fontchar?? and \iffontchar. For eupTeX only: \currentcjktoken.

LuaTeX: Integration with HarfBuzz library, available as new engines luahbtex
 (used for lualatex) and luajithbtex. New primitives: \eTeXgluestretchorder,

pdfTeX: New primitive \pdfmajorversion; this merely changes the version number
 in the PDF output; it has no effect on any PDF content. \pdfximage and similar
 now search for image files in the same way as \openin.

pTeX: New primitives \ifjfont, \iftfont. Also in epTeX, upTeX, eupTeX.

XeTeX: Fixes for \Umathchardef, \XeTeXinterchartoks, \pdfsavepos.

Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities.

$NetBSD: patch-bin_mktexpk,v 1.1 2020/05/10 03:56:44 markd Exp $

use full path for commands

--- bin/mktexpk.orig	2009-06-03 06:07:21.000000000 -0700
+++ bin/mktexpk
@@ -60,8 +60,8 @@ fi
 # Common code for all scripts.
-: ${MT_TEXMFMAIN=`kpsewhich --expand-path='$TEXMFMAIN'`}
-: ${MT_MKTEX_OPT=`kpsewhich --format='web2c files' mktex.opt`}
+: ${MT_TEXMFMAIN=`@KPSEWHICH@ --expand-path='$TEXMFMAIN'`}
+: ${MT_MKTEX_OPT=`@KPSEWHICH@ --format='web2c files' mktex.opt`}
 test -n "$MT_MKTEX_OPT" || MT_MKTEX_OPT="$MT_TEXMFMAIN/web2c/mktex.opt"
 if test ! -f "$MT_MKTEX_OPT"; then
   echo "$progname: Cannot find mktex.opt; check your installation." >&2
@@ -87,7 +87,7 @@ esac
-if kpsewhich $NAME.mf >/dev/null 2>&1 || mktexmf $NAME >/dev/null 2>&1; then
+if @KPSEWHICH@ $NAME.mf >/dev/null 2>&1 || @MKTEXMF@ $NAME >/dev/null 2>&1; then
   # determine the progname of metafont to use; prefer mf-nowin.
   if (mf-nowin --version) >/dev/null 2>&1; then
     MF="mf-nowin -progname=mf"
@@ -145,7 +145,7 @@ else
       # grep for the font in $PSMAPFILE.  These are base font names, such as
       # rpplr (the original) or pplr0 (an interim step) or pplr8r (current).
-      : ${PSMAPFILE=`kpsewhich --format=map psfonts.map ps2pk.map`}
+      : ${PSMAPFILE=`@KPSEWHICH@ --format=map psfonts.map ps2pk.map`}
       pattern="^$NAME"'([ 	]|$)' 
       psline=`egrep "$pattern" $PSMAPFILE | tail -1`
       if test -n "$psline"; then
@@ -165,7 +165,7 @@ else
         # Guessing the name of the type1 font file as fallback:
         ANAME=`echo $NAME | sed 's/8r$/8a/'`
         for i in $NAME.pfa $NAME.pfb $ANAME.pfa $ANAME.pfb; do
-          if kpsewhich $i >/dev/null 2>&1; then
+          if @KPSEWHICH@ $i >/dev/null 2>&1; then