Hi Jean-Pierre,
you are right, I forgot this important rule - like with sci-fi cons,
anything that happens on a page, stays on the page. :-)
The definitions inside psslurs.pro are global because they are included
in the preamble, before any page begins. However, anything you put in
the \special{ps: ...} appears on the current page only and won't affect
any other pages.
There are two possible solutions:
1. Create your own file (say custom.pro) with the new definition of /DC
and use the following command:
\special{header=custom.pro}
This will include the new definition in a preamble of the target
PostScript file.
2. Use the previously suggested \special command on the beginning of
every page in your document. I don't remember the easy way to do this
automatically, sorry...
Hope this helps,
Stanislav.
Jean-Pierre Coulon wrote:
On Sat, 27 Nov 2010, Stanislav Kneifl wrote:
Can I redefine /DC in my MusiXTeX source instead of hacking into
psslurs.pro? I want to provide a MusiXTeX source usable by others.
You can use the following code to change the definition of /DC:
\special{ps: s...@dict begin /DC { /y2 ED /x2 ED /y1 ED /x1 ED gsave
1 AR ceiling setlinewidth 1 setlinecap 1 setlinejoin
x2 y2 10 AR add moveto x1 y1 lineto x2 y2 10 AR sub lineto stroke
grestore } def end}}%
I said 9 AR ceiling... for the demo, but after the first page break my
hairpins become thin again! What can I do?
If I make the first MusiXTeX pass only, accepting incomplete lines,
the effect is the same.
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
-------------------------------
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