>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> The attached patch to LyX 1.3.x allows View->DVI to succeed.
Angus> Obviously, I should test out the changes to InsetExternal and
Angus> InsetBib too, but now it's late and I'm tired and, anyway, I'd
Angus> like to check that what I've done looks reasonable.

Looks reasonable. Insetead of the use_latex_path bool
-       result = subst(s, "$$FName", params_.filename);
+       string subst_path = use_latex_path ?
+               latex_path(params_.filename) : params_.filename;
+       result = subst(s, "$$FName", subst_path);
you could also define a $$LName variable. Then the converter would be
able to tell which format it wants.

JMarc

Reply via email to