On Tue, Feb 17, 2015 at 08:45:04PM +0100, Georg Baum wrote: > One option which is probably easy to implement would be to mark the start > and end of the ERT inset with two unicode symbols from the private use area > (similar to META_INSET): We could define > > char_type const MATH_ERT_BEG = 0x200002; > char_type const MATH_ERT_END = 0x200003;
You won't be able to $EDITOR a .lyx file and figure this out, unless your editor has a nice way to show such codepoints. Also, PUC codepoints might be in use in the surrounding environment... A new math inset is probably best. Using MathML as suggested by someone else would have the convenient aspect of being able to use XML namespaces. Nico --