Re: long-time LyX user needs install help on Mac OSX 10.4.8
Jens Noeckel wrote: Assuming you got the dvipdfmx package from fink, too: the error is probably due to the entry \usepackage[T1]{fontenc} which is inserted into the LaTeX preamble by LyX without asking or telling you. It's a good idea to have that when using pdflatex, which I use almost exclusively. But still: I think this practice of stealthily slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter default as font encoding, and LyX will not output this line. Georg
Re: problème avec lyx1.4.2
blondot == blondot bernard [EMAIL PROTECTED] writes: blondot Le sytème copier couper coller semble fonctionner assez mal blondot en tout cas bien plus mal que dans les anciennes versions , blondot est ce du à un bogue ou à defaut de configuration , il en est blondot de même des fonctions annuler et refaire . Qu'est-ce qui marche mal? blondot Les aides proposées ne sont pas d' une grande utilité car ne blondot correspondent pas à la version actuelle de lyx . On y travaille :) Ça sera mieux dans la version 1.4.4. blondot Dans le menu editer math ( quand on est en mode math ) à quoi blondot sert l' option logiciel de calcul formel ? j'ai essayé avec blondot maxima mais cela n' a rien donné et ce n' est pas le fichier blondot d' aide qui peut me donner une réponse Je ne crois pas que ce soit documenté en effet :( Normalement, cela permet d'exécuter un calcul et de le remplacer par sont résultat. Je n'ai jamais essayé moi-même... (le support de maxima sera aussi amélioré dans la version 1.4.4) JMarc
Re: Mysql
To: LyX Users List lyx-users@lists.lyx.org From: Daniel Culver [EMAIL PROTECTED] Subject: Mysql Date: Wed, 10 Jan 2007 20:40:36 -0800 Hi, I am thinking about using Lyx for some documents that need to include output from a Mysql database. Does anyone have any advise about the best way to proceed. It depends of the kind of doc you mean If it's just patching data in a LyX doc (a teable, e.g.), it's quite simple to write a script which creates the tex code in a file, e.g. mytable.tex and \input{mytable} If you want to fill in a template with various data, here is what I do (it's not Mysql, it's from Internet forms, but it must work the same). 1/on the LyX side, - insert variable info as latex commands, i.e. if you want to get the name, type in ERT \dbname, \dbaddress, etc. at the desired location. - create a tex file, say data_ref.tex where these commands are defined with typical values \newcommand{\dbname}{your_name} \newcommand{\dbaddress}{your_address} ... - \input{data_ref} in your preamble and check that the LyX output is correct - touch an empty data.tex file and \input{data} after \input{data_ref} in the preamble 2/ on the mySQl side - create a script, say extract_data.sh, extract_data.pl (perl is great for this) or whatever interpreter which extracts the variables your_name, your_address... and writes out to file data.tex like this: \renewcommand{\dbname}{your_name} \renewcommand{\dbaddress}{your_address} ... - check that lyx -e dvi foo.lyx is OK; - do whatever needed to automate extraction and lyx compilation for various sets of data. You see that's just one method (among others I guess) to produce a mailing. It's easy to fill in forms with this: - get the eps of the empty form - define all needed commands to patch data in the form - open xfig, place the eps picture - with the special flag set, type in all commands at their locations, - insert the xfig file as external material in the lyx doc, - if the pstex_t or pdftex_t file needs editing (the choice of combinations of fonts is not complete in xfig) you may revert to explicit \input of pstex_t or pdftex_t, and fiddle with the family, shape, etc definitions to get what you want. HTH -- Jean-Pierre
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: long-time LyX user needs install help on Mac OSX 10.4.8
On Jan 11, 2007, at 12:06 AM, Georg Baum wrote: Jens Noeckel wrote: Assuming you got the dvipdfmx package from fink, too: the error is probably due to the entry \usepackage[T1]{fontenc} which is inserted into the LaTeX preamble by LyX without asking or telling you. It's a good idea to have that when using pdflatex, which I use almost exclusively. But still: I think this practice of stealthily slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter default as font encoding, and LyX will not output this line. Why not just make those kind of entries visible when the user opens DocumentSettingsPreamble? The preamble that is shown to the user is completely empty for a new file, but the exported latex has additional lines in the preamble. Makes it really hard to debug latex problems if you don't know about this. One could perhaps put preamble entries that come from the Output Settings in a different color (maybe even grayed out), but still let them show up in the preamble. Jens
Re: Spacing changes in the Memoir class (Solved for now)
Peter Wilson, the author of Memoir, e-mailed me with the solution. Props, and thanks for your time, Peter! EK Peter Wilson wrote: I don't have, or use, Lyx so i can't test anything with it. If you have just \documentclass[...]{memoir} %%\usepackage{setspace} with or without this then you have to use memoir's line spacing commands (e.g. \begin{Spacing}{1} instead of \begin{spacing}{1}). (I tried this with your example redefinition of the quote environment and it worked.) If you have \documentclass[...]{memoir} \DisemulatePackage{setspace} \usepackage{setspace} then you have to use setspace's line spacing commands (e.g., \begin{spacing}{1} --- your quote environment example worked following \DisemulatePackage{setspace*}).* You can't mix the two sets of commands/environments. Memoir's implementation of the line spacing commands is a little different than setspace's, resulting sometimes in different spacing; in particular memoir's version eliminates some extra space that might occur near/around display material. In one case just calling \usepackage{setspace} had the result of insering a large space on one page and moving about 6 or 8 lines to the following page even though no spacing commands were used; this did not happen with memoir's implementation. As the results might be different I choose to use different names, but \DisemulatePackage{setspace} gives you the opportunity to pick which set you want to use. Peter W. Eran Kaplinsky wrote: The memoir class has been recently updated (Dec. 11) and changes have been made to spacing commands. As a result, a LyX document using the class will produce errors if paragraph spacing is defined through the EditParagraph menu. For example, if your document is one-half spaced, but you'd like to single space specific content, you will get an environment undefined LateX error. Furthermore, documents using a custom quote style from the memman.pdf won't work. For example: \makeatletter \renewenvironment{quote} {\begin{spacing}{1}\list{}{\rightmargin\leftmargin}% \footnotesize\item\relax} {\endlist\end{spacing}\noindent\hspace{-0.333em}} \makeatother The first problem can be overcome by keeping all paragraphs with default spacing, and using ERT commands on a separate line, e.g., \SingleSpacing \OnehalfSpacing -- but I don't know what do about custom spacing (say, half a cm) or the custom quote style. Best, EK
Re: long-time LyX user needs install help on Mac OSX 10.4.8
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel: Why not just make those kind of entries visible when the user opens DocumentSettingsPreamble? The preamble that is shown to the user is completely empty for a new file, but the exported latex has additional lines in the preamble. It is empty because that field is intended for user input. The preamble that LyX creates is never stored in the document. Makes it really hard to debug latex problems if you don't know about this. I am pretty sure that the documentation tells that LyX puts some stuff into the preamble, so I don't see this as a big problem. One could perhaps put preamble entries that come from the Output Settings in a different color (maybe even grayed out), but still let them show up in the preamble. Of course it must not be possible to edit the LyX generated preamble. That would be even more confusing. LyX 1.5.0 will have a View-Source menu entry, I believe that this is a good solution to examine LaTeX problems. Georg
newsletter class
Hello, I have just started using Lyx, and wondered if there was a class for short newsletters (2 sides or 4 sides of A4) I assume it is a Class I am looking for, and that Lyx would be suitable. It doesn't need to be too fancy, but smart and modern and something that I can type in the text and not spend several days trying to make it look good, as I did in Word. two column with a banner headline, logo and contact details. Distributed and PDF attachment, but with some printed. BTW to the developers: Lyx looks a brilliant piece of software and I am really looking forward to learning it. -- Regards, Graham mailto:[EMAIL PROTECTED]
accents
Dear Lyx users, I use lyx for a long time now, and it happens to me to write documents in French. I experience problems with spell checking of accented words. For example, when the spell checker finds intégrer (which is perfectly well written for a native french) it stops on that word and suggests instead intégrer, which is obviously a bad suggestion. What can I do ? I am using Lyx 1.4.3 under Suse 10.1, with aspell. Sincerely yours, Romuald ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But ... - - - - - - - - - s n i p - - - - - - - - - - Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: long-time LyX user needs install help on Mac OSX 10.4.8
Jens Noeckel wrote: Assuming you got the dvipdfmx package from fink, too: the error is probably due to the entry \usepackage[T1]{fontenc} which is inserted into the LaTeX preamble by LyX without asking or telling you. It's a good idea to have that when using pdflatex, which I use almost exclusively. But still: I think this practice of stealthily slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter default as font encoding, and LyX will not output this line. Georg
Re: problème avec lyx1.4.2
blondot == blondot bernard [EMAIL PROTECTED] writes: blondot Le sytème copier couper coller semble fonctionner assez mal blondot en tout cas bien plus mal que dans les anciennes versions , blondot est ce du à un bogue ou à defaut de configuration , il en est blondot de même des fonctions annuler et refaire . Qu'est-ce qui marche mal? blondot Les aides proposées ne sont pas d' une grande utilité car ne blondot correspondent pas à la version actuelle de lyx . On y travaille :) Ça sera mieux dans la version 1.4.4. blondot Dans le menu editer math ( quand on est en mode math ) à quoi blondot sert l' option logiciel de calcul formel ? j'ai essayé avec blondot maxima mais cela n' a rien donné et ce n' est pas le fichier blondot d' aide qui peut me donner une réponse Je ne crois pas que ce soit documenté en effet :( Normalement, cela permet d'exécuter un calcul et de le remplacer par sont résultat. Je n'ai jamais essayé moi-même... (le support de maxima sera aussi amélioré dans la version 1.4.4) JMarc
Re: Mysql
To: LyX Users List lyx-users@lists.lyx.org From: Daniel Culver [EMAIL PROTECTED] Subject: Mysql Date: Wed, 10 Jan 2007 20:40:36 -0800 Hi, I am thinking about using Lyx for some documents that need to include output from a Mysql database. Does anyone have any advise about the best way to proceed. It depends of the kind of doc you mean If it's just patching data in a LyX doc (a teable, e.g.), it's quite simple to write a script which creates the tex code in a file, e.g. mytable.tex and \input{mytable} If you want to fill in a template with various data, here is what I do (it's not Mysql, it's from Internet forms, but it must work the same). 1/on the LyX side, - insert variable info as latex commands, i.e. if you want to get the name, type in ERT \dbname, \dbaddress, etc. at the desired location. - create a tex file, say data_ref.tex where these commands are defined with typical values \newcommand{\dbname}{your_name} \newcommand{\dbaddress}{your_address} ... - \input{data_ref} in your preamble and check that the LyX output is correct - touch an empty data.tex file and \input{data} after \input{data_ref} in the preamble 2/ on the mySQl side - create a script, say extract_data.sh, extract_data.pl (perl is great for this) or whatever interpreter which extracts the variables your_name, your_address... and writes out to file data.tex like this: \renewcommand{\dbname}{your_name} \renewcommand{\dbaddress}{your_address} ... - check that lyx -e dvi foo.lyx is OK; - do whatever needed to automate extraction and lyx compilation for various sets of data. You see that's just one method (among others I guess) to produce a mailing. It's easy to fill in forms with this: - get the eps of the empty form - define all needed commands to patch data in the form - open xfig, place the eps picture - with the special flag set, type in all commands at their locations, - insert the xfig file as external material in the lyx doc, - if the pstex_t or pdftex_t file needs editing (the choice of combinations of fonts is not complete in xfig) you may revert to explicit \input of pstex_t or pdftex_t, and fiddle with the family, shape, etc definitions to get what you want. HTH -- Jean-Pierre
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: long-time LyX user needs install help on Mac OSX 10.4.8
On Jan 11, 2007, at 12:06 AM, Georg Baum wrote: Jens Noeckel wrote: Assuming you got the dvipdfmx package from fink, too: the error is probably due to the entry \usepackage[T1]{fontenc} which is inserted into the LaTeX preamble by LyX without asking or telling you. It's a good idea to have that when using pdflatex, which I use almost exclusively. But still: I think this practice of stealthily slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter default as font encoding, and LyX will not output this line. Why not just make those kind of entries visible when the user opens DocumentSettingsPreamble? The preamble that is shown to the user is completely empty for a new file, but the exported latex has additional lines in the preamble. Makes it really hard to debug latex problems if you don't know about this. One could perhaps put preamble entries that come from the Output Settings in a different color (maybe even grayed out), but still let them show up in the preamble. Jens
Re: Spacing changes in the Memoir class (Solved for now)
Peter Wilson, the author of Memoir, e-mailed me with the solution. Props, and thanks for your time, Peter! EK Peter Wilson wrote: I don't have, or use, Lyx so i can't test anything with it. If you have just \documentclass[...]{memoir} %%\usepackage{setspace} with or without this then you have to use memoir's line spacing commands (e.g. \begin{Spacing}{1} instead of \begin{spacing}{1}). (I tried this with your example redefinition of the quote environment and it worked.) If you have \documentclass[...]{memoir} \DisemulatePackage{setspace} \usepackage{setspace} then you have to use setspace's line spacing commands (e.g., \begin{spacing}{1} --- your quote environment example worked following \DisemulatePackage{setspace*}).* You can't mix the two sets of commands/environments. Memoir's implementation of the line spacing commands is a little different than setspace's, resulting sometimes in different spacing; in particular memoir's version eliminates some extra space that might occur near/around display material. In one case just calling \usepackage{setspace} had the result of insering a large space on one page and moving about 6 or 8 lines to the following page even though no spacing commands were used; this did not happen with memoir's implementation. As the results might be different I choose to use different names, but \DisemulatePackage{setspace} gives you the opportunity to pick which set you want to use. Peter W. Eran Kaplinsky wrote: The memoir class has been recently updated (Dec. 11) and changes have been made to spacing commands. As a result, a LyX document using the class will produce errors if paragraph spacing is defined through the EditParagraph menu. For example, if your document is one-half spaced, but you'd like to single space specific content, you will get an environment undefined LateX error. Furthermore, documents using a custom quote style from the memman.pdf won't work. For example: \makeatletter \renewenvironment{quote} {\begin{spacing}{1}\list{}{\rightmargin\leftmargin}% \footnotesize\item\relax} {\endlist\end{spacing}\noindent\hspace{-0.333em}} \makeatother The first problem can be overcome by keeping all paragraphs with default spacing, and using ERT commands on a separate line, e.g., \SingleSpacing \OnehalfSpacing -- but I don't know what do about custom spacing (say, half a cm) or the custom quote style. Best, EK
Re: long-time LyX user needs install help on Mac OSX 10.4.8
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel: Why not just make those kind of entries visible when the user opens DocumentSettingsPreamble? The preamble that is shown to the user is completely empty for a new file, but the exported latex has additional lines in the preamble. It is empty because that field is intended for user input. The preamble that LyX creates is never stored in the document. Makes it really hard to debug latex problems if you don't know about this. I am pretty sure that the documentation tells that LyX puts some stuff into the preamble, so I don't see this as a big problem. One could perhaps put preamble entries that come from the Output Settings in a different color (maybe even grayed out), but still let them show up in the preamble. Of course it must not be possible to edit the LyX generated preamble. That would be even more confusing. LyX 1.5.0 will have a View-Source menu entry, I believe that this is a good solution to examine LaTeX problems. Georg
newsletter class
Hello, I have just started using Lyx, and wondered if there was a class for short newsletters (2 sides or 4 sides of A4) I assume it is a Class I am looking for, and that Lyx would be suitable. It doesn't need to be too fancy, but smart and modern and something that I can type in the text and not spend several days trying to make it look good, as I did in Word. two column with a banner headline, logo and contact details. Distributed and PDF attachment, but with some printed. BTW to the developers: Lyx looks a brilliant piece of software and I am really looking forward to learning it. -- Regards, Graham mailto:[EMAIL PROTECTED]
accents
Dear Lyx users, I use lyx for a long time now, and it happens to me to write documents in French. I experience problems with spell checking of accented words. For example, when the spell checker finds intégrer (which is perfectly well written for a native french) it stops on that word and suggests instead intégrer, which is obviously a bad suggestion. What can I do ? I am using Lyx 1.4.3 under Suse 10.1, with aspell. Sincerely yours, Romuald ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: Joe(theWordy)Philbrook wrote: Still haven't found a useful list yet But ... - - - - - - - - - s n i p - - - - - - - - - - Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a small amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did grin. When you say filename, do you mean the full pathname of the .lyx file such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | 0 - Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ [EMAIL PROTECTED]
Re: long-time LyX user needs install help on Mac OSX 10.4.8
Jens Noeckel wrote: > Assuming you got the dvipdfmx package from fink, too: the error is > probably due to the entry "\usepackage[T1]{fontenc}" which is > inserted into the LaTeX preamble by LyX without asking or telling > you. It's a good idea to have that when using pdflatex, which I use > almost exclusively. But still: I think this practice of stealthily > slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter "default" as font encoding, and LyX will not output this line. Georg
Re: problème avec lyx1.4.2
> "blondot" == blondot bernard <[EMAIL PROTECTED]> writes: blondot> Le sytème copier couper coller semble fonctionner assez mal blondot> en tout cas bien plus mal que dans les anciennes versions , blondot> est ce du à un bogue ou à defaut de configuration , il en est blondot> de même des fonctions annuler et refaire . Qu'est-ce qui marche mal? blondot> Les aides proposées ne sont pas d' une grande utilité car ne blondot> correspondent pas à la version actuelle de lyx . On y travaille :) Ça sera mieux dans la version 1.4.4. blondot> Dans le menu editer math ( quand on est en mode math ) à quoi blondot> sert l' option logiciel de calcul formel ? j'ai essayé avec blondot> maxima mais cela n' a rien donné et ce n' est pas le fichier blondot> d' aide qui peut me donner une réponse Je ne crois pas que ce soit documenté en effet :( Normalement, cela permet d'exécuter un calcul et de le remplacer par sont résultat. Je n'ai jamais essayé moi-même... (le support de maxima sera aussi amélioré dans la version 1.4.4) JMarc
Re: Mysql
>>To: LyX Users List>>From: Daniel Culver <[EMAIL PROTECTED]> >>Subject: Mysql >>Date: Wed, 10 Jan 2007 20:40:36 -0800 >> >>Hi, >>I am thinking about using Lyx for some documents that need to include >>output from a Mysql database. Does anyone have any advise about the >>best way to proceed. It depends of the kind of doc you mean If it's just patching data in a LyX doc (a teable, e.g.), it's quite simple to write a script which creates the tex code in a file, e.g. mytable.tex and \input{mytable} If you want to fill in a template with various data, here is what I do (it's not Mysql, it's from Internet forms, but it must work the same). 1/on the LyX side, - insert variable info as latex commands, i.e. if you want to get the name, type in ERT \dbname, \dbaddress, etc. at the desired location. - create a tex file, say data_ref.tex where these commands are defined with typical values \newcommand{\dbname}{your_name} \newcommand{\dbaddress}{your_address} ... - \input{data_ref} in your preamble and check that the LyX output is correct - touch an empty data.tex file and \input{data} after \input{data_ref} in the preamble 2/ on the mySQl side - create a script, say extract_data.sh, extract_data.pl (perl is great for this) or whatever interpreter which extracts the variables your_name, your_address... and writes out to file data.tex like this: \renewcommand{\dbname}{your_name} \renewcommand{\dbaddress}{your_address} ... - check that lyx -e dvi foo.lyx is OK; - do whatever needed to automate extraction and lyx compilation for various sets of data. You see that's just one method (among others I guess) to produce a mailing. It's easy to fill in forms with this: - get the eps of the empty form - define all needed commands to patch data in the form - open xfig, place the eps picture - with the special flag set, type in all commands at their locations, - insert the xfig file as external material in the lyx doc, - if the pstex_t or pdftex_t file needs editing (the choice of combinations of fonts is not complete in xfig) you may revert to explicit \input of pstex_t or pdftex_t, and fiddle with the family, shape, etc definitions to get what you want. HTH -- Jean-Pierre
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
Joe(theWordy)Philbrook wrote: Still haven't found a useful "list" yet But it was during this search that I tripped over instructions to use the TeX icon to insert ERTs so I'm glad I went there... I'd still like to find a good index/list of values that can be inserted to the header, footer (and/or I suspect inside the document body via ERTs) But you've given me enough to make me sure that I can use lyx for most of my writing needs. Now I can focus mostly on my writing, confident that I'll like letting lyx take care of MOST of the typesetting details... Well, I don't know any such lists. The problem is, you can put just about any latex command in the header. (Well, a page break would be really stupid, but anything that produce a "small" amount of output would work in a header.) There are thousands of latex commands, so it is hard to make a complete list. That's why I suggested a latex manual, they list everything and you can pick what you want. Latex really is a programming language aimed at typesetting. There are a few good manuals. You can look up anything, from simple stuff like getting a page number or section name in the header, all the way to complicated stuff like programming an entire new latex add-on package. Now, if you want some specific thing in your header, such as date, filename, or the page number in roman numerals - just ask. Helge Hafting
Re: long-time LyX user needs install help on Mac OSX 10.4.8
On Jan 11, 2007, at 12:06 AM, Georg Baum wrote: Jens Noeckel wrote: Assuming you got the dvipdfmx package from fink, too: the error is probably due to the entry "\usepackage[T1]{fontenc}" which is inserted into the LaTeX preamble by LyX without asking or telling you. It's a good idea to have that when using pdflatex, which I use almost exclusively. But still: I think this practice of stealthily slipping in extraneous code is not a good philosophy on the part of LyX. I don't know when the fontenc package is needed, but whether it is used or not can be configured in the preferences. Just enter "default" as font encoding, and LyX will not output this line. Why not just make those kind of entries visible when the user opens Document>Settings>Preamble? The preamble that is shown to the user is completely empty for a new file, but the exported latex has additional lines in the preamble. Makes it really hard to debug latex problems if you don't know about this. One could perhaps put preamble entries that come from the "Output" Settings in a different color (maybe even grayed out), but still let them show up in the preamble. Jens
Re: Spacing changes in the Memoir class (Solved for now)
Peter Wilson, the author of Memoir, e-mailed me with the solution. Props, and thanks for your time, Peter! EK Peter Wilson wrote: I don't have, or use, Lyx so i can't test anything with it. If you have just \documentclass[...]{memoir} %%\usepackage{setspace} with or without this then you have to use memoir's line spacing commands (e.g. \begin{Spacing}{1} instead of \begin{spacing}{1}). (I tried this with your example redefinition of the quote environment and it worked.) If you have \documentclass[...]{memoir} \DisemulatePackage{setspace} \usepackage{setspace} then you have to use setspace's line spacing commands (e.g., \begin{spacing}{1} --- your quote environment example worked following \DisemulatePackage{setspace*}).* You can't mix the two sets of commands/environments. Memoir's implementation of the line spacing commands is a little different than setspace's, resulting sometimes in different spacing; in particular memoir's version eliminates some extra space that might occur near/around display material. In one case just calling \usepackage{setspace} had the result of insering a large space on one page and moving about 6 or 8 lines to the following page even though no spacing commands were used; this did not happen with memoir's implementation. As the results might be different I choose to use different names, but \DisemulatePackage{setspace} gives you the opportunity to pick which set you want to use. Peter W. Eran Kaplinsky wrote: The memoir class has been recently updated (Dec. 11) and changes have been made to spacing commands. As a result, a LyX document using the class will produce errors if paragraph spacing is defined through the Edit>Paragraph menu. For example, if your document is one-half spaced, but you'd like to single space specific content, you will get an "environment undefined" LateX error. Furthermore, documents using a custom quote style from the memman.pdf won't work. For example: \makeatletter \renewenvironment{quote} {\begin{spacing}{1}\list{}{\rightmargin\leftmargin}% \footnotesize\item\relax} {\endlist\end{spacing}\noindent\hspace{-0.333em}} \makeatother The first problem can be overcome by keeping all paragraphs with default spacing, and using ERT commands on a separate line, e.g., \SingleSpacing \OnehalfSpacing -- but I don't know what do about custom spacing (say, half a cm) or the custom quote style. Best, EK
Re: long-time LyX user needs install help on Mac OSX 10.4.8
Am Donnerstag, 11. Januar 2007 16:52 schrieb Jens Noeckel: > Why not just make those kind of entries visible when the user opens > Document>Settings>Preamble? The preamble that is shown to the > user is completely empty for a new file, but the exported latex has > additional > lines in the preamble. It is empty because that field is intended for user input. The preamble that LyX creates is never stored in the document. > Makes it really hard to debug latex problems > if you > don't know about this. I am pretty sure that the documentation tells that LyX puts some stuff into the preamble, so I don't see this as a big problem. > One could perhaps put preamble entries that come > >from the "Output" Settings in a different color (maybe even grayed > out), but > still let them show up in the preamble. Of course it must not be possible to edit the LyX generated preamble. That would be even more confusing. LyX 1.5.0 will have a View->Source menu entry, I believe that this is a good solution to examine LaTeX problems. Georg
newsletter class
Hello, I have just started using Lyx, and wondered if there was a class for short newsletters (2 sides or 4 sides of A4) I assume it is a Class I am looking for, and that Lyx would be suitable. It doesn't need to be too fancy, but smart and modern and something that I can type in the text and not spend several days trying to make it look good, as I did in Word. two column with a banner headline, logo and contact details. Distributed and PDF attachment, but with some printed. BTW to the developers: Lyx looks a brilliant piece of software and I am really looking forward to learning it. -- Regards, Graham mailto:[EMAIL PROTECTED]
accents
Dear Lyx users, I use lyx for a long time now, and it happens to me to write documents in French. I experience problems with spell checking of accented words. For example, when the spell checker finds "intégrer" (which is perfectly well written for a native french) it stops on that word and suggests instead "intégrer", which is obviously a bad suggestion. What can I do ? I am using Lyx 1.4.3 under Suse 10.1, with aspell. Sincerely yours, Romuald ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would appear that on Jan 11, Helge Hafting did say: > Joe(theWordy)Philbrook wrote: > > Still haven't found a useful "list" yet But ... - - - - - - - - -< s n i p >- - - - - - - - - - > Well, I don't know any such lists. The problem is, you can put > just about any latex command in the header. (Well, a page > break would be really stupid, but anything that produce > a "small" amount of output would work in a header.) > There are thousands of latex commands, so it is hard to make > a complete list. That's why I suggested a latex manual, > they list everything and you can pick what you want. > Latex really is a programming language aimed at typesetting. > There are a few good manuals. You can look up anything, > from simple stuff like getting a page number or section name > in the header, all the way to complicated stuff like > programming an entire new latex add-on package. That makes sense I guess. But all I want to do is to learn to use LyX instead of Ooffice for most of my writing. I'm not really planing on becoming a LaTeX expert. Still I suppose I might use google to find an online manual I could look at for clues now and then. > Now, if you want some specific thing in your header, such as > date, filename, or the page number in roman numerals - just ask. Actually I wanted the list of possibles to see if it gave me any ideas. Speaking of which you just gave me one. At least I think you did . When you say filename, do you mean the full pathname of the .lyx file such as "/home/jtwdyp/com/lyxSTUFF/ToJim.lyx" or just "ToJim.lyx"??? Wait let me guess, there is probably a latex command form for both the simple filename and the pathname, right? In any case. Thanks again for all the great help you so kindly gave me. For even if I never learn any more of the underlying LaTeX, I now have enough to make LyX as useful for personal correspondence as it already was for more formal uses. This ensures that I'll use it enough to get comfortable with it. # ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_## ##message_as_an_mime_encoded_attachment,just_ask_me_while__## ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_## #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE# # You can find my public gpg key at http://pgpkeys.mit.edu/ # # -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFpsrhRZ/61mwhY94RAhXXAKCHK+4WlNNxIf0nSXK3+s6MI52AwACeNX3p GzVkPe0dE13FWkroYSggyRk= =ibgg -END PGP SIGNATURE- -- | --- ___ | <0> <-> Joe (theWordy) Philbrook | ^ J(tWdy)P |~\___/~ <<[EMAIL PROTECTED]>>