[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-users
Subject:    Re: Beamer problem with LyX
From:       Pierfranco Minsenti <pierfranco.minsenti () gmail ! com>
Date:       2009-10-25 12:52:27
Message-ID: 4bec4eb30910250552p3c3b0da1j15c5661fa9c1f382 () mail ! gmail ! com
[Download RAW message or body]


Hi,

thank you all for the suggestions you have sent.
Actually I have solved the problem, even if I am not sure how I did it. I
made another similar file and progressively I copied into it the slides from
the previous one. Maybe the problem was due to some long URL I had put into
some slides using the URL button in LyX. Infact, after checking other
working files, I discovered that in the past I had put the URL only in the
first line of the URL box, withouh checking the case for obtaining an
hyperlink. Maybe this could have been the cause of some errors?
Anyway, in my experience, while other LaTeX classes work perfectly with LyX,
in the case of the Beamer class I have already experienced in the past some
problem of the same kind.
In my opinion this could be due to the fact that LyX treats beamer files in
a slightly different way than the ortodox LaTeX way: LyX susbtitutes all
commands for \begin{frame} and \end{frame} with its own commands:
\lyxframeend. This is visible if one exports the LyX file into a LaTeX file.
So maybe, when you move the slides, this can be a cause for errors, which
would never happen using a standard LaTeX editor with standard LaTeX
commands.
Does anyone agree with this judgement upon his/her personal experience of
using the beamer class with LyX?

Pierfranco

2009/10/25 Paul A. Rubin <rubin@msu.edu>

> Pierfranco Minsenti wrote:
>
>> Hi all,
>>
>> I have done a presentation using the beamer class with LyX and the result
>> was fine.
>> But after some modifications (such as moving some slides, inserting new
>> ones
>> etc.) now I am unable to obtain a PDF as I could before.
>> It appears an error message which says:
>>
>> Missing $ inserted.
>>
>> \lyxframeend
>>                   {}
>> I've inserted a begin-math/end-math symbol since I think
>> you left one out. Proceed, with fingers crossed.
>>
>>
>> Undefined control sequence.
>>
>>  \lyxframeend
>>                   {}
>> 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.
>>
>>
>> Missing \endgroup inserted.
>> Missing \endgroup inserted.
>> Missing \endgroup inserted.
>>
>>  \lyxframeend
>>                   {}
>> I've inserted something that you may have forgotten.
>> (See the <inserted text> above.)
>> With luck, this will get me unwedged. But if you
>> really didn't forget anything, try typing `2' now; then
>> my insertion and my current dilemma will both disappear.
>>
>>
>> I have checked the file: every slides begins correctly with its own Frame
>> title and the red rule which closes the slides.
>>
>> Is there anyone who could help me with fixing this problem?
>>
>> Thank you very much in advance for your cooperation.
>>
>> Pierfranco
>>
>>
> You may have something improperly nested (for instance, a BeginFrame that
> looks correct may be actually be nested under something else).  If you can't
> spot something like that, try a bisection search.  Cut out the second half
> of the slides (roughly), leaving in the final EndFrame, and see if it
> compiles.  If yes, put back half what you cut; if no, cut half what you
> kept.  Iterate until you home in on the culprit.
>
> /Paul
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic