pkgsrc/print/tex-musixtex/patches/patch-bin_musixtex
minskim 536746db9f Update tex-musixtex to 1.15.
Note that the versioning scheme has changed.

Changes:
- \cclp, \zccup, \zcclp are moved from musixpoi.tex to musixtex.tex.
- musixpoi.tex does not work since T.111.
- musixmad.tex is inessential for typesetting musixdoc.tex, thus
  excluded from musixdoc.sty (see the next item)
- the stem length of \metron (at T.113 manual section 2.17.3:
  Metronomic indications) is too short when musixadd.tex/musixmad.tex
  is excluded.
- spacing problem when you change the music size.  (\clef@skip\z@)
- in \ttie and \tleg definition, #1 isn't braced in the expansion
  which causes a problem at ID>9.
  * \def\ttie#1{\let\T@i\@c \t@slur{-\p@ne}{#1}\@ne}
  * \def\tleg#1{\let\T@i\@c \tslur{#1}\@ne}
- Updated musixdoc.pdf and its source code.
- Included the repository of music-notation mistakes, contributed by
  Jean-Pierre Coulon.
- Create an install manual for MiKTeX on Win32: mxinsuse.{pdf|tex}.
- utility: add flip.exe, flip.txt to musixtexadd folder instead of
  former utod.exe and dtou.exe (they don't work in XP).  Run flip.exe
  on musixtex.bat.
- Changing directory structure.  Add-in tex files are located in
  musixtexadd directory.
  * musixlyr (by Rainer Dunker)
  * musixps (by Stanislav Kneifl)
- Added some well-known add-ins to musixtexadd directory.
  * curly.tex (by Mthimkhulu Molekwa,19 May 1999)
  * musixdbr.tex (by Rainer Dunker, 23 February 2002)
  * musixtmr.tex & musixesf.tex (by Hiroaki Morimoto, updated 2009-10-15)
  * tuplet.tex. (by Col. G. L. Sicherman. 2003-05-17)
- Include the contents of following packages.
  * PostScript Type1 fonts. (by Uchiyama)
  * musixlyr ver.2.1c. (by Rainer Dunker)
  * musixps ver.0.92a. (by Stanislav Kneifl)
- \Ioctfin[up | down] do not work when \sepbarrules is assigned.
  musixtex.tex line 2259, \def\rul@sep#1
- Correction of a bug in the definition of choir bracket (l.1688-1698)
- Added following macros.
  * \lwp
  * \rwp
  * \lwpp
  * \rwpp
  * \lhp
  * \rhp
  * \lhpp
  * \rhpp
- all-new registers allocation routines, ready for
    12<n<100 instruments
     6<n<100 128th beams
     6<n<100 256th beams
     4<n<100 groups
    12<n<100 font-based slurs (independent of the number of instruments)
     6<n<100 octlines
     6<n<100 trills (MusiXTeX trills only. MusicTeX's legacy "trilles" are
     out of scope.) with e-TeX.
2011-05-26 23:50:43 +00:00

51 lines
1.4 KiB
Text

$NetBSD: patch-bin_musixtex,v 1.1 2011/05/26 23:50:43 minskim Exp $
Fix paths to commands.
--- bin/musixtex.orig 2011-05-22 22:09:37.000000000 +0000
+++ bin/musixtex
@@ -63,10 +63,10 @@ if #arg == 0 then
end
-- defaults:
-tex = "etex"
-musixflx = "musixflx"
-dvi = "dvips"
-ps2pdf = "ps2pdf"
+tex = "@LOCALBASE@/bin/etex"
+musixflx = "@LOCALBASE@/bin/musixflx"
+dvi = "@LOCALBASE@/bin/dvips"
+ps2pdf = "@LOCALBASE@/bin/ps2pdf"
exit_code = 0
narg = 1
@@ -79,23 +79,23 @@ repeat
os.exit(0)
elseif this_arg == "-l" then
if tex == "pdfetex" then
- tex = "pdflatex"
+ tex = "@LOCALBASE@/bin/pdflatex"
else
- tex = "latex"
+ tex = "@LOCALBASE@/bin/latex"
end
elseif this_arg == "-p" then
if tex == "latex" then
- tex = "pdflatex"
+ tex = "@LOCALBASE@/bin/pdflatex"
else
- tex = "pdfetex"
+ tex = "@LOCALBASE@/bin/pdfetex"
end
dvi = ""; ps2pdf = ""
elseif this_arg == "-d" then
- dvi = "dvipdfm"; ps2pdf = ""
+ dvi = "@LOCALBASE@/bin/dvipdfm"; ps2pdf = ""
elseif this_arg == "-s" then
dvi = ""; ps2pdf = ""
elseif this_arg == "-f" then
- tex = "etex"; dvi = "dvips"; ps2pdf = "ps2pdf"
+ tex = "@LOCALBASE@/etex"; dvi = "@LOCALBASE@/bin/dvips"; ps2pdf = "@LOCALBASE@/bin/ps2pdf"
else
filename = this_arg
if filename ~= "" and string.sub(filename, -4, -1) == ".tex" then