Re: [PATCH] Always use \newcommandx instead of \def

2023-10-17 Thread Isaac Oscar Gariano
So sorry about that, I should really have looked at the issue tracker. But yes, it will probably break lots of pre-existing documents. So I've uploaded a new version of my patch that is backwards compatible. I've added a checkbox at the bottom of Document Settings -> Math Options to always use

Re: [PATCH] Always use \newcommandx instead of \def

2023-10-17 Thread Enrico Forestieri
On Tue, Oct 17, 2023 at 08:29:12PM +0200, Enrico Forestieri wrote: On Tue, Oct 17, 2023 at 01:10:23PM -0400, Richard Kimberly Heck wrote: On 10/16/23 21:22, Isaac Oscar Gariano wrote: Currently \def is used for all math macros that have no option arguments. This has caused me hard to debug

Re: [PATCH] Always use \newcommandx instead of \def

2023-10-17 Thread Enrico Forestieri
On Tue, Oct 17, 2023 at 01:10:23PM -0400, Richard Kimberly Heck wrote: On 10/16/23 21:22, Isaac Oscar Gariano wrote: Currently \def is used for all math macros that have no option arguments. This has caused me hard to debug errors because it silently clobbers pre-existing LaTeX commands. On

Re: [PATCH] Always use \newcommandx instead of \def

2023-10-17 Thread Richard Kimberly Heck
On 10/16/23 21:22, Isaac Oscar Gariano wrote: Currently \def is used for all math macros that have no option arguments. This has caused me hard to debug errors because it silently clobbers pre-existing LaTeX commands. On the other hand, \newcommandx is used if there are optional arguments, and

Re: String Freeze Update

2023-10-17 Thread Richard Kimberly Heck
On 10/9/23 14:42, Pavel Sanda wrote: On Fri, Sep 08, 2023 at 04:05:49PM -0400, Richard Kimberly Heck wrote: I am planning to freeze strings once we have had some initial feedback on beta 5 and make sure that there aren't any issues there that need a string change. We're waiting at the moment

Re: [PATCH] Always use \newcommandx instead of \def

2023-10-17 Thread Scott Kostyshak
On Tue, Oct 17, 2023 at 01:22:26AM +, Isaac Oscar Gariano wrote: > Currently \def is used for all math macros that have no option arguments. > This has caused me hard to debug errors because it silently clobbers > pre-existing LaTeX commands. On the other hand, \newcommandx is used if there