Re: Math manual compilation

2009-11-22 Thread Guenter Milde
On 2009-11-23, Uwe Stöhr wrote: > > - if (mustProvide("mhchem")) > > + if (mustProvide("mhchem") && isAvailable("mhchem")) > It is not that easy. ... > Your solution does nevertheless not help because mhchem wouldn't be > loaded when it is not available. But in this case LaTeX cannot insta

Re: Math manual compilation

2009-11-22 Thread Uwe Stöhr
> Then don't try to load mhchem if it is not available (see attached patch). > > - if (mustProvide("mhchem")) > + if (mustProvide("mhchem") && isAvailable("mhchem")) >packages << "\\PassOptionsToPackage{version=3}{mhchem}\n" >"\\usepackage{mhchem}\n"; It is n

Re: Math manual compilation

2009-11-22 Thread Enrico Forestieri
On Sun, Nov 22, 2009 at 04:16:16AM +0100, Uwe Stöhr wrote: > Pavel Sanda schrieb: > > >> I've done this now, please test if the Math manual is now compilable. > > > > now i still see > > ! LaTeX Error: File `mhchem.sty' not found. > > OK. I see now that it is impossible to compile the file wit

Re: Math manual compilation

2009-11-21 Thread Uwe Stöhr
Pavel Sanda schrieb: I've done this now, please test if the Math manual is now compilable. now i still see ! LaTeX Error: File `mhchem.sty' not found. OK. I see now that it is impossible to compile the file without having mhchem installed: Whenever you use \ce in a formula, LyX loads mhche

Re: Math manual compilation

2009-11-17 Thread Pavel Sanda
Uwe Stöhr wrote: > I wrote: > >> I can use the special package handling like for arydshln in the >> EmbeddedObjects manual. Then the document would always be compilable, but >> you won't see sec. 20 in the output. Should I do this? > > Of course I have to do this since mhchem is not in the standa

Re: Math manual compilation

2009-11-14 Thread Uwe Stöhr
I wrote: I can use the special package handling like for arydshln in the EmbeddedObjects manual. Then the document would always be compilable, but you won't see sec. 20 in the output. Should I do this? Of course I have to do this since mhchem is not in the standard/basic installation of TeXLi

Re: Math manual compilation

2009-11-13 Thread Uwe Stöhr
> math manual now doesn't compile for me, claiming that mhchem is needed. > is it correct? This is correct, because mhchem is used in sec. 20 "Chemical Symbols and Equations". I can use the special package handling like for arydshln in the EmbeddedObjects manual. Then the document would always

Math manual compilation

2009-11-13 Thread Pavel Sanda
Uwe, math manual now doesn't compile for me, claiming that mhchem is needed. is it correct? pavel