David Rosenberg wrote:
Hi,
I'm running LyX 1.5.3 on Windows, and am having trouble with compiling
the Beamer Example (beamerlyxexample1.lyx). I'm pasting in part of my log
below. I also have problems with one of my older beamer presentations I
made with an earlier version of LyX. For that presentation, I get an error
-- after exporting to Latex and trying to compile, I get the following:
ERROR: Package mathptmx Error: The symbols \jmath, \amalg and \coprod
--- TeX said ---
(mathptmx) are not available with this package.
See the mathptmx package documentation for explanation.
Type H <return> for immediate help.
...
l.290 \lyxframeend
{}\section{Kernel Cotraining}
----------------
Anyway, the first error in the compilation of the Beamer Example is the
exact same as the error
ERROR: Undefined control sequence.
--- TeX said ---
[EMAIL PROTECTED] #1#2#3#4->\pgfsincos
{#3}\setlength [EMAIL PROTECTED]
{#1}\addtolengt...
l.1219 \lyxframeend
{}\lyxagainframe{<6>hierarchy}
--- HELP ---
TeX encountered an unknown command name. You probably misspelled the
name. If this message occurs when a LaTeX command is being processed,
the command is probably in the wrong place---for example, the error
can be produced by an \item command that's not inside a list-making
environment. The error can also be caused by a missing \documentclass
command.
Thanks,
David
The beamer example has all sorts of problems. I think in part it may be
a matter of beamer having been updated and the example document not
having been updated (?).
As to your document, the answer to the first error is simpler. Quoting
section 6.4 of the psnfss2e manual (regarding known deficiencies of the
mathptmx package):
"* The symbols \jmath, \coprod and \amalg are not available."
I take that to mean that if you need those symbols, you'll have to
change your font selection. Why this was not a problem when you
originally built the presentation I can't say. I don't use mathptmx, so
I don't know whether it throws this message even when you are not using
those symbols, or whether it means all three symbols are present, or
just one of them, or what.
As to the second message, unfortunately all sorts of problems result in
LaTeX deciding that \lyxframeend is undefined (when in fact it is
defined). So that tells you something is broken, but not what. If
fixing the font problem (or eliminating use of \jmath, \coprod and/or
\amalg) does not solve it, the best I can suggest is a bisection search
-- cut out half the slides and recompile to see which half of the
presentation has the error, then iterate until you narrow down the
source. If you can pin down the approximate location but not the exact
cause, post a small but sufficient example here and perhaps someone can
figure it out.
/Paul