Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
On Sun, 13 Nov 2011, Don Simons wrote: Jean-Pierre, your memory is much better than mine. But now you've posed another interesting puzzle: The archived copy of your hack has been sanitized around most of the "@" characters :-( But I found your message in my personal archive; here's the hack for anyone who's interested: Somewhere on WIMA there is also an archive "for members only". The mail-archive site believes everything with "@" is an e-mail. The ancient hack on our list solves only the upper beams. The adaptation for lower beams is in my recent attachment. Bye, Jean-Pierre Coulon cou...@obs-nice.fr --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
Jean-Pierre, your memory is much better than mine. But now you've posed another interesting puzzle: The archived copy of your hack has been sanitized around most of the "@" characters :-( But I found your message in my personal archive; here's the hack for anyone who's interested: \input musixtex \instrumentnumber1 \setstaffs11 \setclef1{\treble} \nostartrule \makeatletter \def\beamst@m{% queue de note vers une poutre \getcurpos \advance\y@v-\b@x \y@ii\b@p\y@v \divide\y@ii\tw@nty \advance\y@ii\b@z \ifdim\y@ii>\st@top % la poutre est au-dessus \stem@skip\qd@skip \comp@slope\stem@skip \advance\y@ii\s@lope %begin{my MusiXTeX hack} \advance\y@ii .25\interbeam% %end{my MusiXTeX hack} \ifnum\b@n>\z@ \advance\y@ii\b@n\interbeam \advance\y@ii-\interbeam \fi \st@top\y@ii % a mettre a jour avec la pente ulterieurement \else \stem@skip\z@ \ifdim\y@ii<\st@bot \ifnum\b@n<\z@ \advance\y@ii\b@n\interbeam \advance\y@ii\interbeam \fi \st@bot\y@ii \fi \fi \C@stem} \makeatother \Largemusicsize \startextract \Notes\ibu1j0\qb1j\tqh1j\en \Notesp\ibu1j0\qb1j\tqh1j\en \Notes\ibu1j1\qb1j\tqh1k\en \Notes\ibu1j2\qb1j\tqh1l\en \Notes\ibu1j3\qb1j\tqh1m\en \endextract \startextract \Notes\ibu1k{-1}\qb1j\tqh1i\en \Notesp\ibu1k{-1}\qb1j\tqh1i\en \Notes\ibu1k{-1}\qb1j\tqh1i\en \Notes\ibu1k{-2}\qb1j\tqh1h\en \Notes\ibu1k{-3}\qb1j\tqh1g\en \endextract \end === >-Original Message- >From: tex-music-boun...@tug.org [mailto:tex-music-boun...@tug.org] On Behalf Of >Jean-Pierre Coulon >Sent: Saturday, November 12, 2011 11:44 PM >To: Werner Icking Music Archive >Subject: Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX > >I don't understand the first image, but we have already discussed the problem in thus >thread: >http://www.mail-archive.com/tex-music@tug.org/msg01595.html > >I suggested a hack: >http://www.mail-archive.com/tex-music@tug.org/msg01749.html > >The up-to-date version is at line 52 of my attached file. > >Note the the problem already show up in the MusiXTeX T-77 manual that Daniel >printed for me in 1997. > >Regards > >Jean-Pierre Coulon cou...@obs-nice.fr --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
I don't understand the first image, but we have already discussed the problem in thus thread: http://www.mail-archive.com/tex-music@tug.org/msg01595.html I suggested a hack: http://www.mail-archive.com/tex-music@tug.org/msg01749.html The up-to-date version is at line 52 of my attached file. Note the the problem already show up in the MusiXTeX T-77 manual that Daniel printed for me in 1997. Regards Jean-Pierre Coulon cou...@obs-nice.fr% thicker ledger lines \def\myhlthick{1.5\lthick} \makeatletter \def\h@linei{% \y@ii\n@v\internote \y@iii\y@ii \advance\y@ii\myhlthick \advance\y@iii-\myhlthick \y@vi\noteskip% noteskip %-\ifnum\y@vi=\z@ \y@vi\maxdimen\fi % (or maxdimen if noteskip = 0) \advance\y@vi-\y@v% - notewidth \y@vi0.7\y@vi % this may be eaten =: additional length \y@iv\h@lf\qn@width\ifnum\y@vi>\y@iv \y@vi\y@iv\fi % not more than 0.5 qn@width \y@iv0.2\qn@width \ifnum\y@vi<\y@iv \y@vi\y@iv\fi % not less than 0.2 qn@width \y@iv\y@v % notewidth \advance\y@iv\y@vi% + additional length =: total length \kernm\h@lf\y@vi % center the ledger line %-\message{noteskip = \the\noteskip, length = \the\y@iv, notewidth = \the\y@v}% \vrule\@height\y@ii\@depth-\y@iii\@width\y@iv \kernm\y@iv\kern\h@lf\y@vi} % same adapted from MUSIXFLL.TEX \ifx\undefined\longledgerlines \else \endinput \fi \immediate\write10{MusiXFormerLedgerLines T.74\space<06 April 1997>}% %\edef\catcodeat{\the\catcode`\@}\catcode`\@=11 \let\h@lineick\h@linei \def\h@lineidt{% \y@ii\n@v\internote \y@iii\y@ii \advance\y@ii\myhlthick \advance\y@iii-\myhlthick \y@iv\y@v \advance\y@iv\h@lf\qn@width \kernm.25\qn@width \vrule\@height\y@ii\@depth-\y@iii\@width\y@iv \kernm\y@iv\kern.25\qn@width} \def\longledgerlines{\global\let\h@linei\h@lineidt} \def\autoledgerlines{\global\let\h@linei\h@lineick} \longledgerlines %\catcode`\@=\catcodeat % more space between signature and first note at each system \def\contpiece{\noindent\piece@conta\writ@staffs\piece@beginc% % \Writ@meters \wbarno@x \hardspace{10pt}\addspace\afterruleskip \Writ@meters\wbarno@x\hardspace{.3\elemskip}\addspace\afterruleskip} %^^^ % missing pixels at some beam ends: \def\beamst@m{% queue de note vers une poutre \getcurpos \advance\y@v-\b@x \y@ii\b@p\y@v \divide\y@ii\tw@nty \advance\y@ii\b@z \ifdim\y@ii>\st@top % la poutre est au-dessus \stem@skip\qd@skip \comp@slope\stem@skip \advance\y@ii\s@lope \advance\y@ii .25\interbeam% hack \ifnum\b@n>\z@ \advance\y@ii\b@n\interbeam \advance\y@ii-\interbeam \fi \st@top\y@ii % a mettre a jour avec la pente ulterieurement \else \advance\y@ii-.25\interbeam% hack \stem@skip\z@ \ifdim\y@ii<\st@bot \ifnum\b@n<\z@ \advance\y@ii\b@n\interbeam \advance\y@ii\interbeam \fi \st@bot\y@ii \fi \fi \C@stem} --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
>|Adobe Acrobat Standard 8.3.0 Try 9.4. >|See if this come thru. It's a screen capture from the posted PDF, >|blown up. I can definitely see that. But I don't get anything like that using 9.4 or any other PDF viewer. >|And here's a corresponding blown-up screen capture from the .ps I produced >|with default dvips settings, viewed in gsview32 version 4.8 at >|"resolution" >|166 166 is going to give you pixelation effects. You can see how the beams are now sawtoothing. >|And here's a screen capture of the PDF from Sumatra: >| >|I agree it looks better, but it's still not perfect. All of these views >|suggest that the beams don't extend far enough to the right. I think there are two effects here. The musixtex type 1 fonts are *not* well-hinted. Karl Berry has pointed out to me that t1lint, a program to test validity of type 1 fonts, generates lots of error messages on the musixtex fonts. Apparently the hinting wasn't done right and some PDF viewers may not be using the hinting at all. That might explain the differences between the PDF views. That said, I agree that when a beam uses a steep angle, the join with the last stem isn't quite right. I avoid angles greater than 5 altogether; then the effect isn't really visible till 1600% magnification. >|I think someone did address this in the past, and provided some sort of >|software fix. I vaguely remember something too but not whether there was a fix. >|But even if we can't dredge that up or solve it anew, >|I'm not >|going to stop using either MusiXTeX or Adobe Acrobat. If you must use the Adobe Reader, a recent version might give you better results. Bob >|>From: tex-music-boun...@tug.org [mailto:tex-music-boun...@tug.org] On >|Behalf Of >| >|>Bob Tennent >| >|>Sent: Saturday, November 12, 2011 2:18 PM >| >|>To: Werner Icking Music Archive >| >|>Subject: Re: [Tex-music] Alignment of stems with beam and noteheads in >|MusiXTeX >| >|> >|http://www.icking-music-archive.org/scores/rossi/toccata-settima.pdf, >| >|> >|e.g., >| >|> >|first group of 16ths in bar 5 bass clef. >| >|>Looks OK to me. Which PDF viewer are you using? Try another one. For >| >|>Windows, I recommend Sumatra PDF: >| >|>http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html >| >|>Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
Adobe Acrobat Standard 8.3.0 See if this come thru. It's a screen capture from the posted PDF, blown up. And here's a corresponding blown-up screen capture from the .ps I produced with default dvips settings, viewed in gsview32 version 4.8 at "resolution" 166 And here's a screen capture of the PDF from Sumatra: I agree it looks better, but it's still not perfect. All of these views suggest that the beams don't extend far enough to the right. I think someone did address this in the past, and provided some sort of software fix. But even if we can't dredge that up or solve it anew, I'm not going to stop using either MusiXTeX or Adobe Acrobat. --Don >-Original Message- >From: tex-music-boun...@tug.org [mailto:tex-music-boun...@tug.org] On Behalf Of >Bob Tennent >Sent: Saturday, November 12, 2011 2:18 PM >To: Werner Icking Music Archive >Subject: Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX > > >|http://www.icking-music-archive.org/scores/rossi/toccata-settima.pdf, > >|e.g., > >|first group of 16ths in bar 5 bass clef. > >Looks OK to me. Which PDF viewer are you using? Try another one. For >Windows, I recommend Sumatra PDF: > >http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html > >Bob T. >--- >TeX-music@tug.org mailing list >If you want to unsubscribe or look at the archives, go to >http://tug.org/mailman/listinfo/tex-music <> <> <> --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
Re: [Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
>|http://www.icking-music-archive.org/scores/rossi/toccata-settima.pdf, >|e.g., >|first group of 16ths in bar 5 bass clef. Looks OK to me. Which PDF viewer are you using? Try another one. For Windows, I recommend Sumatra PDF: http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html Bob T. --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music
[Tex-music] Alignment of stems with beam and noteheads in MusiXTeX
In looking at Bernhard Lang's setting of M. Rossi's "Toccata Settima" (a great piece I'm trying to learn on my Italian harpsichord), in the on screen view of the pdf I noticed various horizontal misalignments between stems and noteheads, and between stems and beams. They are NOT due to any typesetting errors, but somehow come from one or more of the processing steps tex (or etex), dvips, postscript viewing, PDF generation, PDF viewing. They aren't nearly as obvious in the printed page but at least some of the stem-beam misalignments can still be seen. I see similar but not identical things when I process the .pmx file with my own defaults. I recall that years ago someone looked into this issue and I think they produced some software that addressed it, but I can't find any record of it. It may have been one of our Japanese contributors. Does anyone remember that or have any other thoughts about this? I could provide some specific examples but I think anyone can get the idea by just looking at the posted PDF http://www.icking-music-archive.org/scores/rossi/toccata-settima.pdf, e.g., first group of 16ths in bar 5 bass clef. --Don Simons From: tex-music-boun...@tug.org [mailto:tex-music-boun...@tug.org] On Behalf Of Sebastian Canagaratna Sent: Friday, November 11, 2011 4:44 AM To: Werner Icking Music Archive Subject: Re: [Tex-music] New PMX beta 2.616 to fix long hairpin problem Thanks so much Don. Sebastian Canagaratna On Fri, Nov 11, 2011 at 12:22 AM, Don Simons wrote: I've just uploaded the new beta to http://icking-music-archive.org/software/pmx/pmx2616.zip It allows you to have hairpins that span over input block boundaries. The corrects the issue recently raised by Sebastian Canagaratna and Dirk Laurie, and will make life easier for M-Tx users since M-Tx puts every bar into a separate input block. --Don Simons --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music --- TeX-music@tug.org mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music