22 Dec
2003
22 Dec
'03
11:36 a.m.
At 23:35 21/12/2003, you wrote:
Hi,
I'm sure I miss something obvious but I have no clue what it is. I have:
\def\gotoDOI#1{\hyphenatedurl#1}
\def\gotoDOI#1{\hyphenatedurl{#1}} otherwise the first token in #1 becomes the argument to \hyphenatedurl
\gotoDOI{10.1016/S0009-2614(01)01361-6}
^ in your def it's now \hyphenatedurl -> #1 == 1 and the 0.... is just text
\hyphenatedurl{10.1016/S0009-2614(01)01361-6}
and I redefined supp-lan.tex's \scanurl to hyphenate at '(' and ')'.
\else\if#1(% \flushurl\splitbefore(% \else\if#1)% \flushurl\splitafter)% ...\fi\fi... Hans