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

Bug#159682: marked as done (dvips defaults to a4 paper, screws up psutils)



Your message dated Mon, 01 Aug 2011 22:20:18 +0000
with message-id <E1Qo0qQ-00036w-J8@franck.debian.org>
and subject line Bug#49149: fixed in texlive-base 2009-12
has caused the Debian Bug report #49149,
regarding dvips defaults to a4 paper, screws up psutils
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
49149: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=49149
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tetex-bin
Version: 1.0.7+20011202

dvips uses a default papersize (in /etc/texmf/dvips/config.ps) of a4
regardless of the content of /etc/papersize. The default papersize
setting also provides no DSC comment flags in the Postscript output.

My /etc/papersize is letter and ps2pdf seems to provide me
with a proper letter-sized pdf file from dvips output. However,
psutils interpred my originally letter-sized document as
a4. I think this is related to the following excerpt from
/usr/share/doc/psutils-1.17/README:

> DVIPS USERS
>
> The latest versions of dvips have changed the default
> setting of the DSC comment flag; you must generate with
> DSC comments for PSUtils to work.

My problem was resolved by changing /etc/texmf/dvips/config.ps

Possibly related to this: psutils bugs #148363 and #46329.

It would be nice if config.ps could be configured automatically
upon install according to /etc/papersize and with the DSC comments
intact.

Comments found on Usenet re: dvips config file at end of this
message.

My system info:

# dvips -v
This is dvips(k) 5.86e Copyright 2001 Radical Eye Software
(www.radicaleye.com)

# uname -a
Linux quimby 2.4.18 #1 Wed Aug 7 22:39:16 EDT 2002 i686 unknown

# dpkg -s libc6 | grep ^Version
Version: 2.2.5-11.1

---------------------------------------------------------------

Comment on Usenet from nililand.siegburg@t-online.de:

(http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Xns925760FC41C7Dnililandnililandabcd%40nililand.de&rnum=5)

> The default of dvips is stored in config.ps.
>
> From textflow_doc.txt:
>
> "In <texmf>/dvips/config there is a file named config.ps. (Note
> that UNIX users will require root privileges to alter this file.)
> Edit config.ps using a text editor. Toward the latter part of the
> file, there are lines that begin with "@". These control the paper
> size selections. The first set of these lines determines the default
> paper size dvips will use. If this first set of lines does not
> specify the desired default paper size, another set of lines can
> be moved or entered into the first position. For example, putting:
>
> @ letterSize 8.5in 11in
> @+ %%PaperSize: Letter
>
> (with a blank line before and after) as the first set of "@" lines
> will make dvips will default to using US letter paper.
>
> Now, there are two types of dvips paper size commands. The first type
> adds only paper size *comments* to the PostScript output:
>
> @ A4size 210mm 297mm
> @+ %%PaperSize: A4
>
> The @+ line says to place the PostScript comment "%% PaperSize: A4" into
> the output file. Such PostScript DSC (Document Structuring Convention)
> comments are just hints, or suggestions about which type of paper to
> use. In fact many/most PostScript interpreters (Ghostscript, printers)
> will just ignore these and use their own default paper sizes. In a way,
> this is desirable as the comments will not cause any problems if the
> PostScript file is then printed on paper of different size than the
> comments suggest.
>
> A second type of dvips paper size command adds a PostScript command
> which actively sets and enforces a given paper size:
>
> @ a4 210mm 297mm
> @+ ! %%DocumentPaperSizes: a4
> @+ %%BeginPaperSize: a4
> @+ a4
> @+ %%EndPaperSize
>
> Note the three comments (The "!" just means place the comment at the
> beginning of the PostScript file.) and the "a4" PostScript command.
>
> Therefore, PostScript produced via "dvips -t A4size ..." is different
> from that produced with "dvips -t a4 ...". The former may not always
> be automatically identified as wanting A4 paper, the latter may demand
> A4 - causing some printers to refuse to print on anything other than A4
> paper."
>



--- End Message ---
--- Begin Message ---
Source: texlive-base
Source-Version: 2009-12

We believe that the bug you reported is fixed in the latest version of
texlive-base, which is due to be installed in the Debian FTP archive:

texlive-base_2009-12.diff.gz
  to main/t/texlive-base/texlive-base_2009-12.diff.gz
texlive-base_2009-12.dsc
  to main/t/texlive-base/texlive-base_2009-12.dsc
texlive-base_2009-12_all.deb
  to main/t/texlive-base/texlive-base_2009-12_all.deb
texlive-common_2009-12_all.deb
  to main/t/texlive-base/texlive-common_2009-12_all.deb
texlive-fonts-recommended-doc_2009-12_all.deb
  to main/t/texlive-base/texlive-fonts-recommended-doc_2009-12_all.deb
texlive-fonts-recommended_2009-12_all.deb
  to main/t/texlive-base/texlive-fonts-recommended_2009-12_all.deb
texlive-full_2009-12_all.deb
  to main/t/texlive-base/texlive-full_2009-12_all.deb
texlive-generic-recommended_2009-12_all.deb
  to main/t/texlive-base/texlive-generic-recommended_2009-12_all.deb
texlive-latex-base-doc_2009-12_all.deb
  to main/t/texlive-base/texlive-latex-base-doc_2009-12_all.deb
texlive-latex-base_2009-12_all.deb
  to main/t/texlive-base/texlive-latex-base_2009-12_all.deb
texlive-latex-recommended-doc_2009-12_all.deb
  to main/t/texlive-base/texlive-latex-recommended-doc_2009-12_all.deb
texlive-latex-recommended_2009-12_all.deb
  to main/t/texlive-base/texlive-latex-recommended_2009-12_all.deb
texlive-luatex_2009-12_all.deb
  to main/t/texlive-base/texlive-luatex_2009-12_all.deb
texlive-metapost-doc_2009-12_all.deb
  to main/t/texlive-base/texlive-metapost-doc_2009-12_all.deb
texlive-metapost_2009-12_all.deb
  to main/t/texlive-base/texlive-metapost_2009-12_all.deb
texlive-omega_2009-12_all.deb
  to main/t/texlive-base/texlive-omega_2009-12_all.deb
texlive-pictures-doc_2009-12_all.deb
  to main/t/texlive-base/texlive-pictures-doc_2009-12_all.deb
texlive-pictures_2009-12_all.deb
  to main/t/texlive-base/texlive-pictures_2009-12_all.deb
texlive-xetex_2009-12_all.deb
  to main/t/texlive-base/texlive-xetex_2009-12_all.deb
texlive_2009-12_all.deb
  to main/t/texlive-base/texlive_2009-12_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 49149@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Küster <frank@debian.org> (supplier of updated texlive-base package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 28 Jul 2011 22:03:55 +0200
Source: texlive-base
Binary: texlive-base texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-pictures texlive-luatex texlive-metapost texlive-omega texlive-xetex texlive texlive-full texlive-common texlive-fonts-recommended-doc texlive-latex-base-doc texlive-latex-recommended-doc texlive-metapost-doc texlive-pictures-doc
Architecture: source all
Version: 2009-12
Distribution: unstable
Urgency: low
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Frank Küster <frank@debian.org>
Description: 
 texlive    - TeX Live: A decent selection of the TeX Live packages
 texlive-base - TeX Live: Essential programs and files
 texlive-common - TeX Live: Base component
 texlive-fonts-recommended - TeX Live: Recommended fonts
 texlive-fonts-recommended-doc - TeX Live: Documentation files for texlive-fonts-recommended
 texlive-full - TeX Live: metapackage pulling in all components of TeX Live
 texlive-generic-recommended - TeX Live: Recommended generic packages
 texlive-latex-base - TeX Live: Basic LaTeX packages
 texlive-latex-base-doc - TeX Live: Documentation files for texlive-latex-base
 texlive-latex-recommended - TeX Live: LaTeX recommended packages
 texlive-latex-recommended-doc - TeX Live: Documentation files for texlive-latex-recommended
 texlive-luatex - TeX Live: LuaTeX packages
 texlive-metapost - TeX Live: MetaPost (and Metafont) drawing packages
 texlive-metapost-doc - TeX Live: Documentation files for texlive-metapost
 texlive-omega - TeX Live: Omega
 texlive-pictures - TeX Live: Graphics packages and programs
 texlive-pictures-doc - TeX Live: Documentation files for texlive-pictures
 texlive-xetex - TeX Live: XeTeX packages
Closes: 49149 589205 606039 613690
Changes: 
 texlive-base (2009-12) unstable; urgency=low
 .
   [ Norbert Preining ]
   * texlive-base conflict with texlive-base-bin-doc to get it removed
     (Closes: #589205)
 .
   [ Hilmar Preusse ]
   * texlive-pictures suggests dot2tex (Closes: #613690)
   * tighten BD-Indep of texlive-base to tex-common (>= 2.10) and rebuild
     (Closes: #606039)
 .
   [ Frank Küster ]
   * Install a hook in libpaper.d and let our postinst call it for new
     installations.  This means that the default paper size for dvips,
     pdfTeX, dvipdfmx and XDvi will now be the one given by libpaper, and
     closes: #49149. Yes, the bug number has 5 digits.
   * Manage the following configuration files with ucf to achieve this:
     pdftexconfig.tex, config.ps, dvipdfmx.cfg and XDvi
Checksums-Sha1: 
 c17fad50bf56a1e5b74ad5b4294165ea38bf3336 1584 texlive-base_2009-12.dsc
 aabf325de54661d17bd639e1b5e2ab65757b44c5 695220 texlive-base_2009-12.diff.gz
 45b404f271b6937a3c747d1c53cf910ee6eb5efa 14740438 texlive-base_2009-12_all.deb
 080b14222618af0f577117a27da34f8695ff9e05 1725516 texlive-generic-recommended_2009-12_all.deb
 d7663e6f7844278b1d1694fa748eea294d7ade26 1423138 texlive-latex-base_2009-12_all.deb
 f13c446343aee6ed0dfac5420543934ed43c61bf 6776082 texlive-latex-recommended_2009-12_all.deb
 d6bde4a44c55ce8a9bf3420a647c34140de4de01 7263386 texlive-fonts-recommended_2009-12_all.deb
 8d7f263fa3fd8b3728879ce57edc927be1556b62 868014 texlive-pictures_2009-12_all.deb
 f4997ed8b79d3ca40a30e3766735d5e3d558d1cf 984920 texlive-luatex_2009-12_all.deb
 0f8d09a9fcf78d2b53da6ff40642639998331fef 440942 texlive-metapost_2009-12_all.deb
 d33a28296f9fb6d78c00911f77224a4439f935b3 2271332 texlive-omega_2009-12_all.deb
 43170baeea9720aa7c5eeb8c1cb12d3f203c85c6 5734450 texlive-xetex_2009-12_all.deb
 209d7ac69f7c5433411025cea648fcdda7d18db6 28346 texlive_2009-12_all.deb
 1ae62d433d1fa12598e6120cc631b593baa91aa0 28722 texlive-full_2009-12_all.deb
 b693cbd8cc5b14a7fa956f63dd4d2a1b31f7e380 100926 texlive-common_2009-12_all.deb
 1b39df18d7dc2c778feea4f09268aa406c83243b 2411784 texlive-fonts-recommended-doc_2009-12_all.deb
 fcff72c2a6662e9efff028cf26278b4b9842b8fb 40768470 texlive-latex-base-doc_2009-12_all.deb
 3a41b5c0bd25c4fb32b40c7e2b22a22233fe3338 15448234 texlive-latex-recommended-doc_2009-12_all.deb
 303a78f001cfae42a22400f0cb5347f0546c94b7 9330892 texlive-metapost-doc_2009-12_all.deb
 67e29b0384890479894a789b5227c40b172b9fb5 11890238 texlive-pictures-doc_2009-12_all.deb
Checksums-Sha256: 
 1ed8b98e03b316100527cc82069c6cfbc1062d3b2ab8b9f05c8f43c933076f29 1584 texlive-base_2009-12.dsc
 de6852550a9dc578e8183416cd1c838f2e9f5c80986b8a5326635f24a35f0a39 695220 texlive-base_2009-12.diff.gz
 3b6da1dc06dc1ef8474c745c557decfd829716e1d79d8c89b8e87fb0c6f4b0cf 14740438 texlive-base_2009-12_all.deb
 76150a4c9f01a8d4e28383b1af8f2f87e5b60c382ce86f5dad67584af1086da0 1725516 texlive-generic-recommended_2009-12_all.deb
 f09d63b71de93ee6f13135fb1ab93c7bb32b58cd79cb1688e3b95ac25faedf9d 1423138 texlive-latex-base_2009-12_all.deb
 17d65dd04472249f433f92a9762faf69ba0e61711e381e99e94cd4647dd3d285 6776082 texlive-latex-recommended_2009-12_all.deb
 d9d968ce9c8a0142d69f8be8d26f210cc55ba4f4b582a3defd41ecd89ffd8278 7263386 texlive-fonts-recommended_2009-12_all.deb
 6c856cbcde6e7e0fcda7d0c1d4d61798232332db184ea270426249dc2cc99c4e 868014 texlive-pictures_2009-12_all.deb
 74eb837e1b636f2797619048285bac7bf118a35f6be2da24ce85709a94addb15 984920 texlive-luatex_2009-12_all.deb
 b82ae42461b48c4b84d9ccf67e6428fd1fd6689c1be2c14074f532d109030705 440942 texlive-metapost_2009-12_all.deb
 8914319757365f09e3ef5e03768530528145da6745e6cdfc76fcf4e39bdde8b4 2271332 texlive-omega_2009-12_all.deb
 e0a59c4bdf0e3e2ce94256f668a8996f5155d9e995e2c5cd86b2cdc12180fbe6 5734450 texlive-xetex_2009-12_all.deb
 d55dd37bb2c1f92021e6c92764bcf39f4e9ea7c7dd3579ed2e43397466090e04 28346 texlive_2009-12_all.deb
 00221622b8809507a485ceb256d066983cfab26bd7b02f79c18024a2d840e7cf 28722 texlive-full_2009-12_all.deb
 792cdc18483cc5c1759fc96b68738c2961d43ff22657fbeb07ec9995bec0d6f6 100926 texlive-common_2009-12_all.deb
 2726d085dd56fd43ddbf587f38b3a082ebdd01714b8fbea8cd80465a67fb2b28 2411784 texlive-fonts-recommended-doc_2009-12_all.deb
 4a3ce011aff3b5dc0e39d9df63f0ff3c5f9ca0101e5b1af8ca0deb8052b46b8f 40768470 texlive-latex-base-doc_2009-12_all.deb
 e4af33a2c8ac2e9fe7b3e2341f6df43f89e750c2d303d7c2a20dffe7a119fd3a 15448234 texlive-latex-recommended-doc_2009-12_all.deb
 e82a90ac17fa7fba5c0e5619c28f66646d54e52a0b2df1d54f80bdf3a4ccd482 9330892 texlive-metapost-doc_2009-12_all.deb
 0cb2de27086151f30afce2e6894b22ac4a46615daff062db84aa7541f13306cd 11890238 texlive-pictures-doc_2009-12_all.deb
Files: 
 d11bcf9b0225f88f8f8a2251bd87d846 1584 tex optional texlive-base_2009-12.dsc
 f98c9cdc29abcd3b7b5a624345d199f0 695220 tex optional texlive-base_2009-12.diff.gz
 cec4cacce1c9a1c41e3d780a66b30321 14740438 tex optional texlive-base_2009-12_all.deb
 269822b5504f56797b3919e5bf9a43ed 1725516 tex optional texlive-generic-recommended_2009-12_all.deb
 bd51b6f0969e7cecabcdbb188f12f614 1423138 tex optional texlive-latex-base_2009-12_all.deb
 b0d2eb6f0a9680fc1016bc0719149954 6776082 tex optional texlive-latex-recommended_2009-12_all.deb
 c8fcba29e1751e5f04acdcc3156ff29d 7263386 fonts optional texlive-fonts-recommended_2009-12_all.deb
 ec63dc10d10bd250bb5f11c26cc4f62d 868014 tex optional texlive-pictures_2009-12_all.deb
 ab39f804609bf60a8453733ffacf44d7 984920 tex optional texlive-luatex_2009-12_all.deb
 932ecd4e3dba4afc3591f044c71d3c45 440942 tex optional texlive-metapost_2009-12_all.deb
 999e04fb531803db1628419a506133ea 2271332 tex optional texlive-omega_2009-12_all.deb
 33101c23601d11860f877dc491f98aa0 5734450 tex optional texlive-xetex_2009-12_all.deb
 3722724157aebe19731e0b47058dfe88 28346 tex optional texlive_2009-12_all.deb
 b5aa2ed5cad9413d19a76513d1b37f27 28722 tex optional texlive-full_2009-12_all.deb
 1a4607b82116530c2ca3299a87626c94 100926 tex optional texlive-common_2009-12_all.deb
 453ece6db09389a670b2d77132e463a8 2411784 doc optional texlive-fonts-recommended-doc_2009-12_all.deb
 67a9872e74c2e80eb8b20f0a2e7240d6 40768470 doc optional texlive-latex-base-doc_2009-12_all.deb
 bc786a9969ae33132e03940e5ff7e06f 15448234 doc optional texlive-latex-recommended-doc_2009-12_all.deb
 b73a482ceedf18b378a1f36a862ab163 9330892 doc optional texlive-metapost-doc_2009-12_all.deb
 98478293e995e33161c5eea4ad4611f9 11890238 doc optional texlive-pictures-doc_2009-12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk43F1IACgkQ+xs9YyJS+hp42gCeIVjzscdnSOSPBcRdWxvTW/QM
ijUAnjJfuhIPyudQKbsrSpYqOkZ7KhYP
=gY3t
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: