Conversion Tools ⇒ ps2pdf page numbering problem
ps2pdf page numbering problem
I normally use dvips and ps2pdf to convert my LaTeX files to PDF, and this has worked fine for me in Fedora 7. But when I upgraded to Fedora 11 this problem suddenly appeared. And the weird thing is it only happens some of the time. The postscript files created by dvips show the page numbers correctly in any postscript viewer, so I think ps2pdf (part of ghostscript) is the culprit. F7 uses ghostscript 8.15 and F11 uses ghostscript 8.70.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
ps2pdf page numbering problem
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
ps2pdf page numbering problem
Code: Select all
\documentclass[letterpaper,11pt,titlepage,openany,twoside]{scrbook}
\usepackage[english]{babel}
\usepackage{fancybox}
\usepackage[T1]{fontenc}
\usepackage{newcent}
\usepackage{textcomp}
\usepackage[dvips,bookmarks]{hyperref}
\usepackage[toc,math]{blindtext}
\setlength\oddsidemargin{20pt}
\setlength\evensidemargin{20pt}
\setlength\topmargin{0pt}
\makeatletter
\makeatother
\begin{document}
\frontmatter
\pagestyle{empty}
\thisfancypage{\setlength{\fboxsep}{1pt}\setlength\fboxrule{1.5pt}\fbox}{}
\title{Something}
\author{\textsf{\textbf{Shad Grind}}}
\uppertitleback{Some stuff.}
\lowertitleback{No copyright.}
\maketitle
\mainmatter
\Blinddocument
\end{document}
This problem happens no matter what I do on a book I wrote. It has lots of files and graphics, and requires multiple runs to get all the references right. So I'm not sure how I'd handle any kind of cache issues with that. Any help would be appreciated.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: ps2pdf page numbering problem
Do you get all numbers in roman?
Stefan
Re: ps2pdf page numbering problem
Re: ps2pdf page numbering problem
without commented lines i,ii,iii
with commented lines i,ii,1,2
I'm afraid I don't have any solutions. I am just posting to show that the behaviour can be replicated, in case you were starting to think it was your computer/version of latex.
ps2pdf page numbering problem
So this is a problem with dvips. Basically, it was ignored in earlier versions of ghostscript, but with version 8.70 it is no longer ignored. So the question is, why is dvips generating roman numeral page labels after the table of contents? This is the dvips that comes with TexLive 2007.