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
> 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
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
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
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
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
> 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