#468225 pdfjam: pdfnup does not use /etc/papersize

#468225#5
Date:
2008-02-27 20:11:39 UTC
From:
To:
pdfnup does not use /etc/papersize to set the default papersize.
#468225#10
Date:
2010-05-09 15:15:39 UTC
From:
To:
tags 468225 + moreinfo
thanks

#include <hallo.h>
* Andre Lehovich [Wed, Feb 27 2008, 12:11:39PM]:

I am not an expert on papersize definitions. And there seem to be two
options for papersizes, the one that is passed to "document" and the
other passed to the geometry package. See --paper... options in pdfjam
manpage (recent pdfjam like 2.04++). Which one do you want to be modified?

Regards,
Eduard.

#468225#17
Date:
2012-04-27 23:07:46 UTC
From:
To:
Attached is a patch to make pdfjam read /etc/papersize with the same effect
as explicit options --letterpaper --a4paper etc.   The patch looks big
because I had
to relocate the error_exit() function higher up in the script so it
could be called
by the new code (which is only a few lines).

Note - I can't include the patch in the body of this email because
thunderbird sometimes
corrupts white space even in plain-text emails (ugh).

#468225#26
Date:
2017-07-06 17:18:56 UTC
From:
To:
This bug is in the current version of pdfjam in the texlive-extra-utils
package:

# apt-cache show texlive-extra-utils
Package: texlive-extra-utils
Source: texlive-extra
Version: 2017.20170629-1
Installed-Size: 24687

Leo

#468225#31
Date:
2017-07-09 13:49:12 UTC
From:
To:
	paper=a4paper
line with
	paper=`paperconf`
(dependencies are fine, texlive-base already requires libpaper-utils), but
that doesn't work. One needs to
* translate aN into aNpaper (like a4 into a4paper)
* check the list of /etc/papersize papers with the list of supported
  papersizes in the geometry package
Not a big patch, not a big problem, but someone has to do it.

Enjoy

Norbert

#468225#36
Date:
2019-01-16 08:05:31 UTC
From:
To:

#468225#41
Date:
2019-07-13 15:54:49 UTC
From:
To:
On 28.04.12 01:07, Jim Avera wrote:

Hi Jim,
Sorry, late response.

Many thanks for the patch! Unfortunately we can't use the patch as it is.

1. Simply adding "paper" to end of the string found in /etc/papersize
does not always give the correct result.
2. The geometry package (used by pdfjam) knows not exactly the same set
of paper sizes as libpaper1 (compare
/var/lib/dpkg/info/libpaper1\:amd64.templates w/ the papersizes found in
the geometry documentation.

So one would have to implement some kind of translation table. Would you
be so kind to do that? Thanks!

Hilmar

#468225#46
Date:
2019-07-13 15:56:42 UTC
From:
To:
On 28.04.12 01:07, Jim Avera wrote:

Hi Jim,
Sorry, late response.

Many thanks for the patch! Unfortunately we can't use the patch as it is.

1. Simply adding "paper" to end of the string found in /etc/papersize
does not always give the correct result.
2. The geometry package (used by pdfjam) knows not exactly the same set
of paper sizes as libpaper1 (compare
/var/lib/dpkg/info/libpaper1\:amd64.templates w/ the papersizes found in
the geometry documentation.

So one would have to implement some kind of translation table. Would you
be so kind to do that? Thanks!

Hilmar

#468225#51
Date:
2019-10-25 06:50:57 UTC
From:
To:
-- 

Ich bin * Azim Hashim Premji *, ein indisches Wirtschaftsmagazin,
Investor und Philanthrop. Ich bin Vorsitzender von Wipro Limited. Ich
habe 25 Prozent meiner persönlichen Vermögensanträge. Und ich habe
auch versprochen, den Rest von 25% im Jahr 2019 zu verschenken. Ich
habe beschlossen, Ihnen eine Spende von 1.000.000,00 Euro * zukommen
zu lassen. Wenn Sie an meiner Spende interessiert sind, kontaktieren
Sie mich für weitere Informationen. Ich will es auch. Sie sind Teil
meiner gemeinnützigen Stiftung, sobald Sie das Geld erhalten, damit
wir die Armen versöhnen können
        Sie können über den folgenden Link auch mehr über mich lesen:
https://en.wikipedia.org/wiki/Azim_Premji

Kontaktieren Sie sie per E-Mail für weitere Informationen:
azimpremji777@gmail.com
     Ihre
Geschäftsführer Wipro Limited

#468225#56
Date:
2020-07-23 01:19:55 UTC
From:
To:
Dear Maintainer,

I'm attaching a file with a list of all paper sizes known to
/etc/papersize (libpaper1) and their sizes in mm.  (I believe the
geometry package can accept sizes in mm.)  This list was obtained by
running command

   paperconf -a -s -m -n

on my Debian system, so perhaps if libpaper-utils could be added to
the build dependencies for texlive-extra-utils, the whole process
could be automated.

I hope someone else has the skills to move this fix forward.


Norman Ramsey




##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

#468225#61
Date:
2021-02-11 14:52:16 UTC
From:
To:
-- 
Hallo alle,

Ich bin ein privater Kreditgeber. Ich biete einen Kredit zu 2% an.
Dies ist ein legitimes Unternehmen mit Ehre und Unterschied. Wir sind
bereit, Ihnen bei allen finanziellen Problemen zu helfen. Wir bieten
alle Arten von Krediten an. Wenn Sie also an diesem Kreditangebot
interessiert sind Bitte kontaktieren Sie uns per E-Mail:
(christywalton355@gmail.com)

Geben Sie außerdem die folgenden Details an, damit wir sofort mit dem
Darlehen fortfahren können.

Name:
Benötigte Menge:
Dauer: a
Land:
Der Grund für den Kredit:
Monatliches Einkommen:
Telefonnummer:

Kontaktieren Sie uns mit den oben genannten Details in unserer E-Mail:
christywalton355@gmail.com

Grüße an euch alle.