Uwe Stöhr a écrit :
Am 07.07.2010 08:18, schrieb Jean-Pierre Chrétien:
I don't have an idea how to do this. But its no problem if you omit the
character styles in the French manual - I also omit them in the German
ones.
OK.
However I activated the LogicalMarkup module to be able to copy/paste
from the English manual in the French one without red patches
emphasizing unrecognized layouts.
As MenuItem is not part of the module, I had to patch this
\begin_local_layout
Format 7
InsetLayout CharStyle:MenuItem
LyxType charstyle
LabelString menu
LatexType command
LatexName menuitem
Font
Family Sans
EndFont
Preamble
\newcommand*{\menuitem}[1]{{\sffamily #1}}
EndPreamble
End
\end_local_layout
into the .lyx file.
Is there a way to ad this local_layout inset from the LyX interface ?
Otherwise it would be good to add MenuItem to the LogicalMarkup module
(maybe called SansSerif ?)
--
Jean-Pierre