+2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * configure.m4: add mozilla as default previewer for html
+
2002-10-14 André Pönitz <poenitz@gmx.net>
* ui/default.ui: support for flalign
SEARCH_PROG([for a DVI previewer],DVI_VIEWER, xdvi windvi yap)
# Search something to preview html
-SEARCH_PROG([for a HTML previewer],HTML_VIEWER, netscape)
+SEARCH_PROG([for a HTML previewer],HTML_VIEWER, "mozilla file://\$\$p\$\$i" netscape)
# Search for a program to preview latex code
SEARCH_PROG([for a LaTeX preview],LATEX_VIEWER, "xterm -e less")
+2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * converter.C (view): add support for $$i (file name) and $$p
+ (file path) for the viewer command. If $$i is not specified, then
+ it is appended to the command (for compatibility with old syntax)
+
2002-10-14 Juergen Vigna <jug@sad.it>
* undo_funcs.C (textHandleUndo): alter the order in which the
string const token_from("$$i");
string const token_base("$$b");
string const token_to("$$o");
+string const token_path("$$p");
//////////////////////////////////////////////////////////////////////////////
command += 'r';
}
- command += " " + QuoteName(OnlyFilename((filename)));
+ if (!contains(command, token_from))
+ command += " " + token_from;
+
+ command = subst(command, token_from,
+ QuoteName(OnlyFilename(filename)));
+ command = subst(command, token_path, QuoteName(OnlyPath(filename)));
lyxerr[Debug::FILES] << "Executing command: " << command << endl;
ShowMessage(buffer, _("Executing command:"), command);