# Tag Info

3

In every case below, remove the extraneous braces: \def\WPpagequestion{\WPhomepagebase 201545} to prevent those braces from being included in the URL. Plain TeX A Plain TeX way for solving this would be: \def\href#1#2{% \begingroup\def\x{\endgroup\goto{#1}[url(}% \expandafter\x#2)]% } or the more drastic: \def\href#1#2{% ...

3


0

Boris' answer should work, but dare I say, I think we've found a bug in hyperref, at least in the hpdftex.def driver v6.83m (I haven't checked any of the others). The issue is that the pdfnewwindow=true option is being ignored. If you examine the output pdf file in a text editor, you should notice something like this: ...

2

There is an option pdfnewwindow for the command \href. This option does not work with the command \url, but \url{URL} is actually equivalent to \href{URL}{\nolinkurl{URL}}. This means that you can define a new command like this: \newcommand{\urlNewWindow}[1]{\href[pdfnewwindow=true]{#1}{\nolinkurl{#1}}} and then say \urlNewWindow{URL}

3

As indicated in the name, ieeetr-fr is an adaptation of the IEEE style for use in French. As such, it hard-codes in an assumption that babel is loaded with the french option to define for example \fg. You will either need to load babel appropriately or use a different style (say the standard IEEE one).

3

Package apacite sets \urlstyle inside \AtBeginDocument to APACtt. Therefore switching back to rm should be done at a later time, e.g.: \documentclass[12pt]{article} \usepackage{apacite} \usepackage{hyperref} \AtBeginDocument{% \urlstyle{APACrm}% APAC version of rm % \urlstyle{rm}% } \begin{document} ...

5

I think you are trying to print the paths. If so, you may need this: \documentclass{article} \usepackage[obeyspaces]{url} \begin{document} \path{\\server\folder\folder} \path{\\server\my folder\folder} \end{document}

0

Building on @PLK's answer, here is an example biber.conf that selectively removes URLs from specified entry types, rather than selectively keeps them. Note that entry types aren't case sensitive. <?xml version="1.0" encoding="UTF-8"?> <config> <sourcemap> <maps datatype="bibtex" map_overwrite="1"> <map> ...

Top 50 recent answers are included