Re: [TeX-Music] Making PostScript files with a virtual PostScript printer, .pdf

2009-06-18 Thread Peter Vanroose

--- Jean-Pierre Coulon  wrote:
> Forgive my lazyness:
> under XP, can you use the FOR command to automate a series of
> commands like this, if you have a number of images to process [...]

Personally I'm using "bash for XP" (aka Cygwin) for this kind of functionality: 
see http://www.cygwin.com/  Actually, Cygwin is "gnu for Windows", a complete 
set of unix tools for use under MS-Windows.  All you need from it is bash. I'm 
using it very regularly for any kind of commandline based stuff on XP.

--  Peter Vanroose.









  __
Låna pengar utan säkerhet. Jämför vilkor online hos Kelkoo.
http://www.kelkoo.se/c-100390123-lan-utan-sakerhet.html?partnerId=96915014

___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] Making PostScript files with a virtual PostScript printer, .pdf

2009-06-18 Thread Arjen Bax
Jean-Pierre Coulon writes:

> Yeah, a single page, but I start from a .pdf file made by someone else.

The tool pdftk might be what you are looking for. From the manual:
[quote]
Pdftk is a simple  tool
for doing everyday things with PDF documents.  Use it to:
[...]
* Split PDF Pages into a New Document
[...]
* Burst a PDF Document into Single Pages
[/quote]

In linux/unix, it is a command-line tool; in windows, it has a nice
GUI wrapper, downloadable from
.
After extracting the right pdf page, use pdf2ps to convert to eps.

Greetz,
Arjen Bax
___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] Making PostScript files with a virtual PostScript printer, .pdf

2009-06-18 Thread Jean-Pierre Coulon

On Thu, 18 Jun 2009, Cornelius C. Noack wrote:


if I understand your problem correctly, all you really want is a
method to cut a  few pages (actually: a single page) from a .ps
file, producing a new .ps file, which you then can convert to an
.eps file, e.g. for use in a LaTeX document.


Yeah, a single page, but I start from a .pdf file made by someone else.

I discovered that under MiKTeX you can type pdf2ps thingy.pdf p%d.ps
which produces p1.ps, p2.ps etc.


[...]
After that, again with gsview, you let it make an .eps file [...]


You're right, saying that an .eps step is still needed for \epsfig or 
\includegraphics to work correctly in LaTeX. Otherwise the image remains 
invisible.


Instead of entering gsview and using mouse clicks, I've found this utility 
under MiKTeX: eps2eps mypage.ps mynewpage.eps, and it works!


Forgive my lazyness to find the appropriate Usenet group for this: undex XP,
can you use the FOR command to automate a series of commands like this, if you
have a number of images to process:

eps2eps p1.ps p1.eps
eps2eps p2.ps p2.eps etc.

with a wildcard character or the like? eps2eps doesn't handle wildcard 
characters, and FOR/? gives an obscure response! Or maybe there was a pdf2ps 
option I missed?


Jean-Pierre Coulon  cou...@obs-nice.fr
___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music


Re: [TeX-Music] Making PostScript files with a virtual PostScript printer, .pdf

2009-06-18 Thread Cornelius C. Noack

On Wed, 17 Jun 2009, Jean-Pierre Coulon wrote:


Date: Wed, 17 Jun 2009 22:15:14 +0200 (Paris, Madrid)
From: Jean-Pierre Coulon 
Reply-To: Werner Icking Music Archive

To: Werner Icking Music Archive 
Subject: [TeX-Music] Making PostScript files with a virtual PostScript  printer,
.pdf

I often convert .doc, .ppt, .xls etc. files to PostScript with the 
method
described here: 
http://icking-music-archive.org/scores/Pdf_scores_HOWTO.php


i.e. installing a IBM 4039 LaserPrinter I'll never buy, and 
printing into a file.


For usual WIMA contributors this is only a step to produce a .pdf 
score, but sometimes, I have a .pdf document open with Acrobat 
Reader, and I want to produce the .ps of a single page to include 
it into a LaTeX document with \epsfig. So I start printing this 
page with this IBM 4039 printer, I check the box 'Print into a 
file', and when I say OK, the usual box asking me the output file 
name doesn't show up! Nothing else happens!


Is there anything wrong between this PS printer and Acrobat 
Reader? In another PS printer better?



if I understand your problem correctly, all you really want is a
method to cut a  few pages (actually: a single page) from a .ps
file, producing a new .ps file, which you then can convert to an
.eps file, e.g. for use in a LaTeX document.

I find that this is quite easy with gsview [the
ghostgum\gsview32.exe version, to be exact]. Just load gsview with
your .ps file, use the "file -> extract" button, and select your
desired page(s) . After the "OK" button, you will get a window for 
choosing a name for your new (extracted) .ps file and the desired

folder in which to store it.

After that, again with gsview, you let it make an .eps file
from the .ps file, and you're done.
   (Conveniently, gsview will warn you that the .ps --> .eps
conversion will work properly only with 1-page files.
But that is not news ...)

Hope this is what you wanted.

ccn.
--
-
  Prof.Dr. Cornelius C. Noack  Phones:
  Inst. f. Theor. Physik FB 1   office   : +49 (421) 218-2427
  Universit"at Bremen   secretary: -2422
  Otto-Hahn-Allee   Fax  : -4869
  D - 28334  Bremen home : +49 (421) 34 22 36
   Fax:  346 7872
  E-mail: noack at itp.uni-bremen.de   or  ccnoack at mailaps.org
  WWW-page: www.itp.uni-bremen.de/~noack
.
___
tex-mu...@icking-music-archive.org mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music