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

xdvi is giving warnings due to hyperref



Hi all

I have attached the reduced .tex file and its .dvi file in this email. To reproduce the problem download the test.tex.


$latex test.tex
This is e-TeX, Version 3.14159-2.1 (Web2C 7.4.5)
entering extended mode
(./test.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, catalan, croatian, czech, danish, dutch, finnish, greek, iceland ic, irish, italian, latin, magyar, norsk, norsk, portuges, romanian, russian, s lovak, slovene, spanish, swedish, turkish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/book.cls
Document Class: book 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/bk10.clo))
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/latex/config/hyperref.cfg)
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/latex/misc/url.sty))
*hyperref using default driver hdvips*
(/usr/share/texmf/tex/latex/hyperref/hdvips.def
(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)) (./test.aux)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./test.out) (./test.out)
Chapter 1.
[1] [2] [3] [4] [5] (./test.aux) )
Output written on test.dvi (5 pages, 4260 bytes).
Transcript written on test.log.


Now test.dvi will be produced.

$xdvi --version
xdvik version 22.84.8 (Xaw toolkit)
Libraries: kpathsea version 3.4.5, T1lib version 5.0.2

open the xdvi window and go to the last page by pressing <pg-down> button and then press 'q' to quit the xdvi. On the konsole you will see warning like

$xdvi test.dvi
xdvi.bin:  cannot get scaling factors.
xdvi.bin:  cannot get scaling factors.
xdvi.bin: Warning: Raw Postscript commands on page 1 may be rendered incorrectly.
xdvi.bin:  cannot get scaling factors.
xdvi.bin: Warning: Raw Postscript commands on page 2 may be rendered incorrectly.
xdvi.bin:  cannot get scaling factors.
xdvi.bin: Warning: Raw Postscript commands on page 3 may be rendered incorrectly.
xdvi.bin:  cannot get scaling factors.
xdvi.bin: Warning: Raw Postscript commands on page 4 may be rendered incorrectly.
xdvi.bin:  cannot get scaling factors.
xdvi.bin: Warning: Raw Postscript commands on page 5 may be rendered incorrectly.

I am getting the warnings only when hyperref package is used. Otherwise there are no warnings. Usind Debian unstable with uptodate packages.

1) Can someone reproduce the problem?

2) Is this a known bug or should I report it? If it is to be reported, Which package should it be reported against?

3) Are there any workarounds for this problem?

thanks
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/

Attachment: test.dvi
Description: TeX dvi file

\documentclass{book}
\usepackage{hyperref}
\begin{document}
\chapter{test}
test
\clearpage
test
\clearpage
test
\clearpage
test
\clearpage
test
\clearpage
\end{document}

Reply to: