Am 26.07.2010 08:02, schrieb Jürgen Spitzmüller:
But all insets have different syntax. That would mean that I have to write
a detection routine foe every inst. E.g. when I find baselineskip in a
box I need to revert the whole box as TeX-code. This is a horror.
I think this can be done. We have reversion routines for many insets at hand,
so it's just a matter of effort.
The work on the IEEETran reversion routines cost me 3 days and this task was
much easier than this one.
Anyway, if you're too lazy to do this, I opt for limiting \baselineskip to
vspace only (and maybe add other access points later).
I cannot agree to this. LyX is not there to tell the user what to use. We should provide what LaTeX
provides. We therefore already provide vertical lengths for horizontal features. There is no reason
why we should not do the same for baselineskip. The users aren't stupid and know what to choose.
Moreover, having a box or image with a height of 3\baselineskip is useful so why should we limit
baselineskip to vspace only?
I prefer having limited
support over having a sloppy reversion.
OK. When I don't have to write the lyx2lyx reversion routine alone, we can
revert it properly.
I think the user should decides where he want to use this length. If he for
some some strange reason prefers to have an image with a width of
4\baselineskip, why should we forbid this?
Because it's utter nonsense.
As said above. The user is free to decide.
I'm off by now for about 2 weeks.
regards Uw