Bug #11484

Jürgen Spitzmüller spitz at lyx.org
Sun Apr 18 07:14:17 UTC 2021


Am Freitag, dem 16.04.2021 um 12:43 -0400 schrieb Scott Kostyshak:
> Thanks to the Jürgens for your work on this. On master branch, if I
> export a file on the command-line with a child document that is not
> found, I no longer get an error and the command exits "successfully"
> (i.e., 0 exit code). It shows a warning in the terminal but it is
> easy
> to miss it.
> 
> I attach a patch that amends c41df5b671e by converting the warning to
> an
> error. Any objection? If preferred, we could show both the warning
> and
> the error, but it seems reasonable to show just one message of the
> problem.

The advantage of the warning is that you can still productively work
with the file (e.g. if you don't have the included file at hand, but
want to edit the master only anyway; or if the included file is still
to be written).

Can we have warnings on the cl that require user prompts before the
process continues?

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210418/96676987/attachment.asc>


More information about the lyx-devel mailing list