chemical formula
I got stuck with the following: According to Markus Kohm (Koma-script) one can declare a new command for sub-scribing chemical formula such as H_2 by declaring a new command \Molek \newcommand*{\Molek}[2]{#1\texstsubscript{#2}} which I did by putting this in the preamble of my Koma-book document. In the text I write in an ERT-box \Molek H{2} but get 'Undefined control sequence' \Molek H{2} Same error, if I put only \Molek in ERT and H{2} afterward. I use koma(book) for my LyX document. Can somebody give me some help? Wolfgang
Re: Reload PDF-viewer?
bigblop schrieb: I have installed LyX for windows XP. But when I make changes to my file I need to reopen the PDF file to see the change. Is there no way to avoid closing and reopening each time I want to see and updated version of my test? Try to reinstall LyX using LyX 1.5.5. regards Uwe
Re: Very confused About the error "Misplaced alignment tab character"
woodvorg wrote: > Can't seem to find anything like that in the layout file. But you have Input amsdefs.inc in there which itself has Provides amsmath 1 This is because the ams classes, for which amsdefs.inc is written, load amsmath by themselves, and therefore LyX must not load it again. Writing Provides amsmath 0 somewhere _after_ the amsdefs inclusion in your layout file might fix the problem. HTH, Jürgen
Best choice of 'intermediate' graphics format
Hi, I have a lot of DSF vector drawings (made under Designer, a Windows program). They have been exported as EPS. Now that I am working under Linux, I could import them (the EPS ones) in LyX. But I need to modify some of them, say, in OOdraw or Inkscape or Xara... What do you think would be my best choice as an export format from Designer? It would be even better if LyX handled it directly. Here is a sample of export formats offered by Designer: AI, PSD, DXF, MGX, PLT, IGS, PPF, PNG, SCT, EMF (not to mention WMF). These graphics will appear in documents for printing and pdf output. TIA for any advice. Regards, -- Daniel CLEMENT
Re: section title centered
On Mon, May 12, 2008 at 4:46 AM, Robert Neumann <[EMAIL PROTECTED]> wrote: > stupid question, but I couldn't figure it out using the manual, I allways get > error-messsages. > > I'm using titlesec and I just want my section*-title centered instead of the > default left alignment. > > I use Lyx 1.37 with the document-class article. > thanks Robert > > I had trouble with the titlesec package also. I would just use the sectsty package. \usepackage{sectsty} \sectionfont{\centering} You can check the documentation for more options like: \sectionfont{\nohang\centering} So that the longer titles aren't indented. Cheers, /Bob
Re: Very confused About the error "Misplaced alignment tab character"
Can't seem to find anything like that in the layout file. The layout was originally based on amsbook class, I modified it slightly to work with report class, perhaps that could have something to do with it. http://www.nabble.com/file/p17187814/unswthesis.layout unswthesis.layout -- View this message in context: http://www.nabble.com/Very-confused-About-the-error-%22Misplaced-alignment-tab-character%22-tp16918124p17187814.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Problems with Lyx output
On Mon, May 12, 2008 at 7:34 AM, Ana Rodriguez <[EMAIL PROTECTED]> wrote: > Hello, > I´ve installed Lyx on my Mac (Macbook, running with Leopard) for the > first time. I´ve followed the > instructions and prior to Lyx I have installed MacTeX and then Lyx 1.5.4 > but, whenever I open the Lyx application I get the error message shown > here: > > "The layout file requested by this document article.layout, is not > usable. This is probably because a LaTeX class or style file required > by it is not available. See the Customization Documentation for more > information. LyX will not be able to produce output" > > Could anyone help me with this? Try doing LyX > Reconfigure and then restarting LyX as instructed. Does that fix it? Bennett
Re: Very confused About the error "Misplaced alignment tab character"
woodvorg wrote: > Thanks for the quick reply! In the process of making an example file... I > discovered that if I manually add \usepackage{amsmath} to the latex > preamble, it works. So for some reason my layout is ignoring the "use AMS > math" options. This is strange. Do you have a modified *.layout file for the class that happens to have Provides amsmath 1 defined? Jürgen
Re: Very confused About the error "Misplaced alignment tab character"
Jürgen Spitzmüller-2 wrote: > > Could you provide an example file? If I insert your example cases > construct > into the IEEEtran template, I get the error you describe (which actually > shouldn't happen). However, if I switch on "use AMS math automatically" in > Document->Settings->Math-Options), the document compiles without errors. > Thanks for the quick reply! In the process of making an example file... I discovered that if I manually add \usepackage{amsmath} to the latex preamble, it works. So for some reason my layout is ignoring the "use AMS math" options. -- View this message in context: http://www.nabble.com/Very-confused-About-the-error-%22Misplaced-alignment-tab-character%22-tp16918124p17187576.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Very confused About the error "Misplaced alignment tab character"
woodvorg wrote: > Hi, I already had "Use AMS math package" checked, yet I still get the > error. I'm using a layout which is based on report document class. Any > ideas? Could you provide an example file? If I insert your example cases construct into the IEEEtran template, I get the error you describe (which actually shouldn't happen). However, if I switch on "use AMS math automatically" in Document->Settings->Math-Options), the document compiles without errors. Jürgen
Re: Very confused About the error "Misplaced alignment tab character"
Paul A. Rubin wrote: > Using the IEEETran template, you need to go to Document -> Settings... > -> Math Options and check either "Use AMS math package" or "Use AMS math > package automatically". Hi, I already had "Use AMS math package" checked, yet I still get the error. I'm using a layout which is based on report document class. Any ideas? I should just go with pure latex as I seem to be spending more time hunting for fixes like this than actually writing my thesis! Thanks. -- View this message in context: http://www.nabble.com/Very-confused-About-the-error-%22Misplaced-alignment-tab-character%22-tp16918124p17187172.html Sent from the LyX - Users mailing list archive at Nabble.com.
Problems with Lyx output
Hello, I´ve installed Lyx on my Mac (Macbook, running with Leopard) for the first time. I´ve followed the instructions and prior to Lyx I have installed MacTeX and then Lyx 1.5.4 but, whenever I open the Lyx application I get the error message shown here: "The layout file requested by this document article.layout, is not usable. This is probably because a LaTeX class or style file required by it is not available. See the Customization Documentation for more information. LyX will not be able to produce output" Could anyone help me with this? I would greatly appreciate it. Cheers, Anna
Re: Lyx crash with QT4.3.4 and samba
mel b wrote: > Jürgen: > Thanks a lot, I do hope it is the same problem, and I will try > installing lyx 1.5.5 as soon as I have a minute. Please file a bug report on http://bugzilla.lyx.org if the problem persists with 1.5.5. Jürgen
Re: Lyx crash with QT4.3.4 and samba
Hi all, Thanks for your answers. Maybe I should have explained that I have mounted the samba share manually on my machine, and just accessing it through lyx (which sees it as normal folders then). Steve: >Try making a subdirectory several deep, INSIDE /home/xxx/Papers, and see if >you can navigate that within LyX. Also, whatever you navigated in LyX to >produce this problem, try it from Windows Explorer (they still have Windows >Explorer, don't they?) and see if anything funky happens there. Interestingly, subdirectories seem to work ok. I have no problem using the file browser to access either of the documents. Jürgen: Thanks a lot, I do hope it is the same problem, and I will try installing lyx 1.5.5 as soon as I have a minute. Daniel: I guess the precision above answered your questions, if not, let me know! Regards, Mélanie
section title centered
stupid question, but I couldn't figure it out using the manual, I allways get error-messsages. I'm using titlesec and I just want my section*-title centered instead of the default left alignment. I use Lyx 1.37 with the document-class article. thanks Robert
Re: problem on LYX home page
[EMAIL PROTECTED] wrote: > Fatal error: Call to undefined function news_data() > in /home/lyx/www/www-user/test/pmwiki/cookbook/LyX/news.php on line 28 It's fixed now. Jürgen