Re: Help with mis-converted accents
Am Donnerstag, 21. Dezember 2006 23:53 schrieb Stefano Franchi: I did install it from sources months ago, when I was still running LyX 1.3.7. But then I upgraded to LyX 1.4.3---isn't tex2lyx installed as part of the general LyX installation? Yes, since 1.4.0. I am more than willing to reinstall it, but the package available for download (at http://wiki.lyx.org/uploads/LyX/MacOSX/tex2lyx_MacOSX_21Jul05.zip) does not indicate any specific installation instruction. It just contains the files to be copied into the subdirectories of LyX.app. Is there anything else I should do to correct the installation? That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. If you compile from source according to INSTALL.MacOSX the installation should work fine. Georg
Error message at launching
Hello, I have just installed the 1.4.3 version on my machine. It has run successfully but when I try to launch LyX it fails with the following error message : LyXTextClassList::Read: no textclasses found! Can anyone help me on this ? Thx in advance, Best regards, François
Re: mixing languages, problem
Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. Is this known? What can one do? Help or pointers welcome. (this is the official backported lyx 1.4.3 on ubuntu edgy) thanks, Sven last call before I file a report on bugzilla :-)
Re: mixing languages, problem
Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. Is this known? What can one do? Help or pointers welcome. (this is the official backported lyx 1.4.3 on ubuntu edgy) thanks, Sven last call before I file a report on bugzilla :-) http://bugzilla.lyx.org/show_bug.cgi?id=2365 Georg
Re: mixing languages, problem
Georg Baum schrieb: Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. thanks, sven
Re: mixing languages, problem
Sven Schreiber wrote: http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. Also cf. http://bugzilla.lyx.org/show_bug.cgi?id=2632 I think it will be really difficult to find a solution that fits everybody. Jürgen
Suspending enumerations
Hi all, I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Section One item one item two Section Two item one item two to produce One 1. one 2. two Two 3. one 4. two I know that no standard LyX layout produces this, but is such a behaviour possible, i.e. does LyX layout framework allow such a thing in principle? Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: mixing languages, problem
Juergen Spitzmueller schrieb: Sven Schreiber wrote: http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. Also cf. http://bugzilla.lyx.org/show_bug.cgi?id=2632 I think it will be really difficult to find a solution that fits everybody. Ok I'm confused (never used jurabib etc.), but here's my recipe: 1. start lyx, create new file (default lang is English) 2. type hello 3. set language to Spanish in text style dialog 4. type querido 5. save and try to view The error message I get is: \deactivatetilden The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. And below is the file that causes this on my setup; tell me if you need further information, and whether or not I should now file a new bug or not. cheers, Sven #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \language ngerman \inputencoding auto \fontscheme palatino \graphics default \paperfontsize 11 \spacing onehalf \papersize a4paper \use_geometry true \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \leftmargin 3cm \topmargin 3cm \rightmargin 3cm \bottommargin 3cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language polish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard hello \lang spanish querido \end_layout \end_body \end_document
Re: Suspending enumerations
On 12/22/06, Jan Willemson [EMAIL PROTECTED] wrote: I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. Paul example.lyx Description: application/lyx
Re: Suspending enumerations
On 12/22/06, Paul Smith [EMAIL PROTECTED] wrote: I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. An even simpler example is attached. Again, it is based on an example provided recently by Paul Rubin. Paul example2.lyx Description: application/lyx
document class leaflet
Hello, I have been forced to use a MSwin computer instead of my linux machine which I am rebuilding. I installed MiKTeX and the other necessary programs to run LyX. I have used the default classes and layouts and like very much what I see. I , because of lack of experience, cannot set up the document class leaflet to run in LyX. I tested the class in TeXmaker and it works just fine there. Please give me some direction, if you know, that I might be able to read a HOWTO or manual to figure this thing out. I am not asking you to do my homework for me. I am not lazy and like to read and study. Got any ideas? Thanks RickM
Re: document class leaflet
As it works with latex you probably do not have a layout file that tell LyX how to use the leaflet class. These are not that difficult to produce, and as leaflet seem to be quit close to the standard article-class you only need to make a copy of the article.layoutfile to fit your need. All you (probably) have to do is to find where LyX has a file called article.layout and make a copy, calling it leaflet.layout in the same directory as article.layout. Open leaflet.layout in your favorite texteditor and change second line # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{leaflet} run reconfigure in lyx and restart lyx and leaflet should appear. You might use some ert and the preamble to tune the class, but most basic functionalities should be there. for more details check chapter 5. in the Customization.lyx that are shipped with LyX. Ingar --
dangerous tex?
I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks!
Re: dangerous tex?
On Dec 22, 2006, at 11:44 AM, Jeremy C. Reed wrote: I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks! One dangerous thing I'm aware of is the tex command \write18{} which lets you exectute arbitrary shell scripts, if that's enabled in your texmf.cnf configuration file. This is not enable by default in the tetex distribution I have installed on my Mac through fink, but it is enabled in another tex distribution for the same platform (MacTeX), so I think one can't be sure a priori. You could simply create a test file like the following : \documentclass{article} \begin{document} Hello \write18{ls} \end{document} and run pdflatex on it. If this produces a directory listing amongst the other command-line output, then the \write18 security hole exists. There's more information to be found by googling tex write18. Jens
Re: Suspending enumerations
Hi again, Thanx or the examples but this is not really what I was talikng about. I actually meant the layout file for LyX that would display the real item numbers, so that suspension could be done without invoking ERT. Is such a thing even technically possible with LyX right now? How much trouble would it be to add technical support or this? I really need this feature and if there is no other way I may be able to get some contributions to LyX. Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: Help with mis-converted accents-- success and lections learned
On 22 Dec, 2006, at 3:20 AM, Georg Baum wrote: That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. That was it, thanks Georg. I managed to eliminate older versions of tex2Lyx and reactivate the latest, working version. That worked. Two problems were left though, detailed here for future reference: 1. I encountered problems with the input encoding. LyX seems to assume the encoding is always Latin1. That is not the default encoding on the Mac, though. Originally, I edited the sed script provided by Charles in a standard Mac editor (TextWrangler) without worrying about the encoding. The accented letters looked fine in TextWrangler, but got mangled up when imported into LyX. Solution: TextWrangler offers an optional choice of encodings when opening (and, consequently, saving) a file. I reopened the sed script as Latin1, and changed manually all the accented letters. This worked. 2. Either tex2Lyx or Lyx itself (either when exporting to Latex or when reading the file converted by tex2lyx) could not handle the user defined preamble properly. When I was finally able to import the file back into LyX with all the corrected accents, LyX would still refuse to produce pdf output (with pdfLaTeX), complaining about missing a \begin{document} command. Indeed, the preamble section of Document settings showed both the user preamble and the LyX generated preamble. Solution: erase the whole preamble from the converted file and cut and paste it back from the original file. Thanks to everyone who helped me during the long and painful process. Happy holidays to everyone from a (once again) happy LyXer, S. __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: LyX/Mac-1.5 alpha available for download
Chris Dole wrote: I am unable to compile from the source code since I do not have enough hard drive space for qt-lib and xcode. Thanks, Chris Dole On Dec 21, 2006, at 4:31 AM, Georg Baum wrote: Am Mittwoch, 20. Dezember 2006 19:18 schrieb Chris Dole: Is there a way to (or someone who can) compile it for PPCs? I am sure that Stefano and I are not the only one's who would love to test the 1.5 release. Get the sources from SVN as described here: http://www.lyx.org/devel/cvs.php. Then follow the instructions in the file INSTALL.MacOSX to compile LyX. Georg I can make the PPC version available if there is interest; I update from svn daily recompile.
Re: Help with mis-converted accents
Am Donnerstag, 21. Dezember 2006 23:53 schrieb Stefano Franchi: I did install it from sources months ago, when I was still running LyX 1.3.7. But then I upgraded to LyX 1.4.3---isn't tex2lyx installed as part of the general LyX installation? Yes, since 1.4.0. I am more than willing to reinstall it, but the package available for download (at http://wiki.lyx.org/uploads/LyX/MacOSX/tex2lyx_MacOSX_21Jul05.zip) does not indicate any specific installation instruction. It just contains the files to be copied into the subdirectories of LyX.app. Is there anything else I should do to correct the installation? That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. If you compile from source according to INSTALL.MacOSX the installation should work fine. Georg
Error message at launching
Hello, I have just installed the 1.4.3 version on my machine. It has run successfully but when I try to launch LyX it fails with the following error message : LyXTextClassList::Read: no textclasses found! Can anyone help me on this ? Thx in advance, Best regards, François
Re: mixing languages, problem
Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. Is this known? What can one do? Help or pointers welcome. (this is the official backported lyx 1.4.3 on ubuntu edgy) thanks, Sven last call before I file a report on bugzilla :-)
Re: mixing languages, problem
Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. Is this known? What can one do? Help or pointers welcome. (this is the official backported lyx 1.4.3 on ubuntu edgy) thanks, Sven last call before I file a report on bugzilla :-) http://bugzilla.lyx.org/show_bug.cgi?id=2365 Georg
Re: mixing languages, problem
Georg Baum schrieb: Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: Sven Schreiber schrieb: Hi, I had some problems with multi-language documents; for example, marking a word as Spanish (in an otherwise English-language document), Lyx includes the command \deactivatetilden in the latex file, and latex throws an error. http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. thanks, sven
Re: mixing languages, problem
Sven Schreiber wrote: http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. Also cf. http://bugzilla.lyx.org/show_bug.cgi?id=2632 I think it will be really difficult to find a solution that fits everybody. Jürgen
Suspending enumerations
Hi all, I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Section One item one item two Section Two item one item two to produce One 1. one 2. two Two 3. one 4. two I know that no standard LyX layout produces this, but is such a behaviour possible, i.e. does LyX layout framework allow such a thing in principle? Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: mixing languages, problem
Juergen Spitzmueller schrieb: Sven Schreiber wrote: http://bugzilla.lyx.org/show_bug.cgi?id=2365 Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. Also cf. http://bugzilla.lyx.org/show_bug.cgi?id=2632 I think it will be really difficult to find a solution that fits everybody. Ok I'm confused (never used jurabib etc.), but here's my recipe: 1. start lyx, create new file (default lang is English) 2. type hello 3. set language to Spanish in text style dialog 4. type querido 5. save and try to view The error message I get is: \deactivatetilden The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. And below is the file that causes this on my setup; tell me if you need further information, and whether or not I should now file a new bug or not. cheers, Sven #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \language ngerman \inputencoding auto \fontscheme palatino \graphics default \paperfontsize 11 \spacing onehalf \papersize a4paper \use_geometry true \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \leftmargin 3cm \topmargin 3cm \rightmargin 3cm \bottommargin 3cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language polish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard hello \lang spanish querido \end_layout \end_body \end_document
Re: Suspending enumerations
On 12/22/06, Jan Willemson [EMAIL PROTECTED] wrote: I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. Paul example.lyx Description: application/lyx
Re: Suspending enumerations
On 12/22/06, Paul Smith [EMAIL PROTECTED] wrote: I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. An even simpler example is attached. Again, it is based on an example provided recently by Paul Rubin. Paul example2.lyx Description: application/lyx
document class leaflet
Hello, I have been forced to use a MSwin computer instead of my linux machine which I am rebuilding. I installed MiKTeX and the other necessary programs to run LyX. I have used the default classes and layouts and like very much what I see. I , because of lack of experience, cannot set up the document class leaflet to run in LyX. I tested the class in TeXmaker and it works just fine there. Please give me some direction, if you know, that I might be able to read a HOWTO or manual to figure this thing out. I am not asking you to do my homework for me. I am not lazy and like to read and study. Got any ideas? Thanks RickM
Re: document class leaflet
As it works with latex you probably do not have a layout file that tell LyX how to use the leaflet class. These are not that difficult to produce, and as leaflet seem to be quit close to the standard article-class you only need to make a copy of the article.layoutfile to fit your need. All you (probably) have to do is to find where LyX has a file called article.layout and make a copy, calling it leaflet.layout in the same directory as article.layout. Open leaflet.layout in your favorite texteditor and change second line # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{leaflet} run reconfigure in lyx and restart lyx and leaflet should appear. You might use some ert and the preamble to tune the class, but most basic functionalities should be there. for more details check chapter 5. in the Customization.lyx that are shipped with LyX. Ingar --
dangerous tex?
I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks!
Re: dangerous tex?
On Dec 22, 2006, at 11:44 AM, Jeremy C. Reed wrote: I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks! One dangerous thing I'm aware of is the tex command \write18{} which lets you exectute arbitrary shell scripts, if that's enabled in your texmf.cnf configuration file. This is not enable by default in the tetex distribution I have installed on my Mac through fink, but it is enabled in another tex distribution for the same platform (MacTeX), so I think one can't be sure a priori. You could simply create a test file like the following : \documentclass{article} \begin{document} Hello \write18{ls} \end{document} and run pdflatex on it. If this produces a directory listing amongst the other command-line output, then the \write18 security hole exists. There's more information to be found by googling tex write18. Jens
Re: Suspending enumerations
Hi again, Thanx or the examples but this is not really what I was talikng about. I actually meant the layout file for LyX that would display the real item numbers, so that suspension could be done without invoking ERT. Is such a thing even technically possible with LyX right now? How much trouble would it be to add technical support or this? I really need this feature and if there is no other way I may be able to get some contributions to LyX. Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: Help with mis-converted accents-- success and lections learned
On 22 Dec, 2006, at 3:20 AM, Georg Baum wrote: That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. That was it, thanks Georg. I managed to eliminate older versions of tex2Lyx and reactivate the latest, working version. That worked. Two problems were left though, detailed here for future reference: 1. I encountered problems with the input encoding. LyX seems to assume the encoding is always Latin1. That is not the default encoding on the Mac, though. Originally, I edited the sed script provided by Charles in a standard Mac editor (TextWrangler) without worrying about the encoding. The accented letters looked fine in TextWrangler, but got mangled up when imported into LyX. Solution: TextWrangler offers an optional choice of encodings when opening (and, consequently, saving) a file. I reopened the sed script as Latin1, and changed manually all the accented letters. This worked. 2. Either tex2Lyx or Lyx itself (either when exporting to Latex or when reading the file converted by tex2lyx) could not handle the user defined preamble properly. When I was finally able to import the file back into LyX with all the corrected accents, LyX would still refuse to produce pdf output (with pdfLaTeX), complaining about missing a \begin{document} command. Indeed, the preamble section of Document settings showed both the user preamble and the LyX generated preamble. Solution: erase the whole preamble from the converted file and cut and paste it back from the original file. Thanks to everyone who helped me during the long and painful process. Happy holidays to everyone from a (once again) happy LyXer, S. __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: LyX/Mac-1.5 alpha available for download
Chris Dole wrote: I am unable to compile from the source code since I do not have enough hard drive space for qt-lib and xcode. Thanks, Chris Dole On Dec 21, 2006, at 4:31 AM, Georg Baum wrote: Am Mittwoch, 20. Dezember 2006 19:18 schrieb Chris Dole: Is there a way to (or someone who can) compile it for PPCs? I am sure that Stefano and I are not the only one's who would love to test the 1.5 release. Get the sources from SVN as described here: http://www.lyx.org/devel/cvs.php. Then follow the instructions in the file INSTALL.MacOSX to compile LyX. Georg I can make the PPC version available if there is interest; I update from svn daily recompile.
Re: Help with mis-converted accents
Am Donnerstag, 21. Dezember 2006 23:53 schrieb Stefano Franchi: > I did install it from sources months ago, when I was still running LyX > 1.3.7. But then I upgraded to LyX 1.4.3---isn't tex2lyx installed as > part of the general LyX installation? Yes, since 1.4.0. > I am more than willing to reinstall it, but the package available for > download (at > http://wiki.lyx.org/uploads/LyX/MacOSX/tex2lyx_MacOSX_21Jul05.zip) does > not indicate any specific installation instruction. It just contains > the files to be copied into the subdirectories of LyX.app. Is there > anything else I should do to correct the installation? That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. If you compile from source according to INSTALL.MacOSX the installation should work fine. Georg
Error message at launching
Hello, I have just installed the 1.4.3 version on my machine. It has run successfully but when I try to launch LyX it fails with the following error message : LyXTextClassList::Read: no textclasses found! Can anyone help me on this ? Thx in advance, Best regards, François
Re: mixing languages, problem
Sven Schreiber schrieb: > Hi, I had some problems with multi-language documents; > for example, marking a word as Spanish (in an otherwise English-language > document), Lyx includes the command \deactivatetilden in the latex file, > and latex throws an error. > > Is this known? What can one do? Help or pointers welcome. > > (this is the "official" backported lyx 1.4.3 on ubuntu edgy) > > thanks, > Sven > last call before I file a report on bugzilla :-)
Re: mixing languages, problem
Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: > Sven Schreiber schrieb: > > Hi, I had some problems with multi-language documents; > > for example, marking a word as Spanish (in an otherwise English-language > > document), Lyx includes the command \deactivatetilden in the latex file, > > and latex throws an error. > > > > Is this known? What can one do? Help or pointers welcome. > > > > (this is the "official" backported lyx 1.4.3 on ubuntu edgy) > > > > thanks, > > Sven > > > > last call before I file a report on bugzilla :-) http://bugzilla.lyx.org/show_bug.cgi?id=2365 Georg
Re: mixing languages, problem
Georg Baum schrieb: > Am Freitag, 22. Dezember 2006 11:42 schrieb Sven Schreiber: >> Sven Schreiber schrieb: >>> Hi, I had some problems with multi-language documents; >>> for example, marking a word as Spanish (in an otherwise > English-language >>> document), Lyx includes the command \deactivatetilden in the latex > file, >>> and latex throws an error. > > http://bugzilla.lyx.org/show_bug.cgi?id=2365 > Interesting, but that would suggest the fix to bug 2365 caused my bug. I will try to include a detailed description/recipe in the bug that I will file during the holidays. thanks, sven
Re: mixing languages, problem
Sven Schreiber wrote: >> >> http://bugzilla.lyx.org/show_bug.cgi?id=2365 >> > > Interesting, but that would suggest the fix to bug 2365 caused my bug. I > will try to include a detailed description/recipe in the bug that I will > file during the holidays. Also cf. http://bugzilla.lyx.org/show_bug.cgi?id=2632 I think it will be really difficult to find a solution that fits everybody. Jürgen
Suspending enumerations
Hi all, I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Section One item one item two Section Two item one item two to produce One 1. one 2. two Two 3. one 4. two I know that no standard LyX layout produces this, but is such a behaviour possible, i.e. does LyX layout framework allow such a thing in principle? Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: mixing languages, problem
Juergen Spitzmueller schrieb: > Sven Schreiber wrote: > >>> http://bugzilla.lyx.org/show_bug.cgi?id=2365 >>> >> Interesting, but that would suggest the fix to bug 2365 caused my bug. I >> will try to include a detailed description/recipe in the bug that I will >> file during the holidays. > > Also cf. > http://bugzilla.lyx.org/show_bug.cgi?id=2632 > > I think it will be really difficult to find a solution that fits everybody. > Ok I'm confused (never used jurabib etc.), but here's my recipe: 1. start lyx, create new file (default lang is English) 2. type "hello " 3. set language to Spanish in text style dialog 4. type "querido" 5. save and try to view The error message I get is: \deactivatetilden The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. And below is the file that causes this on my setup; tell me if you need further information, and whether or not I should now file a new bug or not. cheers, Sven #LyX 1.4.3 created this file. For more info see http://www.lyx.org/ \lyxformat 245 \begin_document \begin_header \textclass article \language ngerman \inputencoding auto \fontscheme palatino \graphics default \paperfontsize 11 \spacing onehalf \papersize a4paper \use_geometry true \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \leftmargin 3cm \topmargin 3cm \rightmargin 3cm \bottommargin 3cm \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language polish \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard hello \lang spanish querido \end_layout \end_body \end_document
Re: Suspending enumerations
On 12/22/06, Jan Willemson <[EMAIL PROTECTED]> wrote: I was wandering if it would be possible to have in LyX suspended/restored enumerated lists like LaTeX's enumitem package provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. Paul example.lyx Description: application/lyx
Re: Suspending enumerations
On 12/22/06, Paul Smith <[EMAIL PROTECTED]> wrote: > I was wandering if it would be possible to have in LyX > suspended/restored enumerated lists like LaTeX's enumitem package > provides, i.e. I'd like to have something like Yes, Jan, it is possible with LyX and mdwlist. I am sending a LyX file based on and exampled provided recently by Paul Rubin. An even simpler example is attached. Again, it is based on an example provided recently by Paul Rubin. Paul example2.lyx Description: application/lyx
document class "leaflet"
Hello, I have been forced to use a MSwin computer instead of my linux machine which I am rebuilding. I installed MiKTeX and the other necessary programs to run LyX. I have used the default classes and layouts and like very much what I see. I , because of lack of experience, cannot set up the document class "leaflet" to run in LyX. I tested the class in TeXmaker and it works just fine there. Please give me some direction, if you know, that I might be able to read a HOWTO or manual to figure this thing out. I am not asking you to do my homework for me. I am not lazy and like to read and study. Got any ideas? Thanks RickM
Re: document class "leaflet"
As it works with latex you probably do not have a layout file that tell LyX how to use the leaflet class. These are not that difficult to produce, and as leaflet seem to be quit close to the standard article-class you only need to make a copy of the article.layoutfile to fit your need. All you (probably) have to do is to find where LyX has a file called article.layout and make a copy, calling it leaflet.layout in the same directory as article.layout. Open leaflet.layout in your favorite texteditor and change second line # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{leaflet} run reconfigure in lyx and restart lyx and leaflet should appear. You might use some ert and the preamble to tune the class, but most basic functionalities should be there. for more details check chapter 5. in the Customization.lyx that are shipped with LyX. Ingar --
dangerous tex?
I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks!
Re: dangerous tex?
On Dec 22, 2006, at 11:44 AM, Jeremy C. Reed wrote: I am working on a system that generates latex and PDFs from data provided from the public. I don't want to allow public to accidently or maliciously embed some code that breaks latex or breaks the system. Can anyone point me to some URLs or docs or provide examples of what could be dangerous? Does latex allow running commands? One problem I imagine is attempting to include some abritrary file. I will try to strip out possible tex commands from data but want to make sure I don't miss anything. Thanks! One dangerous thing I'm aware of is the tex command \write18{} which lets you exectute arbitrary shell scripts, if that's enabled in your texmf.cnf configuration file. This is not enable by default in the tetex distribution I have installed on my Mac through fink, but it is enabled in another tex distribution for the same platform (MacTeX), so I think one can't be sure a priori. You could simply create a test file like the following : \documentclass{article} \begin{document} Hello \write18{ls} \end{document} and run pdflatex on it. If this produces a directory listing amongst the other command-line output, then the \write18 security hole exists. There's more information to be found by googling "tex write18". Jens
Re: Suspending enumerations
Hi again, Thanx or the examples but this is not really what I was talikng about. I actually meant the layout file for LyX that would display the real item numbers, so that suspension could be done without invoking ERT. Is such a thing even technically possible with LyX right now? How much trouble would it be to add technical support or this? I really need this feature and if there is no other way I may be able to get some contributions to LyX. Best regards, Jan -- Telli Päevaleht ja võida 4 Nissani maasturit! http://www.epl.ee/4x4
Re: Help with mis-converted accents--> success and lections learned
On 22 Dec, 2006, at 3:20 AM, Georg Baum wrote: That package is outdated, you should not use it. It was made for users of LyX 1.3.x who wanted to try tex2lyx before it was released officially. Maybe you have that package installed somewhere? I don't know how exactly it works on the Mac, but on linux LyX searches for tex2lyx in the path, so if some old version is in the path before the new one the old one will be used. That was it, thanks Georg. I managed to eliminate older versions of tex2Lyx and reactivate the latest, working version. That worked. Two problems were left though, detailed here for future reference: 1. I encountered problems with the input encoding. LyX seems to assume the encoding is always Latin1. That is not the default encoding on the Mac, though. Originally, I edited the sed script provided by Charles in a standard Mac editor (TextWrangler) without worrying about the encoding. The accented letters looked fine in TextWrangler, but got mangled up when imported into LyX. Solution: TextWrangler offers an optional choice of encodings when opening (and, consequently, saving) a file. I reopened the sed script as Latin1, and changed manually all the accented letters. This worked. 2. Either tex2Lyx or Lyx itself (either when exporting to Latex or when reading the file converted by tex2lyx) could not handle the user defined preamble properly. When I was finally able to import the file back into LyX with all the corrected accents, LyX would still refuse to produce pdf output (with pdfLaTeX), complaining about missing a \begin{document} command. Indeed, the preamble section of Document settings showed both the user preamble and the LyX generated preamble. Solution: erase the whole preamble from the converted file and cut and paste it back from the original file. Thanks to everyone who helped me during the long and painful process. Happy holidays to everyone from a (once again) happy LyXer, S. __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: LyX/Mac-1.5 alpha available for download
Chris Dole wrote: I am unable to compile from the source code since I do not have enough hard drive space for qt-lib and xcode. Thanks, Chris Dole On Dec 21, 2006, at 4:31 AM, Georg Baum wrote: Am Mittwoch, 20. Dezember 2006 19:18 schrieb Chris Dole: Is there a way to (or someone who can) compile it for PPCs? I am sure that Stefano and I are not the only one's who would love to test the 1.5 release. Get the sources from SVN as described here: http://www.lyx.org/devel/cvs.php. Then follow the instructions in the file INSTALL.MacOSX to compile LyX. Georg I can make the PPC version available if there is interest; I update from svn daily & recompile.