>-----Original Message----- >From: TeX-Music [mailto:[email protected]] On Behalf Of Bob Tennent >Sent: Saturday, May 24, 2014 5:05 PM >To: 'Werner Icking Music Archive' >Subject: Re: [Tex-music] PMX installation experience > > >|One item I forgot to mention, that came up when I used pmx2pdf > >|"out of the box". The dvi image that PMX creates by default is > >|not centered on any size paper. In the batch script I normally > >|use at home, the call to dvips explicitly imposes the particular > >|offsets needed to center the image on letter-size paper. Of > >|course pmx2pdf did not do that, so the image initially came out > >|off center. At the time, I fixed that with some inline TeX offset > >|commands in the PMX source. For others who may have faced the > >|issue of getting it properly centered, I'll mention that I just > >|recalled a much simpler way: There's a PMX option that sets up > >|the offsets automagically, "Acl" for letter-size, and "Ac4" for > >|a4 paper. > >Don: When one installs MiKTeX or TeXLive, one of the parameters >that must be specified is the default papersize. I'd guess that >information is available to programs like pmxab. Certainly dvips >should be using that parameter without you "explicitly imposing" >offsets. In MiKTeX, you can set the default papersize in the >Settings wizard. > >Bob T. > papersize is one thing, but getting the image centered is another. Even if the papersize is selected correctly, there are some things I did or didn't do in coding PMX that guarantee the page image will NOT be centered by dvips unless you do explicitly adjust the offsets somewhere, either in the TeX file or in the command line options for dvips. I'm sorry but I can't tell you exactly what I did or didn't do in PMX to cause this behavior, at least not without some research. This issue has been there since day 1, and as I said, I normally get around it with dvips command line options in my batch script. Frankly I'm rather surprised that the question has never come up in any discussions about PMX. But the fact it has never come up tells me that I probably shouldn't spend any more effort on it, especially in light of the recently added PMX options Acl and Ac4 that will write the necessary offset commands into the TeX file.
--Don Simons ------------------------------- [email protected] mailing list If you want to unsubscribe or look at the archives, go to http://tug.org/mailman/listinfo/tex-music

