Re: Steps towards a portable LyX installation on Windows
2. start lyxlauncher.exe Since there is no tex installed, obviously LyX will not have full functionality, but the GUI should work. However, two things give errors: 1. configure fails because it cannot find python 2. LyX fails to convert an EPS to a bitmap, so there is no preview I am seeing the same python error even with a fresh installation of 1.5.7 in its original directory... Maybe my paths are screwed up, but I'm not sure how to fix it, and I wish LyX would do its own configuration checking ahead of time instead of spitting out errors in the middle of doing something. I know this is a work in progress, but it would be more user-friendly if a dialog or something would pop up prompting the user to help locate python or whatever missing component LyX needs, and then update the paths accordingly for the future. Best wishes, Alex
Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Hi there, I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). Thanks for your input! Cheers Maarten S. Windows XP, LyX 1.6
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
On Wed, Nov 19, 2008 at 6:01 AM, Maarten Smoorenburg [EMAIL PROTECTED] wrote: Hi there, I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). Thanks for your input! Cheers Maarten S. Windows XP, LyX 1.6 The quick and dirty answer (assuming you are in Unix/Linux): cp /usr/share/lyx/layouts/article.layout .lyx/layouts/ cd .lyx/layouts/ mv article.layout copernicus.layout edit copernicus.layout with any text editor change the second line : # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{copernicus} run Tools - Reconfigure in Lyx menu restart lyx create a new document with the class copernicus All this class environments and commands not existent in article can be introduced through ERT in LyX. -- Andrés
LyX 1.6 line break in math formula
Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. Thanks -- Amir Rachum
Re: Open a New Window in read-only mode?
On Tue, 18 Nov 2008, Paul A. Rubin wrote: To: lyx-users@lists.lyx.org From: Paul A. Rubin [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts wrote: Thanks Paul. That sounds feasable. I did edit the document in both windows! Maybe there could be an option in preferences to set the second or more window(s) to read-only mode? That will stop anyone from accidently editing the document in the other opened windows. That would be IMHO a sensible thing. You could enter it as an enhancement request in bugzilla. /Paul Done: http://bugzilla.lyx.org/show_bug.cgi?id=5544 Keith - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf All email addresses are challenge-response protected with TMDA [http://tmda.net] -
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), If you want to go this way, just do FileExportLaTeX. This will create yourfile.tex in the directory where the LyX file lives. Then you can open it and do as you please. I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? By default, the document class is the same as the layout name. So you just call it copernicus.layout. You can also do: \DeclareLaTeXClass[copernicus]{Copernicus} and call it whatever you like. - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). As the other responder said, you can probably get a working layout very simply. This is because article.cls and copernicus.cls will share a lot of their environments. Getting new things that are in copernicus and not in article to work can be done a bit at a time. Really the best thing is to look at the existing layouts and then just copy one and play with it, so you can see what the various commands do. rh
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case hess) and the column style (ms means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Thanks so much! MS On Wed, Nov 19, 2008 at 4:52 PM, Richard Heck [EMAIL PROTECTED] wrote: Maarten Smoorenburg wrote: I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), If you want to go this way, just do FileExportLaTeX. This will create yourfile.tex in the directory where the LyX file lives. Then you can open it and do as you please. I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? By default, the document class is the same as the layout name. So you just call it copernicus.layout. You can also do: \DeclareLaTeXClass[copernicus]{Copernicus} and call it whatever you like. - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). As the other responder said, you can probably get a working layout very simply. This is because article.cls and copernicus.cls will share a lot of their environments. Getting new things that are in copernicus and not in article to work can be done a bit at a time. Really the best thing is to look at the existing layouts and then just copy one and play with it, so you can see what the various commands do. rh
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case hess) and the column style (ms means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Can't do it those ways. Try adding this: ClassOptions Other hess,ms End I think that will work. If not, just enter the options manually for now in DocumentSettings, and we can figure it out later. rh
Re: LyX 1.6 line break in math formula
Amir Rachum wrote: Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). In the shortcuts menu, try searching on Ctrl+Return. In the CUA binding, at least, it's bound to newline-insert newline. Are you maybe using a customized binding file? You might also try opening the minibuffer (Alt-x) and, with the cursor in a math inset, type newline-insert newline in the minibuffer and hit return. It should add a new line to the math formula. /Paul
LyX and Docbook/XML
Hi, all. I figured I'd send a quick query to the list about using LyX with Docbook/XML. I know there's been a little bit of traffic on this in the past, but I haven't seen anything recently, and my searches online haven't turned up much else, either. We're in the process of evaluating some tools for transitioning our documentation away from Frame, and my bid to use LaTeX with LyX as a front-end and pdflatex/plastex as the backend didn't really gain much traction. My boss prefers to use Docbook--a number of our customers use it, and it's an accepted standard in our industry. There are some commercial products for Docbook editing that we're investigating, but I remembered that LyX provides some support for it also. I was able to make some HTML and PDFs out of the basic document I created when using SGML tools, but I wasn't able to get similar results from the exported XML. Some online reading leads me to believe that this is a somewhat more difficult task than I'm really willing to undertake, but I thought I would ask here. Is there a good workflow for using Docbook/XML with LyX, or are we still kind of waiting on it? Thanks much, Ethan ([EMAIL PROTECTED])
Re: LyX 1.6 line break in math formula
On November 19, 2008 11:44:46 Paul A. Rubin wrote: Amir Rachum wrote: Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). In the shortcuts menu, try searching on Ctrl+Return. In the CUA binding, at least, it's bound to newline-insert newline. Are you maybe using a customized binding file? You might also try opening the minibuffer (Alt-x) and, with the cursor in a math inset, type newline-insert newline in the minibuffer and hit return. It should add a new line to the math formula. /Paul C-Enter works in ordinary text for me, but in a math formula it shifts the whole formula down one line rather than breaking the line (I am using 1.6 on linux by the way). (As a workaround that might be of use, add this to your document preamble: \newcommand{\bb}{\\} and then use \bb to break your math formulas - this does seem to have some weird formatting side effects under some conditions however.) -- William Seager University of Toronto Scarborough www.utsc.utoronto.ca/~seager
What happened in LyX 1.6 with typesetting??
Hi all, I just installed the LyX 1.6, and when I compiled my first file I realized about the typesetting. The fonts in this LyX version are thinnest than the 1.5 version, and because of this is hard to read the compiled pdf with a small zoom. Why happened this?? Possibly, I'm just saying stupid things and this happens to me because I haven't do some adjustment thas I should do (the LyX 1.5 was installed in my office pc and because of this I didn't do the hypotetical adjustment). Bests. -- CdeB
pdflatex epstopdf problem on lyx/mac
Hello, I am running Lyx 1.5.6 on both a windows vista pc and a recently acquired mac os 10.5 (intel). the windows pc has a full installation of miktex and the mac of mactex both up to date (as of nov 2008) and lyx reconfigured. (I tried Lyx 1.6 and it gave the same results) my paper includes numerous eps graphics. the lyx file compiles without problems under windows via pdflatex. the same file does not compile on the mac via pdflatex (although it does via the dvi detour - but some functionality is lost that way). the erorr code i get is An error occurred whilst running epstopdf -- outfile='0_graphics.eps (It is cut off at the end) How do i get the file to compile under pdflatex without the detours of converting the eps to another file format or via the dvi. I am aware of http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55007.html, but it seems to only relate to windows installers. Any help would be greatly appreciated. K
using ACM SIGGRAPH layout
I am using lyx version 1.6 on Windows XP. I want to use the ACM SIGGRAPH document class. It shows up in the drop-down menu for document classes but it's listed like this: Unavailable:ACM SigGraph. This looked ominous but I selected it anyway and got the following error message: the document class acmsiggraph could not be loaded. What does this mean? How does lyx determine which document classes are available and which aren't? It seems strange that it would know this document class existed but would not allow me to choose it. Is there some easy way to make it available? -brian
LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the documentations UserGuide and EmbeddedObjects. Lyx List error window will pop up with no information at all in Errors box nor Description box. There is an information in EmbeddedObjects that I must install arydshln, colortbl, marginnote, and sidecap. I think I did that as there is no problem in 1.5.5 (still running) and I can open all documentations 1.5.5. How can I make it possible to view pdf the two documents. Thank you in advance. WAS
Feature request: Sessions
Hi lyx developers if any, Right now I have the requirement to work with groups of related documents. Each time I start lyx, I have to manually open them. Would it be possible to create a Sessions menu like in KATE (KDE Advanced Text Editor) that simply maintains groups of related files that can be opened or closed with a single menu action? I imagine this scenario is quite common. Thanks, Manoj
keyboard freezes after rapid sequence of accelerators
Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Re: keyboard freezes after rapid sequence of accelerators
I should add that the keyboard freeze does not happen when I use the mouse to access these menu items. This is what led to my hypothesis about improper keyboard focus transfer. Manoj Rajagopalan wrote: Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Change the depth of paragraph numbering in LyX 1.6
Hello: I am trying to change the depth of the paragraph numbering in LyX 1.6 but I have not been lucky. Paragraph numbering looks like this: 1.0.0.1 My text 1.0.0.2 Another paragraph I would like to have it like this: 1.1 My text 1.2 Another paragraph I tried inserting a TEX code \setcounter{secnumdepth}{2} at the beggining of the document, but the numbering disappears all together! I use LyX 1.6 for Mac. Any suggestions? Thanks * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
On Thu, Nov 20, 2008 at 08:01:10AM +0800, Waluyo Adi Siswanto wrote: Hi, I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the documentations UserGuide and EmbeddedObjects. Lyx List error window will pop up with no information at all in Errors box nor Description box. There is an information in EmbeddedObjects that I must install arydshln, colortbl, marginnote, and sidecap. I think I did that as there is no problem in 1.5.5 (still running) and I can open all documentations 1.5.5. We also got a report for this issue in the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183 I can reproduce the problem with the empty error box in case of missing latex packages which should not happen. When I install the missing texlive-latex-extra package (this is another issue tracked in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499629) I've no further problems but Per and the bugreporter still have the problem that the document is generated but not opened. Sven -- If God passed a mic to me to speak I'd say stay in bed, world Sleep in peace [The Cardigans - 03:45: No sleep]
Re: Steps towards a portable LyX installation on Windows
2. start lyxlauncher.exe Since there is no tex installed, obviously LyX will not have full functionality, but the GUI should work. However, two things give errors: 1. configure fails because it cannot find python 2. LyX fails to convert an EPS to a bitmap, so there is no preview I am seeing the same python error even with a fresh installation of 1.5.7 in its original directory... Maybe my paths are screwed up, but I'm not sure how to fix it, and I wish LyX would do its own configuration checking ahead of time instead of spitting out errors in the middle of doing something. I know this is a work in progress, but it would be more user-friendly if a dialog or something would pop up prompting the user to help locate python or whatever missing component LyX needs, and then update the paths accordingly for the future. Best wishes, Alex
Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Hi there, I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). Thanks for your input! Cheers Maarten S. Windows XP, LyX 1.6
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
On Wed, Nov 19, 2008 at 6:01 AM, Maarten Smoorenburg [EMAIL PROTECTED] wrote: Hi there, I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). Thanks for your input! Cheers Maarten S. Windows XP, LyX 1.6 The quick and dirty answer (assuming you are in Unix/Linux): cp /usr/share/lyx/layouts/article.layout .lyx/layouts/ cd .lyx/layouts/ mv article.layout copernicus.layout edit copernicus.layout with any text editor change the second line : # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{copernicus} run Tools - Reconfigure in Lyx menu restart lyx create a new document with the class copernicus All this class environments and commands not existent in article can be introduced through ERT in LyX. -- Andrés
LyX 1.6 line break in math formula
Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. Thanks -- Amir Rachum
Re: Open a New Window in read-only mode?
On Tue, 18 Nov 2008, Paul A. Rubin wrote: To: lyx-users@lists.lyx.org From: Paul A. Rubin [EMAIL PROTECTED] Subject: Re: Open a New Window in read-only mode? Keith Roberts wrote: Thanks Paul. That sounds feasable. I did edit the document in both windows! Maybe there could be an option in preferences to set the second or more window(s) to read-only mode? That will stop anyone from accidently editing the document in the other opened windows. That would be IMHO a sensible thing. You could enter it as an enhancement request in bugzilla. /Paul Done: http://bugzilla.lyx.org/show_bug.cgi?id=5544 Keith - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf All email addresses are challenge-response protected with TMDA [http://tmda.net] -
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), If you want to go this way, just do FileExportLaTeX. This will create yourfile.tex in the directory where the LyX file lives. Then you can open it and do as you please. I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? By default, the document class is the same as the layout name. So you just call it copernicus.layout. You can also do: \DeclareLaTeXClass[copernicus]{Copernicus} and call it whatever you like. - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). As the other responder said, you can probably get a working layout very simply. This is because article.cls and copernicus.cls will share a lot of their environments. Getting new things that are in copernicus and not in article to work can be done a bit at a time. Really the best thing is to look at the existing layouts and then just copy one and play with it, so you can see what the various commands do. rh
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case hess) and the column style (ms means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Thanks so much! MS On Wed, Nov 19, 2008 at 4:52 PM, Richard Heck [EMAIL PROTECTED] wrote: Maarten Smoorenburg wrote: I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), If you want to go this way, just do FileExportLaTeX. This will create yourfile.tex in the directory where the LyX file lives. Then you can open it and do as you please. I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? By default, the document class is the same as the layout name. So you just call it copernicus.layout. You can also do: \DeclareLaTeXClass[copernicus]{Copernicus} and call it whatever you like. - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). As the other responder said, you can probably get a working layout very simply. This is because article.cls and copernicus.cls will share a lot of their environments. Getting new things that are in copernicus and not in article to work can be done a bit at a time. Really the best thing is to look at the existing layouts and then just copy one and play with it, so you can see what the various commands do. rh
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case hess) and the column style (ms means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Can't do it those ways. Try adding this: ClassOptions Other hess,ms End I think that will work. If not, just enter the options manually for now in DocumentSettings, and we can figure it out later. rh
Re: LyX 1.6 line break in math formula
Amir Rachum wrote: Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). In the shortcuts menu, try searching on Ctrl+Return. In the CUA binding, at least, it's bound to newline-insert newline. Are you maybe using a customized binding file? You might also try opening the minibuffer (Alt-x) and, with the cursor in a math inset, type newline-insert newline in the minibuffer and hit return. It should add a new line to the math formula. /Paul
LyX and Docbook/XML
Hi, all. I figured I'd send a quick query to the list about using LyX with Docbook/XML. I know there's been a little bit of traffic on this in the past, but I haven't seen anything recently, and my searches online haven't turned up much else, either. We're in the process of evaluating some tools for transitioning our documentation away from Frame, and my bid to use LaTeX with LyX as a front-end and pdflatex/plastex as the backend didn't really gain much traction. My boss prefers to use Docbook--a number of our customers use it, and it's an accepted standard in our industry. There are some commercial products for Docbook editing that we're investigating, but I remembered that LyX provides some support for it also. I was able to make some HTML and PDFs out of the basic document I created when using SGML tools, but I wasn't able to get similar results from the exported XML. Some online reading leads me to believe that this is a somewhat more difficult task than I'm really willing to undertake, but I thought I would ask here. Is there a good workflow for using Docbook/XML with LyX, or are we still kind of waiting on it? Thanks much, Ethan ([EMAIL PROTECTED])
Re: LyX 1.6 line break in math formula
On November 19, 2008 11:44:46 Paul A. Rubin wrote: Amir Rachum wrote: Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). In the shortcuts menu, try searching on Ctrl+Return. In the CUA binding, at least, it's bound to newline-insert newline. Are you maybe using a customized binding file? You might also try opening the minibuffer (Alt-x) and, with the cursor in a math inset, type newline-insert newline in the minibuffer and hit return. It should add a new line to the math formula. /Paul C-Enter works in ordinary text for me, but in a math formula it shifts the whole formula down one line rather than breaking the line (I am using 1.6 on linux by the way). (As a workaround that might be of use, add this to your document preamble: \newcommand{\bb}{\\} and then use \bb to break your math formulas - this does seem to have some weird formatting side effects under some conditions however.) -- William Seager University of Toronto Scarborough www.utsc.utoronto.ca/~seager
What happened in LyX 1.6 with typesetting??
Hi all, I just installed the LyX 1.6, and when I compiled my first file I realized about the typesetting. The fonts in this LyX version are thinnest than the 1.5 version, and because of this is hard to read the compiled pdf with a small zoom. Why happened this?? Possibly, I'm just saying stupid things and this happens to me because I haven't do some adjustment thas I should do (the LyX 1.5 was installed in my office pc and because of this I didn't do the hypotetical adjustment). Bests. -- CdeB
pdflatex epstopdf problem on lyx/mac
Hello, I am running Lyx 1.5.6 on both a windows vista pc and a recently acquired mac os 10.5 (intel). the windows pc has a full installation of miktex and the mac of mactex both up to date (as of nov 2008) and lyx reconfigured. (I tried Lyx 1.6 and it gave the same results) my paper includes numerous eps graphics. the lyx file compiles without problems under windows via pdflatex. the same file does not compile on the mac via pdflatex (although it does via the dvi detour - but some functionality is lost that way). the erorr code i get is An error occurred whilst running epstopdf -- outfile='0_graphics.eps (It is cut off at the end) How do i get the file to compile under pdflatex without the detours of converting the eps to another file format or via the dvi. I am aware of http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55007.html, but it seems to only relate to windows installers. Any help would be greatly appreciated. K
using ACM SIGGRAPH layout
I am using lyx version 1.6 on Windows XP. I want to use the ACM SIGGRAPH document class. It shows up in the drop-down menu for document classes but it's listed like this: Unavailable:ACM SigGraph. This looked ominous but I selected it anyway and got the following error message: the document class acmsiggraph could not be loaded. What does this mean? How does lyx determine which document classes are available and which aren't? It seems strange that it would know this document class existed but would not allow me to choose it. Is there some easy way to make it available? -brian
LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the documentations UserGuide and EmbeddedObjects. Lyx List error window will pop up with no information at all in Errors box nor Description box. There is an information in EmbeddedObjects that I must install arydshln, colortbl, marginnote, and sidecap. I think I did that as there is no problem in 1.5.5 (still running) and I can open all documentations 1.5.5. How can I make it possible to view pdf the two documents. Thank you in advance. WAS
Feature request: Sessions
Hi lyx developers if any, Right now I have the requirement to work with groups of related documents. Each time I start lyx, I have to manually open them. Would it be possible to create a Sessions menu like in KATE (KDE Advanced Text Editor) that simply maintains groups of related files that can be opened or closed with a single menu action? I imagine this scenario is quite common. Thanks, Manoj
keyboard freezes after rapid sequence of accelerators
Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Re: keyboard freezes after rapid sequence of accelerators
I should add that the keyboard freeze does not happen when I use the mouse to access these menu items. This is what led to my hypothesis about improper keyboard focus transfer. Manoj Rajagopalan wrote: Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Change the depth of paragraph numbering in LyX 1.6
Hello: I am trying to change the depth of the paragraph numbering in LyX 1.6 but I have not been lucky. Paragraph numbering looks like this: 1.0.0.1 My text 1.0.0.2 Another paragraph I would like to have it like this: 1.1 My text 1.2 Another paragraph I tried inserting a TEX code \setcounter{secnumdepth}{2} at the beggining of the document, but the numbering disappears all together! I use LyX 1.6 for Mac. Any suggestions? Thanks * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
On Thu, Nov 20, 2008 at 08:01:10AM +0800, Waluyo Adi Siswanto wrote: Hi, I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the documentations UserGuide and EmbeddedObjects. Lyx List error window will pop up with no information at all in Errors box nor Description box. There is an information in EmbeddedObjects that I must install arydshln, colortbl, marginnote, and sidecap. I think I did that as there is no problem in 1.5.5 (still running) and I can open all documentations 1.5.5. We also got a report for this issue in the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183 I can reproduce the problem with the empty error box in case of missing latex packages which should not happen. When I install the missing texlive-latex-extra package (this is another issue tracked in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499629) I've no further problems but Per and the bugreporter still have the problem that the document is generated but not opened. Sven -- If God passed a mic to me to speak I'd say stay in bed, world Sleep in peace [The Cardigans - 03:45: No sleep]
Re: Steps towards a portable LyX installation on Windows
> 2. start lyxlauncher.exe > > Since there is no tex installed, obviously LyX will not have full > functionality, but the GUI should work. However, two things give > errors: > > 1. configure fails because it cannot find python > 2. LyX fails to convert an EPS to a bitmap, so there is no preview I am seeing the same python error even with a fresh installation of 1.5.7 in its original directory... Maybe my paths are screwed up, but I'm not sure how to fix it, and I wish LyX would do its own configuration checking ahead of time instead of spitting out errors in the middle of doing something. I know this is a work in progress, but it would be more user-friendly if a dialog or something would pop up prompting the user to help locate python or whatever missing component LyX needs, and then update the paths accordingly for the future. Best wishes, Alex
Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Hi there, I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). Thanks for your input! Cheers Maarten S. Windows XP, LyX 1.6
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
On Wed, Nov 19, 2008 at 6:01 AM, Maarten Smoorenburg <[EMAIL PROTECTED]> wrote: > Hi there, > > I am trying to submit an article for publication by using the copernicus.cls > class. This class is used by many journals that are published by the > European Geophysical Union (EGU) and I would like to publish in HESS. I jsut > wrote the article in a simple article layout and now want to use the > copernicus.cls class for publishing > > Currently, there is no layout file available for the copernicus.cls and > rather than copy-pasting all my LyX generated LaTeX code paragraph by > paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), I would like to > build a LyX layout file. I've read some posts about building layouts, but > I'm already stuck at the first definition of the class: this is because > copernicus.cls is an article style class, which has to be called like this: > > \documentclass[journal abbreviation]{copernicus} > > Now I have 2 questions: > - how do I set this document class in a layout file? > - how much time would it cost me, all in all to build such a thing, all the > way (without any layout programming experience?). > > Thanks for your input! Cheers > > Maarten S. > Windows XP, LyX 1.6 > The quick and dirty answer (assuming you are in Unix/Linux): cp /usr/share/lyx/layouts/article.layout .lyx/layouts/ cd .lyx/layouts/ mv article.layout copernicus.layout edit copernicus.layout with any text editor change the second line : # \DeclareLaTeXClass{article} to # \DeclareLaTeXClass{copernicus} run Tools -> Reconfigure in Lyx menu restart lyx create a new document with the class copernicus All this class environments and commands not existent in article can be introduced through ERT in LyX. -- Andrés
LyX 1.6 line break in math formula
Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. Thanks -- Amir Rachum
Re: Open a New Window in read-only mode?
On Tue, 18 Nov 2008, Paul A. Rubin wrote: To: lyx-users@lists.lyx.org From: Paul A. Rubin <[EMAIL PROTECTED]> Subject: Re: Open a New Window in read-only mode? Keith Roberts wrote: Thanks Paul. That sounds feasable. I did edit the document in both windows! Maybe there could be an option in preferences to set the second or more window(s) to read-only mode? That will stop anyone from accidently editing the document in the other opened windows. That would be IMHO a sensible thing. You could enter it as an enhancement request in bugzilla. /Paul Done: http://bugzilla.lyx.org/show_bug.cgi?id=5544 Keith - Websites: http://www.php-debuggers.net http://www.karsites.net http://www.raised-from-the-dead.org.uk Where will you spend Eternity? http://www.fellowshiptractleague.org/tracts/images/PDF/tract_130.pdf All email addresses are challenge-response protected with TMDA [http://tmda.net] -
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: I am trying to submit an article for publication by using the copernicus.cls class. This class is used by many journals that are published by the European Geophysical Union (EGU) and I would like to publish in HESS. I jsut wrote the article in a simple article layout and now want to use the copernicus.cls class for publishing Currently, there is no layout file available for the copernicus.cls and rather than copy-pasting all my LyX generated LaTeX code paragraph by paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), If you want to go this way, just do File>Export>LaTeX. This will create yourfile.tex in the directory where the LyX file lives. Then you can open it and do as you please. I would like to build a LyX layout file. I've read some posts about building layouts, but I'm already stuck at the first definition of the class: this is because copernicus.cls is an article style class, which has to be called like this: \documentclass[journal abbreviation]{copernicus} Now I have 2 questions: - how do I set this document class in a layout file? By default, the document class is the same as the layout name. So you just call it copernicus.layout. You can also do: \DeclareLaTeXClass[copernicus]{Copernicus} and call it whatever you like. - how much time would it cost me, all in all to build such a thing, all the way (without any layout programming experience?). As the other responder said, you can probably get a working layout very simply. This is because article.cls and copernicus.cls will share a lot of their environments. Getting new things that are in copernicus and not in article to work can be done a bit at a time. Really the best thing is to look at the existing layouts and then just copy one and play with it, so you can see what the various commands do. rh
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case "hess") and the column style ("ms" means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Thanks so much! MS On Wed, Nov 19, 2008 at 4:52 PM, Richard Heck <[EMAIL PROTECTED]> wrote: > Maarten Smoorenburg wrote: > >> I am trying to submit an article for publication by using the >> copernicus.cls >> class. This class is used by many journals that are published by the >> European Geophysical Union (EGU) and I would like to publish in HESS. I >> jsut >> wrote the article in a simple article layout and now want to use the >> copernicus.cls class for publishing >> >> Currently, there is no layout file available for the copernicus.cls and >> rather than copy-pasting all my LyX generated LaTeX code paragraph by >> paragraphy to a 'normal' tex editor (e.g., TeXnicCenter), >> >> > If you want to go this way, just do File>Export>LaTeX. This will create > yourfile.tex in the directory where the LyX file lives. Then you can open it > and do as you please. > > I would like to >> build a LyX layout file. I've read some posts about building layouts, but >> I'm already stuck at the first definition of the class: this is because >> copernicus.cls is an article style class, which has to be called like >> this: >> >> \documentclass[journal abbreviation]{copernicus} >> >> Now I have 2 questions: >> - how do I set this document class in a layout file? >> >> >> > By default, the document class is the same as the layout name. So you just > call it copernicus.layout. You can also do: > \DeclareLaTeXClass[copernicus]{Copernicus} > and call it whatever you like. > > - how much time would it cost me, all in all to build such a thing, all >> the >> way (without any layout programming experience?). >> >> >> > As the other responder said, you can probably get a working layout very > simply. This is because article.cls and copernicus.cls will share a lot of > their environments. Getting new things that are in copernicus and not in > article to work can be done a bit at a time. Really the best thing is to > look at the existing layouts and then just copy one and play with it, so you > can see what the various commands do. > > rh > >
Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?
Maarten Smoorenburg wrote: Thank you Richard for the quick reply. But I must say that one thing is still not clear to me: I normal LaTeX, I have to state the document class as follows: \documentclass[journal abbreviation, ms]{copernicus}, where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case "hess") and the column style ("ms" means that the article is compiled in one-column style, which is common for submission of papers). Now I tried various things to put this as a layout file, for example: \DeclareLaTeXClass[copernicus]{article(hess)} or: \DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)} But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes? Can't do it those ways. Try adding this: ClassOptions Other hess,ms End I think that will work. If not, just enter the options manually for now in Document>Settings, and we can figure it out later. rh
Re: LyX 1.6 line break in math formula
Amir Rachum wrote: Hello, I recently installed the new LyX 1.6 over windows XP and I can't seem to successfully linebreak inside math formulas. In the previous versions, this was done with C-Enter, but now I don't know how to do it. I tried looking in the new shortcuts menu in the prefrences window but I didn't find anything useful. I would appreciate your help. C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). In the shortcuts menu, try searching on Ctrl+Return. In the CUA binding, at least, it's bound to newline-insert newline. Are you maybe using a customized binding file? You might also try opening the minibuffer (Alt-x) and, with the cursor in a math inset, type newline-insert newline in the minibuffer and hit return. It should add a new line to the math formula. /Paul
LyX and Docbook/XML
Hi, all. I figured I'd send a quick query to the list about using LyX with Docbook/XML. I know there's been a little bit of traffic on this in the past, but I haven't seen anything recently, and my searches online haven't turned up much else, either. We're in the process of evaluating some tools for transitioning our documentation away from Frame, and my bid to use LaTeX with LyX as a front-end and pdflatex/plastex as the backend didn't really gain much traction. My boss prefers to use Docbook--a number of our customers use it, and it's an accepted standard in our industry. There are some commercial products for Docbook editing that we're investigating, but I remembered that LyX provides some support for it also. I was able to make some HTML and PDFs out of the basic document I created when using SGML tools, but I wasn't able to get similar results from the exported XML. Some online reading leads me to believe that this is a somewhat more difficult task than I'm really willing to undertake, but I thought I would ask here. Is there a good workflow for using Docbook/XML with LyX, or are we still kind of waiting on it? Thanks much, Ethan ([EMAIL PROTECTED])
Re: LyX 1.6 line break in math formula
On November 19, 2008 11:44:46 Paul A. Rubin wrote: > Amir Rachum wrote: > > Hello, > > I recently installed the new LyX 1.6 over windows XP and I can't seem to > > successfully linebreak inside math formulas. In the previous versions, > > this was done with C-Enter, but now I don't know how to do it. I tried > > looking in the new shortcuts menu in the prefrences window but I didn't > > find anything useful. I would appreciate your help. > > C-Enter is working as usual for me (LyX 1.6.0-1, Win XP). > > In the shortcuts menu, try searching on Ctrl+Return. In the CUA > binding, at least, it's bound to newline-insert newline. Are you maybe > using a customized binding file? You might also try opening the > minibuffer (Alt-x) and, with the cursor in a math inset, type > newline-insert newline in the minibuffer and hit return. It should add > a new line to the math formula. > > /Paul C-Enter works in ordinary text for me, but in a math formula it shifts the whole formula down one line rather than breaking the line (I am using 1.6 on linux by the way). (As a workaround that might be of use, add this to your document preamble: "\newcommand{\bb}{\\}" and then use \bb to break your math formulas - this does seem to have some weird formatting side effects under some conditions however.) -- William Seager University of Toronto Scarborough www.utsc.utoronto.ca/~seager
What happened in LyX 1.6 with typesetting??
Hi all, I just installed the LyX 1.6, and when I compiled my first file I realized about the typesetting. The fonts in this LyX version are thinnest than the 1.5 version, and because of this is hard to read the compiled pdf with a small zoom. Why happened this?? Possibly, I'm just saying stupid things and this happens to me because I haven't do some adjustment thas I should do (the LyX 1.5 was installed in my office pc and because of this I didn't do the hypotetical adjustment). Bests. -- CdeB
pdflatex epstopdf problem on lyx/mac
Hello, I am running Lyx 1.5.6 on both a windows vista pc and a recently acquired mac os 10.5 (intel). the windows pc has a full installation of miktex and the mac of mactex both up to date (as of nov 2008) and lyx reconfigured. (I tried Lyx 1.6 and it gave the same results) my paper includes numerous eps graphics. the lyx file compiles without problems under windows via pdflatex. the same file does not compile on the mac via pdflatex (although it does via the dvi detour - but some functionality is lost that way). the erorr code i get is "An error occurred whilst running epstopdf -- outfile='0_graphics.eps" (It is cut off at the end) How do i get the file to compile under pdflatex without the detours of converting the eps to another file format or via the dvi. I am aware of http://www.mail-archive.com/lyx-users@lists.lyx.org/msg55007.html, but it seems to only relate to windows installers. Any help would be greatly appreciated. K
using ACM SIGGRAPH layout
I am using lyx version 1.6 on Windows XP. I want to use the ACM SIGGRAPH document class. It shows up in the drop-down menu for document classes but it's listed like this: "Unavailable:ACM SigGraph". This looked ominous but I selected it anyway and got the following error message: "the document class acmsiggraph could not be loaded". What does this mean? How does lyx determine which document classes are available and which aren't? It seems strange that it would know this document class existed but would not allow me to choose it. Is there some easy way to make it available? -brian
LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the documentations "UserGuide" and "EmbeddedObjects". Lyx List error window will pop up with no information at all in Errors box nor Description box. There is an information in "EmbeddedObjects" that I must install arydshln, colortbl, marginnote, and sidecap. I think I did that as there is no problem in 1.5.5 (still running) and I can open all documentations 1.5.5. How can I make it possible to view pdf the two documents. Thank you in advance. WAS
Feature request: Sessions
Hi lyx developers if any, Right now I have the requirement to work with groups of related documents. Each time I start lyx, I have to manually open them. Would it be possible to create a "Sessions" menu like in KATE (KDE Advanced Text Editor) that simply maintains groups of related files that can be opened or closed with a single menu action? I imagine this scenario is quite common. Thanks, Manoj
keyboard freezes after rapid sequence of accelerators
Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Re: keyboard freezes after rapid sequence of accelerators
I should add that the keyboard freeze does not happen when I use the mouse to access these menu items. This is what led to my hypothesis about improper keyboard focus transfer. Manoj Rajagopalan wrote: Hi, I describe a possible bug. Sometimes when I use key sequences too fast, LyX stops responding to keypresses. For example, when I perform the sequence Alt-I + L to insert a label, the label edit box comes up and displays the text cursor but the keys I press don't show up. When I cancel the dialog, the keys that should have shown up get purged at the cursor location in the main document at the first keyboard event after the dialog-cancel. It looks like when I issue menu accelerator commands too fast, the keys I subsequently press get queued someplace in the main document window's context and the input focus isn't being diverted to the dialog. Then when I kill the dialog the main window dequeues the key events I generated. My hypothesis is that some synchronization essential to remapping the input focus from the main thread to the dialog thread is failing. LyX in general is slow to respond to keyboard events (even when typing text, when compared to other text editors). It seems like if keyboard response is improved overall, the above freezing issue would disappear simply from timing syncs. Has anyone else observed these? I am using LyX 1.6.0 on FC8/i686 Thanks, Manoj
Change the depth of paragraph numbering in LyX 1.6
Hello: I am trying to change the depth of the paragraph numbering in LyX 1.6 but I have not been lucky. Paragraph numbering looks like this: 1.0.0.1 My text 1.0.0.2 Another paragraph I would like to have it like this: 1.1 My text 1.2 Another paragraph I tried inserting a TEX code \setcounter{secnumdepth}{2} at the beggining of the document, but the numbering disappears all together! I use LyX 1.6 for Mac. Any suggestions? Thanks * Fernando Díaz H, Ph.D. * Profesor de Economía y Finanzas Facultad de Ciencias Económicas y Empresariales Universidad de los Andes (56 2) 412-9650 [EMAIL PROTECTED] [EMAIL PROTECTED] Avda. San Carlos de Apoquindo 2200, Las Condes, Santiago Chile
Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects
On Thu, Nov 20, 2008 at 08:01:10AM +0800, Waluyo Adi Siswanto wrote: Hi, > I installed 1.6.0 in Ubuntu 8.04, but I cannot view pdf the > documentations "UserGuide" and "EmbeddedObjects". Lyx List error window > will pop up with no information at all in Errors box nor Description > box. > > There is an information in "EmbeddedObjects" that I must install > arydshln, colortbl, marginnote, and sidecap. I think I did that as there > is no problem in 1.5.5 (still running) and I can open all documentations > 1.5.5. We also got a report for this issue in the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183 I can reproduce the problem with the empty error box in case of missing latex packages which should not happen. When I install the missing texlive-latex-extra package (this is another issue tracked in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499629) I've no further problems but Per and the bugreporter still have the problem that the document is generated but not opened. Sven -- If God passed a mic to me to speak I'd say stay in bed, world Sleep in peace [The Cardigans - 03:45: No sleep]