# Tag Info

5

Below an possible answer adapted to your usecase. For this solution I redefined \footnote and \href and used to if-statements. To really check if one is in a certain environment see this question. \documentclass{article} \usepackage{hyperref} \newif\ifprinted \printedtrue % for printet version % \printedfalse % for screen version \newif\iffoot \footfalse ...

5

You can prevent (or at least infinitely discourage) linebreaking in the footnote, which may or may not be suitable, depending. This produces a broken URL as you describe if you comment out the setting of \interfootnotelinepenalty. \documentclass{article} \setlength\textheight{3cm} \usepackage{hyperref} \def\a{One two three four. } \def\b{\a Five six seven ...

2

Use the hyperref package to improve the behavior of the \url command. Use it with hidelinks option to view black links. If you don't use \% (using the url or hyperrefpackages) all that happens is that WinEdt means a comment but nothing wrong happens to the output document. Add the \sloppy command to solve the problem with overfull boxes. ...

1

The question mark usually indicates an unresolved reference. I suppose you added the bibtex database to your document like this: Select "Insert" --> "List / TOC" --> "BibTex Bibliography..." from the menu In the dialogue box click on "Add..." Click "Browse..." Select the file you want (in this case: test.bib) Now, don't forget to confirm the ...

1

Not using \url, but \href, the URL is not visible anyway, so the suggestion in regard to employing tinyurl is relevant as it does avoid the ugliness of the URL in the text. Much better, I find, to make an appropriate part of the text active, as in \href{URL}{active in context text}. This way, the URL is not visible in the print out either.

Only top voted, non community-wiki answers of a minimum length are eligible