On 19/02/2011 5:47 AM, Tommaso Cucinotta wrote:
Il 16/02/2011 14:20, Vincent van Ravesteijn ha scritto:
2) A layout editor for creating your own layouts/character
styles/insets and so forth.
This one would be a very nice feature to have.
I have to say that, AFAICS, currently there is also a problem
in merely *using* the available styles. The problem is due
to the custom macros that each style requires you to use.
For example, I can remember a latex8 style that I used various
times, in which you had to write sections like this: \Section{},
\Subsection{}, etc.. Styles that I used more recently have always
specific macros for authors, addresses, institutions, e-mail addresses,
as well as thanks or acknowledgements in the first page. For example,
I can remember at least such macros as:
\and: to separate authors
\inst{}: to refer institutions
\institute{}: to declare institutions
\IEEEauthorblockN{}: declare author names
\IEEEauthorblockA{}: declare author affiliations/addresses
\IEEEauthorrefmark{}: cross-connect author names and affiliations
\IEEEoverridecommandlockouts: I have no clue, it was in the sample ..tex
after \documentclass{}
\IEEEpeerreviewmaketitle: I have no clue, it was in the sample .tex
\Section{}, \Subsection{}, etc.: mentioned above
\category{}, \terms{}, \keyword{}: don't know whether these were
style-specific or not
and sometimes custom environments, such as:
\begin{IEEEkeywords}...\end{IEEEkeywords}
\begin{IEEEproof}...\end{IEEEproof}
This may mainly a problem specific to LaTeX styles and how they are
engineered
(i.e., there is not a common widely recognized LaTeX macros/environments
abstraction
in order to support those features), not really a problem specific to
LyX, but I wonder
whether in LyX we can make the whole thing more usable.
For example, how could a user interface cope with editing a
multi-authors/multi-institution
paper in a reasonable way ? I mean, without the user having to learn all
these macros
and LaTeX-specific instructions of the publisher ?
The problem that I can see, is that, even if we had a user-interface
supporting this kind
of editing, the LaTeX code to generate cannot be universal anyway, but
it would need
to be style-specific.
I'd like to hear comments from the LyX and LaTeX experts, here.
T.
You are right! The multiplicity of styles when it comes to macro names
in latex is very annoying. In LyX it can be worked around and I think
this should be looked into very seriously. Then you can easily switch
from layout to layout in a document without problems, i.e. not have the
environments get messed up. The environment names should be standardized
in a meaningful way and let the .layout file perform the translation
\author --> \IEEEauthor etc.
This requires some more thinking from the LyX side to establish a
standard but it would be worthwhile in my opinion.
--
Julien