Sounds reasonable. I would recommend, though, that no information is
duplicated across files. If LyX is used to edit a "pure tex" document,
then a separate lyx-specific file should keep only additional
information, to avoid duplication of contents. Also, the extra file
would be kept under revision control as well, as there may be multiple
LyX and multiple TeX users working on the same document.
Rainer M. Krug wrote:
Cyrille Artho<c.ar...@aist.go.jp> writes:
Hi Guenter,
I would assume that only a LaTeX source file is kept, no other files.
With a strategy of having multiple files, there are other issues. I
would prefer having one file for everything, but I am interested to
hear arguments for the other case; maybe I can be convinced that
multiple files (LaTeX + LyX-specific features) are better :-)
There is one strong argument for having multiple files: One can send a
"clean" tex (or docx as suggested in another thread) to the co-authors
and keep the additional files (in an archive probably?) local. They can
not be corrupted, lost or deleted as it would be relatively easy if
these would be part in one tex file. Additionally, as a tex document
does usually consist anyway of multiple files (the .tex file, often .bib
files and images, ...) I don't think it is a big problem to have one
more.
Cheers,
Rainer
Guenter Milde wrote:
On 2013-04-20, Georg Baum wrote:
Cyrille Artho wrote:
I'm not familiar enough with the capabilities of LaTeX macros to be the
final judge on that, but it seems plausible that macros may work better
for many features.
However, it is also desirable to keep the LaTeX code simple. For features
that are merely related to displaying things (inset open/collapsed, "lyx
zoom" factor for images), a comment may indeed be the simplest way. If the
comment is garbled or lost, the default (inset open, 100 % zoom) applies.
Actually, I would not like LyX GUI settings to turn up in the LaTeX file at
all. Non-LyX workers will be offended, others can restore them, and in the
most asked for application of the round-trip feature -- editing in the
Source View -- this is not required as LyX can keep the GUI settings.
Günter
<#secure method=pgpmime mode=sign>
--
Regards,
Cyrille Artho - http://artho.com/
Those who will not reason, are bigots, those who cannot,
are fools, and those who dare not, are slaves.
-- George Gordon Noel Byron