Conversion ToolsDissapearing top margins tex-dvi-ps-pdf

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

Dissapearing top margins tex-dvi-ps-pdf

Post by teXbeginnerM »

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:

Code: Select all

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Dissapearing top margins tex-dvi-ps-pdf

Post by localghost »

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.

Addendum:
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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

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