[PATCH] Always use \newcommandx instead of \def

2023-10-16 Thread Isaac Oscar Gariano
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 this gives a helpful error message if the

Re: Mangled file names in temp dir

2023-10-16 Thread Enrico Forestieri
On Mon, Oct 16, 2023 at 03:41:59PM +0200, Pavel Sanda wrote: On Sun, Oct 15, 2023 at 09:07:24PM +0200, Enrico Forestieri wrote: Pavel, in commit eef0c8e8 you say: >xHTML export: change filenames of exported images. > >This patch aims at: >1. replacing absolute paths by their hashes (do not

Re: Mangled file names in temp dir

2023-10-16 Thread Pavel Sanda
On Sun, Oct 15, 2023 at 09:07:24PM +0200, Enrico Forestieri wrote: > Pavel, in commit eef0c8e8 you say: > > >xHTML export: change filenames of exported images. > > > >This patch aims at: > >1. replacing absolute paths by their hashes (do not leak directory > >structures) > >2. not using counters