On 17.06.15, Jürgen Spitzmüller wrote: > 2015-06-17 10:37 GMT+02:00 Guenter Milde: > On 2015-06-16, Steve Hnizdur wrote:
> > The point is that the \usepackage(undertilde} added by Lyx to the > > preamble doesn't load the undertilde.tex file. The compilation error > > is that undertilde.sty is not found. Hence \input{undertilde} is > > needed in the preamble and has to supplied by the user. ... > Before applying this, we would need to check why it seemed to work > in some cases. > There is a package undertilde.sty, but it is not included in TeXLive, > probably since it has no proper license: > [1]http://www.ctan.org/tex-archive/macros/latex/contrib/undertilde > It is included in MikTeX, though. This may explain why we did not spot the problem until now. OTOH, the existence of a special case handling in LaTeXFeatures.cpp indicates that this may be a regression (for TeXLive users) ... > The plain tex package undertilde-gen, on the other hand, which provides > undertilde.tex, is included both in MikTeX and TeXLive: > [2]http://www.ctan.org/pkg/undertilde-gen This is quite strange, as *both* packages have the license status Lizenz Unknown Status, No Information Available Maybe there is a purging process running and undertilde.tex will also be removed from TeXLive at some point. > I have no idea if they could replace each other easily. Not easily: * undertilde.tex (undertilde-gen) defines \undertilde undertilde.sty (undertilde) defines \utilde * http://www.ctan.org/pkg/undertilde-gen says: Benjamin Bayart's undertilde (for all its faults) does the job better. Looks like a task for LaTeX configuration (search for the packages and insert the correct code). Alternatively, LaTeXFeatures could insert: \IfFileExists{undertilde.sty} {\usepackage{undertilde}} % not in TeXLive {\input{undertilde} % try undertilde.tex \providecommand{\utilde}{\undertilde}} Günter