Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread David Allsopp
On Sun, 18 Jan 2009, Jean-Pierre Coulon wrote:
> On Sat, 17 Jan 2009, David Allsopp wrote:
> 
> This works here:
> 
> if not exist %1.tex goto :EOF
> if exist %1.mx2 del %1.mx2
> rem if exist %1.pdf del %1.pdf
> tex %1 && musixflx %1 && tex %1 && dvips -q* -tA4 %1 && ps2pdf
-sPAPERSIZE#a4 -r300 %1.ps %1.pdf && pdfopen --file %1.pdf

You've missed a subtlety of the script (perhaps I should've put a comment!).
The purpose of the initial "del %1.pdf" is to deal with the case when you
haven't actually opened the PDF yet - because pdfclose will start Adobe
Reader even if there's nothing to do. This means that if your first edit of
the day contains a TeX error (so pdfopen never gets called), you'll still
have Adobe Reader in the way (which I would find irritating!).

If the error message is irritating you, you can say instead

if exist %1.pdf del %1.pdf > nul 2>&1

> > Is there any particular reason that you're not using pdftex?
>
> No serious reason. The .pdf made are twice as big with pdftex.

A very fair point - especially if you're going to post the score online.
And, with reference to Don's reply, I had no idea that slurs behave
differently in each - but as I principally typeset Gregorian & Anglican
chant, I don't use slurs very often :o) You learn new things every day...


David

___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread Jean-Pierre Coulon

On Sat, 17 Jan 2009, David Allsopp wrote:


There are two options:

a) Use GhostView (but it's not free) which doesn't lock the PDF. This is
what I do normally, switching to Adobe Reader only for final proofreading as
it's a nicer interface. GhostView auto-refreshes in the same way as yap.


Yeah, the Ghostview guys have become copyright-fussy over the years! And 
since most documents now are in .pdf I'm too lazy to master two sets of 
commands like magnifying glass, move left or right, next page etc.  :-)



b) Use pdfopen/pdfclose. These programs come with MiKTeX (although I think
that they're borrowed from somewhere else). They certainly used to be
unreliable (based on posts on the MiKTeX list a few years ago) so I've never
bothered with them. The snag is that you must remember to open your PDF with
pdfopen if you want to be able to close it with pdfclose. Your batch file
then becomes: [...]


This works here:

if not exist %1.tex goto :EOF
if exist %1.mx2 del %1.mx2
rem if exist %1.pdf del %1.pdf
tex %1 && musixflx %1 && tex %1 && dvips -q* -tA4 %1 && ps2pdf
-sPAPERSIZE#a4 -r300 %1.ps %1.pdf && pdfopen --file %1.pdf

I can't delete %1.pdf while I view it, even with pdfopen. But thank you.


Is there any particular reason that you're not using pdftex?


No serious reason. The .pdf made are twice as big with pdftex.

Jean-Pierre Coulon  cou...@obs-nice.fr
___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


[TeX-Music] question

2009-01-17 Thread maria gabriela capeluto
does anybody have intermezzo from goyescas for cello and piano??
thanks a lot!

On Sat, Jan 17, 2009 at 6:18 PM, <
icking-music-archive.org-tex-music-requ...@mailman.nfit.au.dk> wrote:

> Send Icking-music-archive.org-TeX-music mailing list submissions to
>icking-music-archive.org-tex-music@mailman.nfit.au.dk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music
>
> or, via email, send a message with subject or body 'help' to
>icking-music-archive.org-tex-music-requ...@mailman.nfit.au.dk
>
> You can reach the person managing the list at
>icking-music-archive.org-tex-music-ow...@mailman.nfit.au.dk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Icking-music-archive.org-TeX-music digest..."
>
> Today's Topics:
>
>   1. Re: beamed open notes (Pawe? Jaworski)
>   2. smart musixtex.cmd script, Acrobat reader (Jean-Pierre Coulon)
>   3. Re: smart musixtex.cmd script, Acrobat reader (David Allsopp)
>   4. Re: [english 92%]  beamed open notes (Don Simons)
>   5. Re: smart musixtex.cmd script, Acrobat reader (Don Simons)
>   6. Re: smart musixtex.cmd script, Acrobat reader (David Allsopp)
>   7. Re: [english 92%]  beamed open notes (Hermann Hinsch)
>   8. Re: smart musixtex.cmd script, Acrobat reader (Don Simons)
>
>
> -- Forwarded message --
> From: Paweł Jaworski 
> To: "Werner Icking Music Archive" <
> icking-music-archive.org-tex-music@mailman.nfit.au.dk>
> Date: Sat, 17 Jan 2009 13:13:04 +0100 (CET)
> Subject: Re: [TeX-Music] beamed open notes
> PLEASE, DO NOT SEND ME SPAM!
>
>
>
>
>
>
>
> > Is it possible to type beamed open notes by PMX or M-Tx? As an example: 4
> > open
> > notes with stems beamed together representing the value of a whole note.
> >
> > Hermann
> > ___
> > tex-mu...@icking-music-archive.org mailing list
> >
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music
> >
>
>
>
>
>
> -- Forwarded message --
> From: Jean-Pierre Coulon 
> To: Werner Icking Music Archive <
> icking-music-archive.org-tex-music@mailman.nfit.au.dk>
> Date: Sat, 17 Jan 2009 16:12:01 +0100 (Paris, Madrid)
> Subject: [TeX-Music] smart musixtex.cmd script, Acrobat reader
> At present my musixtex.cmd contains this (thanks to David Allsopp, 28 Jan
> 2008):
>
> @echo off
> if not exist %1.tex goto :EOF
> if exist %1.mx2 del %1.mx2
> @tex %1 && @musixflx %1 && @tex %1 && @dvips -q* -tA4 %1 && @ps2pdf
> -sPAPERSIZE#a4 -r300 %1.ps %1.pdf && @start " " %1.pdf
> :end
>
> because I want to view the .pdf immediately if there is no TeX error
> (I like Acrobat Reader better than yap as a viewer).
>
> The trouble is that if I left the previous Acrobat window open, the current
> call to MiKTeX Ghostscript ps2pdf fails because my .pdf file cannot be
> overwritten, and I stay with the previous version displayed.
>
> How can my musixtex.cmd automatically test if my .pdf file is being
> accessed to, and if yes, kill my Acrobat reader task so Ghostscript can
> make the new one? I'm under XP.
>
> Regards,
>
> Jean-Pierre Coulon  cou...@obs-nice.fr
>
>
>
> -- Forwarded message --
> From: "David Allsopp" 
> To: "'Werner Icking Music Archive'" <
> icking-music-archive.org-tex-music@mailman.nfit.au.dk>
> Date: Sat, 17 Jan 2009 15:35:22 -
> Subject: Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader
> There are two options:
>
> a) Use GhostView (but it's not free) which doesn't lock the PDF. This is
> what I do normally, switching to Adobe Reader only for final proofreading
> as
> it's a nicer interface. GhostView auto-refreshes in the same way as yap.
>
> b) Use pdfopen/pdfclose. These programs come with MiKTeX (although I think
> that they're borrowed from somewhere else). They certainly used to be
> unreliable (based on posts on the MiKTeX list a few years ago) so I've
> never
> bothered with them. The snag is that you must remember to open your PDF
> with
> pdfopen if you want to be able to close it with pdfclose. Your batch file
> then becomes:
>
> @setlocal
> @echo off
> if not exist %1.tex goto :EOF
> if exist %1.mx2 del %1.mx2
> if exist %1.pdf del %1.pdf
> if exist %1.pdf pdfclose --file %1.pdf
> rem Uncomment these if you can cope with all PDFs being closed *only* if
> you
> forgot to open %1.pdf with pdfopen
> rem if exist %1.pdf del %1.pdf
> rem if exist %1.pdf pdfclose --all
> tex %1 && musixflx %1 && tex %1 && dvips -q* -tA4 %1 && ps2pdf
> -sPAPERSIZE#a4 -r300 %1.ps %1.pdf && pdfopen --file %1.pdf
>
> Is there any particular reason that you're not using pdftex?
>
>
> David
>
> > -Original Message-
> > From: icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk
> > [mailto:icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk]
> > On Behalf Of Jean-Pierre Coulon
> > Sent: 17 January 2009 15:12
> > To: Werner Ick

Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread Don Simons
David Allsopp wrote

>Is there any particular reason that you're not using pdftex?

I can't speak for Jean-Pierre, but there are two reasons I don't use pdftex
at all. First, GSView works fine for me both as a previewer and as a
pdf-generator. Second, I don't think pdftex handles Type K postscript slurs
(in a test I just ran, such a slur was ignored.), and Type K is all I ever
use. Long ago I decided any PMX slur improvements would be hitched to the
type-K wagon, because in my view each of the other slur options has major
drawbacks: font based ones often look funny, and Type M postscript ones
require installation of MetaPost and generate multiple auxiliary files.  

--Don Simons


___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] [english 92%] beamed open notes

2009-01-17 Thread Hermann Hinsch
Am Samstag, 17. Januar 2009 schrieb Don Simons:
> I wrote
>
> >Hermann Hinsch wrote
> >
> >>But your demo isn't quite what I wish to get: The beamed notes should
> >
> >be
> >
> >>quarter notes and not quavers. May be that this is impossible.
> >
> >It's not at all impossible. See my previous post.
>
> I neglected to mention that with the macros I posted, you need to enter
> notes into PMX with half the value you want to see printed. For example, if
> you want a half note, you must enter a quarter. I did it this way so that
> all of PMX's automatic beaming machinery would work on the now-beamable
> quarter notes.

Yes, I realized that and now I use your proposal with some additional 
redefinitions for longer notes and rests. So I am quite happy and thank you 
very much for your help.


Hermann

>
> --Don Simons
>
>
>
>
> ___
> tex-mu...@icking-music-archive.org mailing list
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-mus
>ic


___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread David Allsopp
Hah - it's so long since I registered that I'd forgotten that it's nagware,
not shareware!

But the nag was so annoying that even as a student I parted with 40AUD very
quickly... as GhostView is also a good PostScript previewer (I got bored
with always having to use ps2pdf just to look at something)


David

> -Original Message-
> From: icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk
> [mailto:icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk]
> On Behalf Of Don Simons
> Sent: 17 January 2009 15:47
> To: 'Werner Icking Music Archive'
> Subject: Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader
> 
> David Allsopp wrote
> >
> >There are two options:
> >
> >a) Use GhostView (but it's not free) ...
> 
> ?? It looks free to me, but I didn't try to install since I already
> have it
> from years ago.
> 
> http://pages.cs.wisc.edu/~ghost/
> 
> --Don Simons
> 
> 
> ___
> tex-mu...@icking-music-archive.org mailing list
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-
> tex-music

___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread Don Simons
David Allsopp wrote
>
>There are two options:
>
>a) Use GhostView (but it's not free) ...

?? It looks free to me, but I didn't try to install since I already have it
from years ago.

http://pages.cs.wisc.edu/~ghost/

--Don Simons


___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] [english 92%] beamed open notes

2009-01-17 Thread Don Simons
I wrote

>Hermann Hinsch wrote
>
>>But your demo isn't quite what I wish to get: The beamed notes should
>be
>>quarter notes and not quavers. May be that this is impossible.
>
>It's not at all impossible. See my previous post.

I neglected to mention that with the macros I posted, you need to enter
notes into PMX with half the value you want to see printed. For example, if
you want a half note, you must enter a quarter. I did it this way so that
all of PMX's automatic beaming machinery would work on the now-beamable
quarter notes.

--Don Simons




___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread David Allsopp
There are two options:

a) Use GhostView (but it's not free) which doesn't lock the PDF. This is
what I do normally, switching to Adobe Reader only for final proofreading as
it's a nicer interface. GhostView auto-refreshes in the same way as yap.

b) Use pdfopen/pdfclose. These programs come with MiKTeX (although I think
that they're borrowed from somewhere else). They certainly used to be
unreliable (based on posts on the MiKTeX list a few years ago) so I've never
bothered with them. The snag is that you must remember to open your PDF with
pdfopen if you want to be able to close it with pdfclose. Your batch file
then becomes:

@setlocal
@echo off
if not exist %1.tex goto :EOF
if exist %1.mx2 del %1.mx2
if exist %1.pdf del %1.pdf
if exist %1.pdf pdfclose --file %1.pdf
rem Uncomment these if you can cope with all PDFs being closed *only* if you
forgot to open %1.pdf with pdfopen
rem if exist %1.pdf del %1.pdf
rem if exist %1.pdf pdfclose --all
tex %1 && musixflx %1 && tex %1 && dvips -q* -tA4 %1 && ps2pdf
-sPAPERSIZE#a4 -r300 %1.ps %1.pdf && pdfopen --file %1.pdf

Is there any particular reason that you're not using pdftex?


David

> -Original Message-
> From: icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk
> [mailto:icking-music-archive.org-tex-music-boun...@mailman.nfit.au.dk]
> On Behalf Of Jean-Pierre Coulon
> Sent: 17 January 2009 15:12
> To: Werner Icking Music Archive
> Subject: [TeX-Music] smart musixtex.cmd script, Acrobat reader
> 
> At present my musixtex.cmd contains this (thanks to David Allsopp, 28
> Jan
> 2008):
> 
> @echo off
> if not exist %1.tex goto :EOF
> if exist %1.mx2 del %1.mx2
> @tex %1 && @musixflx %1 && @tex %1 && @dvips -q* -tA4 %1 && @ps2pdf -
> sPAPERSIZE#a4 -r300 %1.ps %1.pdf && @start " " %1.pdf
> :end
> 
> because I want to view the .pdf immediately if there is no TeX error
> (I like Acrobat Reader better than yap as a viewer).
> 
> The trouble is that if I left the previous Acrobat window open, the
> current call to MiKTeX Ghostscript ps2pdf fails because my .pdf file
> cannot be overwritten, and I stay with the previous version displayed.
> 
> How can my musixtex.cmd automatically test if my .pdf file is being
> accessed to, and if yes, kill my Acrobat reader task so Ghostscript can
> make the new one? I'm under XP.
> 
> Regards,
> 
> Jean-Pierre Coulon  cou...@obs-nice.fr
> ___
> tex-mu...@icking-music-archive.org mailing list
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-
> tex-music

___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


[TeX-Music] smart musixtex.cmd script, Acrobat reader

2009-01-17 Thread Jean-Pierre Coulon
At present my musixtex.cmd contains this (thanks to David Allsopp, 28 Jan 
2008):


@echo off
if not exist %1.tex goto :EOF
if exist %1.mx2 del %1.mx2
@tex %1 && @musixflx %1 && @tex %1 && @dvips -q* -tA4 %1 && @ps2pdf -sPAPERSIZE#a4 -r300 %1.ps 
%1.pdf && @start " " %1.pdf
:end

because I want to view the .pdf immediately if there is no TeX error
(I like Acrobat Reader better than yap as a viewer).

The trouble is that if I left the previous Acrobat window open, the 
current call to MiKTeX Ghostscript ps2pdf fails because my .pdf file 
cannot be overwritten, and I stay with the previous version displayed.


How can my musixtex.cmd automatically test if my .pdf file is being 
accessed to, and if yes, kill my Acrobat reader task so Ghostscript can

make the new one? I'm under XP.

Regards,

Jean-Pierre Coulon  cou...@obs-nice.fr
___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] beamed open notes

2009-01-17 Thread Paweł Jaworski
PLEASE, DO NOT SEND ME SPAM!







> Is it possible to type beamed open notes by PMX or M-Tx? As an example: 4
> open
> notes with stems beamed together representing the value of a whole note.
>
> Hermann
> ___
> tex-mu...@icking-music-archive.org mailing list
> http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music
>


___
tex-mu...@icking-music-archive.org mailing list
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music