problem previewing pdf figure
I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is Error converting to loadable format. When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks!
Re: problem previewing pdf figure
On 2/2/2013 12:15 AM, s nedunuri wrote: I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is Error converting to loadable format. When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks! In case it matters 'm using Lyx 2.0.2 on Windows
problem previewing pdf figure
I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is Error converting to loadable format. When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks!
Re: problem previewing pdf figure
On 2/2/2013 12:15 AM, s nedunuri wrote: I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is Error converting to loadable format. When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks! In case it matters 'm using Lyx 2.0.2 on Windows
problem previewing pdf figure
I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is "Error converting to loadable format". When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks!
Re: problem previewing pdf figure
On 2/2/2013 12:15 AM, s nedunuri wrote: I have a pdf figure in my lyx file. Exporting the entire document to pdf using pdflatex works fine. The problem is previewing the image in lyx. The error message I get is "Error converting to loadable format". When i google for this problem i find several places that says its a problem with an older version of Ghostscript, but that the problem has been fixed if you have version 9 or greater. I checked the version of GS i have in the lyx directory and its 9.04 so I should be fine but I'm still not :-( thanks! In case it matters 'm using Lyx 2.0.2 on Windows
Problem with spaces in filenames - Might be useful to others
Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\stringFilename with spaces\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem
Re: Problem with spaces in filenames - Might be useful to others
On 8/6/2012 11:56 PM, s nedunuri wrote: Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\stringFilename with spaces\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem Sorry that second line should say @include not @input
Problem with spaces in filenames - Might be useful to others
Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\stringFilename with spaces\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem
Re: Problem with spaces in filenames - Might be useful to others
On 8/6/2012 11:56 PM, s nedunuri wrote: Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\stringFilename with spaces\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem Sorry that second line should say @include not @input
Problem with spaces in filenames - Might be useful to others
Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\string"Filename with spaces"\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{"Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem
Re: Problem with spaces in filenames - Might be useful to others
On 8/6/2012 11:56 PM, s nedunuri wrote: Ran into an unusual problem which i finally resolved. I thought it might be of interest to others. The problem occurs when you include/input files that have spaces in them and then you try to process the generated tex file seperately. When Lyx generates the tex for the master file it generates somethihg like: \include{\string"Filename with spaces"\string} But when you process this with latex/pdflatex it generates an aux file containing \@input{"Filename.aux} which of course causes no end of confusion to both latex and bibtex. Removing the spaces fixes the problem Sorry that second line should say @include not @input
Re: Columns in Beamer Lyx
I just tried it and I cannot get it to work. All that happens is that the text [totalwidth=50mm] shows up in the 1st column. Yes I entered it in TeX mode, right after where it says Columns (center aligned) in red. On 3/15/2012 4:42 PM, Paul A. Rubin wrote: s nedunurinedunuriat cs.utexas.edu writes: I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? It does. You just have to enter it as raw TeX (Insert TeX Code or Ctrl-L), in square bracket, as inERT[totalwidth=50mm]/ERT. Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth. Relative widths work. Again, enter them as raw TeX (but this time without the square brackets). Paul
Re: Columns in Beamer Lyx
I just tried it and I cannot get it to work. All that happens is that the text [totalwidth=50mm] shows up in the 1st column. Yes I entered it in TeX mode, right after where it says Columns (center aligned) in red. On 3/15/2012 4:42 PM, Paul A. Rubin wrote: s nedunurinedunuriat cs.utexas.edu writes: I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? It does. You just have to enter it as raw TeX (Insert TeX Code or Ctrl-L), in square bracket, as inERT[totalwidth=50mm]/ERT. Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth. Relative widths work. Again, enter them as raw TeX (but this time without the square brackets). Paul
Re: "Columns" in Beamer Lyx
I just tried it and I cannot get it to work. All that happens is that the text "[totalwidth=50mm]" shows up in the 1st column. Yes I entered it in TeX mode, right after where it says "Columns (center aligned)" in red. On 3/15/2012 4:42 PM, Paul A. Rubin wrote: s nedunuri<nedunuri cs.utexas.edu> writes: I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? It does. You just have to enter it as raw TeX (Insert> TeX Code or Ctrl-L), in square bracket, as in[totalwidth=50mm]. Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth. Relative widths work. Again, enter them as raw TeX (but this time without the square brackets). Paul
Re: numbering multi-line formulas
On 4/11/2012 6:21 AM, Richard Heck wrote: On 04/11/2012 01:13 AM, David L. Johnson wrote: On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the Insert Matrix command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. Thanks that did the trick The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Actually the equation array environment appears not to do individual line numbering. It has the same effect as inset matrix Richard
Re: numbering multi-line formulas
On 4/11/2012 6:21 AM, Richard Heck wrote: On 04/11/2012 01:13 AM, David L. Johnson wrote: On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the Insert Matrix command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. Thanks that did the trick The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Actually the equation array environment appears not to do individual line numbering. It has the same effect as inset matrix Richard
Re: numbering multi-line formulas
On 4/11/2012 6:21 AM, Richard Heck wrote: On 04/11/2012 01:13 AM, David L. Johnson wrote: On 04/11/2012 12:12 AM, s nedunuri wrote: Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the "Insert Matrix" command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. The problem is that a matrix does not really give you a multi-line formula, it is a one-line formula including a matrix. To get a multiline formula, use one of the aligned environments. I prefer the eqnarray environment. Then you can number each line of the multi-line environment. I will attach a simply LyX file showing first an eqnarray environment, then a matrix environment, both numbered, but the matrix only allows numbering of the whole thing. Thanks that did the trick The gather environment will also do, or the equation array environment, but not, perhaps surprisingly, the multiline environment, which is specifically intended to a single equation that spans many lines Actually the equation array environment appears not to do individual line numbering. It has the same effect as inset matrix Richard
numbering multi-line formulas
Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the Insert Matrix command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. Turning one one automatically enables the other, as does turning either one off. The result is that either there is no numbering at all or one number for the entire array, which is not what I want. Anyone have any ideas? thanks
numbering multi-line formulas
Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the Insert Matrix command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. Turning one one automatically enables the other, as does turning either one off. The result is that either there is no numbering at all or one number for the entire array, which is not what I want. Anyone have any ideas? thanks
numbering multi-line formulas
Hello, I wonder if anyone can help me with how to number multi-line formulas, as the Help manual appears to be out of date (it refers to menu options that no longer exist). I am running Lyx 2.0.2. I have a multi-line formula that I created via the "Insert Matrix" command. I would like to number each line in the formula. However, when I try this: Edit | Math | there are two choices: Number Whole Formula or Number This Line. However, they seem to be the same thing. Turning one one automatically enables the other, as does turning either one off. The result is that either there is no numbering at all or one number for the entire array, which is not what I want. Anyone have any ideas? thanks
Re: Uncovering a formula line by line (Beamer)
Um, what command does Ctrl-L represent? I suspect that its mapped to something else on mine: The status bar shows Scripts and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover2-\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
Columns in Beamer Lyx
I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth.
Re: Uncovering a formula line by line (Beamer)
Then we're simply back to square one, since that's what I was originally doing: I try to do this in Lyx by Insert | TeX, as soon as I type the symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. On 3/13/2012 2:53 PM, Liviu Andronic wrote: On Tue, Mar 13, 2012 at 8:47 PM, s nedunurinedun...@cs.utexas.edu wrote: Um, what command does Ctrl-L represent? Insert TeX Code. Liviu I suspect that its mapped to something else on mine: The status bar shows Scripts and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover2-\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
Re: Uncovering a formula line by line (Beamer)
Um, what command does Ctrl-L represent? I suspect that its mapped to something else on mine: The status bar shows Scripts and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover2-\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
Columns in Beamer Lyx
I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth.
Re: Uncovering a formula line by line (Beamer)
Then we're simply back to square one, since that's what I was originally doing: I try to do this in Lyx by Insert | TeX, as soon as I type the symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. On 3/13/2012 2:53 PM, Liviu Andronic wrote: On Tue, Mar 13, 2012 at 8:47 PM, s nedunurinedun...@cs.utexas.edu wrote: Um, what command does Ctrl-L represent? Insert TeX Code. Liviu I suspect that its mapped to something else on mine: The status bar shows Scripts and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover2-\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
Re: Uncovering a formula line by line (Beamer)
Um, what command does Ctrl-L represent? I suspect that its mapped to something else on mine: The status bar shows "Scripts" and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the "<" it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover<2->\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
"Columns" in Beamer Lyx
I'm wondering if there's a reason the Lyx version of the Columns command doesn't allow you to specify an overall width the way the Latex Beamer version does? Or for that matter the Column command requires you to give an absolute width for the column and doesnt allow a relative spec like 0.5\textwidth.
Re: Uncovering a formula line by line (Beamer)
Then we're simply back to square one, since that's what I was originally doing: "I try to do this in Lyx by "Insert | TeX", as soon as I type the "<" symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. " On 3/13/2012 2:53 PM, Liviu Andronic wrote: On Tue, Mar 13, 2012 at 8:47 PM, s nedunuri<nedun...@cs.utexas.edu> wrote: Um, what command does Ctrl-L represent? Insert> TeX Code. Liviu I suspect that its mapped to something else on mine: The status bar shows "Scripts" and the cursor becomes tiny. When i try typing what your wrote below as soon as it hits the "<" it just jumps right out of TeX mode again On 3/11/2012 5:30 PM, Paul A. Rubin wrote: 1. Create a display math inset. 2. Change the formula type to AMS Align. 3. In the first line, put A in the left box and =B in the right box. Hit Ctrl-Enter to start the second line. 4. Ignore the left box of the second line. With the cursor in the right box, type Ctrl-L \uncover<2->\{. The last \{ should create an inset surrounded by braces. Type =C in that inset. 5. Hit Ctrl-Enter to start the third line, and repeat the previous step but uncovering =D in the third overlay. Paul
Uncovering a formula line by line (Beamer)
Hello I am trying to uncover a formula line by line. The Beamer User Guide suggests the following: \begin{align} A = B \\ \uncover2-{= C \\} \uncover3-{= D} \end{align} The problem is that when I try to do this in Lyx by Insert | TeX as soon as I type the symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. Any suggestions? thanks
Uncovering a formula line by line (Beamer)
Hello I am trying to uncover a formula line by line. The Beamer User Guide suggests the following: \begin{align} A = B \\ \uncover2-{= C \\} \uncover3-{= D} \end{align} The problem is that when I try to do this in Lyx by Insert | TeX as soon as I type the symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. Any suggestions? thanks
Uncovering a formula line by line (Beamer)
Hello I am trying to uncover a formula line by line. The Beamer User Guide suggests the following: \begin{align} A &= B \\ \uncover<2->{&= C \\} \uncover<3->{&= D} \end{align} The problem is that when I try to do this in Lyx by "Insert | TeX" as soon as I type the "<" symbol Lyx immediately jumps out of TeX mode and into the surrounding math environment. Any suggestions? thanks
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat faded or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat faded or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
display fonts in Lyx 2.0.2
I just installed Lyx on my new machine (Windows 7) and noticed that compared with Lyx 2.0.0 on my old machine (also Windows 7) the display fonts don't look as nice. Its hard to describe except to say that they look somewhat "faded" or the characters somehow look like they were printed with a printer that was low on ink! I checked and all the settings are the same on the two Lyx's. Any ideas? cheers
Problems with emf to eps translator emf2eps
Hello, I am running Lyx 2.0.0 on Windows 7. When I import a figure created in Visio but saved as an emf file, it converts and appears ok in the Lyx editor. However, if I try to view the generated pdf file, adobe reader sits and thinks for a very long time before it is able to display the page containing the graphis. When it finally does, the figure appears vastly blown up in size. I need to scale it down in Lyx to about 20% of the original size to get it to fit, and even then reader will labor for a very long time beofre displaying the page (and sometimes omits the figure entirely). I never noticed this problem before b/c I used to give Lyx the eps file directly, converted from emf by a 3rd party tool which is unf. no longer free :-( so i am reliant on the built-in convertor now. Any ideas? cheers PS my current workaround is to get visio to save it as a jpg which I import into Lyx. This works ok but doesn't produce as sharp an image
Problems with emf to eps translator emf2eps
Hello, I am running Lyx 2.0.0 on Windows 7. When I import a figure created in Visio but saved as an emf file, it converts and appears ok in the Lyx editor. However, if I try to view the generated pdf file, adobe reader sits and thinks for a very long time before it is able to display the page containing the graphis. When it finally does, the figure appears vastly blown up in size. I need to scale it down in Lyx to about 20% of the original size to get it to fit, and even then reader will labor for a very long time beofre displaying the page (and sometimes omits the figure entirely). I never noticed this problem before b/c I used to give Lyx the eps file directly, converted from emf by a 3rd party tool which is unf. no longer free :-( so i am reliant on the built-in convertor now. Any ideas? cheers PS my current workaround is to get visio to save it as a jpg which I import into Lyx. This works ok but doesn't produce as sharp an image
Problems with emf to eps translator emf2eps
Hello, I am running Lyx 2.0.0 on Windows 7. When I import a figure created in Visio but saved as an emf file, it converts and appears ok in the Lyx editor. However, if I try to view the generated pdf file, adobe reader sits and thinks for a very long time before it is able to display the page containing the graphis. When it finally does, the figure appears vastly blown up in size. I need to scale it down in Lyx to about 20% of the original size to get it to fit, and even then reader will labor for a very long time beofre displaying the page (and sometimes omits the figure entirely). I never noticed this problem before b/c I used to give Lyx the eps file directly, converted from emf by a 3rd party tool which is unf. no longer free :-( so i am reliant on the built-in convertor now. Any ideas? cheers PS my current workaround is to get visio to save it as a jpg which I import into Lyx. This works ok but doesn't produce as sharp an image
strange error with tabular
Hello I generated latex from my lyx file and then seperately compile it (in order to use a particular document class not part of the lyx distribution). Normally there's no problem, but when I adjust the widths of columns in my table in Lyx, and then compile the generated latex, I get the following error message from latex: ! Use of \@array doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.1275 ...{\centering}p{1in}|{\centering}p{1in}|} ? The offending line is: \begin{tabular}{|c|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|} Incidentally, not adjusting the column widths generates the following latex which compiles fine: \begin{tabular}{|c|c|c|c|c|} Any ideas?
Re: strange error with tabular
BTW, i forgot to mention i'm using Lyx 1.6.6 and MikTex 2.8 S Nedunuri nedun...@cs.utexas.edu wrote in message news:ilohef$dmb$1...@dough.gmane.org... Hello I generated latex from my lyx file and then seperately compile it (in order to use a particular document class not part of the lyx distribution). Normally there's no problem, but when I adjust the widths of columns in my table in Lyx, and then compile the generated latex, I get the following error message from latex: ! Use of \@array doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.1275 ...{\centering}p{1in}|{\centering}p{1in}|} ? The offending line is: \begin{tabular}{|c|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|} Incidentally, not adjusting the column widths generates the following latex which compiles fine: \begin{tabular}{|c|c|c|c|c|} Any ideas?
Re: strange error with tabular
yes it does. Thanks! Funny that whatever latex processor Lyx is calling doesn't stumble on this. Paul Rubin ru...@msu.edu wrote in message news:loom.20110315t230814-...@post.gmane.org... Does adding \usepackage{array} to the preamble cure it? Paul
strange error with tabular
Hello I generated latex from my lyx file and then seperately compile it (in order to use a particular document class not part of the lyx distribution). Normally there's no problem, but when I adjust the widths of columns in my table in Lyx, and then compile the generated latex, I get the following error message from latex: ! Use of \@array doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.1275 ...{\centering}p{1in}|{\centering}p{1in}|} ? The offending line is: \begin{tabular}{|c|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|} Incidentally, not adjusting the column widths generates the following latex which compiles fine: \begin{tabular}{|c|c|c|c|c|} Any ideas?
Re: strange error with tabular
BTW, i forgot to mention i'm using Lyx 1.6.6 and MikTex 2.8 S Nedunuri nedun...@cs.utexas.edu wrote in message news:ilohef$dmb$1...@dough.gmane.org... Hello I generated latex from my lyx file and then seperately compile it (in order to use a particular document class not part of the lyx distribution). Normally there's no problem, but when I adjust the widths of columns in my table in Lyx, and then compile the generated latex, I get the following error message from latex: ! Use of \@array doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.1275 ...{\centering}p{1in}|{\centering}p{1in}|} ? The offending line is: \begin{tabular}{|c|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|{\centering}p{1in}|} Incidentally, not adjusting the column widths generates the following latex which compiles fine: \begin{tabular}{|c|c|c|c|c|} Any ideas?
Re: strange error with tabular
yes it does. Thanks! Funny that whatever latex processor Lyx is calling doesn't stumble on this. Paul Rubin ru...@msu.edu wrote in message news:loom.20110315t230814-...@post.gmane.org... Does adding \usepackage{array} to the preamble cure it? Paul
strange error with tabular
Hello I generated latex from my lyx file and then seperately compile it (in order to use a particular document class not part of the lyx distribution). Normally there's no problem, but when I adjust the widths of columns in my table in Lyx, and then compile the generated latex, I get the following error message from latex: ! Use of \@array doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.1275 ...{\centering}p{1in}|>{\centering}p{1in}|} ? The offending line is: \begin{tabular}{|c|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|} Incidentally, not adjusting the column widths generates the following latex which compiles fine: \begin{tabular}{|c|c|c|c|c|} Any ideas?
Re: strange error with tabular
BTW, i forgot to mention i'm using Lyx 1.6.6 and MikTex 2.8 "S Nedunuri" <nedun...@cs.utexas.edu> wrote in message news:ilohef$dmb$1...@dough.gmane.org... > Hello I generated latex from my lyx file and then seperately compile it > (in order to use a particular document class not part of the lyx > distribution). Normally there's no problem, but when I adjust the widths > of columns in my table in Lyx, and then compile the generated latex, I get > the following error message from latex: > > ! Use of \@array doesn't match its definition. > \new@ifnextchar ...served@d = #1\def \reserved@a { > #2}\def \reserved@b > {#3}\f... > l.1275 ...{\centering}p{1in}|>{\centering}p{1in}|} > > ? > > The offending line is: > > \begin{tabular}{|c|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|>{\centering}p{1in}|} > > Incidentally, not adjusting the column widths generates the following > latex which compiles fine: > > \begin{tabular}{|c|c|c|c|c|} > > Any ideas? > > >
Re: strange error with tabular
yes it does. Thanks! Funny that whatever latex processor Lyx is calling doesn't stumble on this. "Paul Rubin"wrote in message news:loom.20110315t230814-...@post.gmane.org... > Does adding \usepackage{array} to the preamble cure it? > > Paul > > >
Re: Lyx code env.
Thanks! that did the trick Richard Heck rgh...@comcast.net wrote in message news:4d319fec.30...@comcast.net... On 01/14/2011 05:48 PM, S Nedunuri wrote: Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! LyX automatically defines it for you, as: \newenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\rightmargin}{\leftmargin} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} So you will need to redefine this environment in your preamble. It may be enough to do this: \renewenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\leftmargin}{0pt} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} Untested. Richard
Re: Lyx code env.
Thanks! that did the trick Richard Heck rgh...@comcast.net wrote in message news:4d319fec.30...@comcast.net... On 01/14/2011 05:48 PM, S Nedunuri wrote: Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! LyX automatically defines it for you, as: \newenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\rightmargin}{\leftmargin} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} So you will need to redefine this environment in your preamble. It may be enough to do this: \renewenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\leftmargin}{0pt} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} Untested. Richard
Re: Lyx code env.
Thanks! that did the trick "Richard Heck" <rgh...@comcast.net> wrote in message news:4d319fec.30...@comcast.net... On 01/14/2011 05:48 PM, S Nedunuri wrote: Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! LyX automatically defines it for you, as: \newenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\rightmargin}{\leftmargin} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} So you will need to redefine this environment in your preamble. It may be enough to do this: \renewenvironment{lyxcode} {\par\begin{list}{}{ \setlength{\leftmargin}{0pt} \setlength{\listparindent}{0pt}% needed for AMS classes \raggedright \setlength{\itemsep}{0pt} \setlength{\parsep}{0pt} \normalfont\ttfamily}% \item[]} {\end{list}} Untested. Richard
Lyx code env.
Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! thanks
Lyx code env.
Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! thanks
Lyx code env.
Does anyone know how to adjust the left margin in the Lyx Code environment? I create an Algorithm float, and as soon as I set the env. of the contents to Lyx Code, the contents get shifted in. I have very little column space as it is, and I don't need a gratuitous indentation! thanks
default margin sizes
hello, how do you find out the default margin (left, top, etc.) settings for a given document class? Page Margins under Doc Settings just allows you to change the defaults but doesn't show what they are. The following article http://wiki.lyx.org/Tips/PaperLayout says Then open in your document an ERT-box (shortcut C-L) and insert the command \layout. When exporting the document, you will get a picture similar to this: paperDistances. However, i just get a complaint from the lyx compiler saying that \layout is an undefined control sequence cheers!
default margin sizes
hello, how do you find out the default margin (left, top, etc.) settings for a given document class? Page Margins under Doc Settings just allows you to change the defaults but doesn't show what they are. The following article http://wiki.lyx.org/Tips/PaperLayout says Then open in your document an ERT-box (shortcut C-L) and insert the command \layout. When exporting the document, you will get a picture similar to this: paperDistances. However, i just get a complaint from the lyx compiler saying that \layout is an undefined control sequence cheers!
default margin sizes
hello, how do you find out the default margin (left, top, etc.) settings for a given document class? Page Margins under Doc Settings just allows you to change the defaults but doesn't show what they are. The following article http://wiki.lyx.org/Tips/PaperLayout says "Then open in your document an ERT-box (shortcut C-L) and insert the command \layout. When exporting the document, you will get a picture similar to this: paperDistances". However, i just get a complaint from the lyx compiler saying that \layout is an undefined control sequence cheers!
some beamer questions
Just started using beamer. I think its great. I was unable to find a beamer manual [entry] for lyx but i've been able to figure out most of what i need from looking at the examples. Couple of qs: 1. When i create a block, how do i get the block contents to actually appear inside the block. So what i currently have is: Block (ERT[{title}] body): [[ {some heading} ]] block contents where [[ and ]] indicate a red ERT box. There seems to be some way of letting lyx know that the contents belong inside the blue box that appears on the output (b/c i see it done in the examples) but i cant figure it out 2. Suppose you have a program listing or a math array, and you want to animate the replacement of certain sections of the code or the introduction of certain pieces of code, how might that be done. I see a reference to overlays but the examples i looked at didn't contain them
some beamer questions
Just started using beamer. I think its great. I was unable to find a beamer manual [entry] for lyx but i've been able to figure out most of what i need from looking at the examples. Couple of qs: 1. When i create a block, how do i get the block contents to actually appear inside the block. So what i currently have is: Block (ERT[{title}] body): [[ {some heading} ]] block contents where [[ and ]] indicate a red ERT box. There seems to be some way of letting lyx know that the contents belong inside the blue box that appears on the output (b/c i see it done in the examples) but i cant figure it out 2. Suppose you have a program listing or a math array, and you want to animate the replacement of certain sections of the code or the introduction of certain pieces of code, how might that be done. I see a reference to overlays but the examples i looked at didn't contain them
some beamer questions
Just started using beamer. I think its great. I was unable to find a beamer manual [entry] for lyx but i've been able to figure out most of what i need from looking at the examples. Couple of qs: 1. When i create a block, how do i get the block contents to actually appear inside the block. So what i currently have is: Block (ERT[{title}] body): [[ {some heading} ]] where [[ and ]] indicate a red ERT box. There seems to be some way of letting lyx know that the contents belong inside the blue box that appears on the output (b/c i see it done in the examples) but i cant figure it out 2. Suppose you have a program listing or a math array, and you want to animate the replacement of certain sections of the code or the introduction of certain pieces of code, how might that be done. I see a reference to overlays but the examples i looked at didn't contain them