+2005-12-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * exporter.C (Export): Don't try to copy a file if it does not exist
+ (bug 1888)
+
2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text2.C (makeFontEntriesLayoutSpecific): remove.
2005-12-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text2.C (makeFontEntriesLayoutSpecific): remove.
}
if (status == CANCEL) {
buffer->message(_("Document export cancelled."));
}
if (status == CANCEL) {
buffer->message(_("Document export cancelled."));
+ } else if (fs::exists(tmp_result_file)) {
// Finally copy the main file
status = copyFile(format, tmp_result_file,
result_file, result_file,
// Finally copy the main file
status = copyFile(format, tmp_result_file,
result_file, result_file,
"to file `%2$s'"),
formats.prettyName(format),
MakeDisplayPath(result_file)));
"to file `%2$s'"),
formats.prettyName(format),
MakeDisplayPath(result_file)));
+ } else {
+ // This must be a dummy converter like fax (bug 1888)
+ buffer->message(bformat(_("Document exported as %1$s "),
+ formats.prettyName(format)));