I'm using LaTeX with BibTeX to write my paper. The .bst file is written by someone else.
In the .bst file, he wrote a function to deal with the \url as follows:
FUNCTION {format.url} {
"\url{" swap$ * "}" *
}
Now I want to change "\url" to "\href". For example,
\url{http://www.aaa.com} --> \href{http://www.aaa.com}{http://www.aaa.com}
The minimum working example can be downloaded from here
Thank you.
.bstfile (making the correction), or you could, in your document, reassign\urlto behave as\href, assuming the argument lists were compatible. However, it would help if you edit your question to provide a minimum working example to show the actual problem. – Steven B. Segletes Aug 15 '17 at 09:53hyperrefpackage provides the\hrefmacro... and the\urlmacro... – Paul Gaborit Aug 15 '17 at 09:54\urlwork. – daleif Aug 15 '17 at 10:17