[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568167: epstopdf: the --nogs option does not work as a filter



Package: texlive-font-utils
Version: 2009-7
Severity: normal

  Hello,

  The --nogs option of epstopdf does not work as advertized; according
to the manual page, it should behave essentially as the --filter
option, but only producing the intermediate PS file and not feeding it
to ghostscript. But see:

~ epstopdf --nogs < bidule.ps > /dev/null
[...]
!!! Error: Input filename missing

Whereas:

~ epstopdf --filter < bidule.ps > /dev/null

does not complain.

  If I run it like

~ epstopdf --nogs bidule.ps

then the output file is '-' -- but not standard output. The problem is
that the opening for output file is:

  open($OUT, '>', $OutputFilename) or error "Cannot write \"$OutputFilename\"";

(with $OutputFilename = "-" for --nogs), but perldoc -f open says:

  In the 2-arguments (and 1-argument) form opening '-' opens STDIN and
  opening '>-' opens STDOUT.
  
  In short, opening '-' to get stdout does work as 

open HANDLE, "> -";

  but not as

open HANDLE, ">", "-";

  Cheers,

	Vincent


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-font-utils depends on:
ii  dpkg                          1.15.5.6   Debian package management system
ii  tex-common                    2.06       common infrastructure for building
ii  texlive-base                  2009-7     TeX Live: Essential programs and f
ii  texlive-binaries              2009-5     Binaries for TeX Live
ii  texlive-common                2009-7     TeX Live: Base component

texlive-font-utils recommends no packages.

Versions of packages texlive-font-utils suggests:
ii  psutils                       1.17-27    A collection of PostScript documen
pn  t1utils                       <none>     (no description available)

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  dpkg                          1.15.5.6   Debian package management system
ii  ucf                           3.0025     Update Configuration File: preserv

Versions of packages texlive-font-utils is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    2.06       common infrastructure for building

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:




Reply to: