Re: Problem setting a4paper option using dvips
- From: "Steven Endres" <stevenendres@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 7 Aug 2005 13:04:17 -0500
"Dan" <luecking@xxxxxxxx> wrote in message
news:1123176232.856753.325550@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Ulrike Fischer wrote:
> > "Steven Endres" <stevenendres@xxxxxxxxxxxxxxxxxxxxxx> schrieb:
> >
> > >> > For some reason, the following code works fine for all paper sizes
> > >> > when using pdflatex. It also works fine when using latex => dvips
> > >> > => ps2pdf for
> > >> > all paper sizes EXCEPT a4paper. So if I use
> > >> > \documentclass[executivepaper]{minimal}, for example, my pdf page
> > >> > size is
> > >> > 7.25x10.5 inches. But if I use \documentclass[a4paper]{minimal},
> > >> > for example, my pdf page size is 8.5x11 inches (letterpaper).
> > >>
> > >> I found the following works: Edit config.ps so that the lines:
> > >>
> > >> @ a4 210mm 297mm
> > >> @+ ! %%DocumentPaperSizes: a4
> > >> @+ %%BeginPaperSize: a4
> > >> @+ a4
> > >> @+ %%EndPaperSize
> > >>
> > >> occur before (or instead of) the lines:
> > >>
> > >> @ A4size 210mm 297mm
> > >> @+ %%PaperSize: A4
> > >>
> >
> > > Well, thank you Dan, that certainly did the trick.
> > >
> > > Is this just a MikTeX issue?
> >
> > I don't know. But it surely could happen also in other installations.
> >
> > You should warn your users that if dvips seems to ignore the paper size
> > there could be a problem in the config.ps (or that they are using dvips
> > with a command line option like -t letter).
> >
> > > I noticed when editing the config.ps that
> > > it says "% dvips config.ps for MiKTeX 2.4.1775" at the top. Does
> > > anyone know if this problem has been documented anywhere?
> >
> > ftp://ftp.dante.de/tex-
> > archive/macros/latex/contrib/IEEEtran/testflow/testflow_doc.txt
> >
> >
> > > Should I submit this as a MikTeX bug?
> >
> > It isn't really a bug. It is documentated behaviour, the one paper
> > command _suggest_ a paper format while the other _enforce_ it.
> >
> > But I think it would be better if the standard config.ps would be
> > changed so that the second type of paper size command comes first.
>
> That second one depends on the ps-to-pdf processor recognizes the
> _command_ a4 as a command to select that paper size. GhostScript does
> but I am uncertain as to its status for other PS interpreters.
>
> The first one adds only a certain structured comment, and requires the
> processor simply to recognize it and take appropriate action. A wrapper
> script could easily do that with no PS knowledge at all. That, of
> course, depends on the comment being one widely recognized.
>
> Perhaps dvips could do one or the other (or both), controlled somehow
> by the -Ppdf switch.
>
>
> Dan
>
I'd like to thank all of you for your insightful replies. From what you've
said so far, it seems this is an issue that will require some research and
testing on my part to develop a robust solution. Since I have a deadline in
a few weeks, I think I shall only support letterpaper for my initial
version. Then once the pressure's off, I'll look for a good solution for
inclusion in a subsequent release.
.
- References:
- Problem setting a4paper option using dvips
- From: Steven Endres
- Re: Problem setting a4paper option using dvips
- From: Steven Endres
- Re: Problem setting a4paper option using dvips
- From: Dan
- Re: Problem setting a4paper option using dvips
- From: Steven Endres
- Re: Problem setting a4paper option using dvips
- From: Ulrike Fischer
- Re: Problem setting a4paper option using dvips
- From: Dan
- Problem setting a4paper option using dvips
- Prev by Date: Re: Rotating elements in dvi
- Next by Date: Re: Theorem-like environment referenced by name (rather than number)
- Previous by thread: Re: Problem setting a4paper option using dvips
- Next by thread: Re: Problem setting a4paper option using dvips
- Index(es):
Relevant Pages
|