Bibliography as a numbered section
Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. Thanks in advance. Manuel.
Cannot move a LyX file to another Folder
Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? Thanks in advance, Olivier
Re: lyx2lyx script broken (1.6.0 on Vista)
Uwe Stöhr wrote: Dominik Waßenhoven schrieb: In the bin directory is a python26.dll file. Oh -- I just saw that I have a full Python installed on the WinXP machine (I didn't realize that, sorry...). It's Python 2.5.1 This means that you have Python 2.5.1 installed but the installer didn't recognize it. No, I think I was not clear enough. The second sentenc you cited above bear on my insallation on a WinXP system, where your installer worked perfectly. On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. I'm currently also on a Vista machine but cannot reproduce the problem. I installed here also Python 2.5.1 and then LyX using my installer. LyX correctly recognized Python 2.5.1 and therefore not installed Python 2.6. As I said, the scenario was different for me, as I had /no/ Python installed. Thanks for your effort, Dominik.-
Re: lyx2lyx script broken (1.6.0 on Vista)
Paul A. Rubin wrote: Dominik Waßenhoven wrote: Should I try to install Python on Vista and try to convert from LyX 1.5 to 1.6 again? That would likely work. Alternatively, you might install the M$ VC++ redistributable package (http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BFdisplaylang=de) and see if that does the trick. Indeed, it does! Thanks a lot. Regards, Dominik.-
Re: avoiding indentation within footnotes and adding vertical space under headings
Nicolas Triart wrote: Dear All, I am currently finalising my PhD dissertation in Law. I'm using Lyx 1.6 on windows xp (no package yet for lyx 1.6 on my mandriva :-)) and would need some help. The class document I use is book (koma-script). The first think I would like to do is to to avoid indentation within the footnotes. Look p. 92 of the English komascript documentation. I guess this is possible to do it with footmisc but I didn't manage to put the right commands into my preamble until now. The second thing I would need to do is to add extra vertical space under the subparagraph and paragraph headings to make the space between these headings and the begining of the text of the next paragraph more or less the same than between the section heading and the begining of the next paragraph. To see how a section / subsection / paragraph etc.. is formatted see : http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.3.html Cheers, Charles
Re: lyx2lyx script broken (1.6.0 on Vista)
Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. regards Uwe
Re: Bibliography as a numbered section
Manuel Alejandro Cerón Estrada wrote: Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. http://en.wikibooks.org/wiki/LaTeX/Tips_and_Tricks#Add_the_Bibliography_to_the_Table_of_Contents_as_numbered_item rh
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Re: Cannot move a LyX file to another Folder
Hi Bennett, Well, not very easy because when I copy a small part of my file (I have around 280 pages) and paste it in a new file, everything is fine. As soon as I copy/paste about 90% of the file, then it crashes (with the same result starting from the beginning or from the end). Impossible to isolate a specific part of the file that would cause the crash. I tried to take only the beginning, the middle and the end, and each time it works well. It is really the whole file which is a problem. Would you like me to send the full version to you? Thanks for your help. Best, Olivier Rue de la Canonnière, 15 • 1202 Genève • Suisse Maison: +41 22 548 36 04 • Mobile: +41 77 251 96 90 • Skype: olivier.vilaca Le 16 nov. 08 à 17:11, Bennett Helm a écrit : On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 11:34 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hi Bennett, Well, not very easy because when I copy a small part of my file (I have around 280 pages) and paste it in a new file, everything is fine. As soon as I copy/paste about 90% of the file, then it crashes (with the same result starting from the beginning or from the end). Impossible to isolate a specific part of the file that would cause the crash. I tried to take only the beginning, the middle and the end, and each time it works well. It is really the whole file which is a problem. If isolating a specific part is impossible, then we won't be able to track down a bug. And if pasting the whole thing into a new file fixes the problem, then I'd say just do that, trash the original (once you're sure it works and is all copied over), and forget about it. (Bugs need to be repeatable to be identified and fixed.) Bennett
Query about preparing a Lyx-crafted book for the printers (with photos)
Hi all: I'd be grateful for any tips you could give me to prepare my Lyx-crafted book for the printer, who basically uses Windows software. I've outputted the work as PDF. He says that he needs to import it into Corel Draw. PDF files would create photos without a screen he says. These are BW photos. (i) Is this right? (ii) If so, how do I get around this? A cc to my address would be much appreciated, since a print-job is awaiting. Thanks much! FN -- FN M: 9970157402 or 9822122436 P:+91-832-240-9490 (after 1pm) Skype: fredericknoronha Yahoochat: fredericknoronha http://fn.goa-india.org http://fredericknoronha.wordpress.com Email fred at bytesforall.org Res: 784 Saligao 403511 Goa IndiaH
Re: Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick After some discussion overhere, we are wondering why you would like to do this. To be sure, do you know that if you increase the line spacing in Document Settings, the line spacing in the *editor* will also increase ? Vincent --from Berlin--
using macros in child document
Hello - I am trying to implement a master-child document setup where the child documents share macros defined in the master document. The problem I am running into is in editing the child documents - the macros don't show up. I can't seem to figure out how else to do this except to insert the macros in the child document while I am working on that document individually, but I have to remove those macros before I put it back into the master document, because I run into problems when I try including the macros twice. So, is it possible to get around this extra step of inserting and removing the macros? Thanks, Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut
Re: using macros in child document
Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro \mymacro to insert a, then the formula (\mymacro + b) = c appears as ( + b ) = c unless I copy all the macros from the master document and paste them into the child document. == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Sun, Nov 16, 2008 at 12:36 PM, charles reid [EMAIL PROTECTED]wrote: Hello - I am trying to implement a master-child document setup where the child documents share macros defined in the master document. The problem I am running into is in editing the child documents - the macros don't show up. I can't seem to figure out how else to do this except to insert the macros in the child document while I am working on that document individually, but I have to remove those macros before I put it back into the master document, because I run into problems when I try including the macros twice. So, is it possible to get around this extra step of inserting and removing the macros? Thanks, Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut
Re: using macros in child document
charles reid wrote: Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro \mymacro to insert a, then the formula (\mymacro + b) = c appears as ( + b ) = c unless I copy all the macros from the master document and paste them into the child document. This is an old problem. If you want to use 1.5 and solve it, there is some stuff on the wiki about how to do it: http://wiki.lyx.org/Tips/ChildMathMacros. The first rule is that you have to open the master first, THEN open the child. LyX 1.6 resolves this problem, and several others related to macros. rh
Idiot's guide to creating a new style - or inset?
Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. I know that documentation for this is coming soon but I'd like to learn as soon as possible. Many thanks ~Nick
Re: Idiot's guide to creating a new style - or inset?
Nick Bell wrote: Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Documentation is in the Customization manual, section 5.3.6. Look at endnotes.module and the other modules for more ideas. FYI, if you add something to the preamble so this can be used with non-Koma classes, e.g.: \ifx\textsuperscript\undefined{ \newcommand\textsuperscript{...} \fi this could be included in 1.6.x. Often requested. rh
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Nick Bell wrote: Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Documentation is in the Customization manual, section 5.3.6. Look at endnotes.module and the other modules for more ideas. FYI, if you add something to the preamble so this can be used with non-Koma classes, e.g.: \ifx\textsuperscript\undefined{ \newcommand\textsuperscript{...} \fi this could be included in 1.6.x. Often requested. rh In addition, if Nick needs this type of thing for several different uses (superscript for quantities of atoms in a molecule vs. superscript for (R)), then he should have one of these things for each one. That way, if he later wants to make atom quantities bigger or smaller or bold but leave (R) alone, he can do so. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Hi Richard, What's the difference bettween InsetLayout, CharacterStyle and Environment? When would you use InsetLayout over one of the others? What is the Decoration LyX property (set to classic in your example)? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Specific converter and child documents
Yeah, I think it'd be quite useful. My script is very easy and as far as I remember it can break something when in your image there's such a single letter (it's stupid and inserts ~ almost everywhere ;-)). You can see it here - http://neo.mlodzi.pl/sierotki (three links described in polish: sierotki - script adding ~, pdflatex_pl described in my previous post and licence) Now you can also try a bug I was writing about. Pozdrawiam ;-)
Re: Idiot's guide to creating a new style - or inset?
rgheck wrote: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? ~Nick
LyX 1.6.0. breaks down all the time
Hi, I just changed from LyX 1.5.6 to 1.6.0 and I really like the new features of the program but: Somehow LyX crashes all the time. For example when I am opening MS Outlook?!? Maybe it has to do something with the installer? Previously, I used the alternative installer, to install LyX 1.6.0. (Windows XP) I used the standard installer. How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. Regards Benno
\bind-files (Mac, 1.6)
Good morning LyXians, I've made some useful key bindings to help me insert super/subscript text: % Replace selected text with text subscript \bind C-M-equal command-sequence cut;math-mode; math-subscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right % Enter text subscript mode \bind C-equal command-sequence math-mode; math-subscript; math-insert \text{};char-right;char-right;char-right;char-left;down;char-left; % Replace selected text with text superscript \bind C-S-M-equal command-sequence cut;math-mode; math-superscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right % Enter text superscript mode \bind C-S-equal command-sequence math-mode; math-superscript; math-insert \text{};char-right;char-right;char-right;char-left;up;char-left; Which I save as nick.bind in ~/Library/Application Support/LyX-1.6/bind, and switch the bind file in the preferences dialog to the file, my new shortcuts work, but I lose the mac.bind bindings (as expected from documentation). To try to put them back I put \bind-file mac as the first line of nick.bind, save preferences and restart. Doesn't work; I try \bind-file mac.bind, \bind-file mac, \bind-file mac.bind, and none of these work either. I then try copying my mac.bind file from /Applications/... to ~/Library/Application Support/LyX-1.6/bind, and I still can't get the \bind-file command to work. I got what I want by adding my customisations to the bottom of the copy of mac.bind placed in my userdir/bind. Is there a way of getting the proper \bind-file behaviour to work? ~Nick
Bibliography as a numbered section
Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. Thanks in advance. Manuel.
Cannot move a LyX file to another Folder
Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? Thanks in advance, Olivier
Re: lyx2lyx script broken (1.6.0 on Vista)
Uwe Stöhr wrote: Dominik Waßenhoven schrieb: In the bin directory is a python26.dll file. Oh -- I just saw that I have a full Python installed on the WinXP machine (I didn't realize that, sorry...). It's Python 2.5.1 This means that you have Python 2.5.1 installed but the installer didn't recognize it. No, I think I was not clear enough. The second sentenc you cited above bear on my insallation on a WinXP system, where your installer worked perfectly. On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. I'm currently also on a Vista machine but cannot reproduce the problem. I installed here also Python 2.5.1 and then LyX using my installer. LyX correctly recognized Python 2.5.1 and therefore not installed Python 2.6. As I said, the scenario was different for me, as I had /no/ Python installed. Thanks for your effort, Dominik.-
Re: lyx2lyx script broken (1.6.0 on Vista)
Paul A. Rubin wrote: Dominik Waßenhoven wrote: Should I try to install Python on Vista and try to convert from LyX 1.5 to 1.6 again? That would likely work. Alternatively, you might install the M$ VC++ redistributable package (http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BFdisplaylang=de) and see if that does the trick. Indeed, it does! Thanks a lot. Regards, Dominik.-
Re: avoiding indentation within footnotes and adding vertical space under headings
Nicolas Triart wrote: Dear All, I am currently finalising my PhD dissertation in Law. I'm using Lyx 1.6 on windows xp (no package yet for lyx 1.6 on my mandriva :-)) and would need some help. The class document I use is book (koma-script). The first think I would like to do is to to avoid indentation within the footnotes. Look p. 92 of the English komascript documentation. I guess this is possible to do it with footmisc but I didn't manage to put the right commands into my preamble until now. The second thing I would need to do is to add extra vertical space under the subparagraph and paragraph headings to make the space between these headings and the begining of the text of the next paragraph more or less the same than between the section heading and the begining of the next paragraph. To see how a section / subsection / paragraph etc.. is formatted see : http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.3.html Cheers, Charles
Re: lyx2lyx script broken (1.6.0 on Vista)
Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. regards Uwe
Re: Bibliography as a numbered section
Manuel Alejandro Cerón Estrada wrote: Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. http://en.wikibooks.org/wiki/LaTeX/Tips_and_Tricks#Add_the_Bibliography_to_the_Table_of_Contents_as_numbered_item rh
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Re: Cannot move a LyX file to another Folder
Hi Bennett, Well, not very easy because when I copy a small part of my file (I have around 280 pages) and paste it in a new file, everything is fine. As soon as I copy/paste about 90% of the file, then it crashes (with the same result starting from the beginning or from the end). Impossible to isolate a specific part of the file that would cause the crash. I tried to take only the beginning, the middle and the end, and each time it works well. It is really the whole file which is a problem. Would you like me to send the full version to you? Thanks for your help. Best, Olivier Rue de la Canonnière, 15 • 1202 Genève • Suisse Maison: +41 22 548 36 04 • Mobile: +41 77 251 96 90 • Skype: olivier.vilaca Le 16 nov. 08 à 17:11, Bennett Helm a écrit : On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 11:34 AM, Vilaça Olivier [EMAIL PROTECTED] wrote: Hi Bennett, Well, not very easy because when I copy a small part of my file (I have around 280 pages) and paste it in a new file, everything is fine. As soon as I copy/paste about 90% of the file, then it crashes (with the same result starting from the beginning or from the end). Impossible to isolate a specific part of the file that would cause the crash. I tried to take only the beginning, the middle and the end, and each time it works well. It is really the whole file which is a problem. If isolating a specific part is impossible, then we won't be able to track down a bug. And if pasting the whole thing into a new file fixes the problem, then I'd say just do that, trash the original (once you're sure it works and is all copied over), and forget about it. (Bugs need to be repeatable to be identified and fixed.) Bennett
Query about preparing a Lyx-crafted book for the printers (with photos)
Hi all: I'd be grateful for any tips you could give me to prepare my Lyx-crafted book for the printer, who basically uses Windows software. I've outputted the work as PDF. He says that he needs to import it into Corel Draw. PDF files would create photos without a screen he says. These are BW photos. (i) Is this right? (ii) If so, how do I get around this? A cc to my address would be much appreciated, since a print-job is awaiting. Thanks much! FN -- FN M: 9970157402 or 9822122436 P:+91-832-240-9490 (after 1pm) Skype: fredericknoronha Yahoochat: fredericknoronha http://fn.goa-india.org http://fredericknoronha.wordpress.com Email fred at bytesforall.org Res: 784 Saligao 403511 Goa IndiaH
Re: Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick After some discussion overhere, we are wondering why you would like to do this. To be sure, do you know that if you increase the line spacing in Document Settings, the line spacing in the *editor* will also increase ? Vincent --from Berlin--
using macros in child document
Hello - I am trying to implement a master-child document setup where the child documents share macros defined in the master document. The problem I am running into is in editing the child documents - the macros don't show up. I can't seem to figure out how else to do this except to insert the macros in the child document while I am working on that document individually, but I have to remove those macros before I put it back into the master document, because I run into problems when I try including the macros twice. So, is it possible to get around this extra step of inserting and removing the macros? Thanks, Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut
Re: using macros in child document
Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro \mymacro to insert a, then the formula (\mymacro + b) = c appears as ( + b ) = c unless I copy all the macros from the master document and paste them into the child document. == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Sun, Nov 16, 2008 at 12:36 PM, charles reid [EMAIL PROTECTED]wrote: Hello - I am trying to implement a master-child document setup where the child documents share macros defined in the master document. The problem I am running into is in editing the child documents - the macros don't show up. I can't seem to figure out how else to do this except to insert the macros in the child document while I am working on that document individually, but I have to remove those macros before I put it back into the master document, because I run into problems when I try including the macros twice. So, is it possible to get around this extra step of inserting and removing the macros? Thanks, Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut
Re: using macros in child document
charles reid wrote: Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro \mymacro to insert a, then the formula (\mymacro + b) = c appears as ( + b ) = c unless I copy all the macros from the master document and paste them into the child document. This is an old problem. If you want to use 1.5 and solve it, there is some stuff on the wiki about how to do it: http://wiki.lyx.org/Tips/ChildMathMacros. The first rule is that you have to open the master first, THEN open the child. LyX 1.6 resolves this problem, and several others related to macros. rh
Idiot's guide to creating a new style - or inset?
Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. I know that documentation for this is coming soon but I'd like to learn as soon as possible. Many thanks ~Nick
Re: Idiot's guide to creating a new style - or inset?
Nick Bell wrote: Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Documentation is in the Customization manual, section 5.3.6. Look at endnotes.module and the other modules for more ideas. FYI, if you add something to the preamble so this can be used with non-Koma classes, e.g.: \ifx\textsuperscript\undefined{ \newcommand\textsuperscript{...} \fi this could be included in 1.6.x. Often requested. rh
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Nick Bell wrote: Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Documentation is in the Customization manual, section 5.3.6. Look at endnotes.module and the other modules for more ideas. FYI, if you add something to the preamble so this can be used with non-Koma classes, e.g.: \ifx\textsuperscript\undefined{ \newcommand\textsuperscript{...} \fi this could be included in 1.6.x. Often requested. rh In addition, if Nick needs this type of thing for several different uses (superscript for quantities of atoms in a molecule vs. superscript for (R)), then he should have one of these things for each one. That way, if he later wants to make atom quantities bigger or smaller or bold but leave (R) alone, he can do so. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Hi Richard, What's the difference bettween InsetLayout, CharacterStyle and Environment? When would you use InsetLayout over one of the others? What is the Decoration LyX property (set to classic in your example)? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Specific converter and child documents
Yeah, I think it'd be quite useful. My script is very easy and as far as I remember it can break something when in your image there's such a single letter (it's stupid and inserts ~ almost everywhere ;-)). You can see it here - http://neo.mlodzi.pl/sierotki (three links described in polish: sierotki - script adding ~, pdflatex_pl described in my previous post and licence) Now you can also try a bug I was writing about. Pozdrawiam ;-)
Re: Idiot's guide to creating a new style - or inset?
rgheck wrote: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? ~Nick
LyX 1.6.0. breaks down all the time
Hi, I just changed from LyX 1.5.6 to 1.6.0 and I really like the new features of the program but: Somehow LyX crashes all the time. For example when I am opening MS Outlook?!? Maybe it has to do something with the installer? Previously, I used the alternative installer, to install LyX 1.6.0. (Windows XP) I used the standard installer. How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. Regards Benno
\bind-files (Mac, 1.6)
Good morning LyXians, I've made some useful key bindings to help me insert super/subscript text: % Replace selected text with text subscript \bind C-M-equal command-sequence cut;math-mode; math-subscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right % Enter text subscript mode \bind C-equal command-sequence math-mode; math-subscript; math-insert \text{};char-right;char-right;char-right;char-left;down;char-left; % Replace selected text with text superscript \bind C-S-M-equal command-sequence cut;math-mode; math-superscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right % Enter text superscript mode \bind C-S-equal command-sequence math-mode; math-superscript; math-insert \text{};char-right;char-right;char-right;char-left;up;char-left; Which I save as nick.bind in ~/Library/Application Support/LyX-1.6/bind, and switch the bind file in the preferences dialog to the file, my new shortcuts work, but I lose the mac.bind bindings (as expected from documentation). To try to put them back I put \bind-file mac as the first line of nick.bind, save preferences and restart. Doesn't work; I try \bind-file mac.bind, \bind-file mac, \bind-file mac.bind, and none of these work either. I then try copying my mac.bind file from /Applications/... to ~/Library/Application Support/LyX-1.6/bind, and I still can't get the \bind-file command to work. I got what I want by adding my customisations to the bottom of the copy of mac.bind placed in my userdir/bind. Is there a way of getting the proper \bind-file behaviour to work? ~Nick
Bibliography as a numbered section
Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. Thanks in advance. Manuel.
Cannot move a LyX file to another Folder
Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? Thanks in advance, Olivier
Re: lyx2lyx script broken (1.6.0 on Vista)
Uwe Stöhr wrote: > Dominik Waßenhoven schrieb: >> In the bin directory is a python26.dll file. >> Oh -- I just saw that I have a full Python installed on the WinXP >> machine (I didn't realize that, sorry...). It's Python 2.5.1 > This means that you have Python 2.5.1 installed but the installer didn't > recognize it. No, I think I was not clear enough. The second sentenc you cited above bear on my insallation on a WinXP system, where your installer worked perfectly. On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. > I'm currently also on a Vista machine but cannot reproduce the problem. > I installed here also Python 2.5.1 and then LyX using my installer. LyX > correctly recognized Python 2.5.1 and therefore not installed Python 2.6. As I said, the scenario was different for me, as I had /no/ Python installed. Thanks for your effort, Dominik.-
Re: lyx2lyx script broken (1.6.0 on Vista)
Paul A. Rubin wrote: > Dominik Waßenhoven wrote: >> Should I try to install Python on Vista and try to convert >> from LyX 1.5 to 1.6 again? > That would likely work. Alternatively, you might install the M$ VC++ > redistributable package > (http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF=de) > and see if that does the trick. Indeed, it does! Thanks a lot. Regards, Dominik.-
Re: avoiding indentation within footnotes and adding vertical space under headings
Nicolas Triart wrote: > Dear All, > > I am currently finalising my PhD dissertation in Law. I'm using Lyx 1.6 on > windows xp (no package yet for lyx 1.6 on my mandriva :-)) and would need > some help. > The class document I use is book (koma-script). The first think I would > like to do is to to avoid indentation within the footnotes. Look p. 92 of the English komascript documentation. > I guess this > is possible to do it with footmisc but I didn't manage to put the right > commands into my preamble until now. The second thing I would need to do > is to add extra vertical space under the subparagraph and paragraph > headings to make the space between these headings and the begining of the > text of the next paragraph more or less the same than between the section > heading and the begining of the next paragraph. To see how a section / subsection / paragraph etc.. is formatted see : http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.3.html Cheers, Charles
Re: lyx2lyx script broken (1.6.0 on Vista)
Dominik Waßenhoven schrieb: On the Vista machine, I had no Python installed and the lyx2lyx script failed. I now installed Microsoft's VC++ redistributable package, as suggested by Paul Rubin, and now the lyx2lyx script works. So I think there is a problem with the python.exe and/or python26.dll which are in the bin directory of LyX 1.6. But I also had no Python installed on this Vista machine, only installed LyX using my installer and it worked. I also got feedback that it works for others too. regards Uwe
Re: Bibliography as a numbered section
Manuel Alejandro Cerón Estrada wrote: Hello. I'm writing an article with LyX. I'm using numbered sections. I want the bibliography to be one of those sections, but when I insert it to my document, it creates a TOC like this: 1. Introduction 2. System Model 3. Integration References 4. Intelectual Property How can I have a bibliography that behaves like one more numbered section ? This is what LyX generates when I insert the bibliography: \bibliographystyle{ieeetr} \addcontentsline{toc}{section}{\refname}\bibliography{referencias} The bibliography is not the last section. I need other sections to be after. http://en.wikibooks.org/wiki/LaTeX/Tips_and_Tricks#Add_the_Bibliography_to_the_Table_of_Contents_as_numbered_item rh
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier <[EMAIL PROTECTED]> wrote: > Hello, > > I have a weird problem. I created a LyX file on my Desktop and it is > impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X > Leopard 10.5.5). > > I tried to move it, to copy it, to open it in Lyx and to save it to another > Folder, to copy the content to a new LyX file and to save to another Folder, > but any option I try gives my the same result: I can open LyX and then open > the file, but I cannot open the file in LyX through directly clicking on the > file. Each time I try this, LyX crashes and close. > > Is it due to the fact that I have included figures in my file? How can I > solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Re: Cannot move a LyX file to another Folder
Hi Bennett, Well, not very easy because when I copy a small part of my file (I have around 280 pages) and paste it in a new file, everything is fine. As soon as I copy/paste about 90% of the file, then it crashes (with the same result starting from the beginning or from the end). Impossible to isolate a specific part of the file that would cause the crash. I tried to take only the beginning, the middle and the end, and each time it works well. It is really the whole file which is a problem. Would you like me to send the full version to you? Thanks for your help. Best, Olivier Rue de la Canonnière, 15 • 1202 Genève • Suisse Maison: +41 22 548 36 04 • Mobile: +41 77 251 96 90 • Skype: olivier.vilaca Le 16 nov. 08 à 17:11, Bennett Helm a écrit : On Sun, Nov 16, 2008 at 4:14 AM, Vilaça Olivier <[EMAIL PROTECTED]> wrote: Hello, I have a weird problem. I created a LyX file on my Desktop and it is impossible to move it to another Folder (I use Lyx 1.5.6 with Mac Os X Leopard 10.5.5). I tried to move it, to copy it, to open it in Lyx and to save it to another Folder, to copy the content to a new LyX file and to save to another Folder, but any option I try gives my the same result: I can open LyX and then open the file, but I cannot open the file in LyX through directly clicking on the file. Each time I try this, LyX crashes and close. Is it due to the fact that I have included figures in my file? How can I solve that? I have never experienced this. Can you try producing a *minimal* example file that causes the crash for you and post it to the list? Bennett
Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick
Re: Cannot move a LyX file to another Folder
On Sun, Nov 16, 2008 at 11:34 AM, Vilaça Olivier <[EMAIL PROTECTED]> wrote: > Hi Bennett, > Well, not very easy because when I copy a small part of my file (I have > around 280 pages) and paste it in a new file, everything is fine. As soon as > I copy/paste about 90% of the file, then it crashes (with the same result > starting from the beginning or from the end). Impossible to isolate a > specific part of the file that would cause the crash. I tried to take only > the beginning, the middle and the end, and each time it works well. It is > really the whole file which is a problem. If isolating a specific part is impossible, then we won't be able to track down a bug. And if pasting the whole thing into a new file fixes the problem, then I'd say just do that, trash the original (once you're sure it works and is all copied over), and forget about it. (Bugs need to be repeatable to be identified and fixed.) Bennett
Query about preparing a Lyx-crafted book for the printers (with photos)
Hi all: I'd be grateful for any tips you could give me to prepare my Lyx-crafted book for the printer, who basically uses Windows software. I've outputted the work as PDF. He says that he needs to import it into Corel Draw. PDF files would create photos without a screen he says. These are B photos. (i) Is this right? (ii) If so, how do I get around this? A cc to my address would be much appreciated, since a print-job is awaiting. Thanks much! FN -- FN M: 9970157402 or 9822122436 P:+91-832-240-9490 (after 1pm) Skype: fredericknoronha Yahoochat: fredericknoronha http://fn.goa-india.org http://fredericknoronha.wordpress.com Email fred at bytesforall.org Res: 784 Saligao 403511 Goa IndiaH
Re: Editor line spacing
Dear LyXians Is there a way of increasing the spacing between the lines in the *editor* (not the finished output)? Many thanks again Nick After some discussion overhere, we are wondering why you would like to do this. To be sure, do you know that if you increase the line spacing in Document Settings, the line spacing in the *editor* will also increase ? Vincent --from Berlin--
using macros in child document
Hello - I am trying to implement a master-child document setup where the child documents share macros defined in the master document. The problem I am running into is in editing the child documents - the macros don't show up. I can't seem to figure out how else to do this except to insert the macros in the child document while I am working on that document individually, but I have to remove those macros before I put it back into the master document, because I run into problems when I try including the macros twice. So, is it possible to get around this extra step of inserting and removing the macros? Thanks, Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut
Re: using macros in child document
Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro "\mymacro" to insert "a", then the formula "(\mymacro + b) = c" appears as " ( + b ) = c " unless I copy all the macros from the master document and paste them into the child document. == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Sun, Nov 16, 2008 at 12:36 PM, charles reid <[EMAIL PROTECTED]>wrote: > Hello - > > I am trying to implement a master-child document setup where the child > documents share macros defined in the master document. The problem I am > running into is in editing the child documents - the macros don't show up. > I can't seem to figure out how else to do this except to insert the macros > in the child document while I am working on that document individually, but > I have to remove those macros before I put it back into the master document, > because I run into problems when I try including the macros twice. So, is > it possible to get around this extra step of inserting and removing the > macros? > > > Thanks, > Charles > > > == > > [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she > says well, you're not a poor man. You know, why don't you go online and buy > a hundred envelopes and put them in the closet? And so I pretend not to hear > her. And go out to get an envelope because I'm going to have a hell of a > good time in the process of buying one envelope. I meet a lot of people. > And, see some great looking babes. And a fire engine goes by. And I give > them the thumbs up. And, and ask a woman what kind of dog that is. And, and > I don't know. The moral of the story is, is we're here on Earth to fart > around. And, of course, the computers will do us out of that. And, what the > computer people don't realize, or they don't care, is we're dancing animals. > You know, we love to move around. And, we're not supposed to dance at all > anymore. > - Kurt Vonnegut >
Re: using macros in child document
charles reid wrote: Just to clarify: when I say the macros don't show up, what I mean is, if I define the macro "\mymacro" to insert "a", then the formula "(\mymacro + b) = c" appears as " ( + b ) = c " unless I copy all the macros from the master document and paste them into the child document. This is an old problem. If you want to use 1.5 and solve it, there is some stuff on the wiki about how to do it: http://wiki.lyx.org/Tips/ChildMathMacros. The first rule is that you have to open the master first, THEN open the child. LyX 1.6 resolves this problem, and several others related to macros. rh
Idiot's guide to creating a new style - or inset?
Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. I know that documentation for this is coming soon but I'd like to learn as soon as possible. Many thanks ~Nick
Re: Idiot's guide to creating a new style - or inset?
Nick Bell wrote: Dear LyXians, Despite doing my best looking through the wiki and email archives, I'm stumped, and I think I'd better ask for help. I'd like to use \textsuperscript{} and \textsubscript{} (available in the KOMA-script classes) to generate 'true' super- and sub-scripts. I can do this with ERT of course, but it looks ugly and interrupts the flow of reading. Is there a way in which I can add a new style (?char style ?inset) so that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ (perhaps in some particular font). I think I need to be creating a new InsetLayout, but I don't know exactly what to put in the file or where to save it for it to be accessible as a module. Yes, that's what you need. Try something like this: #\DeclareLyXModule{TextSuperSub} #DescriptionBegin #Adds an endnote inset, in addition to footnotes. You will need to add #\theendnotes in ERT where you want the endnotes to appear. #DescriptionEnd Format 11 InsetLayout Custom:Superscript LyXTypecustom LatexNametextsuperscript LatexTypecommand Decoration classic Font SizeSmall EndFont MultiPar false LabelStringsuper End and something similar for subscripts. Save it to textsupersub.module in your LyX layouts directory and reconfigure. You can tweak it as you wish. Documentation is in the Customization manual, section 5.3.6. Look at endnotes.module and the other modules for more ideas. FYI, if you add something to the preamble so this can be used with non-Koma classes, e.g.: \ifx\textsuperscript\undefined{ \newcommand\textsuperscript{...} \fi this could be included in 1.6.x. Often requested. rh
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: > Nick Bell wrote: > > Dear LyXians, > > > > Despite doing my best looking through the wiki and email archives, I'm > > stumped, and I think I'd better ask for help. > > > > I'd like to use \textsuperscript{} and \textsubscript{} (available in > > the KOMA-script classes) to generate 'true' super- and sub-scripts. I > > can do this with ERT of course, but it looks ugly and interrupts the > > flow of reading. > > > > Is there a way in which I can add a new style (?char style ?inset) so > > that all I see of the \textsuperscript{XYZ} is the parameter, i.e. XYZ > > (perhaps in some particular font). > > > > I think I need to be creating a new InsetLayout, but I don't know > > exactly what to put in the file or where to save it for it to be > > accessible as a module. > > Yes, that's what you need. Try something like this: > > #\DeclareLyXModule{TextSuperSub} > #DescriptionBegin > #Adds an endnote inset, in addition to footnotes. You will need to add > #\theendnotes in ERT where you want the endnotes to appear. > #DescriptionEnd > > Format 11 > > InsetLayout Custom:Superscript >LyXTypecustom >LatexNametextsuperscript >LatexTypecommand >Decoration classic >Font > SizeSmall >EndFont >MultiPar false >LabelStringsuper > End > > and something similar for subscripts. Save it to textsupersub.module in > your LyX layouts directory and reconfigure. You can tweak it as you wish. > > Documentation is in the Customization manual, section 5.3.6. Look at > endnotes.module and the other modules for more ideas. > > FYI, if you add something to the preamble so this can be used with > non-Koma classes, e.g.: > \ifx\textsuperscript\undefined{ >\newcommand\textsuperscript{...} > \fi > this could be included in 1.6.x. Often requested. > > rh In addition, if Nick needs this type of thing for several different uses (superscript for quantities of atoms in a molecule vs. superscript for (R)), then he should have one of these things for each one. That way, if he later wants to make atom quantities bigger or smaller or bold but leave (R) alone, he can do so. SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Idiot's guide to creating a new style - or inset?
On Sunday 16 November 2008 03:43:04 pm rgheck wrote: > Yes, that's what you need. Try something like this: > > #\DeclareLyXModule{TextSuperSub} > #DescriptionBegin > #Adds an endnote inset, in addition to footnotes. You will need to add > #\theendnotes in ERT where you want the endnotes to appear. > #DescriptionEnd > > Format 11 > > InsetLayout Custom:Superscript >LyXTypecustom >LatexNametextsuperscript >LatexTypecommand >Decoration classic >Font > SizeSmall >EndFont >MultiPar false >LabelStringsuper > End > > and something similar for subscripts. Save it to textsupersub.module in > your LyX layouts directory and reconfigure. You can tweak it as you wish. Hi Richard, What's the difference bettween InsetLayout, CharacterStyle and Environment? When would you use InsetLayout over one of the others? What is the Decoration LyX property (set to "classic" in your example)? Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Specific converter and child documents
Yeah, I think it'd be quite useful. My script is very easy and as far as I remember it can break something when in your image there's such a single letter (it's stupid and inserts ~ almost everywhere ;-)). You can see it here - http://neo.mlodzi.pl/sierotki (three links described in polish: sierotki - script adding ~, pdflatex_pl described in my previous post and licence) Now you can also try a bug I was writing about. Pozdrawiam ;-)
Re: Idiot's guide to creating a new style - or inset?
rgheck wrote: > #\DeclareLyXModule{TextSuperSub} > #DescriptionBegin > #Adds an endnote inset, in addition to footnotes. You will need to add > #\theendnotes in ERT where you want the endnotes to appear. > #DescriptionEnd > > Format 11 > > InsetLayout Custom:Superscript > LyXTypecustom > LatexNametextsuperscript > LatexTypecommand > Decoration classic > Font > SizeSmall > EndFont > MultiPar false > LabelStringsuper > End That works brilliantly, thanks. Now how do I get the inset label to be equal to the parameter (e.g. XYZ in \textsuperscript{XYZ})? Or should I be using a user defined char style (??) ? ~Nick
LyX 1.6.0. breaks down all the time
Hi, I just changed from LyX 1.5.6 to 1.6.0 and I really like the new features of the program but: Somehow LyX crashes all the time. For example when I am opening MS Outlook?!? Maybe it has to do something with the installer? Previously, I used the alternative installer, to install LyX 1.6.0. (Windows XP) I used the standard installer. How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. Regards Benno
\bind-files (Mac, 1.6)
Good morning LyXians, I've made some useful key bindings to help me insert super/subscript text: % Replace selected text with text subscript \bind "C-M-equal" "command-sequence cut;math-mode; math-subscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right" % Enter text subscript mode \bind "C-equal" "command-sequence math-mode; math-subscript; math-insert \text{};char-right;char-right;char-right;char-left;down;char-left;" % Replace selected text with text superscript \bind "C-S-M-equal" "command-sequence cut;math-mode; math-superscript; math-insert \text{;paste;math-insert };char-right;char-right;char-right" % Enter text superscript mode \bind "C-S-equal" "command-sequence math-mode; math-superscript; math-insert \text{};char-right;char-right;char-right;char-left;up;char-left;" Which I save as nick.bind in ~/Library/Application Support/LyX-1.6/bind, and switch the bind file in the preferences dialog to the file, my new shortcuts work, but I lose the mac.bind bindings (as expected from documentation). To try to put them back I put \bind-file "mac" as the first line of nick.bind, save preferences and restart. Doesn't work; I try \bind-file "mac.bind", \bind-file mac, \bind-file mac.bind, and none of these work either. I then try copying my mac.bind file from /Applications/... to ~/Library/Application Support/LyX-1.6/bind, and I still can't get the \bind-file command to work. I got what I want by adding my customisations to the bottom of the copy of mac.bind placed in my userdir/bind. Is there a way of getting the proper \bind-file behaviour to work? ~Nick