Thanks for the hint, I tried to convert my letter to g-brief. However, lyx crashed saying: We failed to find the layout 'Standard' in the layout list. You MUST investigate!
lyx: SIGSEGV signal caught ... thus I "investigated". I tried to start from scratch a new g-brief letter, incorporating the elements one by one. Actually I reproduce the crash when I want to visualize a minipage (clicking on the minipage button in window) that I incorporated at the beginning of the letter body (this minipage contains the standard heading used here). I also tried to view the dvi but I get 26 errors ! Is it possible to introduce a "personal heading" in g-brief ? Do exist a "g-brief in lyx" manual ? Attached is a minimal example. Thanks for your help. Nicolas PS: another little question: the "letter" layout in lyx does not refer to the latex letter class ? I mean when I export a lyx letter file in latex, I can't find a \begin{letter} ... \end{letter} at all. Herbert Voss wrote: > > Nicolas Ferre' schrieb: > > I try to write a simple letter using lyx1.2.3 (class/layout letter), but > > it fails with the \opening stuff. The lyx error message means that > > \opening is not recognized. > > Actually, if I export my letter in tex, the \begin{letter} ... > > \end{letter} does not appear ! > > Is there something that I missed (I'm sure this is the case) ? > > Below are given a little lyx example and the corresponding tex code. > > Thanks a lot, > > this cannot work with this layout. Have a look at > > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg08985.html > > and ask Lucien for a g-brief-f.layout. If I remember well, > then he derived this french letter layout from the existing g-brief-en > and g-brief-de layout files. If you need the english version > of g-brief, then use the existing one. > > Herbert > > -- > http://www.educat.hu-berlin.de/~voss/lyx/ -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Nicolas FERRE' (PhD) phone/fax : +39-0577-234278 Dipartimento di Chimica Universita` di Siena mailto:[EMAIL PROTECTED] via Aldo Moro 53100 SIENA (Italia) http://ccmaol1.chim.unisi.it/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass g-brief-en \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Letter \begin_inset Minipage position 1 inner_position 0 height "0pt" width "100text%" collapsed true \layout Letter \begin_inset Tabular <lyxtabular version="3" rows="1" columns="3"> <features> <column alignment="left" valignment="center" width="50pt"> <column alignment="left" valignment="center" width="300pt"> <column alignment="left" valignment="center" width="50pt"> <row> <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Letter \begin_inset Graphics FormatVersion 1 filename /home/ferre/LATEX/logo.jpg display default size_type 0 rotateOrigin leftBaseline lyxsize_type 0 \end_inset \end_inset </cell> <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none"> \begin_inset Text \layout Letter \align center Dipartimento di Chimica dell'Università degli Studi di Siena \newline Gruppo di Chimica e Fotochimica Computazionale \newline Via A. Moro - I53100 SIENA (Italy) \newline Tel. / Fax +39-577-234278 \newline Prof. Massimo Olivucci Tel. +39-577-234274, e-mail [EMAIL PROTECTED] \newline Web Page http://ccmaol1.chim.unisi.it/ \end_inset </cell> <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> \begin_inset Text \layout Letter \begin_inset Graphics FormatVersion 1 filename /home/ferre/LATEX/ci.jpg display default size_type 2 scale 20 rotateOrigin leftBaseline lyxsize_type 2 lyxscale 20 \end_inset \end_inset </cell> </row> </lyxtabular> \end_inset \end_inset \the_end