Graphics, Figures & Tablespdflatex (from xfig) and option clash

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sunless
Posts: 1
Joined: Sat Nov 26, 2011 4:17 pm

pdflatex (from xfig) and option clash

Post by sunless »

Hi,

I am trying to merge two presentations in one, but the figures were handled quite differently and I am not sure to compile everything.

1st presentation: contains xfig figures (with special characters $\exists$) that I used to export in pstex and compile with Tex/Dvi option of TeXShop.

2nd presentation: contains jpeg pictures and tikz generated figures, that I normally compile with the Pdflatex option.

I have been trying to export xfig to pdftex instead but using the following preamble I get an option clash for graphicx.

Code: Select all

\documentclass[xcolor=pst]{beamer}



\mode<presentation>
{
 \usetheme{default}
  
 \usecolortheme{rose}
  
  \setbeamercovered{transparent}
  }

\usepackage[pdftex]{graphicx} 

\usepackage{amsmath, amsthm, amsfonts, xspace, stmaryrd}
\usepackage[english]{babel}
\usepackage{hyperref}
\usepackage{verbatim,multirow}
\usepackage{booktabs}
\usepackage{marvosym,geometry}




\usepackage{colortbl}





\usepackage{wasysym}
\usepackage{tikz}



\usetikzlibrary{backgrounds,shapes,arrows,positioning,calc,snakes,fit,automata}
\usepgflibrary{decorations.markings}



\usepackage{gn-logic14}

\usepackage{amsmath,   epsfig,verbatim, amsfonts, amssymb,latexsym,amsthm}




\definecolor{JungleGreen}{cmyk}{0.99,0,0.52,0}
\definecolor{SeaGreen}{cmyk}{0.69,0,0.50,0}
\definecolor{Green}{cmyk}{.6,0,1,.4}
\definecolor{ForestGreen}{cmyk}{0.91,0,0.88,0.12}
\definecolor{PineGreen}{cmyk}{0.92,0,0.59,0.25}

\newcommand{\prop}{\textsc{prop}}  
\newcommand{\textRed}[1]{\textcolor{red}{#1}}  
I have no idea how I can get around that problem.

Thanks for reading!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

pdflatex (from xfig) and option clash

Post by localghost »

Due to a missing minimal example I can only guess. You shouldn't load the epsfig package. It is obsolete and not more than a wrapper for the graphicx package. Furthermore you don't need the »pdftex« option for the latter one. And by the way, you should not load packages twice. Pay attention to warnings in the log file and adapt your code to current versions of the class and packages.


Best regards and welcome to the board
Thorsten
Post Reply