On Tue, 18 Jul 2023 at 15:11, Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote:
> Hello, > > In the attached patch, I am able to support the mod/bmod/pmod/pod macros > by just defining them in lib/symbols with an argument. > > The result is a more pleasing editing process (IMO) and a simplification > of the documentation. > > Since this use of \def is not documented, I have to ask: is there a > reason for not doing it? > > One downside may be that exporting to html/docbook does not really work, > but it has always been the case, AFAIK. > For the symbols in your patch, yes, export is currently broken, but it's fixable. I think it would still be fixable in the future with macros, as I did in https://github.com/cburschka/lyx/blob/master/lib/symbols#L1128. My question is: should I create a full-fledged math inset instead? It is > doable too, nd at least I'd get the spacing right depending on the > context (script...). > > JMarc-- >
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel