texlive[59196] Master/texmf-dist: musixtex (14may21)

commits+karl at tug.org commits+karl at tug.org
Fri May 14 22:13:45 CEST 2021


Revision: 59196
          http://tug.org/svn/texlive?view=revision&revision=59196
Author:   karl
Date:     2021-05-14 22:13:45 +0200 (Fri, 14 May 2021)
Log Message:
-----------
musixtex (14may21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/beams.tex
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/extensions.tex
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/frontmatter.tex
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/miscellaneous.tex
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/musixdoc.sty
    trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc.pdf
    trunk/Master/texmf-dist/doc/generic/musixtex/scripts/musixflx.pdf
    trunk/Master/texmf-dist/tex/generic/musixtex/musixtex.tex

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/musixtex/ChangeLog-132.txt
    trunk/Master/texmf-dist/tex/generic/musixtex/musixvbm.tex

Added: trunk/Master/texmf-dist/doc/generic/musixtex/ChangeLog-132.txt
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/ChangeLog-132.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/ChangeLog-132.txt	2021-05-14 20:13:45 UTC (rev 59196)
@@ -0,0 +1,6 @@
+
+Changes from MusiXTeX 131 to 132:
+
+  *  commented out spurious \let\doublebar\doublebar at II
+  *  forbid line-breaking at \zdoublebar
+  *  new add-on musixvbm.tex to support vectorized beams


Property changes on: trunk/Master/texmf-dist/doc/generic/musixtex/ChangeLog-132.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/beams.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/beams.tex	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/beams.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -620,3 +620,8 @@
 \keyindex{prevstaff}, but also the character \verb|*| to make virtual beam notes
 (see Section~\ref{CollectiveCoding}).
 
+
+ \section{Discontinuities in Long Beams}
+Beams are normally produced by \texttt{musixtex} using special fonts.  Unfortunately, very long beams may have
+unsightly discontinuities (gaps or bumps). See Section~\ref{musixvbm}
+for an experimental solution to this problem.

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/extensions.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/extensions.tex	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/extensions.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -2176,7 +2176,41 @@
 \keyindex{qbppp} and
 \keyindex{zqbppp}.
 
+ \section{musixvbm}\ixtt{musixvbm.tex}
+\label{musixvbm}
+Beams are normally produced by \texttt{musixtex} using special fonts.  Unfortunately, very long beams may have
+unsightly discontinuities (gaps or bumps). This experimental add-on
+(by Hiroaki \textsc{Morimoto}) produces vectorized beams without these
+discontinuities.  Compare
+\begin{description}
+\item{}
+\begin{music}
+\nostartrule
+\setclef1{\bass}
+\startextract
+\nnotes\ibbl0G1\qb0{GJKLMLMLMLMLMLMK}\tqb0L\en
+\endextract
+\end{music}
+\end{description}
+and
+\begin{description}
+\item{}
+\begin{music}
+\input musixvbm
+\nostartrule
+\setclef1{\bass}
+\startextract
+\nnotes\ibbl0G1\qb0{GJKLMLMLMLMLMLMK}\tqb0L\en
+\endextract
+\end{music}
+\end{description}
+especially when magnified.
 
+The only known disadvantage is that some \texttt{dvi} viewers
+including \texttt{xdvi} and \texttt{yap} do not support the \texttt{tpic} specials
+that implement the vectorized beams so that no beams are shown; however, Postscript and PDF
+output generated using \texttt{dvips} and \texttt{ps2pdf} (or \texttt{dvipdfm}) should be satisfactory.  
+
 \section{tuplet}
 
 This file does nothing; it is provided for compatibility with 

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/frontmatter.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/frontmatter.tex	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/frontmatter.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -1,6 +1,6 @@
 \title{\Huge\bfseries\musixtex\\[\bigskipamount]
 \LARGE\bfseries Using \TeX{} to write polyphonic\\or
-instrumental music\\\Large\itshape Version 1.31}
+instrumental music\\\Large\itshape Version 1.32}
 \author{}
 
 
@@ -68,7 +68,7 @@
 takes advantage of the greater capacity of the e\TeX\ version of \TeX. 
 This manual
 is the definitive reference to all features of
-\musixtex\ version~1.30.
+\musixtex\ version~1.32.
 
 Novice users need not start here.
 Most 

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/miscellaneous.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/miscellaneous.tex	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/miscellaneous.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -48,9 +48,9 @@
  \section{Accents}
 
 You may use\footnote{Note from the editor: the reason the names of some of
-these macros don't seem to be constructed to suggest the terms used in the
-descriptions is that whoever originally defined the macros had in mind terms
-that did not agree with normal English usage.}
+these macros don't seem to suggest the terms used in the
+descriptions is that apparently Daniel Taupin had in mind other terms,
+such as \emph{pizzicato}.}
 \begin{itemize}\setlength{\itemsep}{0ex}
  \item \keyindex{upz}\pitchp~(upper \itxem{staccato}) to put a dot above a note
 head at pitch $p$,

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/musixdoc.sty
===================================================================
--- trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/musixdoc.sty	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc/musixdoc.sty	2021-05-14 20:13:45 UTC (rev 59196)
@@ -47,6 +47,7 @@
 \usepackage{textcomp}
 
 \input musixtex
+%\input musixvbm  % experimental vectorized beams
 \input musixbm
 \input musixcho
 \input musixdat

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/musixdoc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/generic/musixtex/scripts/musixflx.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/musixtex/musixtex.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/musixtex/musixtex.tex	2021-05-14 20:13:08 UTC (rev 59195)
+++ trunk/Master/texmf-dist/tex/generic/musixtex/musixtex.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -25,15 +25,20 @@
 
 \def\mufl at x{0.83}%
 \def\mxmajorvernumber{1}
-\def\mxminorvernumber{31}
+\def\mxminorvernumber{32}
 \def\mxvernumber{\mxmajorvernumber\mxminorvernumber}% make it possible to compare with \ifnum
 \def\mxversuffix{}% 
 \edef\mxversion{\mxmajorvernumber.\mxminorvernumber\mxversuffix}
-\def\mxdate{2021-01-07}
+\def\mxdate{2021-05-13}
 
 \immediate\write16{MusiXTeX(c) \mxversion\space<\mxdate>}%
 \everyjob{\immediate\write16{MusiXTeX(c) \mxversion\space<\mxdate>}}%
 
+% version 1.32 
+
+% commented out spurious \let\doublebar\doublebar at II
+% forbid line-breaking at \zdoublebar
+
 % version 1.31
 %
 % defined \zzdoublebar, \zzbar, \zendpiece
@@ -2307,7 +2312,7 @@
   \let\T at bil\iftrue \let\everyst at ff\everystaff \let\fil at spc\empty
   \let\fil at termskip\empty \let\fil at signs\empty \let\fil at barno\empty
   \let\leftrepeat\leftrepeat at II \let\leftrightrepeat\leftrightrepeat at II
-  \let\doublebar\doublebar at II
+% \let\doublebar\doublebar at II    % commented out by RDT version 1.32  
   \piece at beginc\Writ at meters\lastbarpos\lin at pos\let\pdl at cut\empty\addspace\afterruleskip}
                             %%% 1.21: added \lastbarpos and \pdl at cut settings 
 
@@ -2613,7 +2618,7 @@
 \let\zleftrightrepeat\zleftrightrepeat at II       % RDT 1.28
 
 
-\def\zdoublebar{\advance\barno\m at ne\doublebar}  % RDT 1.30
+\def\zdoublebar{\advance\barno\m at ne\setdoublebar\xbar}  % RDT revised 1.32
 
 \def\zzdoublebar{%                              % RDT 1.31
 \advance\barno\m at ne%

Added: trunk/Master/texmf-dist/tex/generic/musixtex/musixvbm.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/musixtex/musixvbm.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/musixtex/musixvbm.tex	2021-05-14 20:13:45 UTC (rev 59196)
@@ -0,0 +1,211 @@
+%%
+%% musixvbm.tex - MusiXTeX Extention, Vectorized Beams (& crescendos)
+%%                by tpic specials / pdfTeX raw literal
+%%
+%% Copyright (C) 2000-2007 Hiroaki MORIMOTO (Kuuku)
+%%
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or any later version.
+%% 
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%% GNU General Public License for more details.
+%% 
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+%% 
+%% \def\domain{nifty.com}
+%% Author: 
+%%   Hiroaki MORIMOTO <CQX\relax05646@\domain>
+%%     Tokyo, Japan
+%%     URL: http://kuuku.no.coocan.jp/pub/musixtex/index-e.html
+%%
+%% based on musixtex.tex T.104, line 3255-3290.
+%% MusiXTeX : (C) Daniel Taupin et al.
+%%
+%% January 1, 2007 version 1.20-beta6
+%% This is a successor of `musixtpb.tex' ver.1.10.
+%%
+\ifx\ifvectorizedbeam\undefined\else\endinput\fi
+\immediate\write16{MusiXTeX Extention, Vectorized Beams and crescendos v1.20-beta6 <2007/01/01>}%
+%
+\edef\catcodeat{\the\catcode`\@}\catcode`\@=11
+%
+% Allocation of registers
+% No register is required except for scratch (\dimen@, \count@)
+%
+% Modes definition (default: true)
+\newif\ifvectorizedbeam \vectorizedbeamtrue
+%
+% Operation mode automatic selection (v1.20)
+%
+\let\@beammodesel\relax%
+\ifx\pdftexversion\undefined\else%
+  \ifnum\pdfoutput>0\relax
+    \immediate\write16{musixvbm: uses pdfTeX raw literal}%
+    \edef\@beammodesel{pdftex}%
+  \fi
+\fi
+\ifx\@beammodesel\relax
+  \immediate\write16{musixvbm: uses tpic specials}%
+  \edef\@beammodesel{tpic}%
+\fi
+%
+% Overriding beam termination code (v1.20)
+%
+\let\@beam at font=\@beam\relax
+\def\@beam{%
+  \ifvectorizedbeam
+    \csname @beam@\@beammodesel\endcsname
+  \else
+    \@beam at font
+  \fi
+}%
+%
+% Main routine for tpic-version beam
+% \y at ii : length, \b at p : slope, \y at i : altitude
+%
+\def\@beam at tpic{%
+  % X of end
+  \@dimentomil{\y at ii}{\@Xend}%
+  % Y of start
+  \y at iii\y at i
+  \advance\y at iii -\b at amthick 
+  \@dimentomil{-\y at iii}{\@Ystart at l}%
+  \advance\y at iii \tw@\b at amthick 
+  \@dimentomil{-\y at iii}{\@Ystart at u}%
+  % Y of end
+  \y at iv\y at i
+  \dimen@=\b at p\y at ii \divide\dimen@ \tw at nty% \tw at nty=20 def'd in musixtex.tex
+  \advance\y at iv \dimen@
+  \advance\y at iv -\b at amthick
+  \@dimentomil{-\y at iv}{\@Yend at l}%
+  \advance\y at iv \tw@\b at amthick
+  \@dimentomil{-\y at iv}{\@Yend at u}%
+%  \special{pn 1}% 
+  \special{sh 1}%
+  \@addbeampath{0}{\@Ystart at l}%
+  \@addbeampath{\@Xend}{\@Yend at l}%
+  \@addbeampath{\@Xend}{\@Yend at u}%
+  \@addbeampath{0}{\@Ystart at u}%
+  \@addbeampath{0}{\@Ystart at l}%
+  \special{ip}%
+  \kern\y at ii
+}%
+%
+%
+% Subroutines for tpic-version beam
+%
+\def\@dimentomil#1#2{{%
+  % 1m-in = 0.07227pt, 1pt = 13.837m-in
+  % \count@=\count255 \dimen@=\dimen0 def'd in plain
+  \dimen@=#1\relax\dimen@=13.837\dimen@\relax
+  \count@\dimen@
+  \ifnum\count@>0
+    \advance\count@ by 32768
+  \else
+    \advance\count@ by -32768
+  \fi
+  \divide\count@ by 65536
+  \xdef#2{\the\count@}}}%
+%
+\def\@addbeampath#1#2{\special{pa #1 #2}}%
+%
+%
+% Main routine for pdfTeX
+%
+\def\@beam at pdftex{%
+  % X of end
+  \edef\@Xend{\strip at pt\y at ii}%
+  % Y of start
+  \y at iii\y at i
+  \advance\y at iii -\b at amthick 
+  \edef\@Ystart at l{\strip at pt\y at iii}%
+  \advance\y at iii \tw@\b at amthick 
+  \edef\@Ystart at u{\strip at pt\y at iii}%
+  % Y of end
+  \y at iv\y at i
+  \dimen@=\b at p\y at ii \divide\dimen@ \tw at nty% \tw at nty=20 def'd in musixtex.tex
+  \advance\y at iv \dimen@
+  \advance\y at iv -\b at amthick
+  \edef\@Yend at l{\strip at pt\y at iv}%
+  \advance\y at iv \tw@\b at amthick
+  \edef\@Yend at u{\strip at pt\y at iv}%
+  \pdfliteral{q 0 g 0 \@Ystart at l\space m \@Xend\space\@Yend at l\space l \@Xend\space\@Yend at u\space l 0 \@Ystart at u\space l 0 \@Ystart at l\space l f Q}%
+  \kern\y at ii
+}%
+%
+% Subroutines for pdfTeX 
+% (taken from latex.ltx 2003/12/01)
+\begingroup
+  \catcode`P=12
+  \catcode`T=12
+  \lowercase{%
+    \def\x{\def\rem at pt##1.##2PT{##1\ifnum##2>\z at .##2\fi}}}%
+  \expandafter\endgroup\x
+\def\strip at pt{\expandafter\rem at pt\the}%
+%
+%
+% vectorized version of crescendo, decrescendo (under construction)
+%
+\let\C at cresc@font=\C at cresc\relax
+%
+% for tpic-version crescendo
+% #1=length (any TeX dimension, no limit))
+\def\C at cresc@tpic#1{%
+  \y at iv#1\relax
+%  \rlap{\vrule width\y at iv height1pt}%
+  \@dimentomil{\y at iv}{\@Xend}%
+  \dimen@=2.5pt \advance\dimen@ by.00125\y at iv\relax% see musixspx.mf
+  \@dimentomil{\dimen@}{\@Yend at l}%
+  \special{pn 6}% 0.4pt=5.5348mil see musixspx.mf
+  \ifnum\n at ii=\@cxv% decrescendo see musixtex.tex T.112 line 3870
+    \@addbeampath{0}{\@Yend at l}%
+    \@addbeampath{\@Xend}{0}%
+    \special{fp}%
+    \@addbeampath{0}{-\@Yend at l}%
+    \@addbeampath{\@Xend}{0}%
+    \special{fp}%
+  \else
+    \@addbeampath{\@Xend}{\@Yend at l}%
+    \@addbeampath{0}{0}%
+    \special{fp}%
+    \@addbeampath{\@Xend}{-\@Yend at l}%
+    \@addbeampath{0}{0}%
+    \special{fp}%
+  \fi
+%  \C at cresc@font#1%
+}%
+%
+% for pdfTeX-version crescendo
+% #1=length (any TeX dimension, no limit))
+\def\C at cresc@pdftex#1{%
+  \y at iv#1\relax
+%  \rlap{\vrule width\y at iv height1pt}%
+  \edef\@Xend{\strip at pt\y at iv}%
+  \dimen@=2.5pt \advance\dimen@ by.00125\y at iv\relax% see musixspx.mf
+  \edef\@Yend at l{\strip at pt\dimen@}%
+  \ifnum\n at ii=\@cxv% decrescendo see musixtex.tex T.112 line 3870
+    \pdfliteral{.4 w q 0 g 0 \@Yend at l\space m \@Xend\space 0 l S Q q 0 g 0 -\@Yend at l\space m \@Xend\space 0 l S Q}%
+  \else
+    \pdfliteral{.4 w q 0 g \@Xend\space \@Yend at l\space m 0 0 l S Q q 0 g \@Xend\space -\@Yend at l\space m 0 0 l S Q}%
+  \fi
+%  \C at cresc@font#1%
+}%
+%
+% Overriding crescendo (v1.20)
+%
+\def\C at cresc#1{%
+  \ifvectorizedbeam
+    \csname C at cresc@\@beammodesel\endcsname#1
+  \else
+    \C at cresc@font#1
+  \fi
+}%
+%
+\catcode`\@=\catcodeat
+\endinput


Property changes on: trunk/Master/texmf-dist/tex/generic/musixtex/musixvbm.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list.