Re: Posters in LyX
On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html
Re: assign tab to insert four spaces
Jean-Marc Lasgouttes wrote: Le 21 juin 09 à 17:19, Paul A. Rubin a écrit : \bind C-S-q command-sequence unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20; \bind C-S-q repeat 4 unicode-insert 0x20 Even if we don't right now, I think we should support unicode-insert 0x20 0x20 0x20 0x20. Imagine that you want to insert a unicode string in the command buffer, repeating unicode-insert would be cumbersome... Abdel.
Re: how to change font size for math on screen
Uwe Stöhr wrote: Hauser Helmut schrieb: I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. When I type them they have the right size, but later when leaving the maths area they fall back to a smaller size. Hello Uwe, Hello Günter, I don't understand. Do you have instant preview enabled (menu Tools - Preferences- Look feel- Graphics)? If so, either turn it off or set it to no math, or add this line to the file lyxrc.dist that you find in LyX's installation folder: \preview_scale_factor 1.0 The default size is 0.9. This has often been reported as too small therefore the alternative Windows installer sets it automatically to 1.0. Thanks a lot for you help. This was exactly what I needed. As always the LyX community is fast and powerful. I think this makes the wonderful piece of software even better. Thanks again. Best regards, Helmut regards Uwe -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- helmut.hau...@igi.tugraz.at Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
journal abbreviations
I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. Wolfgang
SV: journal abbreviations
Hi I do not use jabref, however in bibtex you may use strings{} for this. The best way is to use a shorthand form of the journal when you enter the citataion (like AJP) and then make a new bibfile with: @string{AJP = Am. J. Physiol.} and call that bibfile before your bibfile with citations. in LaTeX: \bibliography{abbreviations,citations} You may make several @strings to format into Am. J. Physiol. if your citation.bib has many different formats for each journal. Ingar
Re: Posters in LyX
On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html After reading that, it sounds like Scribus is the ideal tool for posters. It sounds great for 8.5x11 flyers, and for folding brochures. And yes, most short newsletters are extremely fine tuned, so it sounds great for those too. You know what else it sounds great for -- laying out the cover of an eBook. I've been using Inkscape for that, but I might try Scribus just for fun. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
how to use custom insert
Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex
Extending Existing Layouts
Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Thanks, Tad
Re: journal abbreviations
Wolfgang Engelmann wrote: I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. You could do something like that with the personal journal list, but it would involve adding one line to your new personal list for each version of each journal's name appearing in your .bib file, e.g. AJP - Am. J. Phys. Am.J.Phys. - Am. J. Phys. American Journal of Physiology - Am. J. Phys. etc. (assuming Am. J. Phys. was the abbreviation you wanted BibTeX to use). Assuming you only have one .bib file, it might be easier to use the string editor (Ctrl-T or BibTeX Edit Strings) to add one abbreviation for each journal (e.g., AJP - Am. J. Phys., again assuming the right side is how you want it listed). Then just manually edit each entry, replacing whatever is in the journal field with #AJP#. The biggest limitation of this approach is that the strings only apply to the .bib file containing them, although I suspect it is not hard to transfer them to a new .bib file. /Paul
Re: how to use custom insert
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? This is for inserting custom insets, e.g., an inset that would work like a footnote inset but that would produce an endnote. So that's probably not what you want, but creating them is explained in Chapter 5 of the Customization manual. Or have a look at the code for the endnote module, which you'll find in the file endnote.module in your layout directory. Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. You can do this either with keybindings or by adding things to the menus. For keybindings, you can use the Shortcuts dialog under Preferences. The menus are controlled by the files in the ui/ directory. You could add a submenu in stdmenus.inc and populate it as you wish. The syntax of the menu file is pretty simple. The trick, in either case, will be to get the syntax of the LyX command right. You can play with this in the command buffer (ViewToolbarsCommand Buffer). It also helps to watch the status line. Look under the Help menu for a list of the functions you can use there. rh
Re: how to use custom insert
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex If you want to insert them using custom insets, I think you will need to create a module containing the code for them. See section 5.3.6 of the Customization manual. Alternatively, you could just bind them to a keystroke (Tools Preferences Editing Shortcuts). For instance, 'math-insert {T_{\mathrm{C}}}' (without the quotes) should fit your example above. (The extra braces will appear in the the LyX GUI but not in the output. They're a workaround to an apparent bug in the math-insert function -- unless I'm missing something.) /Paul
Re: Extending Existing Layouts
Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. rh
Help message about LyX-XeTeX
I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in ToolsPreferencesFile HandlingConverters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? I hope my english will be clear to you. Thank you for your attention. Yours faithfully, Francesco Fuganti Pedoni
Re: Posters in LyX
I have to disagree in this debate. I have found lyx a *superb* tool for making scientific posters! It gives a uniform look, as well as dealing with the proper formatting of legends and cross-references. Plus, it properly formats my bibtex references and places everything evenly distributed on an A0 layout. If information overflows, it means I have to reorganise my poster, not finger-paint layouts to shoe-horn items into the poster (that probably shouldn't be there anyway for the requirements of a poster). It also means that I can re-use text and graphics from talks and papers that I've written in lyx. I use sciposter.cls, sectionbox.sty, multicol.sty and wallpaper.sty to generate posters with multiple columns, sectioned boxes and a background. I generate my plots with R and graphics with inkscape. On the other hand, I end up spending much more time fiddling about finger-painting with tools like scribus. Mateo. On Monday 22 June 2009, Steve Litt wrote: On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html After reading that, it sounds like Scribus is the ideal tool for posters. It sounds great for 8.5x11 flyers, and for folding brochures. And yes, most short newsletters are extremely fine tuned, so it sounds great for those too. You know what else it sounds great for -- laying out the cover of an eBook. I've been using Inkscape for that, but I might try Scribus just for fun. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Extending Existing Layouts
On 2009-06-22, rgheck wrote: Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. Günter
Re: Help message about LyX-XeTeX
Francesco Fuganti Pedoni wrote: I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in ToolsPreferencesFile HandlingConverters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? The expert on XeTeX is Jurgen: He'll probably comment on this when he sees it. But you might search the wiki for info. And you'll be pleased to hear that there will be support for XeTeX in LyX 2.0. If you're feeling a bit adventurous, you can checkout svn and compile it. It's reasonably stable at the moment, though I'd stay away from anything that's currently under active development, like spellcheck and HTML output Richard
Re: Extending Existing Layouts
Guenter Milde wrote: On 2009-06-22, rgheck wrote: Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. I had (c) or (d) in mind myself, though of course (a) and (b) will also work. rh
Re: Extending Existing Layouts
Le 22 juin 09 à 16:06, Tad Marko a écrit : I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Is there a reason why you do not use memoir as base class? It is better than the legacy book.cls. JMarc
Reset Section Numbering by Part
Hi all, I want the section numbering to restart for each part in the article class. The only way I have devised is a simple hack in the LaTeX preamble: \let\oldpart\part \renewcommand{part}[1]{\oldpart{#1} \setcounter{section}{0}} This works great, except for the Table of Contents. When I generate a PDF, every Section N links to the first Section N; e.g., clicking on Part III, Section 2 takes me down to Part I, Section 2. I understand that I can define a new counter with \newcounter{newsection}[part] to reset when I want it to. Is there a way to force sections to display this new counter while still being linked with the old one? If not, is there another way to solve my problem? Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7) --Andrew Hills
Re: Extending Existing Layouts
On Mon, Jun 22, 2009 at 5:26 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 22 juin 09 à 16:06, Tad Marko a écrit : I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Is there a reason why you do not use memoir as base class? It is better than the legacy book.cls. I simply find the memoir class unattractive. I like the looks of the classic book class. Tad
Re: Posters in LyX
On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html
Re: assign tab to insert four spaces
Jean-Marc Lasgouttes wrote: Le 21 juin 09 à 17:19, Paul A. Rubin a écrit : \bind C-S-q command-sequence unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20; \bind C-S-q repeat 4 unicode-insert 0x20 Even if we don't right now, I think we should support unicode-insert 0x20 0x20 0x20 0x20. Imagine that you want to insert a unicode string in the command buffer, repeating unicode-insert would be cumbersome... Abdel.
Re: how to change font size for math on screen
Uwe Stöhr wrote: Hauser Helmut schrieb: I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. When I type them they have the right size, but later when leaving the maths area they fall back to a smaller size. Hello Uwe, Hello Günter, I don't understand. Do you have instant preview enabled (menu Tools - Preferences- Look feel- Graphics)? If so, either turn it off or set it to no math, or add this line to the file lyxrc.dist that you find in LyX's installation folder: \preview_scale_factor 1.0 The default size is 0.9. This has often been reported as too small therefore the alternative Windows installer sets it automatically to 1.0. Thanks a lot for you help. This was exactly what I needed. As always the LyX community is fast and powerful. I think this makes the wonderful piece of software even better. Thanks again. Best regards, Helmut regards Uwe -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- helmut.hau...@igi.tugraz.at Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
journal abbreviations
I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. Wolfgang
SV: journal abbreviations
Hi I do not use jabref, however in bibtex you may use strings{} for this. The best way is to use a shorthand form of the journal when you enter the citataion (like AJP) and then make a new bibfile with: @string{AJP = Am. J. Physiol.} and call that bibfile before your bibfile with citations. in LaTeX: \bibliography{abbreviations,citations} You may make several @strings to format into Am. J. Physiol. if your citation.bib has many different formats for each journal. Ingar
Re: Posters in LyX
On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html After reading that, it sounds like Scribus is the ideal tool for posters. It sounds great for 8.5x11 flyers, and for folding brochures. And yes, most short newsletters are extremely fine tuned, so it sounds great for those too. You know what else it sounds great for -- laying out the cover of an eBook. I've been using Inkscape for that, but I might try Scribus just for fun. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
how to use custom insert
Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex
Extending Existing Layouts
Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Thanks, Tad
Re: journal abbreviations
Wolfgang Engelmann wrote: I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. You could do something like that with the personal journal list, but it would involve adding one line to your new personal list for each version of each journal's name appearing in your .bib file, e.g. AJP - Am. J. Phys. Am.J.Phys. - Am. J. Phys. American Journal of Physiology - Am. J. Phys. etc. (assuming Am. J. Phys. was the abbreviation you wanted BibTeX to use). Assuming you only have one .bib file, it might be easier to use the string editor (Ctrl-T or BibTeX Edit Strings) to add one abbreviation for each journal (e.g., AJP - Am. J. Phys., again assuming the right side is how you want it listed). Then just manually edit each entry, replacing whatever is in the journal field with #AJP#. The biggest limitation of this approach is that the strings only apply to the .bib file containing them, although I suspect it is not hard to transfer them to a new .bib file. /Paul
Re: how to use custom insert
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? This is for inserting custom insets, e.g., an inset that would work like a footnote inset but that would produce an endnote. So that's probably not what you want, but creating them is explained in Chapter 5 of the Customization manual. Or have a look at the code for the endnote module, which you'll find in the file endnote.module in your layout directory. Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. You can do this either with keybindings or by adding things to the menus. For keybindings, you can use the Shortcuts dialog under Preferences. The menus are controlled by the files in the ui/ directory. You could add a submenu in stdmenus.inc and populate it as you wish. The syntax of the menu file is pretty simple. The trick, in either case, will be to get the syntax of the LyX command right. You can play with this in the command buffer (ViewToolbarsCommand Buffer). It also helps to watch the status line. Look under the Help menu for a list of the functions you can use there. rh
Re: how to use custom insert
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is No custom insets defined!. How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex If you want to insert them using custom insets, I think you will need to create a module containing the code for them. See section 5.3.6 of the Customization manual. Alternatively, you could just bind them to a keystroke (Tools Preferences Editing Shortcuts). For instance, 'math-insert {T_{\mathrm{C}}}' (without the quotes) should fit your example above. (The extra braces will appear in the the LyX GUI but not in the output. They're a workaround to an apparent bug in the math-insert function -- unless I'm missing something.) /Paul
Re: Extending Existing Layouts
Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. rh
Help message about LyX-XeTeX
I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in ToolsPreferencesFile HandlingConverters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? I hope my english will be clear to you. Thank you for your attention. Yours faithfully, Francesco Fuganti Pedoni
Re: Posters in LyX
I have to disagree in this debate. I have found lyx a *superb* tool for making scientific posters! It gives a uniform look, as well as dealing with the proper formatting of legends and cross-references. Plus, it properly formats my bibtex references and places everything evenly distributed on an A0 layout. If information overflows, it means I have to reorganise my poster, not finger-paint layouts to shoe-horn items into the poster (that probably shouldn't be there anyway for the requirements of a poster). It also means that I can re-use text and graphics from talks and papers that I've written in lyx. I use sciposter.cls, sectionbox.sty, multicol.sty and wallpaper.sty to generate posters with multiple columns, sectioned boxes and a background. I generate my plots with R and graphics with inkscape. On the other hand, I end up spending much more time fiddling about finger-painting with tools like scribus. Mateo. On Monday 22 June 2009, Steve Litt wrote: On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: On 6/19/09, Les Denham lden...@hal-pc.org wrote: What worked best for me is Scribus. A relevant discussion, and a nice overview by Les on LyX vs. Scribus [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html After reading that, it sounds like Scribus is the ideal tool for posters. It sounds great for 8.5x11 flyers, and for folding brochures. And yes, most short newsletters are extremely fine tuned, so it sounds great for those too. You know what else it sounds great for -- laying out the cover of an eBook. I've been using Inkscape for that, but I might try Scribus just for fun. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
Re: Extending Existing Layouts
On 2009-06-22, rgheck wrote: Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. Günter
Re: Help message about LyX-XeTeX
Francesco Fuganti Pedoni wrote: I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in ToolsPreferencesFile HandlingConverters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? The expert on XeTeX is Jurgen: He'll probably comment on this when he sees it. But you might search the wiki for info. And you'll be pleased to hear that there will be support for XeTeX in LyX 2.0. If you're feeling a bit adventurous, you can checkout svn and compile it. It's reasonably stable at the moment, though I'd stay away from anything that's currently under active development, like spellcheck and HTML output Richard
Re: Extending Existing Layouts
Guenter Milde wrote: On 2009-06-22, rgheck wrote: Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. I had (c) or (d) in mind myself, though of course (a) and (b) will also work. rh
Re: Extending Existing Layouts
Le 22 juin 09 à 16:06, Tad Marko a écrit : I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Is there a reason why you do not use memoir as base class? It is better than the legacy book.cls. JMarc
Reset Section Numbering by Part
Hi all, I want the section numbering to restart for each part in the article class. The only way I have devised is a simple hack in the LaTeX preamble: \let\oldpart\part \renewcommand{part}[1]{\oldpart{#1} \setcounter{section}{0}} This works great, except for the Table of Contents. When I generate a PDF, every Section N links to the first Section N; e.g., clicking on Part III, Section 2 takes me down to Part I, Section 2. I understand that I can define a new counter with \newcounter{newsection}[part] to reset when I want it to. Is there a way to force sections to display this new counter while still being linked with the old one? If not, is there another way to solve my problem? Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7) --Andrew Hills
Re: Extending Existing Layouts
On Mon, Jun 22, 2009 at 5:26 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote: Le 22 juin 09 à 16:06, Tad Marko a écrit : I would like to extend the book layout with the Chapterprecis from the book (memoir) layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Is there a reason why you do not use memoir as base class? It is better than the legacy book.cls. I simply find the memoir class unattractive. I like the looks of the classic book class. Tad
Re: Posters in LyX
On 6/19/09, Les Denhamwrote: > What worked best for me is Scribus. > A relevant discussion, and a nice overview by Les on "LyX vs. Scribus" [1]. Liviu [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html
Re: assign tab to insert four spaces
Jean-Marc Lasgouttes wrote: Le 21 juin 09 à 17:19, Paul A. Rubin a écrit : \bind "C-S-q" "command-sequence unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20; unicode-insert 0x20;" \bind "C-S-q" "repeat 4 unicode-insert 0x20" Even if we don't right now, I think we should support "unicode-insert 0x20 0x20 0x20 0x20". Imagine that you want to insert a unicode string in the command buffer, repeating unicode-insert would be cumbersome... Abdel.
Re: how to change font size for math on screen
Uwe Stöhr wrote: Hauser Helmut schrieb: I tried to find the place in LyX where I can change the size of the formulas when the cursor is not there. When I type them they have the right size, but later when leaving the maths area they fall back to a smaller size. Hello Uwe, Hello Günter, I don't understand. Do you have instant preview enabled (menu Tools -> Preferences-> Look & feel-> Graphics)? If so, either turn it off or set it to "no math", or add this line to the file "lyxrc.dist" that you find in LyX's installation folder: \preview_scale_factor "1.0" The default size is 0.9. This has often been reported as too small therefore the alternative Windows installer sets it automatically to 1.0. Thanks a lot for you help. This was exactly what I needed. As always the LyX community is fast and powerful. I think this makes the wonderful piece of software even better. Thanks again. Best regards, Helmut regards Uwe -- Helmut Hauser Institute for Theoretical Computer Sciences Technische Universitaet Graz Inffeldgasse 16b, I A-8010 Graz, Austria --- helmut.hau...@igi.tugraz.at Tel: + 43 316 873-5821 Fax: + 43 316 873-5805 http://www.igi.TUGraz.at/helmut/
journal abbreviations
I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. Wolfgang
SV: journal abbreviations
Hi I do not use jabref, however in bibtex you may use strings{} for this. The best way is to use a shorthand form of the journal when you enter the citataion (like AJP) and then make a new bibfile with: @string{AJP = "Am. J. Physiol."} and call that bibfile before your bibfile with citations. in LaTeX: \bibliography{abbreviations,citations} You may make several @strings to format into "Am. J. Physiol." if your citation.bib has many different formats for each journal. Ingar
Re: Posters in LyX
On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: > On 6/19/09, Les Denhamwrote: > > What worked best for me is Scribus. > > A relevant discussion, and a nice overview by Les on "LyX vs. Scribus" [1]. > Liviu > > [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html After reading that, it sounds like Scribus is the ideal tool for posters. It sounds great for 8.5x11 flyers, and for folding brochures. And yes, most short newsletters are extremely fine tuned, so it sounds great for those too. You know what else it sounds great for -- laying out the cover of an eBook. I've been using Inkscape for that, but I might try Scribus just for fun. Thanks SteveT Steve Litt Recession Relief Package http://www.recession-relief.US Twitter: http://www.twitter.com/stevelitt
how to use "custom insert"
Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is "No custom insets defined!". How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex
Extending Existing Layouts
Hello, Another basic newbie question: I would like to extend the book layout with the "Chapterprecis" from the book (memoir)" layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Thanks, Tad
Re: journal abbreviations
Wolfgang Engelmann wrote: I would like to use journal abbreviations in my reference list. I know, Jabref is having this option (manage journal abbreviations); I have, however, difficulties in getting it to work. Could somebody who used it already give me a hint? The explanation in jabref is beyond me (e.g. personal Journal list, external files, where and how to insert the journal list from JabRef) There are actually 2 tasks: - use abbreviations - make sure the various kinds of writing of the same journal end up in the same abbreviation e.g.: citation 1 uses AJP citation 2 uses AJP citation 3 Am.J.Phys. citation 4 Am. J. Phys. (space!) citation 5 Am. J. Physiol. citation 6 Am. J. Physiology citation 7 American Journal of Physiology should all have finally Am. J. Physiol. It would be nice to mark the citations in my Jabref file who use the same journal and tell jabref to put the correct abbreviation to all those. I have the feeling, this is implemented in Jabref, but can't get it to work. You could do something like that with the personal journal list, but it would involve adding one line to your new personal list for each version of each journal's name appearing in your .bib file, e.g. AJP -> Am. J. Phys. Am.J.Phys. -> Am. J. Phys. American Journal of Physiology -> Am. J. Phys. etc. (assuming Am. J. Phys. was the abbreviation you wanted BibTeX to use). Assuming you only have one .bib file, it might be easier to use the string editor (Ctrl-T or BibTeX > Edit Strings) to add one abbreviation for each journal (e.g., AJP -> Am. J. Phys., again assuming the right side is how you want it listed). Then just manually edit each entry, replacing whatever is in the journal field with #AJP#. The biggest limitation of this approach is that the strings only apply to the .bib file containing them, although I suspect it is not hard to transfer them to a new .bib file. /Paul
Re: how to use "custom insert"
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is "No custom insets defined!". How do I define one? This is for inserting custom insets, e.g., an inset that would work like a footnote inset but that would produce an endnote. So that's probably not what you want, but creating them is explained in Chapter 5 of the Customization manual. Or have a look at the code for the endnote module, which you'll find in the file endnote.module in your layout directory. Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. You can do this either with keybindings or by adding things to the menus. For keybindings, you can use the Shortcuts dialog under Preferences. The menus are controlled by the files in the ui/ directory. You could add a submenu in stdmenus.inc and populate it as you wish. The syntax of the menu file is pretty simple. The trick, in either case, will be to get the syntax of the LyX command right. You can play with this in the command buffer (View>Toolbars>Command Buffer). It also helps to watch the status line. Look under the Help menu for a list of the functions you can use there. rh
Re: how to use "custom insert"
Alexander Barcza wrote: Hello, I'm using LyX 1.6.3 on a Mac. I'd like to define some custom insert in order to insert frequently used formatted text. There seems to be an item in the menu but all it says is "No custom insets defined!". How do I define one? Could you please let me know whether I'm doing something wrong or whether there is a workaround to achieve the same. In particular I want to define some math expressions (like $T_{\mathrm{C}} and so on) that I want to insert in my document with a single/few clicks. This is possible in e.g. Kile but I really love LyX because of the WYSIWYG. Thanks Alex If you want to insert them using custom insets, I think you will need to create a module containing the code for them. See section 5.3.6 of the Customization manual. Alternatively, you could just bind them to a keystroke (Tools > Preferences > Editing > Shortcuts). For instance, 'math-insert {T_{\mathrm{C}}}' (without the quotes) should fit your example above. (The extra braces will appear in the the LyX GUI but not in the output. They're a workaround to an apparent bug in the math-insert function -- unless I'm missing something.) /Paul
Re: Extending Existing Layouts
Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the "Chapterprecis" from the book (memoir)" layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. rh
Help message about LyX-XeTeX
I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in Tools>Preferences>File Handling>Converters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? I hope my english will be clear to you. Thank you for your attention. Yours faithfully, Francesco Fuganti Pedoni
Re: Posters in LyX
I have to disagree in this debate. I have found lyx a *superb* tool for making scientific posters! It gives a uniform look, as well as dealing with the proper formatting of legends and cross-references. Plus, it properly formats my bibtex references and places everything evenly distributed on an A0 layout. If information overflows, it means I have to reorganise my poster, not finger-paint layouts to shoe-horn items into the poster (that probably shouldn't be there anyway for the requirements of a poster). It also means that I can re-use text and graphics from talks and papers that I've written in lyx. I use sciposter.cls, sectionbox.sty, multicol.sty and wallpaper.sty to generate posters with multiple columns, sectioned boxes and a background. I generate my plots with R and graphics with inkscape. On the other hand, I end up spending much more time fiddling about finger-painting with tools like scribus. Mateo. On Monday 22 June 2009, Steve Litt wrote: > On Monday 22 June 2009 02:43:51 am Liviu Andronic wrote: > > On 6/19/09, Les Denhamwrote: > > > What worked best for me is Scribus. > > > > A relevant discussion, and a nice overview by Les on "LyX vs. Scribus" [1]. > > Liviu > > > > [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg57576.html > > After reading that, it sounds like Scribus is the ideal tool for posters. It > sounds great for 8.5x11 flyers, and for folding brochures. And yes, most > short newsletters are extremely fine tuned, so it sounds great for those too. > > You know what else it sounds great for -- laying out the cover of an eBook. > I've been using Inkscape for that, but I might try Scribus just for fun. > > Thanks > > SteveT > > Steve Litt > Recession Relief Package > http://www.recession-relief.US > Twitter: http://www.twitter.com/stevelitt > >
Re: Extending Existing Layouts
On 2009-06-22, rgheck wrote: > Tad Marko wrote: >> Hello, >> Another basic newbie question: >> I would like to extend the book layout with the "Chapterprecis" from the >> book (memoir)" layout. It is probably naive to assume this is as simple as >> copying book.layout and copying the Chapterprecis style from memoir layout. >> Can anyone tell me a bit about the proper way to do this? > That might well work, so far as LyX is concerned. But the book class > does not have a chapterprecis environment, so you'll need to define it. > You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. Günter
Re: Help message about LyX-XeTeX
Francesco Fuganti Pedoni wrote: I've just downloaded the last LyX release (1.6.3) and my OS is Windovs Vista Home Premium. I've used LyX writing all my reports in the last six months. I've got only one great problem that I can't solve without your help. I 'd like to use some characters not available in LaTeX: for exemple Calibri. I've made some researches and I've read about XeTeX. I use MikTeX, the last release, and it contains XeTeX. It should be possible to use XeTeX whit LyX but I can't do it. I've read something about the conversion in the format output PDF (xetex) but it is not present in the list that I've found in Tools>Preferences>File Handling>Converters. It seems like LyX doesn't find XeTeX even if it's yet installed. What could I do? The expert on XeTeX is J"urgen: He'll probably comment on this when he sees it. But you might search the wiki for info. And you'll be pleased to hear that there will be support for XeTeX in LyX 2.0. If you're feeling a bit adventurous, you can checkout svn and compile it. It's reasonably stable at the moment, though I'd stay away from anything that's currently under active development, like spellcheck and HTML output Richard
Re: Extending Existing Layouts
Guenter Milde wrote: On 2009-06-22, rgheck wrote: Tad Marko wrote: Hello, Another basic newbie question: I would like to extend the book layout with the "Chapterprecis" from the book (memoir)" layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? That might well work, so far as LyX is concerned. But the book class does not have a chapterprecis environment, so you'll need to define it. You can just copy (or adapt) it from memoir.cls. Remember, that you *must not* change the book.cls document class file directly. Instead, you can a) Create a new class file based on book.cls. b) Create a new style file (package) and load in the layout or a module. c) Add the environment to the preamble block in your layout file. d) Add the environment to the preamble block of a module file. How to create a latex package or class is described in the clsguide.pdf (comes with your LaTeX distribution). How to write a LyX layout or module file is described in the Customization manual. I had (c) or (d) in mind myself, though of course (a) and (b) will also work. rh
Re: Extending Existing Layouts
Le 22 juin 09 à 16:06, Tad Marko a écrit : I would like to extend the book layout with the "Chapterprecis" from the book (memoir)" layout. It is probably naive to assume this is as simple as copying book.layout and copying the Chapterprecis style from memoir layout. Can anyone tell me a bit about the proper way to do this? Is there a reason why you do not use memoir as base class? It is better than the legacy book.cls. JMarc
Reset Section Numbering by Part
Hi all, I want the section numbering to restart for each part in the article class. The only way I have devised is a simple hack in the LaTeX preamble: \let\oldpart\part \renewcommand{part}[1]{\oldpart{#1} \setcounter{section}{0}} This works great, except for the Table of Contents. When I generate a PDF, every Section N links to the first Section N; e.g., clicking on Part III, Section 2 takes me down to Part I, Section 2. I understand that I can define a new counter with \newcounter{newsection}[part] to reset when I want it to. Is there a way to force sections to display this new counter while still being linked with the old one? If not, is there another way to solve my problem? Other information: LyX 1.6.2 on Windows XP (MiKTeX 2.7) --Andrew Hills
Re: Extending Existing Layouts
On Mon, Jun 22, 2009 at 5:26 PM, Jean-Marc Lasgoutteswrote: > Le 22 juin 09 à 16:06, Tad Marko a écrit : > >> I would like to extend the book layout with the "Chapterprecis" from the >> book (memoir)" layout. It is probably naive to assume this is as simple as >> copying book.layout and copying the Chapterprecis style from memoir >> layout. >> Can anyone tell me a bit about the proper way to do this? >> > > Is there a reason why you do not use memoir as base class? It is better > than the legacy book.cls. I simply find the memoir class unattractive. I like the looks of the classic book class. Tad