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

Bug#225833: Letter vs A4 again



On Wed, May 17, 2006 at 10:21:42PM +0200, Ralf Stubner wrote:
> On Wed, May 17, 2006 at 07:46 +0100, Julian Gilbey wrote:
> > 
> > Something like, on first installation, or debconf question "Should
> > xdvi/... respect /etc/papersize" with an appropriate file in
> > /etc/libpaper.d in such a case:
> 
> Nice. When has /etc/libpaper.d been added?

Don't know - no mention of it in the changelog, unfortunately.

>   Under what circumstances are
> the files in there executed?

When paperconfig is executed.  Not when the libpaper1 package is
installed or upgraded, though (is this a bug?).

>   How can one provide feedback to the user?

Don't know.

> Some comments:
> 
> > paper=`paperconf`
> > case "$paper" in
> >   a4)
> >     texconfig paper $paper
> >     texconfig dvipdfm paper $paper
> >     texconfig xdvi $paper
> >     ;;
> >   letter)
> >     texconfig paper $paper
> >     texconfig dvipdfm paper $paper
> >     texconfig xdvi us
> >     ;;
> 
> 'texconfig paper $paper' configures dvipdfm and xdvi, too. So these
> lines are unnecessary. In addition, there is a debian specific patch in
> dvipdfm that makes it use libpaper directly. Should we remove that then? 

OK.  Didn't realise that.

> >   legal|a3)
> >     texconfig dvipdfm paper $paper
> >     texconfig xdvi $paper
> >     ;;
> >   ledger|tabloid)
> >     texconfig dvipdfm paper $paper
> >     ;;
> 
> One could add 'texconfig dvips paper $paper' here. But I am not sure if
> it really makes sense to support paper sizes that we cannot configure
> for all applications, pdfTeX being the culprit here. I would suggest
> staying with 'a4' and 'letter' only.

Fair enough.

   Julian



Reply to: