GeneralProblem with Transparency in beamer appears black

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
luzmara
Posts: 18
Joined: Thu Sep 04, 2008 3:45 pm

Problem with Transparency in beamer appears black

Post by luzmara »

Hi all,

All was working perfect, I just Check for update and applied it from the MikTex Console and now when I work with beamer and use PS to PDF I get:

%%%% WARNING: Transparency operations ignored - need to use -dNOSAFER

and the pdf generated is not right but the ps does. I use \begin{example} \end{example}, but it does not show it correctly, look the image, in general if I use \begin{block} \end{block} appears in the same way, block with or without title.

I use:

WinEdt --> Build: 20180507 (v. 10.3) - 64-bit
MikTeX --> Version 3.14159265-2.6-1.40.21 (MiKTeX 21.1)
Gsview 6.0
Ghostscript 9.52 (2020-03-19)

What can I do to solve this? Thank you in advance.

Image

My MWE

Code: Select all

\documentclass[xcolor=dvipsnames]{beamer}
    \usepackage[spanish]{babel}
    \usepackage[latin1]{inputenc}
    \usepackage{color}
    \usepackage{xcolor}
    %\usepackage{amsmath}
    \usetheme{Madrid}
    \usecolortheme{rose} 
    \setbeamercovered{dynamic}  
    \begin{document}
        \frame{\frametitle{Distribuciones conjuntas (cont.)}
                \begin{example}
                Se lanza un dado 2 veces consecutivas.\\ \vspace*{0.3cm}
                $X_1$ $\Longrightarrow$ máximo valor obtenido en los dos lanzamientos.\\ \vspace*{0.3cm}
                $X_2$ $\Longrightarrow$ suma de los valores obtenidos en los dos lanzamientos.\\ \vspace*{0.3cm}
                Encontrar la función de distribución de probabilidad conjunta de $X_1$ y $X_2$ y la función de distribución acumulada conjunta de $X_1$ y $X_2$.
                \end{example}
                \transboxout%
              }
    \end{document}

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Problem with Transparency in beamer appears black

Post by Ijon Tichy »

Newer versions of ghostscript (which is used to generate the PDF from PS file) need extra command line parameters -dNOSAFER to provide transparency. I don't know, how to activate this using your workflow (because I do not use MiKTeX or WinEdt). I would recommend not to use PS to PDF but use PDFLaTeX, XeLaTeX or LuaLaTeX to directly generate a PDF from the LaTeX source.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
luzmara
Posts: 18
Joined: Thu Sep 04, 2008 3:45 pm

Problem with Transparency in beamer appears black

Post by luzmara »

Thank you for your answer Ijon Tichy. I do not how to implement the command line you suggest, I will search. I use PS to PDF because in the original file I have many figures in EPS.
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Problem with Transparency in beamer appears black

Post by Ijon Tichy »

luzmara wrote:I use PS to PDF because in the original file I have many figures in EPS.
Up-to-date TeX-Distributions support EPS→PDF conversation on-the-fly. If not, you can explicitly use LaTeX package epstopdf. No need to use DVI→PS→PDF only to import EPS images.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply