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

Bug#225833: Letter vs A4 again



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? Under what circumstances are
the files in there executed? How can one provide feedback to the user?

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? 

>   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.

cheerio
ralf





Reply to: