Page Layout ⇒ Header Issue in PS Output
Header Issue in PS Output
I'm new to LaTeX and I have the following problem. I'm currently writing my thesis and I have notices the header distance (shown in the image below) is not present in documents generated with DVI -> PS technique where as the header distance as shown with the read line is present in the DVI -> PDF technique.
I use adobe distiller to generate the relevant PDF file using the PS file generated. I have also checked using the ghost view and still have the same problem.
I prefer DVI -> PS method since I use tikZ library and PDF -> PDF conversion drops lot of items in my document.
Please help me in fixing the header issue in PS conversion.
Regards,
Wicky
- Attachments
-
- header-alignment.png (19.93 KiB) Viewed 3154 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Header Issue in PS Output
- The chosen paper format in the document.
- The settings for »dvips« (e. g. command line arguments).
- Information about whether the misbehaviour can already be seen in the PS output before conversion to the final PDF.
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Header Issue in PS Output
Thank you for answering in my thread.localghost wrote:Thorsten
- The chosen paper format in the document.
- The settings for »dvips« (e. g. command line arguments).
- Information about whether the misbehaviour can already be seen in the PS output before conversion to the final PDF.
Here is the additional information
I use MikTek 2.9 with the Led Editor. My paper size is set to a4paper and I user the memoir class with oldfontcommands + the tikz library.
I have used the ghostviewer to check the alignment before converting and it still looks the same and only thing different is I switched from a 32bit machine to a 64bit machine recently and then only the trouble started to happen. I use windows 7 64bit version.
The above image was taken from the view I get from adobe acrobat reader. One image is a little enlarged than the other sorry for that.
Regards,
Wicky
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Header Issue in PS Output
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Header Issue in PS Output
I looked at the generated DVI file using a DVI viewer this seems to work fine with alignment and I think the problem lies in PS conversion.
Any help would be grateful.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Header Issue in PS Output
A last measure for a remedy would be not to use the Ad0be Distiller but just convert the PS file by Ghostscript to PDF. Your editor might have a corresponding output routine which lets you compile "LaTeX -> DVI -> PS -> PDF" with just one click.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Header Issue in PS Output
I have attached the zip file which contains some test files I created and the outputs created by DVI to PS, DVI to PDF and PS to PDF(distiller).
The error is on the header of the page 2. The gap is smaller than what is required or normal. PDFLatex does not run and I get cannot find supp-mis.tex error. I don't want to use this since I need a PS output since some of the classes I use only support that.
When creating PDF via DVI I get 158 warnings.
In the archive I have put the test project created from the Latex editor.
Hope this can get me an answer.
Regards,
Wicky
- Attachments
-
- PhD.zip
- (8.5 KiB) Downloaded 123 times
-
- PS.ps
- (92.86 KiB) Downloaded 249 times
-
- DVI-PDF.pdf
- (13.66 KiB) Downloaded 147 times
-
- distiller.pdf
- (23.99 KiB) Downloaded 163 times