tabdefs.tex uses postscript specials for dvips --- putting \vrule with 
white color --- to erase (only visually) the staff line under the fret 
numbers.
If `modern TeX' means pdfTeX in PDF output mode, this type of PS-specials 
are not supported anymore; Therefore the \vrule appears as black squares 
on the staff.

There are two solutions:
(1) use dvipdfmx instead of pdfTeX.  dvipdfmx has PS-specials functions 
almost (but not perfectly) compatible to dvips and it provides proper output 
as far as tabdefs.tex.
(2) modify the files. I got proper output of the sample with disabling 
the PS-specials and \vrule.  The attachments are outputs of `diff -u'.

Best regards,
Hiroaki


----- Original Message -----
> To: TeX-Music <[email protected]>
> From: Christian Mondrup <[email protected]>
> Date: Fri, 29 Jun 2018 21:16:09 +0200
> Subject: Re: [Tex-music] tablature
> 
> 
> On 2018-06-29 16:38, Bob Tennent wrote:
> > A new package guitartabs has recently appeared at CTAN. The
> > author seems to think tablature was invented recently for
> > the (modern) guitar.
> > 
> > https://en.wikipedia.org/wiki/Tablature
> > 
> > I wondered whether musixtex can be used for tablature
> > notation.
> > 
> > The tex-music archive has references to
> > 
> > http://icking-music-archive.org/software/musixtex/add-ons/tabdefs.tex
> > 
> > but this isn't usable as is. Has anyone been able to use
> > this (or a comparable set of macros) with modern musixtex?
> 
> I've been using tabdefs.tex decades ago for my modern edition of Orazio 
> Vecchi's 'Selva' incl. a number of pieces with lute parts in tablature 
> notation, for example
> 
> http://imslp.org/wiki/Damon_e_Filli_(Vecchi%2C_Orazio)
> 
> The tablature staff doesn't compile properly any more.
> 
> Greetings
> -- 
> Christian Mondrup
> WIMA: Werner Icking Music Archive
> http://imslp.org/wiki/Category:WIMA_files
> -------------------------------
> [email protected] mailing list
> If you want to unsubscribe or look at the archives, go to 
> http://tug.org/mailman/listinfo/tex-music
--- tabdefs.tex Sun Jul 01 10:08:12 2018
+++ tabdefs-nonps.tex   Sun Jul 01 10:54:14 2018
@@ -151,25 +151,25 @@
 % \tabbox ensures a white background for the tab number in the ps-file
 % (the stafflines don't overrun the number). Symbols are centered.
 \def\tabbox#1#2{\setbox0=\hbox{\tabfnt #2}%
-  \special{ps: 1 setgray}%
-  \ccharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
-  \special{ps: 0 setgray}%
+%  \special{ps: 1 setgray}%
+%  \ccharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
+%  \special{ps: 0 setgray}%
   \ccharnote{#1}{\box0}%
 }
 % \ltabbox does the same as \tabbox, except that it produces
 % left-outlined symbols
 \def\ltabbox#1#2{\setbox0=\hbox{\tabfnt #2}%
-  \special{ps: 1 setgray}%
-  \zcharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
-  \special{ps: 0 setgray}%
+%  \special{ps: 1 setgray}%
+%  \ccharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
+%  \special{ps: 0 setgray}%
   \zcharnote{#1}{\box0}%
 }
 % \rtabbox does the same as \tabbox, except that it produces
 % right-outlined symbols
 \def\rtabbox#1#2{\setbox0=\hbox{\tabfnt #2}%
-  \special{ps: 1 setgray}%
-  \lcharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
-  \special{ps: 0 setgray}%
+%  \special{ps: 1 setgray}%
+%  \lcharnote{#1}{\vrule height \ht0 width \wd0 depth \dp0}%
+%  \special{ps: 0 setgray}%
   \lcharnote{#1}{\box0}%
 }
 % \tab takes two arguments.
--- tabxampl.tex        Sun Jul 01 10:11:50 2018
+++ tabxampl-nonps.tex  Sun Jul 01 10:26:54 2018
@@ -1,7 +1,7 @@
 \input musixtex
 \input musixlyr                        % for lyrics
-\input $HOME/tex/music/tabs/mymusixsty % for \author, \maketitle etc.
-\input $HOME/tex/music/tabs/tabdefs    % extra macros for tabs and chords
+\input musixsty % for \author, \maketitle etc.
+\input tabdefs-nonps    % extra macros for tabs and chords
 %
 \hoffset=-15.4mm\hsize=190mm\voffset=-15.4mm\vsize=259mm
 \nopagenumbers
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to