metanorma / tex2mn

Write Metanorma documents in LaTeX
https://www.metanorma.com
MIT License
2 stars 0 forks source link

Let `\author` and `\set{author}` be equivalent #111

Open paolobrasolin opened 4 years ago

paolobrasolin commented 4 years ago

Currently,

Merging their behaviour is complicated by the fact that their syntax for multiple authors is very different, and a non trivial amount of tex and xsl code would be needed.

This could be a nice feature but since we're targeting primarily AsciiDoc conversion I think it's not urgent due to its complexity; furthermore, the problem can be circumvented pretty easily by using both macros in the preamble:

% for a single author
\author{John Doe}
\set{author}{John Doe}
% for multiple authors
\author{Tom Sawyer \and Dick Tracy \and Harry Potter}
\set{author_1}{Tom Sawyer}
\set{author_2}{Dick Tracy}
\set{author_3}{Harry Potter}