Problem with Algorithm Floats: Undefined Control Sequence
Hello, I'm having a weird problem with Algorithm Floats. I am using a master document with several child documents (one for each chapter). The odd thing is that when I compile/pdf the child document by itself, the algorithm floats seem to work just fine. However, when I try to compile/pdf the master document, I get an error: Undefined Control Sequence. In the details, it basically tells me that the algorithm command isn't defined correctly. I am using the 'report' class. Also using OSX 10.5 (leopard). On a related note, when using a program listing (without any algorithms) that seems to be fine. I am also trying ot understand the difference between the program listing, the algorithm float, and the lyx-code format, since they all seem to be similar to what I want. Please help! =)
Re: LyX version 1.6.0 (release candidate 1) is released
On Tuesday 05 August 2008 15:47:05 José Matos wrote: Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.devel.lyx.org/pub/devel/ For what is worth the right address is (the second lyx was missing): ftp://ftp.devel.lyx.org/pub/lyx/devel/ Thanks to Ivan Werning for letting me know about it. -- José Abílio
code of lyx
i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... -- View this message in context: http://n2.nabble.com/code-of-lyx-tp678459p678459.html Sent from the LyX - Users mailing list archive at Nabble.com.
Pseudocode in LyX?
Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? -- View this message in context: http://n2.nabble.com/Pseudocode-in-LyX--tp678469p678469.html Sent from the LyX - Users mailing list archive at Nabble.com.
math tool
how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: math tool
LuX is open source - download the source and see for yourself. On Aug 7, 2008, at 8:13 AM, nisa [EMAIL PROTECTED] wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Crtl+L On Jeudi 7 Août 2008, bigblop wrote: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? -- Prof. Pascal Francq Digital Information Chair Université libre de Bruxelles Department of Information and Communication Sciences Avenue F.D. Roosevelt, 50 CP 123 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 39 21 signature.asc Description: This is a digitally signed message part.
Re: code of lyx
nisa wrote: i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... It's in lib/lyx2lyx/, and you can browse it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/lyx2lyx or download it via svn. The program is written in python. The conversion is done one format jump at a time, and every time the format is changed, an appropriate routine is written. rh
Re: math tool
nisa wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc Now that part is complicated! You can see it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/src/mathed. Not many of us developers even understand it, though. Andre Poenitz is the master rh
Edit - paste external selection - as lines does not exists
I am following these steps from: http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html regarding algorithm environment. 1) insert - float - algorithm 2) set caption 3) copy the source code from emacs etc 4) select lyx Code environment 5) Edit - paste extenal selection - as lines. But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can only choose: Paste special - Plain Text Paste special - Plain Text, Join Lines But neither gives a nice result. Any hints? -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Pascal Francq wrote: Crtl+L I guess bigblop is searching an alternative for exactly that ;-) On Jeudi 7 Août 2008, bigblop wrote: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Two ways: 1) Insert - Programming listing 2) Layout Combo - LyX-Code environment. Abdel.
Re: Edit - paste external selection - as lines does not exists
It seems that when you type in the caption it appears as a title instead of at the bottom of the algorithm (like when you insert a figure). Is i possible to get both a title for the algorithm and a normal caption like the ones for figures? bigblop wrote: I am following these steps from: http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html regarding algorithm environment. 1) insert - float - algorithm 2) set caption 3) copy the source code from emacs etc 4) select lyx Code environment 5) Edit - paste extenal selection - as lines. But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can only choose: Paste special - Plain Text Paste special - Plain Text, Join Lines But neither gives a nice result. Any hints? -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678579.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Edit - paste external selection - as lines does not exists
What do you mean by nice result. On my Windows XP, I get exactly what I expected : my piece of code typeset in a type-writer font ( I use Plain text to keep all the line breaks of my code ) . If you want something like syntax highlighting, try Inser listings. This package enables you tho have a lot of options ( language, line numbering ...). Siegfried.
Working on 2 documents in parallel windows
Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? Best EJ
Re: Working on 2 documents in parallel windows
Ernesto Jardim wrote: Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? FileNew Window. rh
Re: Index separated by alphabetical character
Waluyo Adi Siswanto [EMAIL PROTECTED] writes: Hi All I am using Book (koma-script). The index generates index list in alphabetical order as I expected, but there is no character separation ( for example A for grouping index list start with a character). Is there a way to have an alphabetical character as the heading of every group of the list. Regards /Adi Hi! I have posted the same question here: http://permalink.gmane.org/gmane.editors.lyx.general/48565 / and here: http://latex-community.org/viewtopic.php?f=5t=1853 Nobody help me!...
Re: Pseudocode in LyX?
bigblop schrieb: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Use the Listings inset that is described in the userGuide under program listing. regards Uwe
Re: Index separated by alphabetical character
Waluyo Adi Siswanto schrieb: Is there a way to have an alphabetical character as the heading of every group of the list. Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe
Changing language from English to British
I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document - Settings - Language to British and Tools - Preferences - Default Language to British The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Materials Science
Re: Changing language from English to British
Hassan Khater wrote: I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document - Settings - Language to British and Tools - Preferences - Default Language to British Already written text keep their language, independently of the above settings. The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Language is a text property, you must change it using the text style dialog (Edit - Text Style - Customized) or using the minibuffer: 1) Select some text 2) Alt-x 3) language englishenter Abdel
Re: Index separated by alphabetical character
Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe /Adi
Re: Index separated by alphabetical character
Waluyo Adi Siswanto wrote: Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe And 1.6 will make this easier, since the Index inset will be a normal LyX inset, like a footnote. rh
Adjusting space between cells in a table
Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. I can easily adjust the cell width, but what I want is to reduce the amount of space between the cells. I am trying to condense have a large table to make it fit on one page. Thank you, Guillaume
Re: Adjusting space between cells in a table
Guillaume Larocque wrote: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. Put an ERT with \noindent \setlength{\tabcolsep}{1pt} right in front of the table. You might also want to put an ERT with \begin{scriptsize} before, and \end{scriptsize} after the table, if you want to reduce the fontsize for the whole table. /Konrad
Re: Excel graphs into Lyx
This won't be terribly helpful, but my short answer would be that there is no way that qualifies even as good, let alone best, for most figures. I hadn't made a figure in Excel in a long time, but I just did to muck around. I couldn't figure out how to save the figure (chart) by itself as an image. I saved the worksheet as a web page to force the chart into its own image file, but it was a GIF. How did you get them into JPGs? Is this Office 2007, the new and unimproved Office? Either way, the image that came out was not good and couldn't be resized in an editor - forget the reason why, something about scalable, vectorization... One thing I've done in a pinch is to make the image fill as much of the screen as possible and use Print Screen, then paste that image into an editor like GIMP. This will work to get decent resolution for simple stuff, but I wouldn't do it for publications or any final product. timtheenchanter wrote: Sorry if this question has been answered before but what is the best way to import excel graphs (Charts) into Lyx. If I convert them to a .jpg for example the quality of the finished document is poor. Thanks John -- View this message in context: http://n2.nabble.com/Excel-graphs-into-Lyx-tp586234p679451.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Adjusting space between cells in a table
Guillaume Larocque schrieb: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. This is explained in the EmbeddedObjects manual. regards Uwe
Shade part of a fraction
In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? -- View this message in context: http://n2.nabble.com/Shade-part-of-a-fraction-tp679625p679625.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Shade part of a fraction
bigblop schrieb: In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? Yes. This is explained in detail in the Math manual, sec. 9.3. Attached is an example using cyan instead of gray. You can of course also do this with gray by defining your own color as also explained in the Math manual, sec. 9.3. regards Uwe newfile1.lyx Description: application/lyx
Problem with Algorithm Floats: Undefined Control Sequence
Hello, I'm having a weird problem with Algorithm Floats. I am using a master document with several child documents (one for each chapter). The odd thing is that when I compile/pdf the child document by itself, the algorithm floats seem to work just fine. However, when I try to compile/pdf the master document, I get an error: Undefined Control Sequence. In the details, it basically tells me that the algorithm command isn't defined correctly. I am using the 'report' class. Also using OSX 10.5 (leopard). On a related note, when using a program listing (without any algorithms) that seems to be fine. I am also trying ot understand the difference between the program listing, the algorithm float, and the lyx-code format, since they all seem to be similar to what I want. Please help! =)
Re: LyX version 1.6.0 (release candidate 1) is released
On Tuesday 05 August 2008 15:47:05 José Matos wrote: Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows installers) should soon be available at ftp://ftp.devel.lyx.org/pub/devel/ For what is worth the right address is (the second lyx was missing): ftp://ftp.devel.lyx.org/pub/lyx/devel/ Thanks to Ivan Werning for letting me know about it. -- José Abílio
code of lyx
i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... -- View this message in context: http://n2.nabble.com/code-of-lyx-tp678459p678459.html Sent from the LyX - Users mailing list archive at Nabble.com.
Pseudocode in LyX?
Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? -- View this message in context: http://n2.nabble.com/Pseudocode-in-LyX--tp678469p678469.html Sent from the LyX - Users mailing list archive at Nabble.com.
math tool
how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: math tool
LuX is open source - download the source and see for yourself. On Aug 7, 2008, at 8:13 AM, nisa [EMAIL PROTECTED] wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Crtl+L On Jeudi 7 Août 2008, bigblop wrote: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? -- Prof. Pascal Francq Digital Information Chair Université libre de Bruxelles Department of Information and Communication Sciences Avenue F.D. Roosevelt, 50 CP 123 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 39 21 signature.asc Description: This is a digitally signed message part.
Re: code of lyx
nisa wrote: i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... It's in lib/lyx2lyx/, and you can browse it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/lyx2lyx or download it via svn. The program is written in python. The conversion is done one format jump at a time, and every time the format is changed, an appropriate routine is written. rh
Re: math tool
nisa wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc Now that part is complicated! You can see it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/src/mathed. Not many of us developers even understand it, though. Andre Poenitz is the master rh
Edit - paste external selection - as lines does not exists
I am following these steps from: http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html regarding algorithm environment. 1) insert - float - algorithm 2) set caption 3) copy the source code from emacs etc 4) select lyx Code environment 5) Edit - paste extenal selection - as lines. But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can only choose: Paste special - Plain Text Paste special - Plain Text, Join Lines But neither gives a nice result. Any hints? -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Pascal Francq wrote: Crtl+L I guess bigblop is searching an alternative for exactly that ;-) On Jeudi 7 Août 2008, bigblop wrote: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Two ways: 1) Insert - Programming listing 2) Layout Combo - LyX-Code environment. Abdel.
Re: Edit - paste external selection - as lines does not exists
It seems that when you type in the caption it appears as a title instead of at the bottom of the algorithm (like when you insert a figure). Is i possible to get both a title for the algorithm and a normal caption like the ones for figures? bigblop wrote: I am following these steps from: http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html regarding algorithm environment. 1) insert - float - algorithm 2) set caption 3) copy the source code from emacs etc 4) select lyx Code environment 5) Edit - paste extenal selection - as lines. But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can only choose: Paste special - Plain Text Paste special - Plain Text, Join Lines But neither gives a nice result. Any hints? -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678579.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Edit - paste external selection - as lines does not exists
What do you mean by nice result. On my Windows XP, I get exactly what I expected : my piece of code typeset in a type-writer font ( I use Plain text to keep all the line breaks of my code ) . If you want something like syntax highlighting, try Inser listings. This package enables you tho have a lot of options ( language, line numbering ...). Siegfried.
Working on 2 documents in parallel windows
Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? Best EJ
Re: Working on 2 documents in parallel windows
Ernesto Jardim wrote: Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? FileNew Window. rh
Re: Index separated by alphabetical character
Waluyo Adi Siswanto [EMAIL PROTECTED] writes: Hi All I am using Book (koma-script). The index generates index list in alphabetical order as I expected, but there is no character separation ( for example A for grouping index list start with a character). Is there a way to have an alphabetical character as the heading of every group of the list. Regards /Adi Hi! I have posted the same question here: http://permalink.gmane.org/gmane.editors.lyx.general/48565 / and here: http://latex-community.org/viewtopic.php?f=5t=1853 Nobody help me!...
Re: Pseudocode in LyX?
bigblop schrieb: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Use the Listings inset that is described in the userGuide under program listing. regards Uwe
Re: Index separated by alphabetical character
Waluyo Adi Siswanto schrieb: Is there a way to have an alphabetical character as the heading of every group of the list. Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe
Changing language from English to British
I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document - Settings - Language to British and Tools - Preferences - Default Language to British The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Materials Science
Re: Changing language from English to British
Hassan Khater wrote: I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document - Settings - Language to British and Tools - Preferences - Default Language to British Already written text keep their language, independently of the above settings. The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Language is a text property, you must change it using the text style dialog (Edit - Text Style - Customized) or using the minibuffer: 1) Select some text 2) Alt-x 3) language englishenter Abdel
Re: Index separated by alphabetical character
Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe /Adi
Re: Index separated by alphabetical character
Waluyo Adi Siswanto wrote: Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe And 1.6 will make this easier, since the Index inset will be a normal LyX inset, like a footnote. rh
Adjusting space between cells in a table
Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. I can easily adjust the cell width, but what I want is to reduce the amount of space between the cells. I am trying to condense have a large table to make it fit on one page. Thank you, Guillaume
Re: Adjusting space between cells in a table
Guillaume Larocque wrote: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. Put an ERT with \noindent \setlength{\tabcolsep}{1pt} right in front of the table. You might also want to put an ERT with \begin{scriptsize} before, and \end{scriptsize} after the table, if you want to reduce the fontsize for the whole table. /Konrad
Re: Excel graphs into Lyx
This won't be terribly helpful, but my short answer would be that there is no way that qualifies even as good, let alone best, for most figures. I hadn't made a figure in Excel in a long time, but I just did to muck around. I couldn't figure out how to save the figure (chart) by itself as an image. I saved the worksheet as a web page to force the chart into its own image file, but it was a GIF. How did you get them into JPGs? Is this Office 2007, the new and unimproved Office? Either way, the image that came out was not good and couldn't be resized in an editor - forget the reason why, something about scalable, vectorization... One thing I've done in a pinch is to make the image fill as much of the screen as possible and use Print Screen, then paste that image into an editor like GIMP. This will work to get decent resolution for simple stuff, but I wouldn't do it for publications or any final product. timtheenchanter wrote: Sorry if this question has been answered before but what is the best way to import excel graphs (Charts) into Lyx. If I convert them to a .jpg for example the quality of the finished document is poor. Thanks John -- View this message in context: http://n2.nabble.com/Excel-graphs-into-Lyx-tp586234p679451.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Adjusting space between cells in a table
Guillaume Larocque schrieb: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. This is explained in the EmbeddedObjects manual. regards Uwe
Shade part of a fraction
In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? -- View this message in context: http://n2.nabble.com/Shade-part-of-a-fraction-tp679625p679625.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Shade part of a fraction
bigblop schrieb: In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? Yes. This is explained in detail in the Math manual, sec. 9.3. Attached is an example using cyan instead of gray. You can of course also do this with gray by defining your own color as also explained in the Math manual, sec. 9.3. regards Uwe newfile1.lyx Description: application/lyx
Problem with Algorithm Floats: Undefined Control Sequence
Hello, I'm having a weird problem with Algorithm Floats. I am using a master document with several child documents (one for each chapter). The odd thing is that when I compile/pdf the child document by itself, the algorithm floats seem to work just fine. However, when I try to compile/pdf the master document, I get an error: Undefined Control Sequence. In the details, it basically tells me that the algorithm command isn't defined correctly. I am using the 'report' class. Also using OSX 10.5 (leopard). On a related note, when using a program listing (without any algorithms) that seems to be fine. I am also trying ot understand the difference between the program listing, the algorithm float, and the lyx-code format, since they all seem to be similar to what I want. Please help! =)
Re: LyX version 1.6.0 (release candidate 1) is released
On Tuesday 05 August 2008 15:47:05 José Matos wrote: > Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows > installers) should soon be available at > ftp://ftp.devel.lyx.org/pub/devel/ For what is worth the right address is (the second lyx was missing): ftp://ftp.devel.lyx.org/pub/lyx/devel/ Thanks to Ivan Werning for letting me know about it. -- José Abílio
code of lyx
i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... -- View this message in context: http://n2.nabble.com/code-of-lyx-tp678459p678459.html Sent from the LyX - Users mailing list archive at Nabble.com.
Pseudocode in LyX?
Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? -- View this message in context: http://n2.nabble.com/Pseudocode-in-LyX--tp678469p678469.html Sent from the LyX - Users mailing list archive at Nabble.com.
math tool
how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: math tool
LuX is open source - download the source and see for yourself. On Aug 7, 2008, at 8:13 AM, nisa <[EMAIL PROTECTED]> wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc -- View this message in context: http://n2.nabble.com/math-tool-tp678470p678470.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Crtl+L On Jeudi 7 Août 2008, bigblop wrote: > Are there any build in pseudocode editor in LyX or is it only possible to > write pseudocode by inserting a raw latex environment in the lyx file? -- Prof. Pascal Francq Digital Information Chair Université libre de Bruxelles Department of Information and Communication Sciences Avenue F.D. Roosevelt, 50 CP 123 B-1050 Brussels BELGIUM Tel. +32-2-650 47 65 Fax +32-2-650 39 21 signature.asc Description: This is a digitally signed message part.
Re: code of lyx
nisa wrote: i read that lyx with the help of script lyx2lyx which enables the reading of any file produced by LyX versions as old as 0.12.how does lyx do this? can i know the exact portion of code or the way in which this is achieved.the technical aspect in particular... It's in lib/lyx2lyx/, and you can browse it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/lyx2lyx or download it via svn. The program is written in python. The conversion is done one format jump at a time, and every time the format is changed, an appropriate routine is written. rh
Re: math tool
nisa wrote: how math editor is implemented in lyx? how does it automatically format text? pls tell the technical aspects of it in the coding part etc Now that part is complicated! You can see it here: http://www.lyx.org/trac/browser/lyx-devel/trunk/src/mathed. Not many of us developers even understand it, though. Andre Poenitz is the master rh
"Edit -> paste external selection -> as lines" does not exists
I am following these steps from: http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html regarding algorithm environment. 1) insert -> float -> algorithm 2) set caption 3) copy the source code from emacs etc 4) select lyx Code environment 5) Edit -> paste extenal selection -> as lines. But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can only choose: Paste special -> Plain Text Paste special -> Plain Text, Join Lines But neither gives a nice result. Any hints? -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678559.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Pseudocode in LyX?
Pascal Francq wrote: Crtl+L I guess bigblop is searching an alternative for exactly that ;-) On Jeudi 7 Août 2008, bigblop wrote: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Two ways: 1) Insert -> Programming listing 2) Layout Combo -> LyX-Code environment. Abdel.
Re: "Edit -> paste external selection -> as lines" does not exists
It seems that when you type in the caption it appears as a title instead of at the bottom of the algorithm (like when you insert a figure). Is i possible to get both a title for the algorithm and a normal caption like the ones for figures? bigblop wrote: > > I am following these steps from: > > http://www.stat.rice.edu/~helpdesk/howto/lyxguide.html > > regarding algorithm environment. > > > 1) insert -> float -> algorithm > 2) set caption > 3) copy the source code from emacs etc > 4) select lyx Code environment > 5) Edit -> paste extenal selection -> as lines. > > But step 5 is not possible in my version of LyX: 1.5.5 for windows. I can > only choose: > > Paste special -> Plain Text > Paste special -> Plain Text, Join Lines > > But neither gives a nice result. Any hints? > -- View this message in context: http://n2.nabble.com/%22Edit--%3E-paste-external-selection--%3E-as-lines%22--does-not-exists-tp678559p678579.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: "Edit -> paste external selection -> as lines" does not exists
What do you mean by "nice result". On my Windows XP, I get exactly what I expected : my piece of code typeset in a type-writer font ( I use Plain text to keep all the line breaks of my code ) . If you want something like syntax highlighting, try Inser > listings. This package enables you tho have a lot of options ( language, line numbering ...). Siegfried.
Working on 2 documents in parallel windows
Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? Best EJ
Re: Working on 2 documents in parallel windows
Ernesto Jardim wrote: Hi, Is there a way of working on 2 documents at the same time viewing in 2 parallel windows inside the same lyx session ? File>New Window. rh
Re: Index separated by alphabetical character
Waluyo Adi Siswanto <[EMAIL PROTECTED]> writes: > > Hi All > > I am using Book (koma-script). The index generates index list in > alphabetical order as I expected, but there is no character separation ( for > example A for grouping index list start with a character). > Is there a way to have an alphabetical character as the heading of every > group of the list. > > Regards > /Adi > Hi! I have posted the same question here: http://permalink.gmane.org/gmane.editors.lyx.general/48565 / and here: http://latex-community.org/viewtopic.php?f=5=1853 Nobody help me!...
Re: Pseudocode in LyX?
bigblop schrieb: Are there any build in pseudocode editor in LyX or is it only possible to write pseudocode by inserting a raw latex environment in the lyx file? Use the Listings inset that is described in the userGuide under program listing. regards Uwe
Re: Index separated by alphabetical character
Waluyo Adi Siswanto schrieb: Is there a way to have an alphabetical character as the heading of every group of the list. Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe
Changing language from English to British
I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document -> Settings -> Language to British and Tools -> Preferences -> Default Language to British The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Materials Science
Re: Changing language from English to British
Hassan Khater wrote: I have 7 child documents, the first four of these were created with English language set as default. Changing the spell check to British only underlines text as written by different language. This is done by changing both: Document -> Settings -> Language to British and Tools -> Preferences -> Default Language to British Already written text keep their language, independently of the above settings. The language still English as seen in the source code and spell check still apply American dictionary. More funny thing is that, I copied the text into a new LYX file with the new language settings but text is still checked using the English (American) dictionary while added text to same file is checked using British dictionary. For example it suggests some times to change (neighbor to neighbour) and some times (neighbour to neighbor) Hassan Khater Language is a text property, you must change it using the text style dialog (Edit -> Text Style -> Customized) or using the minibuffer: 1) Select some text 2) Alt-x 3) language english Abdel
Re: Index separated by alphabetical character
> Of course, you can use > A ! your entry > and get what you want. For more info about index entries, have a look at the > UserGuide. > > regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe /Adi
Re: Index separated by alphabetical character
Waluyo Adi Siswanto wrote: Of course, you can use A ! your entry and get what you want. For more info about index entries, have a look at the UserGuide. regards Uwe Thank you very much indeed... it's so simple, I can even use latex command to make it bold-italic, by entering in the index entries, for example: $\boldsymbol{N}$!Newton's Laws ! Law 2 Thank you again Uwe And 1.6 will make this easier, since the Index inset will be a normal LyX inset, like a footnote. rh
Adjusting space between cells in a table
Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. I can easily adjust the cell width, but what I want is to reduce the amount of space between the cells. I am trying to condense have a large table to make it fit on one page. Thank you, Guillaume
Re: Adjusting space between cells in a table
Guillaume Larocque wrote: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. Put an ERT with \noindent \setlength{\tabcolsep}{1pt} right in front of the table. You might also want to put an ERT with \begin{scriptsize} before, and \end{scriptsize} after the table, if you want to reduce the fontsize for the whole table. /Konrad
Re: Excel graphs into Lyx
This won't be terribly helpful, but my short answer would be that there is no way that qualifies even as good, let alone best, for most figures. I hadn't made a figure in Excel in a long time, but I just did to muck around. I couldn't figure out how to save the figure (chart) by itself as an image. I saved the worksheet as a web page to force the chart into its own image file, but it was a GIF. How did you get them into JPGs? Is this Office 2007, the new and unimproved Office? Either way, the image that came out was not good and couldn't be resized in an editor - forget the reason why, something about scalable, vectorization... One thing I've done in a pinch is to make the image fill as much of the screen as possible and use Print Screen, then paste that image into an editor like GIMP. This will work to get "decent" resolution for simple stuff, but I wouldn't do it for publications or any final product. timtheenchanter wrote: > > Sorry if this question has been answered before but what is the best way > to import excel graphs (Charts) into Lyx. If I convert them to a .jpg for > example the quality of the finished document is poor. > > Thanks > John > -- View this message in context: http://n2.nabble.com/Excel-graphs-into-Lyx-tp586234p679451.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Adjusting space between cells in a table
Guillaume Larocque schrieb: Hi, I would like to know if there is a way to adjust the horizontal space between cells in a table in Lyx. This is explained in the EmbeddedObjects manual. regards Uwe
Shade part of a fraction
In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? -- View this message in context: http://n2.nabble.com/Shade-part-of-a-fraction-tp679625p679625.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Shade part of a fraction
bigblop schrieb: In math mode I have some fractions: (a+b/c)*d Now I would like to give c and d a gray shade. Is that possible? Yes. This is explained in detail in the Math manual, sec. 9.3. Attached is an example using cyan instead of gray. You can of course also do this with gray by defining your own color as also explained in the Math manual, sec. 9.3. regards Uwe newfile1.lyx Description: application/lyx