viewing long pages, evince seems to choke on simple test file

Mike Marchywka marchywka at hotmail.com
Sun Sep 8 10:53:12 CEST 2019


On Sun, Sep 08, 2019 at 09:08:23AM +0100, David Carlisle wrote:
>    You don't really need to look in the dvi, (la)tex will warn you already in the log about what is happening.
>    The main problem here is that a page break is not allowed after a section heading so the page is massively overfull, if you
>    change that to
>    1000 lines of
>    \section{test}zzz
>    Then you get more reasonable output. The visible page does start  around section 22, but the geometry package warns
>    Package geometry Warning: `tmargin' and `bmargin' result in NEGATIVE (-2890.8pt
>    ).
>        `height' should be shortened in length.
> 
>    On Sat, 7 Sep 2019 at 22:26, Mike Marchywka <[mailto:marchywka at hotmail.com]marchywka at hotmail.com> wrote:
> 
>      I was playing around with long pages in xdvik and thought I would return
>      to things known to work. I made a simple test file,
>      cat pagesize.tex | uniq -c
>            1
>            1 \newcommand{\mjms}[1]{ }
>            1 %\input{mikemailxxx.tex}
>            1 %\documentclass[aps,secnumarabic,balancelastpage,amsmath,amssymb,nofootinbib]{revtex4-2}
>            1 \documentclass{article}
>            1 %\usepackage[a4paper, total={10in, 80in}]{geometry}
>            1 %\usepackage[paperheight=80in,height=78in]{geometry}
>            1 \usepackage[paperheight=80in,height=120in]{geometry}

Thanks, I guess commented out the wrong one, 

\usepackage[paperheight=80in,height=78in]{geometry}
%\usepackage[paperheight=80in,height=120in]{geometry}

that and ignoring the output warnings... 
That seems to fix it now. No idea how that happened although there are so
many warnings typically I don't bother reading them any more  :)


>            1
>            1 \begin{document}
>            1
>            1 %\input{dum_clip.txt}
>         1001 \section{test}
>            1
>            1 \end{document}
>      and ran
>       2181  pdflatex --output-format=pdf pagesize.tex
>       2183  pdflatex --output-format=dvi pagesize.tex
>       2193  history | grep pdflatex
>      to generate pdf and dvi outputs for viewing in evince.
>      Neither seemed right although they were more or less similar
>      with the first page blank and the second starting
>      around section 40 test and ending at 318 in dvi
>      and 249 in the pdf file. The dvi output
>      starts like as show below ( I modified dviasm to output
>      a hex op code address ). It does look like page 1 is
>      more or less blank but then page 2 is trying to
>      start with "1 test." Is there something simple wrong
>      with my latex source? I have to admit I did not look
>      too closely as I had hoped to avoid problems
>      but thought I may have hit an overlfow somewhere.
>      If there is some simple thing to change the scale,
>      the numbers in the preamble look scary for integer math,
>      that may be all I need to know.
>      Thanks.
>      ./mydviasm.txt pagesize.dvi |  more
>      [preamble]
>      id: 2
>      numerator: 25400000
>      denominator: 473628672
>      magnification: 1000
>      comment: ' TeX output 2019.09.07:1704'
>      [postamble]
>      maxv: 7473.810028pt
>      maxh: 449.879822pt
>      maxs: 4
>      pages: 2
>      [font definitions]
>      fntdef: cmr10 at 10pt
>      fntdef: cmbx12 (12pt)  at 14.399994pt
>      [page 1 0 0 0 0 0 0 0 0 0]
>      57 xxx: 'papersize=614.295pt,5781.59999pt'
>      79 down: 7473.810028pt
>      7e push:
>      7f   down: -8727.399994pt
>      84   down: 8697.399994pt
>      89   down: 30pt
>      8d   push:
>      8e     right: 232.377502pt
>      a8     fnt: cmr10 at 10pt
>      a9     set: '1'
>      aa   pop:
>      ab pop:
>      [page 2 0 0 0 0 0 0 0 0 0]
>      da down: 7473.810028pt
>      df push:
>      e0   down: -8727.399994pt
>      e5   down: 8697.399994pt
>      ea   push:
>      eb     down: -8662.399994pt
>      f0     push:
>      f1       push:
>      f2         right: 19.875198pt
>      10c         fnt: cmbx12 (12pt) at 14.399994pt
>      10d         set: '1'
>      10e       pop:
>      10f       right: 44.175171pt
>      113       set: 'test'
>      117     pop:
>          y: 27.902756pt
>      11c     push:
>      11d       push:
>      11e         right: 19.875198pt
>      122         set: '2'
>      123       pop:
>      124       right: 44.175171pt
>      128       set: 'test'
>      12c     pop:
>      12d     y0:
>      12e     push:
>      12f       push:
>      130         right: 19.875198pt
>      134         set: '3'
>      135       pop:
>      136       right: 44.175171pt
>      13a       set: 'test'
>      13e     pop:
>      13f     y0:
>      140     push:
>      141       push:
>      142         right: 19.875198pt
>      146         set: '4'
>      147       pop:
>      148       right: 44.175171pt
>      14c       set: 'test'
>      150     pop:
>      151     y0:
>      152     push:
>      153       push:
>      154         right: 19.875198pt
>      158         set: '5'
>      159       pop:
>      15a       right: 44.175171pt
>      15e       set: 'test'
>      162     pop:
>      163     y0:
>      164     push:
>      165       push:
>      166         right: 19.875198pt
>      16a         set: '6'
>      16b       pop:
>      16c       right: 44.175171pt
>      170       set: 'test'
>      174     pop:
>      175     y0:
>      176     push:
>      177       push:
>      178         right: 19.875198pt
>      17c         set: '7'
>      17d       pop:
>      17e       right: 44.175171pt
>      182       set: 'test'
>      186     pop:
>      187     y0:
>      188     push:
>      189       push:
>      18a         right: 19.875198pt
>      18e         set: '8'
>      18f       pop:
>      190       right: 44.175171pt
>      194       set: 'test'
>      198     pop:
>      199     y0:
>      --More--
>      Thanks.
>      --
>      mike marchywka
>      306 charles cox
>      canton GA 30115
>      USA, Earth
>      [mailto:marchywka at hotmail.com]marchywka at hotmail.com
>      404-788-1216
>      ORCID: 0000-0001-9237-455X

-- 

mike marchywka
306 charles cox
canton GA 30115
USA, Earth 
marchywka at hotmail.com
404-788-1216
ORCID: 0000-0001-9237-455X



More information about the texhax mailing list