LaTeX forum ⇒ Conversion Tools ⇒ Dissapearing top margins tex-dvi-ps-pdf

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
teXbeginnerM
Posts: 4
Joined: Wed Oct 20, 2010 11:22 am

Dissapearing top margins tex-dvi-ps-pdf

Hi! When I am comverting my tex files to pdf I have to go either via dvi-pdf or via dvi-ps-pdf because I have .eps figures in my document,and tex-pdf directly does not approve of that. with the first option (dvi-pdf)my pictures get distorted (half of one of the pictures gets cut off), and if I use the other option the top margins dissapear, and the text lines up with the upper edge of the side, wich is very ugly! anyone who has had a similar problem?
A minimum example, not including the pictures:

1. \documentclass[a4paper,11pt]{article}
2. \usepackage[margin=2cm, bottom=4cm]{geometry}
3. \begin{document}
4. \section{Introduction}
5. Blablabla
6. \end{document}
Last edited by teXbeginnerM on Sat Mar 26, 2011 11:20 am, edited 1 time in total.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
teXbeginnerM wrote:[…] A minimum example, not including the pictures […]

This is not a minimum example. Please clean up the code from unnecessary stuff and try again. Make sure that the provided code is compilable out of the box for others and reproduces clearly the undesired behaviour.

Your modified code example does not correspond to your problem description any more. This short example compiles just fine with the previously mentioned compiling routes. There is always the possibility to convert EPS files to PDF (the forum search has appropriate solutions). This would allow direct compilation with pdfLaTeX.

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Who is online

Users browsing this forum: No registered users and 1 guest