#11185: Export math macro definitions as "\newcommand" for robustness/consistency.

Isaac Oscar Gariano IsaacOscar at live.com.au
Mon Oct 23 12:48:40 UTC 2023


I'm not sure the right place to post this, but I can't seem to axis my trac account and the forgot password link isn't working, I've previously used it with the username "Isaac" and this email adress. So I have no idea what it's problem is.

— Isaac Oscar Gariano​
________________________________
From: LyX Ticket Tracker <trac at lyx.org>
Sent: Monday, 23 October 2023 11:27 PM
To: bauer.klaus.dieter at gmail.com <bauer.klaus.dieter at gmail.com>; forenr at lyx.org <forenr at lyx.org>
Cc: rikiheck at lyx.org <rikiheck at lyx.org>; isaacoscar at live.com.au <isaacoscar at live.com.au>
Subject: Re: #11185: Export math macro definitions as "\newcommand" for robustness/consistency.

#11185: Export math macro definitions as "\newcommand" for robustness/consistency.
-------------------------+-----------------------
 Reporter:  k.bauer      |       Owner:  forenr
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  2.5.0
Component:  mathmacro    |     Version:  2.3.0dev
 Severity:  normal       |  Resolution:
 Keywords:  fileformat   |
-------------------------+-----------------------

Comment (by sanda):

 I contacted Stefan privately if he could remember why \newcommandx is not
 used always and \def is used for all math macros that have no option:

 "
 that's a very good question. My memory is weak, but I believe there were
 cases where \newcommand(x) was fragile.

 I googled and found a very old thread of mine:
 https://lyx-users.lyx.narkive.com/zmXbAJi7/macros-with-optional-arguments-
 lyx-1-6-1

 Could be that that was the reasoning, that \newcommand could not override
 other macros of the same name. But maybe there was more. "

--
Ticket URL: <https://www.lyx.org/trac/ticket/11185#comment:10>
The LyX Project <https://www.lyx.org/>
LyX -- The Document Processor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20231023/caf9a5c6/attachment-0001.html>


More information about the lyx-devel mailing list