"Nicolas" == Nicolas Ferré <[EMAIL PROTECTED]> writes:
Nicolas> Hi, A little wish about math. There are two ways for entering Nicolas> math: open a math environment and type in it or write a latex Nicolas> formula, select it and convert it in math using C-m for Nicolas> instance. But the last needs to explicitely write the $ Nicolas> around the latex formula. If the $ are forgotten, lyx Nicolas> converts the formula to text even if there is a math symbol Nicolas> (beginning with \) in the formula. Could it be possible to Nicolas> automatically add the $ around the latex formula when Nicolas> transforming it in math and a \ is detected in it ? I know Nicolas> the backslash is rather common in latex ;-) but we can assume Nicolas> that each time a latex formula must be converted in math, all Nicolas> latex symbols in the formula are math symbols.
Nicolas> But maybe I miss a good reason for always needing the $ ?
Probably because $ is only one of the possibilities, others being \[..\] or eqnarray-like environments.
JMarc
Yes I agree. What I suggested was a sort of "hum ... silly, I forget the math delimiters" automatic correction, which action is to default to the $ delimiters when no delimiters are found. This way the user ... me ;-) avoids one error (actually I recently forget 3 or 4 times the math delimiters when writting some short titles, maybe because they are boxed in red).
-- Dr. Nicolas Ferre' Laboratoire de Chimie Theorique et de Modelisation Moleculaire UMR 6517 - CNRS Universite' de Provence Case 521 - Faculte' de Saint-Jerome Av. Esc. Normandie Niemen 13397 MARSEILLE Cedex 20 (FRANCE) Tel : (+33)4.91.28.27.33 Fax : (+33)4.91.28.87.58
Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html