On Mon, Dec 02, 2002 at 06:26:41PM +0100, Martin Sommer wrote:
> Hello everyone,
> I have a long document, including some coloured pictures. I would like to
> print the coloured pages on a different printer.
> In LyX I can only print into _one_ ps-file. How can I produce separate
> ps-files for each page with Lyx? Or is there a way to split the whole ps-file
> into pages?
Like this?
PSSELECT(1) PSSELECT(1)
NAME
psselect - select pages from a PostScript file
SYNOPSIS
psselect [ -q ] [ -e ] [ -o ] [ -r ] [ -ppages ] [ pages ]
[ infile [ outfile ] ]
DESCRIPTION
Psselect selects pages from a PostScript document, creat-
ing a new PostScript file. The input PostScript file
should follow the Adobe Document Structuring Conventions.
> Can I separate coloured from b/w-pages and put them into different
> directories or do I have to sort them maually?
I can't see a reason why directories should not be able to do that...
Seriously: You should try a small script for postprocessing and define a
new output format "coloured_pages.ps" or so.
Then put a label "colourlabelxxx" on each page with coloured items,
and select the coloured pages from the .aux file.
Something like
psselect `grep colourlabel Diplom.aux \
| cut -d '{' -f 5 \
| cut -d '}' -f 1 \
| sort -n | uniq`
might help already.
But I guess there are simpler solutions. Maybe one even can extract the
colour information from the .ps directly...
Andre'
--
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)