On Fri, Aug 11, 2006 at 01:10:56PM +0200, Georg Baum wrote:

> Enrico Forestieri wrote:
> 
> > Agreed. Additional functionality should require an additional switch
> > to be activated.
> 
> That is not additional functionality, it is basic functionality. Exporting
> an incomplete .tex file is additional functionality. Why do you normally
> want to export to .tex? Because you need to give the document to somebody
> who wants to process it but does not have LyX, e.g. the publisher or a
> coworker. These people do also need the converted graphics. Go search the
> mailing list archives, this question came up several times, and we always
> needed to tell people to go to some obscure temp dir and grab some files
> from there. Now it is easier to get all needed files.
> 
> What Jens is talking about is expert usage that should require the
> additional switch (I'll answer later to his post).

Please, reread what Jens wrote. If "lyx -e latex" does not convert
graphics in version X, it should not do so in version X+1. The added
functionality (graphics export) should be bound to another switch,
maybe "lyx -e latex-full". Maybe you don't care, but people may use
lyx in scripts doing complex things and these scripts now break and
possibly they cannot be fixed easily to perform the same task they
were doing before an upgrade.

You may call this "expert usage" and don't care because it only
afflicts a small percentage of users, but this attitude rings a
bell.

> > Nor it is necessary to also overwrite included material with a copy
> > from the lyx tmpdir, thus modifying the timestamp of a file.
> > http://bugzilla.lyx.org/show_bug.cgi?id=2434
> 
> Last time I tried I could not reproduce this bug. This behaviour is not
> intended, and if anybody is able to reproduce that I'll be glad to help to
> fix that. The intended behaviour is to only overwrite files that would be
> generated by LyX. For .tex files this means if they are exported from a LyX
> file.

Please, find attached two files, "foo.lyx" and "bar.tex". Put them in the
same directory, load foo.lyx and try exporting it to latex (plain).
You will be asked if bar.tex should be overwritten.

> > Note that you cannot skip the copy without aborting the entire process.
> 
> IIRC that is reported as a bug somewhere else in bugzilla. What is missing
> here is a "Don't overwrite anything but continue to export" button.

Yes, but in the first place lyx should not ask to overwrite what was
simply copied elsewhere.

-- 
Enrico

Reply via email to