yamadharma / ceurart

CEUR-WS proceedings style
http://ceur-ws.org/
Creative Commons Attribution Share Alike 4.0 International
17 stars 6 forks source link

Underscore in email #4

Closed ssemerikov closed 2 years ago

ssemerikov commented 3 years ago

(Relatively) Old versions of ceurart template are successfully compiled with underscores at author's email, e.g.:

\author[1]{Serhii A. Voloshynov}[% orcid=0000-0001-7436-514X, ] \ead{s\_voloshinov@ukr.net} \ead[url]{http://new.ksma.ks.ua/?p=3339}

Latest version can't compile the similar code:

\author[1]{Serhii A. Voloshynov}[% orcid=0000-0001-7436-514X, email={s\_voloshinov@ukr.net}, url={http://new.ksma.ks.ua/?p=3339}, ]

Error message:



! Undefined control sequence.
<argument> mailto:s\protect \T
                    1\textunderscore voloshinov@ukr.net
l.108 \maketitle```
MakarovIA commented 2 years ago

Is there a solution to it?

ssemerikov commented 2 years ago

Unfortunately, the only way is to use an "external" \ead command instead of the "email" parameter of \author:

\author[1]{Serhii A. Voloshynov}[% orcid=0000-0001-7436-514X, url={http://new.ksma.ks.ua/?p=3339} %use {} for your URLs to eliminate any problems ] \ead{s\_voloshinov@ukr.net} % don't forget to put "\" before the underscore sign

MakarovIA commented 2 years ago

Found another solution email=\detokenize{name\ _surname@gmail.com}

babaralishah commented 2 years ago

Hi I am on Angular

And using the below regex:

'^[a-z0-9]+([._-]?[a-z0-9]+)+@[a-z0-9]+([._-]?[a-z0-9]+)+\\.[a-z]{2,3}$'

But its not fulfilling my requirement, my requirement is below:

saa5@me-d_d_u.co

please anyone tell me, why this regex is not working for my above mentioned case.

Regards Babar Ali Shah