Re: LyX Errors: what can be the problem? Text Cross-references?
Chavoux Luyt wrote: Here is the shortened Lyx file. I'm sorry if it is too long, but I didn't know what was important and whar not. I take it that you never fired up lyx from the console so that you could see any warning messages it printed out when it loaded your document? $ qlyx13x luyt.lyx unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char mathalpha][char - mathalpha][char mathalpha][char b mathalpha][char x mathalpha] unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char x mathalpha][char mathalpha][char - mathalpha][char b mathalpha][sup [char x mathalpha] [char 2 mathalpha]] LyX's math editor doesn't sanity-check your latex. If you input garbage, then garbage is what you get. The latex way is to use 'Floats' to contain your figures. The Float inset will allow you to insert a caption. See attached file which now works perfectly. Regards, -- Angus luyt.lyx Description: application/lyx
Re: LyX Errors: what can be the problem? Text Cross-references?
Chavoux Luyt wrote: Here is the shortened Lyx file. I'm sorry if it is too long, but I didn't know what was important and whar not. I take it that you never fired up lyx from the console so that you could see any warning messages it printed out when it loaded your document? $ qlyx13x luyt.lyx unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char mathalpha][char - mathalpha][char mathalpha][char b mathalpha][char x mathalpha] unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char x mathalpha][char mathalpha][char - mathalpha][char b mathalpha][sup [char x mathalpha] [char 2 mathalpha]] LyX's math editor doesn't sanity-check your latex. If you input garbage, then garbage is what you get. The latex way is to use 'Floats' to contain your figures. The Float inset will allow you to insert a caption. See attached file which now works perfectly. Regards, -- Angus luyt.lyx Description: application/lyx
Re: LyX Errors: what can be the problem? & Text Cross-references?
Chavoux Luyt wrote: > Here is the shortened Lyx file. I'm sorry if it is too long, but I > didn't know what was important and whar not. I take it that you never fired up lyx from the console so that you could see any warning messages it printed out when it loaded your document? $ qlyx13x luyt.lyx unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char mathalpha][char - mathalpha][char mathalpha][char b mathalpha][char x mathalpha] unusual contents found: [char Y mathalpha][char mathalpha][char = mathalpha][char mathalpha][char a mathalpha][char x mathalpha][char mathalpha][char - mathalpha][char b mathalpha][sup [char x mathalpha] [char 2 mathalpha]] LyX's math editor doesn't sanity-check your latex. If you input garbage, then garbage is what you get. The latex way is to use 'Floats' to contain your figures. The Float inset will allow you to insert a caption. See attached file which now works perfectly. Regards, -- Angus luyt.lyx Description: application/lyx
LyX Errors: what can be the problem? Text Cross-references?
Hi I'm pretty new to Linux (Knoppix3.3 - Debian testing/unstable) and LyX. I liked what I saw about LyX and want to write my thesis in it if I can. However, When I try to export my LyX file to pdf I get 4 latex errors all in this one place. What could be the problem? This paragraph is of type Description (It is the closest I could find to what I need below a figure). The two formulae is in math mode (with the little blue box around them) Fig.2 The relation between animal gain and stocking rate (Jones Sandland 1974). Using different stocking densities they determined experimentally that the gain in mass per animal (Average Daily Gain) drops linearly with an increase in stocking density having a relationship of the form: Y = a - bx (Y is ADG per animal, x is stocking density and a and b are parameters determined experimentally). The production per hectare on the other hand, is a relationship of the form: Y = ax - bx^{2} with the same parameters as above. In this example, up to about 1 animal per hectare there is no change in productivity per animal, usually ascribed to too much low-quality vegetative material (Morris et al. 1999) or maximum gain physiologically possible (Jones and Sandland 1974). Then, when the critical stocking rate is reached, there is a linear drop in production per animal. Assuming no change in the vegetation, the economic carrying capacity (max production per hectare) is reached at a stocking density of about 2.6 animals per hectare and if reproduction equals mortality (K) at the point where animals only just maintain their own body mass, ecological carrying capacity is reached at a stocking density of about 4.8 animals per hectare. The four errors (I don't think they are exactly in the right places, but all are in this paragraph) are the following: 1. Missing $ inserted. ...s a relationship of the form:Y = ax - bx^ {2} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. 2. Missing $ inserted. \end{description} 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. 3. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typing return to proceed. If that doesn't work, type X return to quit. 4. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typing return to proceed. If that doesn't work, type X return to quit. Is there a quick way in LyX to turn the view of the document from LyX (just formated text) to LaTeX so that I can change the raw LaTeX? Should I do this at all (or is there another way to solve this problem)? Another question: Is it possible to use cross-references where the Label (that is referenced) uses the first few words of the following text instead of a number and the cross-reference then display these words (when I try this, it just displays an empty space in the PDF!)? I want to use this for my reference list. I decided not to use BibTex (or rather Pybliography) because I already have my references in a Paradox database (in a Delphi program) together with keywords and my own notes that can be used for searching... it looks as if it will take too much time to get the whole database into Pybliographic (and I don't know how much of a searching capability Pybliogrphic has). It is easier for me to just copy and paste when I need a new reference in my paper. Thanks Chavoux Luyt
Re: LyX Errors: what can be the problem? Text Cross-references?
Luyt Du Chavoux, Mnr wrote: Hi I'm pretty new to Linux (Knoppix3.3 - Debian testing/unstable) and LyX. I liked what I saw about LyX and want to write my thesis in it if I can. However, When I try to export my LyX file to pdf I get 4 latex errors all in this one place. Hello, Luyt. Please post a minimal .lyx file demonstrating the problems. You don't need to post the figure, but please reference it inside the .lyx file. -- Angus
LyX Errors: what can be the problem? Text Cross-references?
Hi I'm pretty new to Linux (Knoppix3.3 - Debian testing/unstable) and LyX. I liked what I saw about LyX and want to write my thesis in it if I can. However, When I try to export my LyX file to pdf I get 4 latex errors all in this one place. What could be the problem? This paragraph is of type Description (It is the closest I could find to what I need below a figure). The two formulae is in math mode (with the little blue box around them) Fig.2 The relation between animal gain and stocking rate (Jones Sandland 1974). Using different stocking densities they determined experimentally that the gain in mass per animal (Average Daily Gain) drops linearly with an increase in stocking density having a relationship of the form: Y = a - bx (Y is ADG per animal, x is stocking density and a and b are parameters determined experimentally). The production per hectare on the other hand, is a relationship of the form: Y = ax - bx^{2} with the same parameters as above. In this example, up to about 1 animal per hectare there is no change in productivity per animal, usually ascribed to too much low-quality vegetative material (Morris et al. 1999) or maximum gain physiologically possible (Jones and Sandland 1974). Then, when the critical stocking rate is reached, there is a linear drop in production per animal. Assuming no change in the vegetation, the economic carrying capacity (max production per hectare) is reached at a stocking density of about 2.6 animals per hectare and if reproduction equals mortality (K) at the point where animals only just maintain their own body mass, ecological carrying capacity is reached at a stocking density of about 4.8 animals per hectare. The four errors (I don't think they are exactly in the right places, but all are in this paragraph) are the following: 1. Missing $ inserted. ...s a relationship of the form:Y = ax - bx^ {2} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. 2. Missing $ inserted. \end{description} 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. 3. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typing return to proceed. If that doesn't work, type X return to quit. 4. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typing return to proceed. If that doesn't work, type X return to quit. Is there a quick way in LyX to turn the view of the document from LyX (just formated text) to LaTeX so that I can change the raw LaTeX? Should I do this at all (or is there another way to solve this problem)? Another question: Is it possible to use cross-references where the Label (that is referenced) uses the first few words of the following text instead of a number and the cross-reference then display these words (when I try this, it just displays an empty space in the PDF!)? I want to use this for my reference list. I decided not to use BibTex (or rather Pybliography) because I already have my references in a Paradox database (in a Delphi program) together with keywords and my own notes that can be used for searching... it looks as if it will take too much time to get the whole database into Pybliographic (and I don't know how much of a searching capability Pybliogrphic has). It is easier for me to just copy and paste when I need a new reference in my paper. Thanks Chavoux Luyt
Re: LyX Errors: what can be the problem? Text Cross-references?
Luyt Du Chavoux, Mnr wrote: Hi I'm pretty new to Linux (Knoppix3.3 - Debian testing/unstable) and LyX. I liked what I saw about LyX and want to write my thesis in it if I can. However, When I try to export my LyX file to pdf I get 4 latex errors all in this one place. Hello, Luyt. Please post a minimal .lyx file demonstrating the problems. You don't need to post the figure, but please reference it inside the .lyx file. -- Angus
LyX Errors: what can be the problem? & Text Cross-references?
Hi I'm pretty new to Linux (Knoppix3.3 -> Debian testing/unstable) and LyX. I liked what I saw about LyX and want to write my thesis in it if I can. However, When I try to export my LyX file to pdf I get 4 latex errors all in this one place. What could be the problem? This "paragraph" is of type "Description" (It is the closest I could find to what I need below a figure). The two formulae is in math mode (with the little blue box around them) Fig.2 The relation between animal gain and stocking rate (Jones & Sandland 1974). Using different stocking densities they determined experimentally that the gain in mass per animal (Average Daily Gain) drops linearly with an increase in stocking density having a relationship of the form: Y = a - bx (Y is ADG per animal, x is stocking density and a and b are parameters determined experimentally). The production per hectare on the other hand, is a relationship of the form: Y = ax - bx^{2} with the same parameters as above. In this example, up to about 1 animal per hectare there is no change in productivity per animal, usually ascribed to too much low-quality vegetative material (Morris et al. 1999) or maximum gain physiologically possible (Jones and Sandland 1974). Then, when the "critical stocking rate" is reached, there is a linear drop in production per animal. Assuming no change in the vegetation, the economic carrying capacity (max production per hectare) is reached at a stocking density of about 2.6 animals per hectare and if reproduction equals mortality (K) at the point where animals only just maintain their own body mass, ecological carrying capacity is reached at a stocking density of about 4.8 animals per hectare. The four errors (I don't think they are exactly in the right places, but all are in this paragraph) are the following: 1. Missing $ inserted. ...s a relationship of the form:Y = ax - bx^ {2} I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed. 2. Missing $ inserted. \end{description} 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. 3. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typingto proceed. If that doesn't work, type X to quit. 4. LaTeX Error: Something's wrong--perhaps a missing \item. \end{description} Try typingto proceed. If that doesn't work, type X to quit. Is there a quick way in LyX to turn the view of the document from LyX (just formated text) to LaTeX so that I can change the raw LaTeX? Should I do this at all (or is there another way to solve this problem)? Another question: Is it possible to use cross-references where the Label (that is referenced) uses the first few words of the following text instead of a number and the cross-reference then display these words (when I try this, it just displays an empty space in the PDF!)? I want to use this for my reference list. I decided not to use BibTex (or rather Pybliography) because I already have my references in a Paradox database (in a Delphi program) together with keywords and my own notes that can be used for searching... it looks as if it will take too much time to get the whole database into Pybliographic (and I don't know how much of a searching capability Pybliogrphic has). It is easier for me to just copy and paste when I need a new reference in my paper. Thanks Chavoux Luyt
Re: LyX Errors: what can be the problem? & Text Cross-references?
Luyt Du Chavoux, Mnr wrote: > Hi > I'm pretty new to Linux (Knoppix3.3 -> Debian testing/unstable) and LyX. > I liked what I saw about LyX and want to write my thesis in it if I can. > However, When I try to export my LyX file to pdf I get 4 latex errors all > in this one place. Hello, Luyt. Please post a minimal .lyx file demonstrating the problems. You don't need to post the figure, but please reference it inside the .lyx file. -- Angus