"Undefined control sequence" after first installation
Hi Lyx Team and Users. After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german language pack with the aspell6-el-0.50-3.exe i could not export my lyx document. I try it with a realy simple text like "hello world" and get the following error messages. "Undefined control sequence" - "[EMAIL PROTECTED]" "Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]" "Undefined control sequence" - "[EMAIL PROTECTED]" thats the code: % Quellcode vorschauen %% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]"J:/Dokumente und Einstellungen/crux/Desktop/\string"/}} \makeatother \documentclass[ngerman]{scrartcl} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} hello world \end{document} In LyX and document preferences, i choose the german language. I hope anyone could help me to find out the error. Thx a lot, Georg
Re: Command disabled
I've reported it: http://bugzilla.lyx.org/show_bug.cgi?id=5109. Máté - Original Message - From: rgheck To: Máté Salát Cc: Rich Shepard ; lyx-users@lists.lyx.org Sent: Saturday, August 02, 2008 12:37 AM Subject: Re: Command disabled Máté Salát wrote: > By the way, I have another problem around hotkeys. I've created the \bind "M-8" "math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't consider the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the difference between the first and the rest presses of Alt+8. > > To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut field is active press Alt+8 several times. First "Alt+?" appears but after it always "Alt+8" comes. I tried this on several computers with WinXP. All have the same problem. > > I'll see if I can get someone to look at this. Can you post it at bugzilla, so it doesn't get lost? rh
Re: Labelling equations
I sorry, but I don't understand your answer completely. I want to give my equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the purpose of the label function? If not, what function doe that? To the first part of your answer. The equations I want to label are centered and stand alone in their row. I centered them after writing them by using the "paragraph settings". To your answer Bob: I am using a mac book with Mach OS X version 10.5.3.The version of LyX I am using is LyX/Mac 1.5.5. Thank you again very much for your help. Greetings, Chris 2008/8/1 rgheck <[EMAIL PROTECTED]> > Bob Lounsbury wrote: > >> On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser >> <[EMAIL PROTECTED]> wrote: >> >> >>> I admit, that my last sentence is very confusing. Just forget about it. >>> What >>> I meant was: If I put the cursor before or behind the math box, i.e in >>> the >>> normal text, I can use the label function. As soon as I put the cursor in >>> the math box the label function is inactive. Therefore I cannot label >>> the >>> equation in the math box. As long as I cannot asign a label to the >>> equation >>> it makes no sense to look at the pdf I guess. >>> >>> >> >> >> It sounds as if you have a problem with the installation of LyX. This >> is obviously not normal behavior. I would trying reinstalling LyX. It >> may help developer's to know what platform you are using and what >> version of LyX. You may also need to file a bug report if reinstalling >> doesn't help. >> >> >> > I see it disabled as well, UNLESS the equation is in "display" mode---i.e., > centered by itself on a separate line. It is meant to work that way. The > reason is that labeled equations are also NUMBERED equations, and the > mechanism that's used to do the label isn't available if the equation hasn't > been set off. > > Perhaps part of the confusion is that what LyX calls "labels" don't > normally appear in the text. They're just targets for cross-references. So > you can label the equation if you like by putting a label after it. But it > won't have a number, and the only cross-reference you'll be able to do will > be by page, really. > > rh > > -- Christopher Stowasser Nørrebrogade 100, 2 TH 2200 København N Danmark
Re: Labelling equations
On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser <[EMAIL PROTECTED]> wrote: > I sorry, but I don't understand your answer completely. I want to give my > equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the > purpose of the label function? If not, what function doe that? > > To the first part of your answer. The equations I want to label are centered > and stand alone in their row. I centered them after writing them by using > the "paragraph settings". > > To your answer Bob: I am using a mac book with Mach OS X version 10.5.3. > The version of LyX I am using is LyX/Mac 1.5.5. > > Thank you again very much for your help. > > Greetings, > Chris > Ok. I understand now. You're just not using the program correctly :-}. Math equations are not adjusted with 'paragraph settings'. There are two types of equations in LyX: Inline and Display. Inline is an equation that is inline with text and Display is an equation centered on its own line. To access the two types use: Insert->Math->Inline Formula or Display Formula. Alternatively, you can use Command->M for Inline formula and Command+shift->M for Display formula on MacOSX. You may also want to take some time to read through some of the documentation available in the Help menu. For instance: Help->User's Guide Chapter 5 or Help->Math. These issues are explained there. Cheers, /Bob
Re: Labelling equations
On Sat, Aug 2, 2008 at 9:36 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser > <[EMAIL PROTECTED]> wrote: >> I sorry, but I don't understand your answer completely. I want to give my >> equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that the >> purpose of the label function? If not, what function doe that? >> >> To the first part of your answer. The equations I want to label are centered >> and stand alone in their row. I centered them after writing them by using >> the "paragraph settings". >> >> To your answer Bob: I am using a mac book with Mach OS X version 10.5.3. >> The version of LyX I am using is LyX/Mac 1.5.5. >> >> Thank you again very much for your help. >> >> Greetings, >> Chris >> > > Ok. I understand now. You're just not using the program correctly :-}. > > Math equations are not adjusted with 'paragraph settings'. There are > two types of equations in LyX: Inline and Display. Inline is an > equation that is inline with text and Display is an equation centered > on its own line. > > To access the two types use: Insert->Math->Inline Formula or Display > Formula. Alternatively, you can use Command->M for Inline formula and > Command+shift->M for Display formula on MacOSX. > > You may also want to take some time to read through some of the > documentation available in the Help menu. For instance: Help->User's > Guide Chapter 5 or Help->Math. These issues are explained there. > > Cheers, > /Bob > Oops, I forgot to add that Inline formula cannot be labeled whereas Display formula can. This is why the Label button is grayed out because you've inserted Inline formula not Display formula. Cheers, /Bob
Re: Labelling equations
Ok, now it works perfectly! Thanks you two. Its so much text to read in this help guides... Have a nice weekend! 2008/8/2 Bob Lounsbury <[EMAIL PROTECTED]> > On Sat, Aug 2, 2008 at 4:43 AM, Christopher Stowasser > <[EMAIL PROTECTED]> wrote: > > I sorry, but I don't understand your answer completely. I want to give my > > equations numbers, i.e. from (1.1), (1.2),.to (3.3.) f. ex.. Is that > the > > purpose of the label function? If not, what function doe that? > > > > To the first part of your answer. The equations I want to label are > centered > > and stand alone in their row. I centered them after writing them by using > > the "paragraph settings". > > > > To your answer Bob: I am using a mac book with Mach OS X version > 10.5.3. > > The version of LyX I am using is LyX/Mac 1.5.5. > > > > Thank you again very much for your help. > > > > Greetings, > > Chris > > > > Ok. I understand now. You're just not using the program correctly :-}. > > Math equations are not adjusted with 'paragraph settings'. There are > two types of equations in LyX: Inline and Display. Inline is an > equation that is inline with text and Display is an equation centered > on its own line. > > To access the two types use: Insert->Math->Inline Formula or Display > Formula. Alternatively, you can use Command->M for Inline formula and > Command+shift->M for Display formula on MacOSX. > > You may also want to take some time to read through some of the > documentation available in the Help menu. For instance: Help->User's > Guide Chapter 5 or Help->Math. These issues are explained there. > > Cheers, > /Bob > -- Christopher Stowasser Nørrebrogade 100, 2 TH 2200 København N Danmark
Re: "Undefined control sequence" after first installation
Georg Freitag wrote: Hi Lyx Team and Users. After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german language pack with the aspell6-el-0.50-3.exe i could not export my lyx document. I try it with a realy simple text like "hello world" and get the following error messages. Sorry, I don't have any idea what might cause this. When Uwe gets back from the weekend, though, I'll bet he'll have some ideas. rh "Undefined control sequence" - "[EMAIL PROTECTED]" "Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]" "Undefined control sequence" - "[EMAIL PROTECTED]" thats the code: % Quellcode vorschauen %% LyX 1.5.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \makeatletter [EMAIL PROTECTED]"J:/Dokumente und Einstellungen/crux/Desktop/\string"/}} \makeatother \documentclass[ngerman]{scrartcl} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} hello world \end{document} In LyX and document preferences, i choose the german language. I hope anyone could help me to find out the error. Thx a lot, Georg
Re: Labelling equations
Christopher Stowasser wrote: Ok, now it works perfectly! Thanks you two. Its so much text to read in this help guides... Yes, true. People---especially Uwe---have put a lot of work into those guides. Much of what's in them you probably don't need to know, so I usually recommend that people read the Tutorial fairly closely, and then read the User's Guide quickly, just skimming parts that don't really interest them. The other manuals contain tons of useful information---but not for everyone, since they're more specialized. I've never read the Embedded Objects manual, for example, since it basically doesn't apply to me. Remember too that you can use the Navigate menu, or open the Outline, to see a table of contents and decide what you might want to read. Oh, and that you can View>PDF and then print the manuals so you don't have to read them at your computer. rh
Re: "Undefined control sequence" after first installation
Georg Freitag schrieb: After i install LyX with the LyX-156-3-25-AltInstalle and upgrade the german language pack with the aspell6-el-0.50-3.exe i could not export my lyx document. What exactly have you done? You haven't had LyX 1.5 installed before? If you had LyX 1.5 installed before, have you used the update installer? What do you mean by "upgrade the german language pack with the aspell6-el-0.50-3.exe"? "el" is for Greek and not German. I try it with a realy simple text like "hello world" and get the following error messages. "Undefined control sequence" - "[EMAIL PROTECTED]" "Latex Error: Missing \begin{document}" - "[EMAIL PROTECTED]" "Undefined control sequence" - "[EMAIL PROTECTED]" This sounds like a problem of the babel configuration. Please try this: - open a command console - execute the command initexmf --dump - restart LyX Then it should work (this was a bug of MiKTeX). If not, please update your MiKTeX installation again using MiKTeX's update program. regards Uwe
Re: Using minitoc in Lyx?
> this is my first topic here, so I hope I do it correctly :-) You found the right place. > I am trying to use the minitoc package with a lyx document, and I have > failed to do it! It seams, that the minitoc-files remain empty! Minitoc work fine with LyX. I now set up a new wiki page that describes how minitoc is used with LyX: http://wiki.lyx.org/Examples/Minitoc Please add there further informations about special issues or minitoc options people should know. I hope minitoc now works for you. If not, complain. regards Uwe
beamer in Lyx
Hi, I am trying to use beamer in lyx. I installed beamer and pgf using miktex and reconfigured lyx. However, when I try to create a pdf I get the message "Latex Error: File 'pgf.sty' not found." What should I do? Thanks.
Re: beamer in Lyx
giggles wrote: Hi, I am trying to use beamer in lyx. I installed beamer and pgf using miktex and reconfigured lyx. However, when I try to create a pdf I get the message "Latex Error: File 'pgf.sty' not found." What should I do? Open a DOS prompt and run 'kpsewhich pgf.sty'. It should return the path to the file (usually \tex\latex\pgf\basiclayer\pgf.sty). If not, try clicking "Refresh FNDB" in MiKTeX's Settings application, then check again. If it still does not find pgf.sty, try reinstalling the PGF package. (You should not need to reinstall Beamer.) /Paul