Re: Interesting thread on Slashdot
rgheck wrote: Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). LyX does have change tracking. I've used it. Unfamiliarity is of course something we can change. ;-) Right, it does work but is not as easy to use as Word'. But I think Denné was more talking about collaboration tools with other word processors. This is not really possible I'm afraid. Concrete suggestions for how we could improve collaboration would be more than welcome. Post them here for comment, or on lyx-devel, and then add them to bugzilla once we have some clarity. I know that this is a big issue for a lot of people, and it's something a lot of us think about. It's way too late to do anything on this score for 1.6, but for 1.7 Yep, I also have some ideas how to improve it, hopefully for 1.7 :-) I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I'm puzzled by this remark. Why does that require Acrobat? Is this for notating PDFs and the like? If so, you might want to look into AREnable: http://sourceforge.net/projects/arenable/. And my understanding is that there are FOSS pdf viewers on the near horizon that will do this. Right, Acrobat is a mammoth; On Windows there are also a number of free as in beer pdf manipulation tool wich allows annotation and such. I like Foxit for example. Abdel.
Re: Interesting thread on Slashdot
On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: [..] I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... wierd. Andre'
Re: Interesting thread on Slashdot
On 31.07.2008, at 08:55, Andre Poenitz wrote: On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: [..] I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... wierd. That explains a lot... I also had problems with getting them to accept my paper as LaTeX document. Dozens of e-mails where we literary had to explain the woman on the other side (with an elsvier.com e-mail address) that our document does not open in Word, that a ZIP-Archive has to unpacked before doing some with it, that postscript does also not open in word, how to produce a postscript file... I could not believe that we were actually interacting with a professional publisher. In the end we did send her the postscript file, which obviously got re-typed for the journal. The result was horrible. Daniel
Multiple index
Dear Sirs, I am preparing a book with Lyx 1.5, using document class Book (AMS). I would like to have separate Subject Index and Author Index. I wonder if there is a straightforward way to do it. Reuven chen -- Prof. Reuven Chen School of Physics and Astronomy Tel-Aviv university Tel-Aviv, 69978 Israel Tel: +972-3-6408426 (W); +972-9-9553276 (H); +972-54-7257666 (cellular) Fax: +972-9-9561213
Blank page without page number
Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Math symbol displayed incorrectly on screen
Hi, I am using LyX 1.5.5 on Linux. In math mode, \cdot appears as \times should (as an 'X' shape) on the screen. The dvi output is fine -- \cdot appears as a centred dot. I have attached a sample lyx file which has this problem. Is this a known problem? What would be a workaround? Which configuration file(s) control(s) LyX's display of math symbols on the screen? Thanks, Philip bugreport.lyx Description: application/lyx
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., section*, etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. regards Uwe
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Uwe Stöhr wrote: Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., section*, etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. Well, there is nonetheless a work around: use the 'Alt-m number' kerboard shortcuts. Abdel.
problems with class and/or layout?
Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Blank page without page number
Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Labelling equations
Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to insert and to label. The function label is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function label works, but I cannot label the equation. Thanks in advance! Christopher
Matching fonts in figures (.EPS) with font in main text
I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke
Re: problems with class and/or layout?
On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com. Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document-Settings-Document Class or Help-LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob
Center Tables *AND* Table-Footnotes
Hi all, I have several tables in my document, which I would like to align centered. The problem is that the tables have footnotes. Now if I set the paragraph alignment of the table to centered, the table aligns how it should. However, the accompanying footnotes are aligned at the left margin. Is there any way to align the footnotes with the table? Thanks, Sebastian -- Sebastian Rohrer AK Baumann - Molecular Modelling Group Institute of Pharmaceutical Chemistry Braunschweig University of Technology Beethovenstr. 55 38106 Braunschweig Germany Phone: +49-531-3912797
Re: Labelling equations
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to insert and to label. The function label is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function label works, but I cannot label the equation. Thanks in advance! Christopher I'm a little confused you may have to explain further. What do you mean the label works, but I cannot label the equation? How do you want to label it? What you have done should work. When you create a pdf of you file the equation should be numbered for instance (1) in article class because you entered Insert-Label. Cheers, /Bob
Re: Progress on the MS Word to LyX conversion (xml)
Manveru wrote: Have you ever merge XML? I tried - it is horrible work. It depends entirely on how the XML document is formatted. There's nothing that prevents XML with sensible line breaks, for example. I keep lots of XHTML documents in CVS. They're well-formatted, so merging works just fine. -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Re: Progress on the MS Word to LyX conversion (xml)
Steve Litt wrote: Trouble is, replacing \begin..\end with .../ is a hack. LyX developers have defined LyX native format as \begin always is the first character on a line. There's no such requirement in XML, and if we require it, that's a hack. If we don't require it, LyX-XML parsing becomes a whole new level of difficulty. It's not hard at all, with an XML parser. Actually, putting all XML elements on their own lines, with or without leading whitespace, can be done with a DFA (or anything equivalent, such as a regular expression); you don't even need a full-strength parser. If you want elements all on their own lines, pre-processing with a quick sed script would do that for you. I'm a toolsmith myself, and I write lots of tools, in lots of languages, for pre- and post-processing various file formats. I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Re: Matching fonts in figures (.EPS) with font in main text
On Jul 31, 2008, at 7:35 AM, Luke Lindsay wrote: I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke have a look at psfrag http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html James
Re: Progress on the MS Word to LyX conversion (xml)
Michael Wojcik wrote: I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. /me too :-) Abdel.
Re: Interesting thread on Slashdot
Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I've collaborated once with a coauthor who used SciWord, once (most recently) with a coauthor who uses LaTeX and won't adopt LyX (I need to work on my powers of persuasion, obviously) and frequently with coauthors who are limited to Word (or in once case WordPerfect). In most cases I simply declare that I will be the keeper of the official draft. I send them PDFs, they send changes in whatever they care to (just the changes, or maybe a pasted copy of the offending text followed by a rewrite), and I put the changes into LyX. On the most recent collaboration, I used LyX's change tracking feature, but not for the benefit of my coauthor; the journal required that changes in a revision be highlighted with color, and change tracking was the easiest way to do that. As noted elsewhere, if you want collaborators to be able to mark up a draft and send it back using PDF, you can either try AREnable (which works somewhat spottily in my experience), or get them to install something like FoxIt Reader. Don't count out the option of copying text from a Acrobat Reader and pasting it into (pardon my language) Word. For Word users, that might be easier than screwing with the editing tools in Acrobat. I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. I've also encountered other journals where document classes are not available (e.g. I've not found one for Journal of Biogeography) Publishers employ people whose sole mission is to create and enforce arcane and often pointless formatting and submission rules. I find it interesting that we can standardize on Internet communication protocols and (to within two or three common choices) paper sizes, but every journal for some reason needs its own unique bibliographic format. That said, there are specific LaTeX classes for some journals; LyX is distributed with layouts for some, and it's possible to cobble together layouts for others. (There's a somewhat underutilized IMHO page on the wiki for sharing custom layouts.) For other journals that accept submissions in TeX (or PDF or Postscript), you don't necessarily need to build your own LaTeX class; you may be able to use a standard class and graft on the necessary changes with LaTeX code in the preamble of the document. If you do business repeatedly with that journal, you might even make a template containing your customizations so that you don't have to repeat the process each time. Unfortunately, there's not much you can do when a journal requires submission as a Word document, although in my experience the unenlightened journals usually accept PDFs as well. For these reasons I'm tempted to try Scientific Word, but so far I've been put off by the price. That's how I arrived at LyX: wanted to use LaTeX but didn't want to invest the time to be come a TeXpert (and wasn't geeked about writing in a plain text editor); looked at SciWord but gagged at the price (particularly as I wasn't sure I'd like it); found LyX and got hooked. I'm not sure that SciWord solves the collaboration problem, though, unless your coauthors use SciWord as well. Can you load a SciWord doc in Word, use Word's collaboration tools, put the marked up doc back into SciWord and live through the experience? I can tell you that collaboration between a SciWord users and a LyX or LaTeX user is possible but not entirely easy. SciWord puts custom macros into documents, which are a PITA to deal with. Here's one reason I like to do the official draft in LyX, even if final submission will be as a PDF and even if my coauthors use Word or WordPerfect: the output looks more professional. I can't document it, but I suspect that produces a slightly favorable subconscious response in the minds of reviewers, and I'll take whatever edge I can get in the review process. /Paul
Re: problems with class and/or layout?
alexxx wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro As Bob said, the first thing to do is to make sure that elsart.cls is being found. (I would run 'kpsewhich elsart.cls' to verify that texhash did its job.) Assuming it shows up, and I suspect it will, try doing the new from template approach and export the document as a .tex file, then post it here. That's just to make sure that nothing is creeping into the document that might break it. Also, you might want to verify that your LaTeX installation is up to date. The template compiles fine for me (LyX 1.5.6, Win XP). /Paul
Re: Center Tables *AND* Table-Footnotes
Sebastian Rohrer wrote: I have several tables in my document, which I would like to align centered. The problem is that the tables have footnotes. Now if I set the paragraph alignment of the table to centered, the table aligns how it should. However, the accompanying footnotes are aligned at the left margin. Is there any way to align the footnotes with the table? I'm not entirely sure I understand the question, so just to confirm: you are inserting tables directly into the text (not in table floats); the tables contain footnotes; the tables are centered horizontally within the page; the footnotes appear directly under the table (not at the bottom of the page); and you want the footnotes to begin at the left edge of the table (rather than the left margin of the document). Is that correct? If so, I think the following works (although it might not be the most elegant solution): 1. Put the table inside a minipage, at the desired location. 2. Set the minipage width to approximately the width of the table (otherwise the horizontal line above the footnotes is liable to be too long). I don't see a way to do this automatically. 3. Use left or default justification inside the minipage. The footnote will be left justified regardless, so you want the table left justified within the box. 4. Put horizontal fill on either side of the minipage to center it. (For some reason, setting the paragraph in which the minipage appears to be centered does not do the job.) Is that what you had in mind? /Paul
Re: problems with class and/or layout?
Bob Lounsbury wrote: On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com. Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document-Settings-Document Class or Help-LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob yes: Document-Settings-Document Class lists it as: article(Elsevier) Help-LaTeX Configuration: 4.11 elsart Found: yes CTAN: macros/latex/contrib/elsevier/ WWW: http://authors.elsevier.com/ Notes: This package is intended for producing journal articles for publication by Elsevier Science. misterious... alessandro -- ~~~ / Dr.Alessandro Magni \Electromagnetics Division /INRiM Strada delle Cacce 91, 10135 Torino (ITALIA) \Email [EMAIL PROTECTED] /Tel: 0039-011-3919821 Fax: 0039-011-3919834 \URL http://www.inrim.it/~magni / Our business in life is not to succeed but to continue to fail \ in high spirits. -- Robert Louis Stevenson ~~~
Re: Matching fonts in figures (.EPS) with font in main text
On Jul 31, 2008, at 10:07 AM, James Sutherland wrote: On Jul 31, 2008, at 7:35 AM, Luke Lindsay wrote: I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke have a look at psfrag http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html James I have had the same problem. I resigned myself to drawing figures using psgraph from the pstricks-add package. It is a bit of a pain. You have to export the data (from Stata, Maple, etc.) into a text file. Then you have to write commands to load this information and display it. -Ivan
Customizing article with page breaks
Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). I know I can insert a newpage with the LaTeX command \newpage, that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. I would truly appreciate any help. Thanks, Paul Morin LyX version : 1.5.5 OS : Ubuntu 8.04 (kernel 2.6.24-16-generic), with Gnome
Re: Blank page without page number
Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Re: Blank page without page number
On Jul 31, 2008, at 12:02 PM, Wolfgang Engelmann wrote: Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James
Re: Multiple index
Reuven Chen wrote: Dear Sirs, I am preparing a book with Lyx 1.5, using document class Book (AMS). I would like to have separate Subject Index and Author Index. I wonder if there is a straightforward way to do it. Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. Richard
Re: Hollywood template author's address
Thomas King [EMAIL PROTECTED] writes: I looked through the archives and wiki, and didn't find an answer to this issue (although it was mentioned on the devel list). The hollywood.lyx template doesn't render the author's address. Is there something I need to tweak first? Thank you, Tom King Sorry to be a pest, but does anyone know if there is a tweak for this issue besides changing the attribute away from author's address? Thanks! Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. Take care! Tom
Re: Hollywood template author's address
On Thu, 31 Jul 2008, Thomas King wrote: Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. Tom, I've not looked at that template, but I'm sure that the author's address can be added. Or, the KOMA-Script or Memoir classes might serve your needs, since they're almost infinitely adjustable. Not knowing anything about screenplay writing or editing I probably would not be of any help. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Blank page without page number
Am Donnerstag, 31. Juli 2008 17:05 schrieben Sie: On Jul 31, 2008, at 12:02 PM, Wolfgang Engelmann wrote: Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James No, it does not work. I tried to put it before and after the legend(s), but the page nr is still shown (both in fig and table) Wolfgang
Re: Customizing article with page breaks
Paul Morin wrote: Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. For the title page, just use the document option titlepage (DocumentSettingsOptions). I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. I know I can insert a newpage with the LaTeX command \newpage, In LyX you can do it with InsertFormattingPage Break. that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). It's kind of a hack, but something like this in the preamble ought to work: \let\oldtoc=\tableofcontents \renewcommand\tableofcontents{\oldtoc{}\newpage{}} \let\oldsec=\section \renewcommand\section{\pagebreak\oldsec} It'd probably be neater to do this via the titlesec package. I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. This kind of thing mostly has to be done at the LaTeX level. rh
Re: Customizing article with page breaks
On Thursday 31 July 2008 11:53, Paul Morin wrote: Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). I know I can insert a newpage with the LaTeX command \newpage, that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. I would truly appreciate any help. Hi Paul, In my opinion, frontmatter should be fine tuned (put LaTeX code in the doc using LyX's LaTeX Code button, also called Evil Red Text (ERT)). That's how I'd handle the page breaks after the title page and the ToC page. For the section pages, I recommend doing just what you said and modifying the \section environment inside a layout file of your creation. I've done a lot of writing on how to do that on my LyX subsite: http://www.troubleshooters.com/linux/lyx/index.htm IMHO what you want to do is fairly easy. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Hollywood template author's address
Thomas King wrote: Thomas King [EMAIL PROTECTED] writes: I looked through the archives and wiki, and didn't find an answer to this issue (although it was mentioned on the devel list). The hollywood.lyx template doesn't render the author's address. Is there something I need to tweak first? Thank you, Tom King Sorry to be a pest, but does anyone know if there is a tweak for this issue besides changing the attribute away from author's address? Thanks! Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. I think there aren't many people nowadays using the hollywood class, and none of us want just to make something up. ;-) But I've had a quick look. If you open the template and remove the vertical space following your name, then the address gets rendered in the lower right corner of the title page. So this should be OK. I've fixed this bug for the next release. rh
Re: failures converting to HTML
Travis wrote: I tried to add some graphics to my security_concepts paper, but when I try to convert to HTML I get: lyx -e html security_concepts.lyx Including LaTeX commands Unknown command \batchmode, (0 user-defined) Line 1 Unknown command \makeatletter, (0 user-defined) Line 2 Unknown command \makeatother, (1 user-defined) Line 4 Unknown command \usepackage, (0 user-defined) Line 6 Unknown parameter/dimension/glue command \parskip = Line 8 Unknown command \medskipamount, (0 user-defined) Line 8 Unknown parameter/dimension/glue command \parindent = Line 9 Segmentation fault Error: Cannot convert file An error occurred whilst running tth -t -e2 -L'/tmp/lyx_tmpdir11139zuufC2/lyx_tmpb make: *** [security_concepts.html] Error 1 Is there a simple fix for this? I'd like people to not have to use the PDF exclusively. It's hard to know what the problem is in the abstract. Try to bisect the problem: Delete the second half of the document and try again. If it still fails, delete half of what's left. If it works, put some back, etc, until you pinpoint the problem. Then, even better, see if you can use what you've learned to construct a minimal case that causes this problem. Then we'll have a chance to debug it. Richard
Re: failures converting to HTML
Travis wrote: Also, is there a way to specify alternate stuff for the various output media types? I know I've seen that feature in other software... One question at a time! ;-) Do you mean, say: A different graphic for output to HTML? I don't think we have that, though I could be wrong. But feel free to file an enhancement request. I don't think that would be very difficult. Oh, no wait, we do kind of have that. You could use branches. Have a PDF branch for your PDF stuff and an HTML branch for the HTML stuff. Not perfect, but workable. rh
Re: Blank page without page number
It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James No, it does not work. I tried to put it before and after the legend(s), but the page nr is still shown (both in fig and table) Wolfgang Wolfgang, Can you send an example that demonstrates the problem? It seems to work for me on a very simple test I ran. James
Re: Customizing article with page breaks
Paul Morin wrote: 2008/7/31 rgheck [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. Thanks for the detailed answer, it helps ! Can you tell me which files are related to the article koma script, I didn't find them in the /usr/share/lyx/layouts directory... This is scrartcl.layout, but you'll want to look at the koma-script documentation, which is in scrguien.pdf. Try locate scrguien.pdf at a shell prompt, or use whatever file finder thingy you have available. Or here: http://tug.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf These kinds of changes all go into the preamble. LyX won't help you once you're down to this level of customization. Oh, and keep replies on list, if only so they're archived for future users. rh
Re: Customizing article with page breaks
2008/7/31 rgheck [EMAIL PROTECTED] Paul Morin wrote: 2008/7/31 rgheck [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. Thanks for the detailed answer, it helps ! Can you tell me which files are related to the article koma script, I didn't find them in the /usr/share/lyx/layouts directory... This is scrartcl.layout, but you'll want to look at the koma-script documentation, which is in scrguien.pdf. Try locate scrguien.pdf at a shell prompt, or use whatever file finder thingy you have available. Or here: http://tug.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf These kinds of changes all go into the preamble. LyX won't help you once you're down to this level of customization. I'll look into it and hopefully find what I need. Thanks for the time and help. Paul Morin
Re: Blank page without page number
Thank you for the suggestion I did searching in this forum and found related topic under the thread turn off page numbers but still count page and learned from there as well. Now I can get what I want (to have a clean transition blank (even) page, without page number, but counted). These tricks work: In the end of every chapter ERT \thispagestyle{headings}\pagestyle{empty} In the beginning of every chapter, a line after the Chapter environment ERT \pagestyle{headings} For the clean Part environment ERT \thispagestyle{empty} I am just wondering whether it can be defined globally (maybe in the preamble ?), so I do not need to type many times? Regards \Adi On Thu, Jul 31, 2008 at 8:46 PM, James Sutherland [EMAIL PROTECTED] wrote: Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi -- Waluyo Adi Siswanto, PhD Dept. Engineering Mechanics Univ. Tun Hussein Onn Malaysia (UTHM) http://www.uthm.edu.my
Re: Interesting thread on Slashdot
rgheck wrote: Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). LyX does have change tracking. I've used it. Unfamiliarity is of course something we can change. ;-) Right, it does work but is not as easy to use as Word'. But I think Denné was more talking about collaboration tools with other word processors. This is not really possible I'm afraid. Concrete suggestions for how we could improve collaboration would be more than welcome. Post them here for comment, or on lyx-devel, and then add them to bugzilla once we have some clarity. I know that this is a big issue for a lot of people, and it's something a lot of us think about. It's way too late to do anything on this score for 1.6, but for 1.7 Yep, I also have some ideas how to improve it, hopefully for 1.7 :-) I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I'm puzzled by this remark. Why does that require Acrobat? Is this for notating PDFs and the like? If so, you might want to look into AREnable: http://sourceforge.net/projects/arenable/. And my understanding is that there are FOSS pdf viewers on the near horizon that will do this. Right, Acrobat is a mammoth; On Windows there are also a number of free as in beer pdf manipulation tool wich allows annotation and such. I like Foxit for example. Abdel.
Re: Interesting thread on Slashdot
On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: [..] I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... wierd. Andre'
Re: Interesting thread on Slashdot
On 31.07.2008, at 08:55, Andre Poenitz wrote: On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: [..] I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... wierd. That explains a lot... I also had problems with getting them to accept my paper as LaTeX document. Dozens of e-mails where we literary had to explain the woman on the other side (with an elsvier.com e-mail address) that our document does not open in Word, that a ZIP-Archive has to unpacked before doing some with it, that postscript does also not open in word, how to produce a postscript file... I could not believe that we were actually interacting with a professional publisher. In the end we did send her the postscript file, which obviously got re-typed for the journal. The result was horrible. Daniel
Multiple index
Dear Sirs, I am preparing a book with Lyx 1.5, using document class Book (AMS). I would like to have separate Subject Index and Author Index. I wonder if there is a straightforward way to do it. Reuven chen -- Prof. Reuven Chen School of Physics and Astronomy Tel-Aviv university Tel-Aviv, 69978 Israel Tel: +972-3-6408426 (W); +972-9-9553276 (H); +972-54-7257666 (cellular) Fax: +972-9-9561213
Blank page without page number
Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Math symbol displayed incorrectly on screen
Hi, I am using LyX 1.5.5 on Linux. In math mode, \cdot appears as \times should (as an 'X' shape) on the screen. The dvi output is fine -- \cdot appears as a centred dot. I have attached a sample lyx file which has this problem. Is this a known problem? What would be a workaround? Which configuration file(s) control(s) LyX's display of math symbols on the screen? Thanks, Philip bugreport.lyx Description: application/lyx
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., section*, etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. regards Uwe
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Uwe Stöhr wrote: Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., section*, etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. Well, there is nonetheless a work around: use the 'Alt-m number' kerboard shortcuts. Abdel.
problems with class and/or layout?
Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Blank page without page number
Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Labelling equations
Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to insert and to label. The function label is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function label works, but I cannot label the equation. Thanks in advance! Christopher
Matching fonts in figures (.EPS) with font in main text
I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke
Re: problems with class and/or layout?
On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com. Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document-Settings-Document Class or Help-LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob
Center Tables *AND* Table-Footnotes
Hi all, I have several tables in my document, which I would like to align centered. The problem is that the tables have footnotes. Now if I set the paragraph alignment of the table to centered, the table aligns how it should. However, the accompanying footnotes are aligned at the left margin. Is there any way to align the footnotes with the table? Thanks, Sebastian -- Sebastian Rohrer AK Baumann - Molecular Modelling Group Institute of Pharmaceutical Chemistry Braunschweig University of Technology Beethovenstr. 55 38106 Braunschweig Germany Phone: +49-531-3912797
Re: Labelling equations
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser [EMAIL PROTECTED] wrote: Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to insert and to label. The function label is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function label works, but I cannot label the equation. Thanks in advance! Christopher I'm a little confused you may have to explain further. What do you mean the label works, but I cannot label the equation? How do you want to label it? What you have done should work. When you create a pdf of you file the equation should be numbered for instance (1) in article class because you entered Insert-Label. Cheers, /Bob
Re: Progress on the MS Word to LyX conversion (xml)
Manveru wrote: Have you ever merge XML? I tried - it is horrible work. It depends entirely on how the XML document is formatted. There's nothing that prevents XML with sensible line breaks, for example. I keep lots of XHTML documents in CVS. They're well-formatted, so merging works just fine. -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Re: Progress on the MS Word to LyX conversion (xml)
Steve Litt wrote: Trouble is, replacing \begin..\end with .../ is a hack. LyX developers have defined LyX native format as \begin always is the first character on a line. There's no such requirement in XML, and if we require it, that's a hack. If we don't require it, LyX-XML parsing becomes a whole new level of difficulty. It's not hard at all, with an XML parser. Actually, putting all XML elements on their own lines, with or without leading whitespace, can be done with a DFA (or anything equivalent, such as a regular expression); you don't even need a full-strength parser. If you want elements all on their own lines, pre-processing with a quick sed script would do that for you. I'm a toolsmith myself, and I write lots of tools, in lots of languages, for pre- and post-processing various file formats. I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. -- Michael Wojcik Micro Focus Rhetoric Writing, Michigan State University
Re: Matching fonts in figures (.EPS) with font in main text
On Jul 31, 2008, at 7:35 AM, Luke Lindsay wrote: I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke have a look at psfrag http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html James
Re: Progress on the MS Word to LyX conversion (xml)
Michael Wojcik wrote: I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. /me too :-) Abdel.
Re: Interesting thread on Slashdot
Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I've collaborated once with a coauthor who used SciWord, once (most recently) with a coauthor who uses LaTeX and won't adopt LyX (I need to work on my powers of persuasion, obviously) and frequently with coauthors who are limited to Word (or in once case WordPerfect). In most cases I simply declare that I will be the keeper of the official draft. I send them PDFs, they send changes in whatever they care to (just the changes, or maybe a pasted copy of the offending text followed by a rewrite), and I put the changes into LyX. On the most recent collaboration, I used LyX's change tracking feature, but not for the benefit of my coauthor; the journal required that changes in a revision be highlighted with color, and change tracking was the easiest way to do that. As noted elsewhere, if you want collaborators to be able to mark up a draft and send it back using PDF, you can either try AREnable (which works somewhat spottily in my experience), or get them to install something like FoxIt Reader. Don't count out the option of copying text from a Acrobat Reader and pasting it into (pardon my language) Word. For Word users, that might be easier than screwing with the editing tools in Acrobat. I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. I've also encountered other journals where document classes are not available (e.g. I've not found one for Journal of Biogeography) Publishers employ people whose sole mission is to create and enforce arcane and often pointless formatting and submission rules. I find it interesting that we can standardize on Internet communication protocols and (to within two or three common choices) paper sizes, but every journal for some reason needs its own unique bibliographic format. That said, there are specific LaTeX classes for some journals; LyX is distributed with layouts for some, and it's possible to cobble together layouts for others. (There's a somewhat underutilized IMHO page on the wiki for sharing custom layouts.) For other journals that accept submissions in TeX (or PDF or Postscript), you don't necessarily need to build your own LaTeX class; you may be able to use a standard class and graft on the necessary changes with LaTeX code in the preamble of the document. If you do business repeatedly with that journal, you might even make a template containing your customizations so that you don't have to repeat the process each time. Unfortunately, there's not much you can do when a journal requires submission as a Word document, although in my experience the unenlightened journals usually accept PDFs as well. For these reasons I'm tempted to try Scientific Word, but so far I've been put off by the price. That's how I arrived at LyX: wanted to use LaTeX but didn't want to invest the time to be come a TeXpert (and wasn't geeked about writing in a plain text editor); looked at SciWord but gagged at the price (particularly as I wasn't sure I'd like it); found LyX and got hooked. I'm not sure that SciWord solves the collaboration problem, though, unless your coauthors use SciWord as well. Can you load a SciWord doc in Word, use Word's collaboration tools, put the marked up doc back into SciWord and live through the experience? I can tell you that collaboration between a SciWord users and a LyX or LaTeX user is possible but not entirely easy. SciWord puts custom macros into documents, which are a PITA to deal with. Here's one reason I like to do the official draft in LyX, even if final submission will be as a PDF and even if my coauthors use Word or WordPerfect: the output looks more professional. I can't document it, but I suspect that produces a slightly favorable subconscious response in the minds of reviewers, and I'll take whatever edge I can get in the review process. /Paul
Re: problems with class and/or layout?
alexxx wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro As Bob said, the first thing to do is to make sure that elsart.cls is being found. (I would run 'kpsewhich elsart.cls' to verify that texhash did its job.) Assuming it shows up, and I suspect it will, try doing the new from template approach and export the document as a .tex file, then post it here. That's just to make sure that nothing is creeping into the document that might break it. Also, you might want to verify that your LaTeX installation is up to date. The template compiles fine for me (LyX 1.5.6, Win XP). /Paul
Re: Center Tables *AND* Table-Footnotes
Sebastian Rohrer wrote: I have several tables in my document, which I would like to align centered. The problem is that the tables have footnotes. Now if I set the paragraph alignment of the table to centered, the table aligns how it should. However, the accompanying footnotes are aligned at the left margin. Is there any way to align the footnotes with the table? I'm not entirely sure I understand the question, so just to confirm: you are inserting tables directly into the text (not in table floats); the tables contain footnotes; the tables are centered horizontally within the page; the footnotes appear directly under the table (not at the bottom of the page); and you want the footnotes to begin at the left edge of the table (rather than the left margin of the document). Is that correct? If so, I think the following works (although it might not be the most elegant solution): 1. Put the table inside a minipage, at the desired location. 2. Set the minipage width to approximately the width of the table (otherwise the horizontal line above the footnotes is liable to be too long). I don't see a way to do this automatically. 3. Use left or default justification inside the minipage. The footnote will be left justified regardless, so you want the table left justified within the box. 4. Put horizontal fill on either side of the minipage to center it. (For some reason, setting the paragraph in which the minipage appears to be centered does not do the job.) Is that what you had in mind? /Paul
Re: problems with class and/or layout?
Bob Lounsbury wrote: On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote: Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New-From template-elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on \title{Insert your Title Here} 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com. Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document-Settings-Document Class or Help-LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob yes: Document-Settings-Document Class lists it as: article(Elsevier) Help-LaTeX Configuration: 4.11 elsart Found: yes CTAN: macros/latex/contrib/elsevier/ WWW: http://authors.elsevier.com/ Notes: This package is intended for producing journal articles for publication by Elsevier Science. misterious... alessandro -- ~~~ / Dr.Alessandro Magni \Electromagnetics Division /INRiM Strada delle Cacce 91, 10135 Torino (ITALIA) \Email [EMAIL PROTECTED] /Tel: 0039-011-3919821 Fax: 0039-011-3919834 \URL http://www.inrim.it/~magni / Our business in life is not to succeed but to continue to fail \ in high spirits. -- Robert Louis Stevenson ~~~
Re: Matching fonts in figures (.EPS) with font in main text
On Jul 31, 2008, at 10:07 AM, James Sutherland wrote: On Jul 31, 2008, at 7:35 AM, Luke Lindsay wrote: I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke have a look at psfrag http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html James I have had the same problem. I resigned myself to drawing figures using psgraph from the pstricks-add package. It is a bit of a pain. You have to export the data (from Stata, Maple, etc.) into a text file. Then you have to write commands to load this information and display it. -Ivan
Customizing article with page breaks
Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). I know I can insert a newpage with the LaTeX command \newpage, that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. I would truly appreciate any help. Thanks, Paul Morin LyX version : 1.5.5 OS : Ubuntu 8.04 (kernel 2.6.24-16-generic), with Gnome
Re: Blank page without page number
Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Re: Blank page without page number
On Jul 31, 2008, at 12:02 PM, Wolfgang Engelmann wrote: Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James
Re: Multiple index
Reuven Chen wrote: Dear Sirs, I am preparing a book with Lyx 1.5, using document class Book (AMS). I would like to have separate Subject Index and Author Index. I wonder if there is a straightforward way to do it. Not in LyX directly---at least not in 1.5---but there are LaTeX packages for this kind of thing. Searching for multiple index on ctan.org got me http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=index http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=multind and there may be others, if you just search on index and wade through the mountain of hits. Richard
Re: Hollywood template author's address
Thomas King [EMAIL PROTECTED] writes: I looked through the archives and wiki, and didn't find an answer to this issue (although it was mentioned on the devel list). The hollywood.lyx template doesn't render the author's address. Is there something I need to tweak first? Thank you, Tom King Sorry to be a pest, but does anyone know if there is a tweak for this issue besides changing the attribute away from author's address? Thanks! Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. Take care! Tom
Re: Hollywood template author's address
On Thu, 31 Jul 2008, Thomas King wrote: Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. Tom, I've not looked at that template, but I'm sure that the author's address can be added. Or, the KOMA-Script or Memoir classes might serve your needs, since they're almost infinitely adjustable. Not knowing anything about screenplay writing or editing I probably would not be of any help. Rich -- Richard B. Shepard, Ph.D. | IntegrityCredibility Applied Ecosystem Services, Inc.|Innovation http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Blank page without page number
Am Donnerstag, 31. Juli 2008 17:05 schrieben Sie: On Jul 31, 2008, at 12:02 PM, Wolfgang Engelmann wrote: Am Donnerstag, 31. Juli 2008 12:46 schrieb James Sutherland: does this apply also for a floating object? I have a figure and a table and in both cases the legend is beyond the page number. However, if I insert your suggested ERT just in front of the float the page number is still there. Wolfgang Insert an ERT with \thispagestyle{empty} It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James No, it does not work. I tried to put it before and after the legend(s), but the page nr is still shown (both in fig and table) Wolfgang
Re: Customizing article with page breaks
Paul Morin wrote: Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. For the title page, just use the document option titlepage (DocumentSettingsOptions). I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. I know I can insert a newpage with the LaTeX command \newpage, In LyX you can do it with InsertFormattingPage Break. that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). It's kind of a hack, but something like this in the preamble ought to work: \let\oldtoc=\tableofcontents \renewcommand\tableofcontents{\oldtoc{}\newpage{}} \let\oldsec=\section \renewcommand\section{\pagebreak\oldsec} It'd probably be neater to do this via the titlesec package. I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. This kind of thing mostly has to be done at the LaTeX level. rh
Re: Customizing article with page breaks
On Thursday 31 July 2008 11:53, Paul Morin wrote: Hello, Fresh new user of LyX for a week now, I have been reading the documentation ever since to try and be as at ease as possible with this great tool. One thing I didn't find how to do is this : I am using the article layout, which is as close as possible from the layout I want (I am currently writing an internship report). The only problem is that I want page breaks after the title page, the ToC page and before every new section. I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). I know I can insert a newpage with the LaTeX command \newpage, that I've been using so far, but I'd rather customize a layout so these break pages were automatic (what is the point of using LyX otherwise ?). I navigated among the .layout and .inc files, trying to find a property to change, but I couldn't. I also heard about package inclusion but I didnt' find any matching my needs. I would truly appreciate any help. Hi Paul, In my opinion, frontmatter should be fine tuned (put LaTeX code in the doc using LyX's LaTeX Code button, also called Evil Red Text (ERT)). That's how I'd handle the page breaks after the title page and the ToC page. For the section pages, I recommend doing just what you said and modifying the \section environment inside a layout file of your creation. I've done a lot of writing on how to do that on my LyX subsite: http://www.troubleshooters.com/linux/lyx/index.htm IMHO what you want to do is fairly easy. HTH SteveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Hollywood template author's address
Thomas King wrote: Thomas King [EMAIL PROTECTED] writes: I looked through the archives and wiki, and didn't find an answer to this issue (although it was mentioned on the devel list). The hollywood.lyx template doesn't render the author's address. Is there something I need to tweak first? Thank you, Tom King Sorry to be a pest, but does anyone know if there is a tweak for this issue besides changing the attribute away from author's address? Thanks! Well, I guess no one either knows or cares about this issue. :/ I need to find another solution besides lyx for writing/editing screenplays. I think there aren't many people nowadays using the hollywood class, and none of us want just to make something up. ;-) But I've had a quick look. If you open the template and remove the vertical space following your name, then the address gets rendered in the lower right corner of the title page. So this should be OK. I've fixed this bug for the next release. rh
Re: failures converting to HTML
Travis wrote: I tried to add some graphics to my security_concepts paper, but when I try to convert to HTML I get: lyx -e html security_concepts.lyx Including LaTeX commands Unknown command \batchmode, (0 user-defined) Line 1 Unknown command \makeatletter, (0 user-defined) Line 2 Unknown command \makeatother, (1 user-defined) Line 4 Unknown command \usepackage, (0 user-defined) Line 6 Unknown parameter/dimension/glue command \parskip = Line 8 Unknown command \medskipamount, (0 user-defined) Line 8 Unknown parameter/dimension/glue command \parindent = Line 9 Segmentation fault Error: Cannot convert file An error occurred whilst running tth -t -e2 -L'/tmp/lyx_tmpdir11139zuufC2/lyx_tmpb make: *** [security_concepts.html] Error 1 Is there a simple fix for this? I'd like people to not have to use the PDF exclusively. It's hard to know what the problem is in the abstract. Try to bisect the problem: Delete the second half of the document and try again. If it still fails, delete half of what's left. If it works, put some back, etc, until you pinpoint the problem. Then, even better, see if you can use what you've learned to construct a minimal case that causes this problem. Then we'll have a chance to debug it. Richard
Re: failures converting to HTML
Travis wrote: Also, is there a way to specify alternate stuff for the various output media types? I know I've seen that feature in other software... One question at a time! ;-) Do you mean, say: A different graphic for output to HTML? I don't think we have that, though I could be wrong. But feel free to file an enhancement request. I don't think that would be very difficult. Oh, no wait, we do kind of have that. You could use branches. Have a PDF branch for your PDF stuff and an HTML branch for the HTML stuff. Not perfect, but workable. rh
Re: Blank page without page number
It removes page headers footers (including numbering) from the current page, i.e. the page that the text is on. Floats may end up on a different page. Try putting the \thispagestyle{empty} inside the figure environment (but not in the caption) within an ERT. Does that work? James No, it does not work. I tried to put it before and after the legend(s), but the page nr is still shown (both in fig and table) Wolfgang Wolfgang, Can you send an example that demonstrates the problem? It seems to work for me on a very simple test I ran. James
Re: Customizing article with page breaks
Paul Morin wrote: 2008/7/31 rgheck [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. Thanks for the detailed answer, it helps ! Can you tell me which files are related to the article koma script, I didn't find them in the /usr/share/lyx/layouts directory... This is scrartcl.layout, but you'll want to look at the koma-script documentation, which is in scrguien.pdf. Try locate scrguien.pdf at a shell prompt, or use whatever file finder thingy you have available. Or here: http://tug.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf These kinds of changes all go into the preamble. LyX won't help you once you're down to this level of customization. Oh, and keep replies on list, if only so they're archived for future users. rh
Re: Customizing article with page breaks
2008/7/31 rgheck [EMAIL PROTECTED] Paul Morin wrote: 2008/7/31 rgheck [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] I could use the report layout but it is more different of what I'm looking for (I don't need the parts and chapters, for isntance). You could also try the koma-script article class, which is very customizable. Thanks for the detailed answer, it helps ! Can you tell me which files are related to the article koma script, I didn't find them in the /usr/share/lyx/layouts directory... This is scrartcl.layout, but you'll want to look at the koma-script documentation, which is in scrguien.pdf. Try locate scrguien.pdf at a shell prompt, or use whatever file finder thingy you have available. Or here: http://tug.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf These kinds of changes all go into the preamble. LyX won't help you once you're down to this level of customization. I'll look into it and hopefully find what I need. Thanks for the time and help. Paul Morin
Re: Blank page without page number
Thank you for the suggestion I did searching in this forum and found related topic under the thread turn off page numbers but still count page and learned from there as well. Now I can get what I want (to have a clean transition blank (even) page, without page number, but counted). These tricks work: In the end of every chapter ERT \thispagestyle{headings}\pagestyle{empty} In the beginning of every chapter, a line after the Chapter environment ERT \pagestyle{headings} For the clean Part environment ERT \thispagestyle{empty} I am just wondering whether it can be defined globally (maybe in the preamble ?), so I do not need to type many times? Regards \Adi On Thu, Jul 31, 2008 at 8:46 PM, James Sutherland [EMAIL PROTECTED] wrote: Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto [EMAIL PROTECTED] wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write Part A in the middle of the clean page (without page number) Thank you in advance Regards /Adi -- Waluyo Adi Siswanto, PhD Dept. Engineering Mechanics Univ. Tun Hussein Onn Malaysia (UTHM) http://www.uthm.edu.my
Re: Interesting thread on Slashdot
rgheck wrote: Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). LyX does have change tracking. I've used it. Unfamiliarity is of course something we can change. ;-) Right, it does work but is not as easy to use as Word'. But I think Denné was more talking about collaboration tools with other word processors. This is not really possible I'm afraid. Concrete suggestions for how we could improve collaboration would be more than welcome. Post them here for comment, or on lyx-devel, and then add them to bugzilla once we have some clarity. I know that this is a big issue for a lot of people, and it's something a lot of us think about. It's way too late to do anything on this score for 1.6, but for 1.7 Yep, I also have some ideas how to improve it, hopefully for 1.7 :-) I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I'm puzzled by this remark. Why does that require Acrobat? Is this for notating PDFs and the like? If so, you might want to look into AREnable: http://sourceforge.net/projects/arenable/. And my understanding is that there are FOSS pdf viewers on the near horizon that will do this. Right, Acrobat is a mammoth; On Windows there are also a number of free as in beer pdf manipulation tool wich allows annotation and such. I like Foxit for example. Abdel.
Re: Interesting thread on Slashdot
On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: > [..] > I've also had problems with journal and book editors, one of which > insisted I convert a book chapter written in LyX into Word format > despite the fact that the publisher (Elsevier) has a LaTeX document > class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... "wierd". Andre'
Re: Interesting thread on Slashdot
On 31.07.2008, at 08:55, Andre Poenitz wrote: On Wed, Jul 30, 2008 at 04:17:29PM -0500, Denné Reed wrote: [..] I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. Elsevier seems to have a funny way to handle .tex. Even though they accept .tex and even provide .sty for that, they seem to send the submissions to India and have them re-typed _manually_ in whatever system they use for the final typesetting. That's my only explanation for them being able to remove typos, introduce new ones and messing up tables ;-} Given that the result looks pretty TeX-ish that's... "wierd". That explains a lot... I also had problems with getting them to accept my paper as LaTeX document. Dozens of e-mails where we literary had to explain the woman on the other side (with an elsvier.com e-mail address) that our document does not open in Word, that a ZIP-Archive has to unpacked before doing some with it, that postscript does also not open in word, how to produce a postscript file... I could not believe that we were actually interacting with a professional publisher. In the end we did send her the postscript file, which obviously got re-typed for the journal. The result was horrible. Daniel
Multiple index
Dear Sirs, I am preparing a book with Lyx 1.5, using document class "Book (AMS)". I would like to have separate Subject Index and Author Index. I wonder if there is a straightforward way to do it. Reuven chen -- Prof. Reuven Chen School of Physics and Astronomy Tel-Aviv university Tel-Aviv, 69978 Israel Tel: +972-3-6408426 (W); +972-9-9553276 (H); +972-54-7257666 (cellular) Fax: +972-9-9561213
Blank page without page number
Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write "Part A" in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Math symbol displayed incorrectly on screen
Hi, I am using LyX 1.5.5 on Linux. In math mode, \cdot appears as \times should (as an 'X' shape) on the screen. The dvi output is fine -- \cdot appears as a centred dot. I have attached a sample lyx file which has this problem. Is this a known problem? What would be a workaround? Which configuration file(s) control(s) LyX's display of math symbols on the screen? Thanks, Philip bugreport.lyx Description: application/lyx
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., "section*", etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. regards Uwe
Re: numbered environments of section, etc. not working in LyX 1.6 beta4
Uwe Stöhr wrote: Soe Naung schrieb: I have been testing the LyX 1.6 beta4 and I have found that numbered environments do not respond while unnumbered ones (e.g., "section*", etc) do work. This has been fixed in the meantime. Can someone help me to find a workaround? No, but why? Beta versions are for testing only. Well, there is nonetheless a work around: use the 'Alt-m number' kerboard shortcuts. Abdel.
problems with class and/or layout?
Greetings, I used LyX up to now for basic tasks, but now I have to use the Elsevier class, and I'm discovering a lot of new problems. I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and I'd be very sorry if to simply switch classes this was not sufficient! By choosing New->From template->elsart.lyx, even the standard template is unable to be compiled, giving the errors: 1) undefined control sequence on " \title{Insert your Title Here}" 2) Missing number, treated as zero , always on \title 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title 4) Missing = inserted for \ifnum on \author{Author's name} 5) Missing number, treated as zero, always on \author Yet, I have: /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout (both by lyx-1.5.5-1.fc8) and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, elsart5.cls (and yes, after installing it I did texhash on /usr/share/texmf, followed by reconfigure on lyx) what's happening? I'm completely lost - and the article deadline is nearer and nearer! local system: Linux Fedora fc8 thank you for any help! alessandro -- View this message in context: http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Blank page without page number
Insert an ERT with \thispagestyle{empty} On Jul 31, 2008, at 2:38 AM, Waluyo Adi Siswanto <[EMAIL PROTECTED]> wrote: Hi All When I write a new chapter (book-KOMA script) and the end of the previous chapter exactly in an odd page, LyX automatically creates a blank page in even page with page number and heading. Is that possible to remove the page number and heading in that transition blank page. Another thing, when I use Part, it has a page number as well. Is that possible to have this without page number, so I can write "Part A" in the middle of the clean page (without page number) Thank you in advance Regards /Adi
Labelling equations
Hi, I have a problem with labelling equations. If I want to label an equation I put the cursor in the pink box surrounding the equation. Then I go to "insert" and to "label". The function "label" is written in grey letters now, i.e. inactive. If the cursor is outside the pink box the function "label" works, but I cannot label the equation. Thanks in advance! Christopher
Matching fonts in figures (.EPS) with font in main text
I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke
Re: problems with class and/or layout?
On Thu, Jul 31, 2008 at 3:49 AM, alexxx <[EMAIL PROTECTED]> wrote: > > Greetings, > I used LyX up to now for basic tasks, but now I have to use the Elsevier > class, and I'm discovering a lot of new problems. > I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and > I'd be very sorry if to simply switch classes this was not sufficient! > > By choosing New->From template->elsart.lyx, even the standard template is > unable to be compiled, giving the errors: > > 1) undefined control sequence on " \title{Insert your Title Here}" > 2) Missing number, treated as zero , always on \title > 3) improper 'at' size (0.0pt), replaced by 10pt, always on \title > 4) Missing = inserted for \ifnum on \author{Author's name} > 5) Missing number, treated as zero, always on \author > > Yet, I have: > /usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout > (both by lyx-1.5.5-1.fc8) > and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls, > elsart5.cls (and yes, after installing it I did texhash on > /usr/share/texmf, followed by reconfigure on lyx) > > > what's happening? I'm completely lost - and the article deadline is nearer > and nearer! > > local system: Linux Fedora fc8 > > thank you for any help! > > alessandro > > > > > -- > View this message in context: > http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html > Sent from the LyX - Users mailing list archive at Nabble.com. > > Well, that's strange it works fine for me. So, first things first. After you installed elsart and did a texhash and reconfigure on LyX. Did you check to make sure that it was actually recognized by LyX? Meaning 'article (Elsevier)' is actually listed in Document->Settings->Document Class or Help->LaTeX Configuration Section 4.11 says elsart is found. Cheers, /Bob
Center Tables *AND* Table-Footnotes
Hi all, I have several tables in my document, which I would like to align centered. The problem is that the tables have footnotes. Now if I set the paragraph alignment of the table to "centered", the table aligns how it should. However, the accompanying footnotes are aligned at the left margin. Is there any way to align the footnotes with the table? Thanks, Sebastian -- Sebastian Rohrer AK Baumann - Molecular Modelling Group Institute of Pharmaceutical Chemistry Braunschweig University of Technology Beethovenstr. 55 38106 Braunschweig Germany Phone: +49-531-3912797
Re: Labelling equations
On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser <[EMAIL PROTECTED]> wrote: > Hi, > > I have a problem with labelling equations. If I want to label an equation I > put the cursor in the pink box surrounding the equation. Then I go to > "insert" and to "label". The function "label" is written in grey letters > now, i.e. inactive. If the cursor is outside the pink box the function > "label" works, but I cannot label the equation. > > Thanks in advance! > Christopher > I'm a little confused you may have to explain further. What do you mean the "label" works, but I cannot label the equation? How do you want to label it? What you have done should work. When you create a pdf of you file the equation should be numbered for instance (1) in article class because you entered Insert->Label. Cheers, /Bob
Re: Progress on the MS Word to LyX conversion (xml)
Manveru wrote: Have you ever merge XML? I tried - it is horrible work. It depends entirely on how the XML document is formatted. There's nothing that prevents XML with sensible line breaks, for example. I keep lots of XHTML documents in CVS. They're well-formatted, so merging works just fine. -- Michael Wojcik Micro Focus Rhetoric & Writing, Michigan State University
Re: Progress on the MS Word to LyX conversion (xml)
Steve Litt wrote: Trouble is, replacing \begin..\end with <>... is a hack. LyX developers have defined LyX native format as \begin always is the first character on a line. There's no such requirement in XML, and if we require it, that's a hack. If we don't require it, LyX-XML parsing becomes a whole new level of difficulty. It's not hard at all, with an XML parser. Actually, putting all XML elements on their own lines, with or without leading whitespace, can be done with a DFA (or anything equivalent, such as a regular expression); you don't even need a full-strength parser. If you want elements all on their own lines, pre-processing with a quick sed script would do that for you. I'm a toolsmith myself, and I write lots of tools, in lots of languages, for pre- and post-processing various file formats. I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. -- Michael Wojcik Micro Focus Rhetoric & Writing, Michigan State University
Re: Matching fonts in figures (.EPS) with font in main text
On Jul 31, 2008, at 7:35 AM, Luke Lindsay wrote: I am using Lyx to write my thesis. I have a number of figures in EPS format which are produced by various programs (Stata, Maple, Open office draw). I would like the fonts in the figures to be consistent with the one used in the main body of the text, i.e. same font and size. What is the best way to achieve this? Ideally, I'd like to be able to change the font in used in the main document have font used in the figures updated automatically but I’m not sure if this is possible. Luke have a look at psfrag http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html James
Re: Progress on the MS Word to LyX conversion (xml)
Michael Wojcik wrote: I don't expect the switch to XML to cause me any problems, and to be honest I'm a bit puzzled by all the worrying. /me too :-) Abdel.
Re: Interesting thread on Slashdot
Denné Reed wrote: I use LyX for scientific papers but have had problems with both collaborators and editors. Many collaborators are unfamiliar with LyX / LaTeX and it lacks strong collaboration tools (change tracking etc.). I've tried sharing drafts with PDF but that requires colleagues to purchase full versions of Acrobat, and still the tools are tracking changes are not as good. I've collaborated once with a coauthor who used SciWord, once (most recently) with a coauthor who uses LaTeX and won't adopt LyX (I need to work on my powers of persuasion, obviously) and frequently with coauthors who are limited to Word (or in once case WordPerfect). In most cases I simply declare that I will be the keeper of the official draft. I send them PDFs, they send changes in whatever they care to (just the changes, or maybe a pasted copy of the offending text followed by a rewrite), and I put the changes into LyX. On the most recent collaboration, I used LyX's change tracking feature, but not for the benefit of my coauthor; the journal required that changes in a revision be highlighted with color, and change tracking was the easiest way to do that. As noted elsewhere, if you want collaborators to be able to mark up a draft and send it back using PDF, you can either try AREnable (which works somewhat spottily in my experience), or get them to install something like FoxIt Reader. Don't count out the option of copying text from a Acrobat Reader and pasting it into (pardon my language) Word. For Word users, that might be easier than screwing with the editing tools in Acrobat. I've also had problems with journal and book editors, one of which insisted I convert a book chapter written in LyX into Word format despite the fact that the publisher (Elsevier) has a LaTeX document class available. I've also encountered other journals where document classes are not available (e.g. I've not found one for Journal of Biogeography) Publishers employ people whose sole mission is to create and enforce arcane and often pointless formatting and submission rules. I find it interesting that we can standardize on Internet communication protocols and (to within two or three common choices) paper sizes, but every journal for some reason needs its own unique bibliographic format. That said, there are specific LaTeX classes for some journals; LyX is distributed with layouts for some, and it's possible to cobble together layouts for others. (There's a somewhat underutilized IMHO page on the wiki for sharing custom layouts.) For other journals that accept submissions in TeX (or PDF or Postscript), you don't necessarily need to build your own LaTeX class; you may be able to use a standard class and graft on the necessary changes with LaTeX code in the preamble of the document. If you do business repeatedly with that journal, you might even make a template containing your customizations so that you don't have to repeat the process each time. Unfortunately, there's not much you can do when a journal requires submission as a Word document, although in my experience the unenlightened journals usually accept PDFs as well. For these reasons I'm tempted to try Scientific Word, but so far I've been put off by the price. That's how I arrived at LyX: wanted to use LaTeX but didn't want to invest the time to be come a TeXpert (and wasn't geeked about writing in a plain text editor); looked at SciWord but gagged at the price (particularly as I wasn't sure I'd like it); found LyX and got hooked. I'm not sure that SciWord solves the collaboration problem, though, unless your coauthors use SciWord as well. Can you load a SciWord doc in Word, use Word's collaboration tools, put the marked up doc back into SciWord and live through the experience? I can tell you that collaboration between a SciWord users and a LyX or LaTeX user is possible but not entirely easy. SciWord puts custom macros into documents, which are a PITA to deal with. Here's one reason I like to do the official draft in LyX, even if final submission will be as a PDF and even if my coauthors use Word or WordPerfect: the output looks more "professional". I can't document it, but I suspect that produces a slightly favorable subconscious response in the minds of reviewers, and I'll take whatever edge I can get in the review process. /Paul