Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 18:22 schrieb Thorsten Fischer: I tried different Xmodmap file of Herbert and the problem is gone. Thanks Thorsten Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss: edit - reconfigure didn't work. I'm using the cua.bind. I changed it a little but my version and the original version both show the same behaviour. In the preamble dialog everything works fine. try a edit-reconfigure and restart lyx and then if it doesn't help tell us, what keybinding do you have: edit-preferences-LookFeel Herbert
Re: Re: Entries for \section* and lists in table of content
On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss [EMAIL PROTECTED]: Jan Schemm wrote: I am currently trying to automatically include entries for \section* and other lists (e.g. \listoftables) in the table of content. So far I tried it with \renewcommand in combination with \addcontentsline, layout-document-extra-section number depth--1 and then choose always yection, the unstarred version. Unfortunately, this only works, if you want all sections unnumbered. What would you do if only Acknowledgements shall have no number, say? (Also, it does not solve the problem of the listings (List of Tables, LoF, Contents, ..) Guenter -- G.Milde at physik.tu-dresden.de
Re: Entries for \section* and lists in table of content
Guenter Milde wrote: On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss [EMAIL PROTECTED]: Jan Schemm wrote: I am currently trying to automatically include entries for \section* and other lists (e.g. \listoftables) in the table of content. So far I tried it with \renewcommand in combination with \addcontentsline, layout-document-extra-section number depth--1 and then choose always yection, the unstarred version. Unfortunately, this only works, if you want all sections unnumbered. What would you do if only Acknowledgements shall have no number, say? as the helpfile says ... ;-) http://www.lyx.org/help/layouts/chapter.php Herbert -- http://www.lyx.org/help/
Re: acronyms
On Wed, 10 Jul 2002 12:43:13 +0930 wrote Pierre Marc Dumuid [EMAIL PROTECTED]: Hi, I was wondering if anyone has thought of the following idea: Typically, when writing documents, any acronyms, (ie FIR for Finite Impulse Response), on first usage must be written in full followed by the acronym in short. Is it possible, that a key-stroke be made identifying the desire for the insert of an acronym, (say FIR), then the user would type the acronym, followed by a space key indicating the end of the acronym. When generating the document, lyx or latex would then look this up on a list of acronyms, and on the first occurence, expand out the meaning in full, then for all occurence following use the appropriate acronym. ... This may have already been done, but in case it hasn't I thought I'd ask... Maybe it would be easier to have a small script that does this outside LyX... The script should process the *.lyx file and do: - For all acronyms defined in a acronyms.txt file: Find the first occurence and change to Full Name (FN). - Look for following Full Name (FN)-s and change these to FN. This would also save typing, as there is no need for an extra keypress: this is an acronym A feedback (change, look for next, abort) would increase security... Run this on your final version. Also, a script that extracts the used acronyms to a loa (list of acronyms) should be no problem. This would become very handy, if there where a generic LyX command that saves the LyX file, starts a command/script on it and restores the file from disk. As this is something quite general (and would also allow complicated search/replaces, regexp replace and other nice things programmed in your favourite editor) Something like M-x process-buffer(my_script) where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. Guenter -- G.Milde at physik.tu-dresden.de
Re: acronyms
On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: [...] where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. So file it as such on bugzilla. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Re: figure in a float
On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: The Q was: So really must I center them one-by-one??? And I also want to hear the answer. Looks like that. Unfortunately!! :-( AFAIK, this is becouse LaTeX doesnot center by default and someone did not like the nonstandard behaviour of LyX (or the actual patchy implementation). There is an (untested!) workaround: Find out the command used for insertion of graphics (\includegraphix ?) and try to redefine it to contain the centering. Something like let\oldincludegraphix=\includegraphicsx \def\includegraphix{\centering \oldincludegraphix} Obviously, this only works if you want to center all figures. I am not sure if it works at all I don't know, what happens with 2 figures on one line. File a feature request or bug report on bugzilla.lyx.org if you don't like it. I'd strongly support the feature request. Having to type Alt-l a Alt-z for every inserted picture is not really ergonomic and prevents me from the famous concentrate on content, not layout. LyX could possibly define a new command \newcommand{\centeredincludegraphix}{\centering \includegraphix} and use this if a global document setting center all figures is checked. A similar thing holds for the tables. Guenter -- G.Milde at physik.tu-dresden.de
Re: figure in a float
Guenter Milde wrote: On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: The Q was: So really must I center them one-by-one??? And I also want to hear the answer. Looks like that. Unfortunately!! :-( AFAIK, this is becouse LaTeX doesnot center by default and someone did not like the nonstandard behaviour of LyX (or the actual patchy implementation). There is an (untested!) workaround: Find out the command used for insertion of graphics (\includegraphix ?) and try to redefine it to contain the centering. Something like let\oldincludegraphix=\includegraphicsx \def\includegraphix{\centering \oldincludegraphix} should be \let\oldincludegraphix=\includegraphics \def\includegraphics{\centering \oldincludegraphix} Herbert -- http://www.lyx.org/help/
Re: acronyms
On Thu, 11 Jul 2002 11:37:27 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: [...] where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. So file it as such on bugzilla. Done GM -- G.Milde at physik.tu-dresden.de
Re: Clipboard Unicode
On Thu, 4 Jul 2002 20:46:37 +0200 wrote Martin Gruner [EMAIL PROTECTED]: What I want to do now: I would like to insert greek text from a third application via clipboard. This text comes in Unicode (not in transliterated) and renders well using fonts like Code2000 in KDE 3. I changed the screen font to Code2000 and the screen font encoding to iso10646-1, which should work with greek text. Also, elatex should be able to process it, no? Now: Whenever I try to select greek text and paste it in Lyx all I see is ?? marks, no matter what the language of the current paragraph is. AFAIK, LyX does not support Unicode. In order to past the text from anywhere via clipboard, you need to convert it to iso-latin encoding first. Maybe the recode command can help you (try man recode or the info pages). Maybe you could also open the unicoded file in a text editor that internally translates it to normal code and then drag and drop... Guenter -- G.Milde at physik.tu-dresden.de
translation's bug
There is a language bug in Polish translation and I do not know hwo could fix it. Can you direct me to somebody responsible for that translation? greets nell -- Escape of the Unicorn [free, 2D, flying shooter game] http://eounicorn.sourceforge.net
Formatting a title page
Hi I am stuck with that horror of the organisational world - a corporate title page. Basically what I need to do is to have a page, with no page number, and slightly different margins to the rest of the document. How do I get this right? I am using the article class, which works for what I am doing. Henk
Re: Formatting a title page
Herbert Voss wrote: Henk Coetzee wrote: I am stuck with that horror of the organisational world - a corporate title page. Basically what I need to do is to have a page, with no page number, and slightly different margins to the rest of the document. How do I get this right? I am using the article class, which works for what I am doing. look at http://www.lyx.org/help/titlepage/titlepage.php Thanks, I'm on the way there. Another example of how support can be on open source software. Find me a commercial package with a 5min support turnaround time. Henk Herbert
backward searching, figure scaling and caption
I tried to use the new Lyx 1.2.0 and ran into the following: by trying to view the file as dvi, there were errors. Since the error message was not localizable, I exported as tex file and ran latex. I got a hint for which word to look in order to localize the error and tried to find the place in the lyx file using find and replace, search backward. The document (its a long one) was in a long lasting action checked and I killed the action. I got the following error: searching backward not implemented in mathed what does it mean? I have also difficulties with scaling a figure. Clicking on the figure I get the figure configuration where it says in red: attention! invalid length I used to use \caption [short caption]{long caption} can this still be used or has this been changed? Thanks for help Wolfgang
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:54:42PM -0400, Wolfgang Engelmann wrote: searching backward not implemented in mathed what does it mean? It basically means that searching backwards is not implemented in mathed. The formula will be searched in the wrong direction but that should not really matter much. Juergen has a patch to oimprove searching, but it is not yet sure whether this will go into 1.2.1. You could try it nevertheless. The more people report success, the more likely it will show up in 1.2.1. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 05:07:02PM +0200, Andre Poenitz wrote: It basically means that searching backwards is not implemented in mathed. The formula will be searched in the wrong direction but that should not really matter much. Juergen has a patch to oimprove searching, but it is not yet sure whether this will go into 1.2.1. You could try it nevertheless. The more people report success, the more likely it will show up in 1.2.1. Aren't you going to disable search/replace for 1.2.1's mathed anyway ? Or are you planning to fix mathed replace ? john -- I hope you will find the courage to keep on living despite the existence of this feature. - Richard Stallman
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:15:22PM +0100, John Levon wrote: Aren't you going to disable search/replace for 1.2.1's mathed anyway ? Or are you planning to fix mathed replace ? Neither. I'd leave it with 'forward search only' in 1.2.x. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Clipboard Unicode
What I want to do now: I would like to insert greek text from a third application via clipboard. This text comes in Unicode (not in transliterated) and renders well using fonts like Code2000 in KDE 3. I changed the screen font to Code2000 and the screen font encoding to iso10646-1, which should work with greek text. Also, elatex should be able to process it, no? Now: Whenever I try to select greek text and paste it in Lyx all I see is ?? marks, no matter what the language of the current paragraph is. AFAIK, LyX does not support Unicode. In order to past the text from anywhere via clipboard, you need to convert it to iso-latin encoding first. Maybe the recode command can help you (try man recode or the info pages). Maybe you could also open the unicoded file in a text editor that internally translates it to normal code and then drag and drop... Thanks for the reply. The recode thing is a good suggestion. Now, given that greek is iso-8859-7(greek), but my language and keyboard setting is iso8859-1(latin1), how do I need to configure lyx to accept the greek text? I guess I somehow need to switch the encoding(s) in lyx? Sorry but I am not well-educated in that area yet. Do I need to mark the text as greek (Character-Language) as well? (Still using lyx 1.1 btw, 1.2 did not work for me - but does not matter.) Thanks for all help. Martin P.S. Sport frei! Sachsen rules!
Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 18:22 schrieb Thorsten Fischer: I tried different Xmodmap file of Herbert and the problem is gone. Thanks Thorsten Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss: edit - reconfigure didn't work. I'm using the cua.bind. I changed it a little but my version and the original version both show the same behaviour. In the preamble dialog everything works fine. try a edit-reconfigure and restart lyx and then if it doesn't help tell us, what keybinding do you have: edit-preferences-LookFeel Herbert
Re: Re: Entries for \section* and lists in table of content
On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss [EMAIL PROTECTED]: Jan Schemm wrote: I am currently trying to automatically include entries for \section* and other lists (e.g. \listoftables) in the table of content. So far I tried it with \renewcommand in combination with \addcontentsline, layout-document-extra-section number depth--1 and then choose always yection, the unstarred version. Unfortunately, this only works, if you want all sections unnumbered. What would you do if only Acknowledgements shall have no number, say? (Also, it does not solve the problem of the listings (List of Tables, LoF, Contents, ..) Guenter -- G.Milde at physik.tu-dresden.de
Re: Entries for \section* and lists in table of content
Guenter Milde wrote: On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss [EMAIL PROTECTED]: Jan Schemm wrote: I am currently trying to automatically include entries for \section* and other lists (e.g. \listoftables) in the table of content. So far I tried it with \renewcommand in combination with \addcontentsline, layout-document-extra-section number depth--1 and then choose always yection, the unstarred version. Unfortunately, this only works, if you want all sections unnumbered. What would you do if only Acknowledgements shall have no number, say? as the helpfile says ... ;-) http://www.lyx.org/help/layouts/chapter.php Herbert -- http://www.lyx.org/help/
Re: acronyms
On Wed, 10 Jul 2002 12:43:13 +0930 wrote Pierre Marc Dumuid [EMAIL PROTECTED]: Hi, I was wondering if anyone has thought of the following idea: Typically, when writing documents, any acronyms, (ie FIR for Finite Impulse Response), on first usage must be written in full followed by the acronym in short. Is it possible, that a key-stroke be made identifying the desire for the insert of an acronym, (say FIR), then the user would type the acronym, followed by a space key indicating the end of the acronym. When generating the document, lyx or latex would then look this up on a list of acronyms, and on the first occurence, expand out the meaning in full, then for all occurence following use the appropriate acronym. ... This may have already been done, but in case it hasn't I thought I'd ask... Maybe it would be easier to have a small script that does this outside LyX... The script should process the *.lyx file and do: - For all acronyms defined in a acronyms.txt file: Find the first occurence and change to Full Name (FN). - Look for following Full Name (FN)-s and change these to FN. This would also save typing, as there is no need for an extra keypress: this is an acronym A feedback (change, look for next, abort) would increase security... Run this on your final version. Also, a script that extracts the used acronyms to a loa (list of acronyms) should be no problem. This would become very handy, if there where a generic LyX command that saves the LyX file, starts a command/script on it and restores the file from disk. As this is something quite general (and would also allow complicated search/replaces, regexp replace and other nice things programmed in your favourite editor) Something like M-x process-buffer(my_script) where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. Guenter -- G.Milde at physik.tu-dresden.de
Re: acronyms
On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: [...] where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. So file it as such on bugzilla. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Re: figure in a float
On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: The Q was: So really must I center them one-by-one??? And I also want to hear the answer. Looks like that. Unfortunately!! :-( AFAIK, this is becouse LaTeX doesnot center by default and someone did not like the nonstandard behaviour of LyX (or the actual patchy implementation). There is an (untested!) workaround: Find out the command used for insertion of graphics (\includegraphix ?) and try to redefine it to contain the centering. Something like let\oldincludegraphix=\includegraphicsx \def\includegraphix{\centering \oldincludegraphix} Obviously, this only works if you want to center all figures. I am not sure if it works at all I don't know, what happens with 2 figures on one line. File a feature request or bug report on bugzilla.lyx.org if you don't like it. I'd strongly support the feature request. Having to type Alt-l a Alt-z for every inserted picture is not really ergonomic and prevents me from the famous concentrate on content, not layout. LyX could possibly define a new command \newcommand{\centeredincludegraphix}{\centering \includegraphix} and use this if a global document setting center all figures is checked. A similar thing holds for the tables. Guenter -- G.Milde at physik.tu-dresden.de
Re: figure in a float
Guenter Milde wrote: On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: The Q was: So really must I center them one-by-one??? And I also want to hear the answer. Looks like that. Unfortunately!! :-( AFAIK, this is becouse LaTeX doesnot center by default and someone did not like the nonstandard behaviour of LyX (or the actual patchy implementation). There is an (untested!) workaround: Find out the command used for insertion of graphics (\includegraphix ?) and try to redefine it to contain the centering. Something like let\oldincludegraphix=\includegraphicsx \def\includegraphix{\centering \oldincludegraphix} should be \let\oldincludegraphix=\includegraphics \def\includegraphics{\centering \oldincludegraphix} Herbert -- http://www.lyx.org/help/
Re: acronyms
On Thu, 11 Jul 2002 11:37:27 +0200 wrote Andre Poenitz [EMAIL PROTECTED]: On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: [...] where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. So file it as such on bugzilla. Done GM -- G.Milde at physik.tu-dresden.de
Re: Clipboard Unicode
On Thu, 4 Jul 2002 20:46:37 +0200 wrote Martin Gruner [EMAIL PROTECTED]: What I want to do now: I would like to insert greek text from a third application via clipboard. This text comes in Unicode (not in transliterated) and renders well using fonts like Code2000 in KDE 3. I changed the screen font to Code2000 and the screen font encoding to iso10646-1, which should work with greek text. Also, elatex should be able to process it, no? Now: Whenever I try to select greek text and paste it in Lyx all I see is ?? marks, no matter what the language of the current paragraph is. AFAIK, LyX does not support Unicode. In order to past the text from anywhere via clipboard, you need to convert it to iso-latin encoding first. Maybe the recode command can help you (try man recode or the info pages). Maybe you could also open the unicoded file in a text editor that internally translates it to normal code and then drag and drop... Guenter -- G.Milde at physik.tu-dresden.de
translation's bug
There is a language bug in Polish translation and I do not know hwo could fix it. Can you direct me to somebody responsible for that translation? greets nell -- Escape of the Unicorn [free, 2D, flying shooter game] http://eounicorn.sourceforge.net
Formatting a title page
Hi I am stuck with that horror of the organisational world - a corporate title page. Basically what I need to do is to have a page, with no page number, and slightly different margins to the rest of the document. How do I get this right? I am using the article class, which works for what I am doing. Henk
Re: Formatting a title page
Herbert Voss wrote: Henk Coetzee wrote: I am stuck with that horror of the organisational world - a corporate title page. Basically what I need to do is to have a page, with no page number, and slightly different margins to the rest of the document. How do I get this right? I am using the article class, which works for what I am doing. look at http://www.lyx.org/help/titlepage/titlepage.php Thanks, I'm on the way there. Another example of how support can be on open source software. Find me a commercial package with a 5min support turnaround time. Henk Herbert
backward searching, figure scaling and caption
I tried to use the new Lyx 1.2.0 and ran into the following: by trying to view the file as dvi, there were errors. Since the error message was not localizable, I exported as tex file and ran latex. I got a hint for which word to look in order to localize the error and tried to find the place in the lyx file using find and replace, search backward. The document (its a long one) was in a long lasting action checked and I killed the action. I got the following error: searching backward not implemented in mathed what does it mean? I have also difficulties with scaling a figure. Clicking on the figure I get the figure configuration where it says in red: attention! invalid length I used to use \caption [short caption]{long caption} can this still be used or has this been changed? Thanks for help Wolfgang
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:54:42PM -0400, Wolfgang Engelmann wrote: searching backward not implemented in mathed what does it mean? It basically means that searching backwards is not implemented in mathed. The formula will be searched in the wrong direction but that should not really matter much. Juergen has a patch to oimprove searching, but it is not yet sure whether this will go into 1.2.1. You could try it nevertheless. The more people report success, the more likely it will show up in 1.2.1. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 05:07:02PM +0200, Andre Poenitz wrote: It basically means that searching backwards is not implemented in mathed. The formula will be searched in the wrong direction but that should not really matter much. Juergen has a patch to oimprove searching, but it is not yet sure whether this will go into 1.2.1. You could try it nevertheless. The more people report success, the more likely it will show up in 1.2.1. Aren't you going to disable search/replace for 1.2.1's mathed anyway ? Or are you planning to fix mathed replace ? john -- I hope you will find the courage to keep on living despite the existence of this feature. - Richard Stallman
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:15:22PM +0100, John Levon wrote: Aren't you going to disable search/replace for 1.2.1's mathed anyway ? Or are you planning to fix mathed replace ? Neither. I'd leave it with 'forward search only' in 1.2.x. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Clipboard Unicode
What I want to do now: I would like to insert greek text from a third application via clipboard. This text comes in Unicode (not in transliterated) and renders well using fonts like Code2000 in KDE 3. I changed the screen font to Code2000 and the screen font encoding to iso10646-1, which should work with greek text. Also, elatex should be able to process it, no? Now: Whenever I try to select greek text and paste it in Lyx all I see is ?? marks, no matter what the language of the current paragraph is. AFAIK, LyX does not support Unicode. In order to past the text from anywhere via clipboard, you need to convert it to iso-latin encoding first. Maybe the recode command can help you (try man recode or the info pages). Maybe you could also open the unicoded file in a text editor that internally translates it to normal code and then drag and drop... Thanks for the reply. The recode thing is a good suggestion. Now, given that greek is iso-8859-7(greek), but my language and keyboard setting is iso8859-1(latin1), how do I need to configure lyx to accept the greek text? I guess I somehow need to switch the encoding(s) in lyx? Sorry but I am not well-educated in that area yet. Do I need to mark the text as greek (Character-Language) as well? (Still using lyx 1.1 btw, 1.2 did not work for me - but does not matter.) Thanks for all help. Martin P.S. Sport frei! Sachsen rules!
Re: Keyboard is stuck
Am Mittwoch, 10. Juli 2002 18:22 schrieb Thorsten Fischer: I tried different Xmodmap file of Herbert and the problem is gone. Thanks Thorsten > Am Mittwoch, 10. Juli 2002 17:45 schrieb Herbert Voss: > > edit -> reconfigure didn't work. I'm using the cua.bind. I changed it a > little but my version and the original version both show the same > behaviour. > > In the preamble dialog everything works fine. > > > > try a edit->reconfigure and restart lyx and then if it doesn't help > > > tell us, what keybinding do you have: edit->preferences->Look > > > > > > Herbert
Re: Re: Entries for \section* and lists in table of content
On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss <[EMAIL PROTECTED]>: > Jan Schemm wrote: > > > > > I am currently trying to automatically include entries for "\section*" and > > other lists (e.g. "\listoftables") in the table of content. > > > > So far I tried it with \renewcommand in combination with \addcontentsline, > > > layout->document->extra->section number depth->-1 > > and then choose always yection, the unstarred version. Unfortunately, this only works, if you want all sections unnumbered. What would you do if only Acknowledgements shall have no number, say? (Also, it does not solve the problem of the listings (List of Tables, LoF, Contents, ..) Guenter -- G.Milde at physik.tu-dresden.de
Re: Entries for \section* and lists in table of content
Guenter Milde wrote: > On Wed, 03 Jul 2002 18:23:41 +0200 wrote Herbert Voss ><[EMAIL PROTECTED]>: > > >>Jan Schemm wrote: >> >> >>>I am currently trying to automatically include entries for "\section*" and >>>other lists (e.g. "\listoftables") in the table of content. >>> >>>So far I tried it with \renewcommand in combination with \addcontentsline, >>> >> >>layout->document->extra->section number depth->-1 >> >>and then choose always yection, the unstarred version. >> > > Unfortunately, this only works, if you want all sections unnumbered. > What would you do if only Acknowledgements shall have no number, say? as the helpfile says ... ;-) http://www.lyx.org/help/layouts/chapter.php Herbert -- http://www.lyx.org/help/
Re: acronyms
On Wed, 10 Jul 2002 12:43:13 +0930 wrote Pierre Marc Dumuid <[EMAIL PROTECTED]>: > Hi, > I was wondering if anyone has thought of the following idea: > > Typically, when writing documents, any acronyms, (ie FIR for Finite > Impulse Response), on first usage must be written in full followed by > the acronym in short. > > Is it possible, that a key-stroke be made identifying the desire for the > insert of an acronym, (say FIR), then the user would type the acronym, > followed by a space key indicating the end of the acronym. > > When generating the document, lyx or latex would then look this up on a > list of acronyms, and on the first occurence, expand out the meaning in > full, then for all occurence following use the appropriate acronym. ... > This may have already been done, but in case it hasn't I thought I'd ask... Maybe it would be easier to have a small script that does this outside LyX... The script should process the *.lyx file and do: - For all acronyms defined in a acronyms.txt file: Find the first occurence and change to Full Name (FN). - Look for following "Full Name (FN)"-s and change these to FN. This would also save typing, as there is no need for an extra keypress: "this is an acronym" A feedback (change, look for next, abort) would increase security... Run this on your final version. Also, a script that extracts the used acronyms to a loa (list of acronyms) should be no problem. This would become very handy, if there where a generic LyX command that saves the LyX file, starts a command/script on it and restores the file from disk. As this is something quite general (and would also allow complicated search/replaces, regexp replace and other nice things programmed in your favourite editor) Something like M-x process-buffer(my_script) where my_script is a script that does something on the *.lyx file and saves it back or my favourite editor (where I do some miracles and than save and close). This is a feature request. Guenter -- G.Milde at physik.tu-dresden.de
Re: acronyms
On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: > [...] where my_script is a script that does something on the *.lyx file > and saves it back or my favourite editor (where I do some miracles and > than save and close). This is a feature request. So file it as such on bugzilla. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Re: figure in a float
On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz <[EMAIL PROTECTED]>: > On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: > > The Q was: So really must I center them one-by-one??? > > And I also want to hear the answer. > > Looks like that. Unfortunately!! :-( AFAIK, this is becouse LaTeX doesnot center by default and someone did not like the nonstandard behaviour of LyX (or the actual patchy implementation). There is an (untested!) workaround: Find out the command used for insertion of graphics (\includegraphix ?) and try to redefine it to contain the centering. Something like let\oldincludegraphix=\includegraphicsx \def\includegraphix{\centering \oldincludegraphix} Obviously, this only works if you want to center all figures. I am not sure if it works at all I don't know, what happens with 2 figures on one line. > File a feature request or bug report on bugzilla.lyx.org if you don't like > it. I'd strongly support the feature request. Having to type Alt-l a Alt-z for every inserted picture is not really ergonomic and prevents me from the famous "concentrate on content, not layout". LyX could possibly define a new command \newcommand{\centeredincludegraphix}{\centering \includegraphix} and use this if a global document setting "center all figures" is checked. A similar thing holds for the tables. Guenter -- G.Milde at physik.tu-dresden.de
Re: figure in a float
Guenter Milde wrote: > On Mon, 8 Jul 2002 07:01:08 +0200 wrote Andre Poenitz <[EMAIL PROTECTED]>: > > >>On Fri, Jul 05, 2002 at 07:50:11PM +0200, Kontra, Gergely wrote: >> >>>The Q was: So really must I center them one-by-one??? >>>And I also want to hear the answer. >>> >>Looks like that. >> > > Unfortunately!! :-( > > AFAIK, this is becouse LaTeX doesnot center by default and someone did not > like the nonstandard behaviour of LyX (or the actual patchy implementation). > > There is an (untested!) workaround: > Find out the command used for insertion of graphics (\includegraphix ?) and > try to redefine it to contain the centering. Something like > > let\oldincludegraphix=\includegraphicsx > \def\includegraphix{\centering \oldincludegraphix} should be \let\oldincludegraphix=\includegraphics \def\includegraphics{\centering \oldincludegraphix} Herbert -- http://www.lyx.org/help/
Re: acronyms
On Thu, 11 Jul 2002 11:37:27 +0200 wrote Andre Poenitz <[EMAIL PROTECTED]>: > On Thu, Jul 11, 2002 at 11:33:28AM +0200, Guenter Milde wrote: > > [...] where my_script is a script that does something on the *.lyx file > > and saves it back or my favourite editor (where I do some miracles and > > than save and close). This is a feature request. > > So file it as such on bugzilla. Done GM -- G.Milde at physik.tu-dresden.de
Re: Clipboard & Unicode
On Thu, 4 Jul 2002 20:46:37 +0200 wrote Martin Gruner <[EMAIL PROTECTED]>: > What I want to do now: I would like to insert greek text from a third > application via clipboard. This text comes in Unicode (not in transliterated) > and renders well using fonts like Code2000 in KDE 3. I changed the screen > font to Code2000 and the screen font encoding to "iso10646-1", which should > work with greek text. Also, elatex should be able to process it, no? > > Now: Whenever I try to select greek text and paste it in Lyx all I see is > ?? marks, no matter what the language of the current paragraph is. AFAIK, LyX does not support Unicode. In order to past the text from anywhere via clipboard, you need to convert it to iso-latin encoding first. Maybe the "recode" command can help you (try man recode or the info pages). Maybe you could also open the unicoded file in a text editor that internally translates it to "normal" code and then drag and drop... Guenter -- G.Milde at physik.tu-dresden.de
translation's bug
There is a language bug in Polish translation and I do not know hwo could fix it. Can you direct me to somebody responsible for that translation? greets nell -- Escape of the Unicorn [free, 2D, flying shooter game] http://eounicorn.sourceforge.net
Formatting a title page
Hi I am stuck with that horror of the organisational world - a corporate title page. Basically what I need to do is to have a page, with no page number, and slightly different margins to the rest of the document. How do I get this right? I am using the article class, which works for what I am doing. Henk
Re: Formatting a title page
Herbert Voss wrote: > Henk Coetzee wrote: > >> >> I am stuck with that horror of the organisational world - a corporate >> title page. Basically what I need to do is to have a page, with no >> page number, and slightly different margins to the rest of the document. >> >> How do I get this right? I am using the article class, which works for >> what I am doing. > > > > look at http://www.lyx.org/help/titlepage/titlepage.php Thanks, I'm on the way there. Another example of how support can be on open source software. Find me a commercial package with a 5min support turnaround time. Henk > > Herbert > > >
backward searching, figure scaling and caption
I tried to use the new Lyx 1.2.0 and ran into the following: by trying to view the file as dvi, there were errors. Since the error message was not localizable, I exported as tex file and ran latex. I got a hint for which word to look in order to localize the error and tried to find the place in the lyx file using find and replace, search backward. The document (its a long one) was in a long lasting action checked and I killed the action. I got the following error: searching backward not implemented in mathed what does it mean? I have also difficulties with scaling a figure. Clicking on the figure I get the figure configuration where it says in red: attention! invalid length I used to use \caption [short caption]{long caption} can this still be used or has this been changed? Thanks for help Wolfgang
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:54:42PM -0400, Wolfgang Engelmann wrote: > searching backward not implemented in mathed > > what does it mean? It basically means that searching backwards is not implemented in mathed. The formula will be searched in the wrong direction but that should not really matter much. Juergen has a patch to oimprove searching, but it is not yet sure whether this will go into 1.2.1. You could try it nevertheless. The more people report success, the more likely it will show up in 1.2.1. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 05:07:02PM +0200, Andre Poenitz wrote: > It basically means that searching backwards is not implemented in mathed. > The formula will be searched in the wrong direction but that should not > really matter much. Juergen has a patch to oimprove searching, but it is > not yet sure whether this will go into 1.2.1. You could try it > nevertheless. The more people report success, the more likely it will show > up in 1.2.1. Aren't you going to disable search/replace for 1.2.1's mathed anyway ? Or are you planning to fix mathed replace ? john -- "I hope you will find the courage to keep on living despite the existence of this feature." - Richard Stallman
Re: backward searching, figure scaling and caption
On Thu, Jul 11, 2002 at 04:15:22PM +0100, John Levon wrote: > Aren't you going to disable search/replace for 1.2.1's mathed anyway ? > Or are you planning to fix mathed replace ? Neither. I'd leave it with 'forward search only' in 1.2.x. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Clipboard & Unicode
> > What I want to do now: I would like to insert greek text from a third > > application via clipboard. This text comes in Unicode (not in > > transliterated) and renders well using fonts like Code2000 in KDE 3. I > > changed the screen font to Code2000 and the screen font encoding to > > "iso10646-1", which should work with greek text. Also, elatex should be > > able to process it, no? > > > > Now: Whenever I try to select greek text and paste it in Lyx all I see is > > ?? marks, no matter what the language of the current paragraph is. > > AFAIK, LyX does not support Unicode. In order to past the text from > anywhere via clipboard, you need to convert it to iso-latin encoding first. > Maybe the "recode" command can help you (try man recode or the info pages). > Maybe you could also open the unicoded file in a text editor that > internally translates it to "normal" code and then drag and drop... Thanks for the reply. The recode thing is a good suggestion. Now, given that greek is iso-8859-7(greek), but my language and keyboard setting is iso8859-1(latin1), how do I need to configure lyx to accept the greek text? I guess I somehow need to switch the encoding(s) in lyx? Sorry but I am not well-educated in that area yet. Do I need to mark the text as greek (Character->Language) as well? (Still using lyx 1.1 btw, 1.2 did not work for me - but does not matter.) Thanks for all help. Martin P.S. Sport frei! Sachsen rules!