OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Mike La Martina on December 28, 2014, 12:55:06 am
-
Since I am between quarters I am experimenting with VTex. Until now I have not tried to use Beamer.
When I compile this file:
\documentclass{beamer}
\usetheme{default}
\begin{document}
\begin{frame}
What is this?
\end{frame}
\end{document}
I get the following messages:
Initializing GeX...
Loading vtex.pro profile.
GeX initialization completed.
! PostScript Error: Undefined name [pgfw]
VMUSAGE 128116
OStack:
0002 49|0000| 0.398500
0001 0a|0016| save
0000 0a|0016| save
=============
XStack:
0000 f3|0000| <file>
=============
! PostScript Error: Undefined name [pgfw]
VMUSAGE 128116
OStack:
0002 49|0000| 0.398500
0001 0a|0016| save
0000 0a|0016| save
=============
XStack:
=============
! PS interpreter error, code=21
( Undefined name [pgfw]).
\@EveryShipout@Output ...pout \box \@cclv
l.6.11(I:/latex/m3200/zbeamertest.tex)
> \end{frame}
If anyone has experience with this, I would appreciate any information you have.
Thanks
Mike
-
VTeX doesn't work with the Beamer package, AFAIR due to missing pgf support.
You could either try os2tetex (http://hobbes.nmsu.edu/download/pub/os2/apps/wp/tex/os2tetex-3.0.zip), which is not easy to install or another OS. ;-)
-
I do use another OS but during my downtime I try to see how much I can get to work on eCS.
In fact, I have had limited success with the pgf-1.01 package I got from CTAN.
Something (perhaps GEX) complains that pgfsys-vtex.def does not support opaci.
However I do get output that looks a great deal like correct output.
In fact I can produce something from the beamer-3.07 solutions directory files.
Unfortunately the output does not match what I see on my other OS.
I see on the MicroPress web site that VTex 8.6 supports beamer and pgf.
I think the last version of VTYex free for OS/2 is 8.4.4. Is that correct?
Thanks for the response.
-
pgf works with VTeX.
I found an example in my old files from 2008:
\documentclass[vtex]{beamer}
\usepackage{tikz} % which requires pgf
...
The PDF gives the following information:
Producer: VTeX v8.44 (OS/2), PDF backend with GeX
Creator: LaTeX with beamer class version 3.07
I do not remember that I had to do a lot of tweaking to get beamer working with VTeX.
Maybe it is the missing option [vtex] in \documentclass in your test example?
-
Thanks for the suggestion Thomas, I will try it.
-
Mike, please post your experiences, when you're done, even if you won't make it work.
-
Unfortunately I am unable to compile this file:
\documentclass[11pt]{beamer}
\usetheme{default}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\author{Mike La Martina}
\title{Exponential Functions}
\setbeamercovered{transparent}
\setbeamertemplate{navigation symbols}{}
\logo{}
\institute{Cal Poly}
\date{\today}
\subject{Precalculus}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\tableofcontents
\end{frame}
\begin{frame}{Laws of Exponents}
\begin{itemize}
\item $a^n \times a^m = a^{n+m}$
\item $a^n \div a^m = a^{n-m}$
\item ${(a^n)}^m = a^{nm}$
\item $a^{\dfrac{1}{n}}=\sqrt[n]{a}$
\item $a^{-n}= \dfrac{1}{a^n}$
\end{itemize}
\end{frame}
\end{document}
This is the part of the log file that indicates a failure:
LaTeX Info: Redefining \includegraphics on input line 15.
(I:/Latex Files/beamer.nav)
! Undefined control sequence.
\trans@languagepath ->\languagename
,English
l.18.11(I:/Latex Files/beamer.tex)
> \end{frame}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
(Font) size <5> substituted on input line 18.
[1
Initializing GeX...
Loading vtex.pro profile.
GeX initialization completed.
! PostScript Error: Undefined name [pgfw]
VMUSAGE 128116
OStack:
0002 49|0000| 0.398500
0001 0a|0016| save
0000 0a|0016| save
=============
XStack:
0000 f3|0000| <file>
=============
! PostScript Error: Undefined name [pgfw]
VMUSAGE 128116
OStack:
0002 49|0000| 0.398500
0001 0a|0016| save
0000 0a|0016| save
=============
XStack:
=============
! PS interpreter error, code=21
( Undefined name [pgfw]).
\@EveryShipout@Output ...pout \box \@cclv
l.18.11(I:/Latex Files/beamer.tex)
> \end{frame}
-
Both examples compile flawless here.
Log file and PDF output attached.
-
It is curious that you have no problems and I do.
Perhaps you could try this attached file from the Beamer-3.07 package.
I do have some success but I still get the Gex Postscript error.
-
The problems seems to be related to the variable /pgfe which is apparently not defined in vtex.pro.
Your logfile shows some pgf-files dated 2013.
I suspect at some point the VTeX support was broken or dropped in pgf.
Try to locate an older version of pgf.
Alternatively, you could add to vtex pro a line with a dummy definition
/pgfe {} def
and see what happens to the error messages.
-
Thanks. I will give it a try and report back.
-
I added /pgfe {} def to my vtex.pro.
I am now able to compile the file, but I still get and error as indicated.
LaTeX Info: Redefining \includegraphics on input line 15.
(I:/Latex Files/beamer.nav)
! Undefined control sequence.
\trans@languagepath ->\languagename
,English
l.18.11(I:/Latex Files/beamer.tex)
> \end{frame}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Also I do not get navigation symbols, but I do not see any error message about them.
By the way thanks for the help.
Mike
P.S
Since the beamer.nav file is indicated, here is its content:
\beamer@endinputifotherversion {3.33pt}
\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}
\headcommand {\beamer@framepages {1}{1}}
\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}
\headcommand {\beamer@framepages {2}{2}}
\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}
\headcommand {\beamer@framepages {3}{3}}
\headcommand {\beamer@partpages {1}{3}}
\headcommand {\beamer@subsectionpages {1}{3}}
\headcommand {\beamer@sectionpages {1}{3}}
\headcommand {\beamer@documentpages {3}}
\headcommand {\def \inserttotalframenumber {3}}
I can see no statement that is causing the error.
-
You could try to copy the /pgfe definition from this file to vtex.pro to improve the hack:
ftp://ftp.tug.org/tex/texlive/Contents/live/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-vtex.def
I think it should be done automatically when pgfsys-vtex.def is loaded,
but I am not familiar with the interaction of the pgf system layer with vtex.
Could the navigation symbols be invisible due to the unsupported opacity by vtex?
The error with \languagename is not in beamer.nav (parenthesis closed after file name and it has no line 18),
but after \end{frame} in beamer.tex (line 18, column 11)?
One suggestion would be to check/update the babel package.
Good luck, Thomas
-
Thanks Thomas. I will try your suggestions.
Mike
-
Mike,
the manual for the recent pgf version 3.0.0 says it requires vtex >8.46 and we are at 8.44.
pgf 1.18 works for me and may be found here:
http://sourceforge.net/projects/pgf/files/pgf/
-
Mike,
I just verified that the beamer example works with pgf 1.18 using VTeX/2 8.44d (see attachment). With pgf 2.00 or 3.00 I can reproduce the error you reported. The error appears when GeX is started, so it seems to be VTeX related. On the MicroPress website it says
VTeX 8.6 is here. New features include support for Beamer and PGF packages
. This indicates that something was changed in VTeX for the newer pgf versions.
With VTeX/2 8.44 we have to stick with pgf 1.18, but I am not aware of any serious limitations regarding the beamer package.
-
Thanks for the update. Since the beginning of the quarter I have not had much time to work with this.
Perhaps some intrepid developer might consider a port of the latest VTex. I am surprised and grateful that I can do as much Tex as I can on OS/2. The ports of Texmaker and Texstudio both work well for me.
-
I have discovered the foiltex package. While it is not a full replacement for beamer, it does produce foils quite well.
-
I got it working now with the modified and attached pgfsys-vtex.def
Just added three \immediate as described in the discussion there:
http://www.ntg.nl/pipermail/ntg-vtex/2007-March/000848.html (http://www.ntg.nl/pipermail/ntg-vtex/2007-March/000848.html)
http://www.ntg.nl/pipermail/ntg-vtex/2007-March/000849.html (http://www.ntg.nl/pipermail/ntg-vtex/2007-March/000849.html)
Could someone verify the fix, so it can be fed to the pgf project on sourceforge?
-
I have just installed the def file and successfully compiles all beamer tests I have in my directory.
Thanks Thomas
Mike
-
Thank you, Thomas and Mike. I have saved your contributions and will test that when I'll have my new machine ready and when I'll find enough time to get my TeX environment set up again.
Please note that I'm the maintainer of NEPMD and that I have contributed much to Walter's last version 5.4 of his TeX front end.
-
I have filed a bug report on tikz/pgf@sourceforge. Lets see what happens.
TeX and LaTex is indispensable for scientific and mathematical publishing and runs on most platforms. The beamer package https://bitbucket.org/rivanvx/beamer/wiki/Home (https://bitbucket.org/rivanvx/beamer/wiki/Home) can generate presentations and the pgf package http://www.ctan.org/pkg/pgf (http://www.ctan.org/pkg/pgf) provides support for generating graphics. Here are some comments on TeX systems for OS/2:
VTeX has not been updated since 2005 http://micropress-inc.com/ (http://micropress-inc.com/), but it is afaik the only TeX system supporting direct PDF output on OS/2 http://www.ctan.org/tex-archive/systems/vtex (http://www.ctan.org/tex-archive/systems/vtex). The possibility to include many graphics formats, postscript and PDF makes it superior to the standard TeXLive distributions avaliable for windows or linux which support only jpg, png and PDF or alternatively only postscript. I have never tried the 2007 TeXlive port for OS/2 http://homepage1.nifty.com/jsawa/os2/index-e.htm (http://homepage1.nifty.com/jsawa/os2/index-e.htm).
There is also the ancient emTeX distribution for OS/2 http://www.ctan.org/tex-archive/systems/os2/emtex (http://www.ctan.org/tex-archive/systems/os2/emtex), but that supports only postscript graphics.For PDF conversion Ghostscript is needed and I am not sure that it fully supports navigation in the PDF output as implemented in the beamer package .
EPM can be configured to support TeX systems similar to an IDE. I used EPMTeX http://www.ctan.org/tex-archive/systems/os2/epmtex (http://www.ctan.org/tex-archive/systems/os2/epmtex). TeX front end based on NEPMD is an alternative. On Linux I use TeXStudio now which is certainly more advanced than an EPM extensions. An OS/2 port is available.
-
I have used the TeXLive port (os2teTeX 3.0), which can output directly to pdf using pdftex, with TeXMaker for several years now. It works fine in my experience. I'm interested in using Beamer but haven't tried yet. I'll post if/when I get it working.
-
Hi Pete. I will try TeTex. Thanks.
-
Back in 2006 I'd tried to install OS2teTeX 3.0, but just shortly and without success.
It's apparently not easy to install without experience with teTeX on Linux. Christian H. had it successfully working, but I never took the time to try it again. Beamer was the reason I'd tried it and I know it works with it.