@@ -33,12 +33,12 @@ DefEnvironment('{frontmatter}', '#body');
3333# It either should be followed by \affiliation,
3434# or both should get matching marks
3535DefMacro(' \author[]{}' ,
36- ' \lx@add@creator[role=author,mark ={#1}]{#2}' );
36+ ' \lx@add@creator[role=author,annotations ={#1}]{#2}' );
3737
3838DefMacro(' \address[]{}' ,
39- ' \lx@add@contact[mark ={#1},role=address]{#2}' );
39+ ' \lx@add@contact[label ={#1},role=address]{#2}' );
4040DefMacro(' \affiliation[]{}' ,
41- ' \lx@add@contact[mark ={#1},role=affiliation]{#2}' );
41+ ' \lx@add@contact[label ={#1},role=affiliation]{#2}' );
4242
4343# Redefine to account for the label, which we ignore for now!
4444DefConstructor(' \thanks[]{}' , " <ltx:note role='thanks'>#2</ltx:note>" );
@@ -50,16 +50,16 @@ Let('\collaboration', '\collab');
5050# These pairs add various contact information to authors.
5151# The \<XXX>ref forms are used within the \author text to anchor the connection
5252# the \<XXX>text forms supply the text (& and role) for the contact that will be attached.
53- DefMacro(' \thanksref{}' , ' \lx@add@creator@mark {thanks:#1}' );
54- DefMacro(' \corref{}' , ' \lx@add@creator@mark {cor:#1}' );
55- DefMacro(' \corauthref{}' , ' \lx@add@creator@mark {corauth:#1}' );
56- DefMacro(' \fnref{}' , ' \lx@add@creator@mark {fn:#1}' );
57- DefMacro(' \tnoteref{}' , ' \lx@add@creator@mark {tnote:#1}' ); # Possibly for title, not author?
58- DefMacro(' \thanks[]{}' , ' \lx@add@contact[mark ={thanks:#1},role=thanks]{#2}' );
59- DefMacro(' \cortext[]{}' , ' \lx@add@contact[mark ={cor:#1},role=correspondent]{#2}' );
60- DefMacro(' \corauth[]{}' , ' \lx@add@contact[mark ={corauth:#1},role=correspondent]{#2}' );
61- DefMacro(' \fntext[]{}' , ' \lx@add@contact[mark ={fn:#1},role=note]{#2}' );
62- DefMacro(' \tnotetext[]{}' , ' \lx@add@contact[mark ={tnote:#1},role=note]{#2}' ); # title note?
53+ DefMacro(' \thanksref{}' , ' \lx@request@frontmatter@annotation {thanks:#1}' );
54+ DefMacro(' \corref{}' , ' \lx@request@frontmatter@annotation {cor:#1}' );
55+ DefMacro(' \corauthref{}' , ' \lx@request@frontmatter@annotation {corauth:#1}' );
56+ DefMacro(' \fnref{}' , ' \lx@request@frontmatter@annotation {fn:#1}' );
57+ DefMacro(' \tnoteref{}' , ' \lx@request@frontmatter@annotation {tnote:#1}' ); # Possibly for title, not author?
58+ DefMacro(' \thanks[]{}' , ' \lx@add@contact[label ={thanks:#1},role=thanks]{#2}' );
59+ DefMacro(' \cortext[]{}' , ' \lx@add@contact[label ={cor:#1},role=correspondent]{#2}' );
60+ DefMacro(' \corauth[]{}' , ' \lx@add@contact[label ={corauth:#1},role=correspondent]{#2}' );
61+ DefMacro(' \fntext[]{}' , ' \lx@add@contact[label ={fn:#1},role=note]{#2}' );
62+ DefMacro(' \tnotetext[]{}' , ' \lx@add@contact[label ={tnote:#1},role=note]{#2}' ); # title note?
6363
6464DefMacro(' \runauthor{}' , Tokens());
6565DefMacro(' \runtitle{}' , Tokens());
0 commit comments