Re: Beamer problem with LyX
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 ru...@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
Re: Beamer problem with LyX
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 ru...@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
Re: Beamer problem with LyX
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> 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 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 > >
Beamer problem with LyX
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
Re: Beamer problem with LyX
On Sat, 24 Oct 2009, Pierfranco Minsenti wrote: 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: \lyxframeend Pierfranco, The Beamer guide suggests that one does not need an explicit \frameend after each slide, but we do need each one. Early in my use of the beamer class I'd make changes and move the slide sequence around and lose the final \frameend in the process. Check that there is a \frameend at the very end of your file and between each frame. Rich
Re: Beamer problem with LyX
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
Beamer problem with LyX
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
Re: Beamer problem with LyX
On Sat, 24 Oct 2009, Pierfranco Minsenti wrote: 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: \lyxframeend Pierfranco, The Beamer guide suggests that one does not need an explicit \frameend after each slide, but we do need each one. Early in my use of the beamer class I'd make changes and move the slide sequence around and lose the final \frameend in the process. Check that there is a \frameend at the very end of your file and between each frame. Rich
Re: Beamer problem with LyX
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
Beamer problem with LyX
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 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
Re: Beamer problem with LyX
On Sat, 24 Oct 2009, Pierfranco Minsenti wrote: 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: \lyxframeend Pierfranco, The Beamer guide suggests that one does not need an explicit \frameend after each slide, but we do need each one. Early in my use of the beamer class I'd make changes and move the slide sequence around and lose the final \frameend in the process. Check that there is a \frameend at the very end of your file and between each frame. Rich
Re: Beamer problem with LyX
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 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