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

Re: latex letterpaper & dvipdf



On 2/9/06, Michael Marsh <michael.a.marsh@gmail.com> wrote:
> On 2/9/06, roberto <roberto03@gmail.com> wrote:
> > i am struggling at writing a paper and i have to respect the options
> > "letterpaper"
> > which is default in IEEEtran.cls
> > but when i open the pdf by acrobat it defaults to
> > 8.26*11.69in
> >
> > instead of:
> > 8.50*11in
> >
> > my header contains:
> >
> > \documentclass[letterpaper]{IEEEtran}
>
> dvipdf calls dvips behind the scenes, so if you pass it "-t letter",
> you should end up with an 8.5"x11" PDF document.
>
> If you want to change this globally, not just for this particular
> case, you can create a file "~/.dvipsrc" with the line
> t tetter
>
actually i gave this command:
dvipdf -t letter paper.dvi

but the ouptut wasn't fine:
~:$ dvipdf -t letterpaper.dvi
Unknown switch -t - ignoring
Unknown switch -t - ignoring
dvips: ! DVI file can't be opened.
Error: /typecheck in --.unread--
Operand stack:
   true   --nostringval--   true   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--  
--nostringval--   2   %stopped_push   --nostringval--  
--nostringval--   --nostringval--   false   1   %stopped_push   1   3 
 %oparray_pop   --nostringval-- 1   1   3   --nostringval--  
%for_pos_int_continue   --nostringval--   --nostringval--  
--nostringval--
Dictionary stack:
   --dict:1049/1123(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
Current allocation mode is local
GPL Ghostscript 8.01: Unrecoverable error, exit code 1


instead i manually changed my default papersize in /etc/papersize from
"a4" to "letter"
and now i solved the problem!

thank you all the same
--
roberto
OS: GNU/Linux, debian sarge
kernel: 2.6.8-2-386
KDE: 3.3



Reply to: