Bug#669369: texlive-extra-utils: pdfjoin (pdfjam) canot join pages

2012-04-30 Thread Michal Suchanek
Excerpts from Frank Küster's message of Sat Apr 28 21:29:37 +0200 2012:
 reassign 669369 texlive-latex-recommended
 retitle 669369 pdfpages: rotateoversize mess with undersized pages
 notforwarded  669369
 stop
 
 Dear David,
 
 (please keep the bug-number address in Cc, so that the mails get
 archived at the proper place)
 
 David Firth d.fi...@warwick.ac.uk wrote:
 
  Dear Frank
 
  Thanks for your message.  I haven't been able to check this, but
  I think that the behaviour reported below is not a bug.  The
  complainer is simply saying that the software does not do what
  he/she wants.  The answer is that the complainer should not use
  the software if they don't find it useful.

Oh, that will solve the problem completely, for sure.

 
  I think that the behaviour reported here is as documented.  The
  complainer says that an option is undocumented, but that's not
  true.  It's in the pdfpages manual, to which explicit reference
  is made in the documentation.  

Where is it documented?

The --help text mentions pdfpages manual but does not mention explicitly
where it is located.

The pdfpages.pdf file included with the package says this:

rotateoversize This option allows to rotate oversized pages. E.g. pages in
landscape orientation are oversized relatively to their portrait counter-
part, because they do not match within the contour of a portrait page
without rotating them. By default oversized pages are scale and are not
rotated. Either ‘true’ or ‘false’ (or no value, which is equivalent to 
‘true’).
(Default: rotateoversize=false)

I don't see how this implies that slightly smaller pages of the same
orientation as other pages are rotated when the option is enabled.

Fortunately, the output of pdfjam at least dumps the options, otherwise
I would not have the slightest idea this option is used. pdfjam sets
this option to non-default value and does not document that or the
option at all.

 
  I am sorry if I seem grumpy about this.  
 
 No problem - I think that you are right from your point of view.
 However, some problems still persist - but that is an issue of
 pdfpages.sty.  Therefore I'm reassigning the bug.
 
   2) the pages are not oversized, they are undersized
   3) rotating the pages is in no way useful since they are actually the
   same format (landscape). It would be only useful if rotating the page
   would yield larger page size after fitting it to the output paper size.
 
 This can probably be reproduced with pdfpages in a LaTeX document.

Yes, I expect that since pdfjam is supposedly creating a TeX document
which is then compiled into the bogus joined pdf.

Thanks

Michal



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669369: texlive-extra-utils: pdfjoin (pdfjam) canot join pages

2012-04-30 Thread David Firth
On 2012-04-30 at 14:16, Michal Suchanek wrote:
 Excerpts from Frank Küster's message of Sat Apr 28 21:29:37 +0200 2012:
  reassign 669369 texlive-latex-recommended
  retitle 669369 pdfpages: rotateoversize mess with undersized pages
  notforwarded  669369
  stop
  
  Dear David,
  
  (please keep the bug-number address in Cc, so that the mails get
  archived at the proper place)
  
  David Firth d.fi...@warwick.ac.uk wrote:
  
   Dear Frank
  
   Thanks for your message.  I haven't been able to check this, but
   I think that the behaviour reported below is not a bug.  The
   complainer is simply saying that the software does not do what
   he/she wants.  The answer is that the complainer should not use
   the software if they don't find it useful.
 
 Oh, that will solve the problem completely, for sure.
 

Great!  (But still some quibbles appear below, I notice.  I can't deal
with those here.)

In the README file (in the package, or online at
  http://go.warwick.ac.uk/pdfjam
it says
All of the other scripts provided in the PDFjam package are
optional extras. They are simple wrappers for calls to pdfjam,
designed to perform some common tasks such as joining or n-upping
PDF files or to illustrate other features; they are not very
elaborate, nor are they extensively tested. They are probably
best thought of as simple templates that can be used for
constructing more elaborate wrapper scripts as required.

That's the key part of the documentation to understand, I think.

I don't think the pdfjam script itself changes rotateoversize
from its default behaviour, does it?  It's pdfjoin that does that.

All the best -- David
 

  
   I think that the behaviour reported here is as documented.  The
   complainer says that an option is undocumented, but that's not
   true.  It's in the pdfpages manual, to which explicit reference
   is made in the documentation.  
 
 Where is it documented?
 
 The --help text mentions pdfpages manual but does not mention explicitly
 where it is located.
 
 The pdfpages.pdf file included with the package says this:
 
 rotateoversize This option allows to rotate oversized pages. E.g. pages in
 landscape orientation are oversized relatively to their portrait counter-
 part, because they do not match within the contour of a portrait page
 without rotating them. By default oversized pages are scale and are not
 rotated. Either ‘true’ or ‘false’ (or no value, which is equivalent to 
 ‘true’).
 (Default: rotateoversize=false)
 
 I don't see how this implies that slightly smaller pages of the same
 orientation as other pages are rotated when the option is enabled.
 
 Fortunately, the output of pdfjam at least dumps the options, otherwise
 I would not have the slightest idea this option is used. pdfjam sets
 this option to non-default value and does not document that or the
 option at all.
 
  
   I am sorry if I seem grumpy about this.  
  
  No problem - I think that you are right from your point of view.
  However, some problems still persist - but that is an issue of
  pdfpages.sty.  Therefore I'm reassigning the bug.
  
2) the pages are not oversized, they are undersized
3) rotating the pages is in no way useful since they are actually the
same format (landscape). It would be only useful if rotating the page
would yield larger page size after fitting it to the output paper size.
  
  This can probably be reproduced with pdfpages in a LaTeX document.
 
 Yes, I expect that since pdfjam is supposedly creating a TeX document
 which is then compiled into the bogus joined pdf.
 
 Thanks
 
 Michal



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669369: texlive-extra-utils: pdfjoin (pdfjam) canot join pages

2012-04-28 Thread Frank Küster
reassign 669369 texlive-latex-recommended
retitle 669369 pdfpages: rotateoversize mess with undersized pages
notforwarded  669369
stop

Dear David,

(please keep the bug-number address in Cc, so that the mails get
archived at the proper place)

David Firth d.fi...@warwick.ac.uk wrote:

 Dear Frank

 Thanks for your message.  I haven't been able to check this, but
 I think that the behaviour reported below is not a bug.  The
 complainer is simply saying that the software does not do what
 he/she wants.  The answer is that the complainer should not use
 the software if they don't find it useful.

 I think that the behaviour reported here is as documented.  The
 complainer says that an option is undocumented, but that's not
 true.  It's in the pdfpages manual, to which explicit reference
 is made in the documentation.  

 I am sorry if I seem grumpy about this.  

No problem - I think that you are right from your point of view.
However, some problems still persist - but that is an issue of
pdfpages.sty.  Therefore I'm reassigning the bug.

  2) the pages are not oversized, they are undersized
  3) rotating the pages is in no way useful since they are actually the
  same format (landscape). It would be only useful if rotating the page
  would yield larger page size after fitting it to the output paper size.

This can probably be reproduced with pdfpages in a LaTeX document.

Regards, Frank

-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669369: texlive-extra-utils: pdfjoin (pdfjam) canot join pages

2012-04-20 Thread Frank Küster
forwarded 669369 d.fi...@warwick.ac.uk
stop

Dear David,

we (i.e. Debian TeXLive packages) have received a bug report about
pdfjoin.  Can you please comment on that?

TIA, Frank

Michal Suchanek michal.sucha...@ruk.cuni.cz wrote:

 Package: texlive-extra-utils
 Version: 2011.20120322-1
 Severity: normal

 Hello,

 I tried to use pdfjoin which is part of TeX to join PDF document pages.

 It turns out that when the first page of the document is slightly larger
 than the rest of the pages this prevents pdfjam from producing usable
 output. The first page has correct orientation but the following pages
 are rotated.

 It seems that the undocumented parameter --rotate-oversized (set to
 true) might be the culprit. However

 1) the parameter is not documented
 2) the pages are not oversized, they are undersized
 3) rotating the pages is in no way useful since they are actually the
 same format (landscape). It would be only useful if rotating the page
 would yield larger page size after fitting it to the output paper size.

 Attaching sample (empty) pages.

  $ pdfjoin --frame true  page1.pdf page2.pdf 
   
   pdfjam: This is pdfjam version 2.08.
   pdfjam: Reading any site-wide or user-specific defaults...
   (none found)
   pdfjam: Effective call for this run of pdfjam:
   /usr/bin/pdfjam --fitpaper 'true' --rotateoversize 'true' --suffix 
 joined --frame 'true' -- page1.pdf - page2.pdf - 
   pdfjam: Calling pdflatex...
   pdfjam: Finished.  Output was to '/scratch/tmp/page2-joined.pdf'.


 ##
  List of ls-R files

 -rw-r--r-- 1 root root 1587 Apr 18 20:05 /var/lib/texmf/ls-R
 lrwxrwxrwx 1 root root 29 Apr 14 01:43 /usr/share/texmf/ls-R - 
 /var/lib/texmf/ls-R-TEXMFMAIN
 lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R - 
 /var/lib/texmf/ls-R-TEXLIVEMAIN
 -rw-rw-r-- 1 root staff 79 Dec  9  2010 /usr/local/share/texmf/ls-R
 lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R - 
 /var/lib/texmf/ls-R-TEXLIVEDIST
 lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R - 
 /var/lib/texmf/ls-R-TEXLIVEDIST
 lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R - 
 /var/lib/texmf/ls-R-TEXLIVEMAIN
 ##
  Config files
 -rw-r--r-- 1 root root 838 Apr 18 20:05 /etc/texmf/web2c/texmf.cnf
 -rw-r--r-- 1 root root 4746 Apr 18 20:05 /var/lib/texmf/web2c/fmtutil.cnf
 lrwxrwxrwx 1 root root 32 Apr 10 10:09 /usr/share/texmf/web2c/updmap.cfg - 
 /var/lib/texmf/updmap.cfg-DEBIAN
 -rw-r--r-- 1 root root 3245 Apr 18 20:05 
 /var/lib/texmf/tex/generic/config/language.dat
 ##
  Files in /etc/texmf/web2c/
 total 8
 -rw-r--r-- 1 root root 283 Nov 10  2008 mktex.cnf
 -rw-r--r-- 1 root root 838 Apr 18 20:05 texmf.cnf
 ##
  md5sums of texmf.d
 ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
 1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

 -- System Information:
 Debian Release: wheezy/sid
   APT prefers stable
   APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 
 'experimental'), (111, 'oldstable')
 Architecture: amd64 (x86_64)

 Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: 
 LC_ALL set to en_US.UTF-8)
 Shell: /bin/sh linked to /bin/bash

 Versions of packages texlive-extra-utils depends on:
 ii  dpkg  1.16.2
 ii  install-info  4.13a.dfsg.1-6
 ii  python2.7.2-10
 ii  tex-common3.8
 ii  texlive-base  2011.20120410-1
 ii  texlive-binaries  2011.20120410-1
 ii  texlive-common2011.20120410-1

 Versions of packages texlive-extra-utils recommends:
 ii  ghostscript   9.05~dfsg-4
 ii  ruby  4.8
 ii  ruby1.8 [ruby-interpreter]1.8.7.352-2
 ii  ruby1.9.1 [ruby-interpreter]  1.9.3.0-2

 Versions of packages texlive-extra-utils suggests:
 ii  chktex  none
 ii  dvidvi  none
 ii  dvipng  none
 ii  fragmaster  none
 ii  lacheck 1.26-11.1
 ii  latexdiff   none
 ii  latexmk none
 ii  purifyeps   1.0a-1
 ii  xindy   2.4-1

 Versions of packages tex-common depends on:
 ii  debconf [debconf-2.0]  1.5.36.1
 ii  dpkg   1.16.2
 ii  ucf3.0025+nmu1

 Versions of packages tex-common suggests:
 ii  debhelper  9.20120322

 Versions of packages texlive-extra-utils is related to:
 ii  tex-common3.8
 ii  texlive-binaries  2011.20120410-1

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



-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#669369: texlive-extra-utils: pdfjoin (pdfjam) canot join pages

2012-04-19 Thread Michal Suchanek
Package: texlive-extra-utils
Version: 2011.20120322-1
Severity: normal

Hello,

I tried to use pdfjoin which is part of TeX to join PDF document pages.

It turns out that when the first page of the document is slightly larger
than the rest of the pages this prevents pdfjam from producing usable
output. The first page has correct orientation but the following pages
are rotated.

It seems that the undocumented parameter --rotate-oversized (set to
true) might be the culprit. However

1) the parameter is not documented
2) the pages are not oversized, they are undersized
3) rotating the pages is in no way useful since they are actually the
same format (landscape). It would be only useful if rotating the page
would yield larger page size after fitting it to the output paper size.

Attaching sample (empty) pages.

 $ pdfjoin --frame true  page1.pdf page2.pdf 
  
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
  (none found)
  pdfjam: Effective call for this run of pdfjam:
  /usr/bin/pdfjam --fitpaper 'true' --rotateoversize 'true' --suffix 
joined --frame 'true' -- page1.pdf - page2.pdf - 
  pdfjam: Calling pdflatex...
  pdfjam: Finished.  Output was to '/scratch/tmp/page2-joined.pdf'.


##
 List of ls-R files

-rw-r--r-- 1 root root 1587 Apr 18 20:05 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Apr 14 01:43 /usr/share/texmf/ls-R - 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R - 
/var/lib/texmf/ls-R-TEXLIVEMAIN
-rw-rw-r-- 1 root staff 79 Dec  9  2010 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R - 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf-dist/ls-R - 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Apr 10 10:09 /usr/share/texlive/texmf/ls-R - 
/var/lib/texmf/ls-R-TEXLIVEMAIN
##
 Config files
-rw-r--r-- 1 root root 838 Apr 18 20:05 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 4746 Apr 18 20:05 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Apr 10 10:09 /usr/share/texmf/web2c/updmap.cfg - 
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3245 Apr 18 20:05 
/var/lib/texmf/tex/generic/config/language.dat
##
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Nov 10  2008 mktex.cnf
-rw-r--r-- 1 root root 838 Apr 18 20:05 texmf.cnf
##
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'testing'), (410, 'unstable'), (200, 
'experimental'), (111, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texlive-extra-utils depends on:
ii  dpkg  1.16.2
ii  install-info  4.13a.dfsg.1-6
ii  python2.7.2-10
ii  tex-common3.8
ii  texlive-base  2011.20120410-1
ii  texlive-binaries  2011.20120410-1
ii  texlive-common2011.20120410-1

Versions of packages texlive-extra-utils recommends:
ii  ghostscript   9.05~dfsg-4
ii  ruby  4.8
ii  ruby1.8 [ruby-interpreter]1.8.7.352-2
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.0-2

Versions of packages texlive-extra-utils suggests:
ii  chktex  none
ii  dvidvi  none
ii  dvipng  none
ii  fragmaster  none
ii  lacheck 1.26-11.1
ii  latexdiff   none
ii  latexmk none
ii  purifyeps   1.0a-1
ii  xindy   2.4-1

Versions of packages tex-common depends on:
ii  debconf [debconf-2.0]  1.5.36.1
ii  dpkg   1.16.2
ii  ucf3.0025+nmu1

Versions of packages tex-common suggests:
ii  debhelper  9.20120322

Versions of packages texlive-extra-utils is related to:
ii  tex-common3.8
ii  texlive-binaries  2011.20120410-1

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


page1.pdf
Description: Adobe PDF document


page2.pdf
Description: Adobe PDF document