[OS X TeX] TeX and DVI in beamer problem

Roussanka Loukanova rl.stpuu at gmail.com
Sat Feb 27 19:22:34 EST 2021


Hi Herb,

It seems that I got the transparency working without the pstricks, but not
the pstricks, which, as in your test files, I need for my tree drawings. In
my files, I need:
\usepackage{pstricks}
\usepackage{lingtrees}
I'm not adding the code of the tree because it is large, but if needed,
I'll create a small one. But, at first, I try with your test file.

I do not know how to install the engines. I did:
- unzip GhostsciptTransparencyEngines.zip
- move the directory
GhostsciptTransparencyEngines
in
~/Library/TeXShop

- restart TeXShop (and the Mac)

Here is a file (TransparencyTest1.tex) modified from yours, and after it, I'm
including its .log:

==
% !TEX program = latexTR
% !TEX encoding = UTF-8 Unicode
\documentclass{article}
\usepackage{pstricks}
\begin{document}
The \textsf{latexTRmk} and \textsf{latexTR} engines are for gs 9.53 and
using transparency.

\begin{pspicture}(-3,-3)(3,3)
\pscircle*[linecolor=blue]           (-1,0){3}
\pscircle*[linecolor=red,opacity=0.2]( 1,0){3}
\end{pspicture}

Place the files in the noted folders in ~/Library/TeXShop and restart
TeXShop.

\end{document}
==
Here is the .log file:
====
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded
format=pdflatex 2021.2.26)  28 FEB 2021 00:47
entering extended mode
 restricted \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**TransparencyTest1.tex
(./TransparencyTest1.tex
LaTeX2e <2020-10-01> patch level 4
L3 programming layer <2021-02-18>
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
(/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
)
\c at part=\count179
\c at section=\count180
\c at subsection=\count181
\c at subsubsection=\count182
\c at paragraph=\count183
\c at subparagraph=\count184
\c at figure=\count185
\c at table=\count186
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
\bibindent=\dimen138
)
(/usr/local/texlive/2020/texmf-dist/tex/latex/pstricks/pstricks.sty
Package: pstricks 2020/06/11 v0.70 LaTeX wrapper for `PSTricks' (RN,HV)

(/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2020/03/06 v1.0d TeX engine tests
)
(/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)

(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg
File: color.cfg 2016/01/02 v1.6 sample color configuration
)
Package xcolor Info: Driver file: pdftex.def on input line 225.

(/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/pdftex.def
File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
)
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
Package xcolor Info: Model `RGB' extended on input line 1364.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

(/usr/local/texlive/2020/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2020/11/20 v2.8 package option processing (HA)

(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkvutils.tex
\XKV at toks=\toks15
\XKV at tempa@toks=\toks16

(/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/keyval.tex))
\XKV at depth=\count187
File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv)
\pstFP at xs=\count188
\pstFP at xia=\count189
\pstFP at xib=\count190
\pstFP at xfa=\count191
\pstFP at xfb=\count192
\pstFP at rega=\count193
\pstFP at regb=\count194
\pstFP at regs=\count195
\pstFP at times=\count196
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.te
x
\pgfutil at everybye=\toks17
\pgfutil at tempdima=\dimen139
\pgfutil at tempdimb=\dimen140

(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-li
sts.tex))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
\pgfkeys at pathtoks=\toks18
\pgfkeys at temptoks=\toks19

(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.c
ode.tex
\pgfkeys at tmptoks=\toks20
))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
Loading pgffor.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex
\pgf at x=\dimen141
\pgf at xa=\dimen142
\pgf at xb=\dimen143
\pgf at xc=\dimen144
\pgf at y=\dimen145
\pgf at ya=\dimen146
\pgf at yb=\dimen147
\pgf at yc=\dimen148
\c at pgf@counta=\count197
\c at pgf@countb=\count198
\c at pgf@countc=\count199
\c at pgf@countd=\count266
\pgfutil at tempcnta=\count267
\pgfutil at tempcntb=\count268
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
\pgfmath at dimen=\dimen149
\pgfmath at count=\count269
\pgfmath at box=\box47
\pgfmath at toks=\toks21
\pgfmath at stack@operand=\toks22
\pgfmath at stack@operation=\toks23
)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.
tex
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigo
nometric.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.rando
m.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.compa
rison.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round
.code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.
code.tex)
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integ
erarithmetics.code.tex)))
(/usr/local/texlive/2020/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
\c at pgfmathroundto@lastzeros=\count270
))
\pgffor at iter=\dimen150
\pgffor at skip=\dimen151
\pgffor at stack=\toks24
\pgffor at toks=\toks25
)
\psLoopIndex=\count271

`PSTricks' v3.01  <2020/09/18> (tvz,hv)
\pst at dima=\dimen152
\pst at dimb=\dimen153
\pst at dimc=\dimen154
\pst at dimd=\dimen155
\pst at dimg=\dimen156
\pst at dimh=\dimen157
\pst at dimm=\dimen158
\pst at dimn=\dimen159
\pst at dimo=\dimen160
\pst at dimp=\dimen161
\pst at hbox=\box48
\pst at ibox=\box49
\pst at boxg=\box50
\pst at cnta=\count272
\pst at cntb=\count273
\pst at cntc=\count274
\pst at cntd=\count275
\pst at cntg=\count276
\pst at cnth=\count277
\pst at cntm=\count278
\pst at cntn=\count279
\pst at cnto=\count280
\pst at cntp=\count281
\@zero=\count282
\pst at toks=\toks26
(/usr/local/texlive/2020/texmf-dist/tex/generic/pstricks/pstricks.con)
\psunit=\dimen162
\psxunit=\dimen163
\psyunit=\dimen164
\pst at C@@rType=\count283
\pslinewidth=\dimen165
\psk at startLW=\dimen166
\psk at endLW=\dimen167
\pst at customdefs=\toks27
\pslinearc=\dimen168
\pst at symbolStep=\dimen169
\pst at symbolWidth=\dimen170
\pst at symbolLinewidth=\dimen171
\everypsbox=\toks28
\psframesep=\dimen172
\pslabelsep=\dimen173
\sh at wgridXunit=\dimen174
\sh at wgridYunit=\dimen175
\pst at shift=\dimen176
)
File: pstricks.tex 2020/09/18 v3.01 `PSTricks' (tvz,hv)

(/usr/local/texlive/2020/texmf-dist/tex/generic/pstricks/pst-fp.tex)
File: pst-fp.tex 2020/09/18 v3.01 `PST-fp' (hv)
)
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2021-02-18 L3 backend support: PDF output
(pdfTeX)
\l__color_backend_stack_int=\count284
\l__pdf_internal_box=\box51
)
No file TransparencyTest1.aux.
\openout1 = `TransparencyTest1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
(/usr/local/texlive/2020/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count285
\scratchdimen=\dimen177
\scratchbox=\box52
\nofMPsegments=\count286
\nofMParguments=\count287
\everyMPshowfont=\toks29
\MPscratchCnt=\count288
\MPscratchDim=\dimen178
\MPnumerator=\count289
\makeMPintoPDFobject=\count290
\everyMPtoPDFconversion=\toks30
)
./TransparencyTest1.tex:9: Undefined control sequence.
\c at lor@to at ps ->\PSTricks
                         _Not_Configured_For_This_Format
l.9 \pscircle*[linecolor=blue]           (-1,0){3}

?
./TransparencyTest1.tex:9: Emergency stop.
\c at lor@to at ps ->\PSTricks
                         _Not_Configured_For_This_Format
l.9 \pscircle*[linecolor=blue]           (-1,0){3}

End of file on the terminal!


Here is how much of TeX's memory you used:
 8048 strings out of 479023
 147256 string characters out of 5859412
 431706 words of memory out of 5000000
 25492 multiletter control sequences out of 15000+600000
 403735 words of font info for 28 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 60i,0n,66p,414b,180s stack positions out of
5000i,500n,10000p,200000b,80000s
./TransparencyTest1.tex:9:  ==> Fatal error occurred, no output PDF file
produc
ed!

Best Regards,
Roussanka




On Sat, Feb 27, 2021 at 9:53 PM Herbert Schulz <herbs at wideopenwest.com>
wrote:

>
>
> > On Feb 27, 2021, at 2:18 PM, Herbert Schulz <herbs at wideopenwest.com>
> wrote:
> >
> >
> >
> >> On Feb 27, 2021, at 1:34 PM, Roussanka Loukanova <rl.stpuu at gmail.com>
> wrote:
> >>
> >> Dear All,
> >>
> >> I'm not sure whether I should address this problem to some beamer user
> list. I'm attuned to this list and hope for help here.
> >>
> >> I'm getting problems when I run a beamer presentation with:
> >> [TeX and DVI]
> >> Typeset
> >>
> >> All beamer boxes get  their shadows in black, and the headers of the
> theorem-like boxes are covered with black banners.  Below is a test file
> and its pdf on my MacBook Air, macOS Big Sur V.11.2.2, TeXLife 2020, with
> everything updated.
> >>
> >> Let me know whether it would be OK to email the pdf file that i get.
> >>
> >> I think this problem is specific for TeX and DVI in beamer files. I get
> the same problem in TeShop and also in Aquamacs by running:
> >> LaTeX + dvips+ps2pdf
> >> Both TexShop and Aquamacs run tex files with drawings finley,
> correspondingly via:
> >> TeX and DVI / dvips+ps2pdf
> >>
> >> Best Regards,
> >> Roussanka
> >> ====
> >> % $Header$
> >>
> >> \documentclass{beamer}
> >>
> >> \mode<presentation>
> >> {
> >>  \usetheme{Warsaw}
> >> }
> >>
> >> \title{My Title}
> >>
> >> \author{My Name}
> >>
> >> \date{Workshop X}
> >>
> >> \begin{document}
> >>
> >> \maketitle
> >>
> >> %{
> >> \begin{frame}{\small HELLO!}
> >>
> >>  \begin{exampleblock}{Test Example}
> >>   Hello again!
> >> \end{exampleblock}
> >>
> >> \begin{theorem}[Test Theorem]
> >>  test
> >> \end{theorem}
> >> \end{frame}
> >> %}
> >> \end{document}
> >> ====
> >> Roussanka
> >
> > Howdy,
> >
> > Works fine with pdflatex but not with latex->dvipd->ps2pdf. This is with
> gs 9.53.3.
> >
> > Good Luck,
> >
> > Herb Schulz
> > herbs at wideopenwest.com
>
> Howdy,
>
> The problem is with transparency. If you can use pdflatex instead of
> latex->dvips->ps2pdf that will work.
>
> Alternatively, if you use TeXShop, please download the
> GhostsciptTransparencyEngines.zip file from my downlaod site, <
> https://herbs.github.io> and unzip it. If you need help isntalling the
> engines let me know.
>
> Once the engines are installed place the line
>
> % !TEX program = latexTR
>
> at the top of the file and typeset using Typeset->Typeset (cmd-T). If you
> usee the latexmk based engines use
>
> % !TEX program = latexTRmk
>
> at the top of your file and Typeset->Typeset (Cmd-T).
>
> Good Luck,
>
> Herb Schulz
> herbs at wideopenwest.com
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                 https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210228/985fd7da/attachment.htm>


More information about the MacOSX-TeX mailing list