Tag Info

Hot answers tagged

6

EDIT: Added Title clickable (1. just the title cickable and 2. the whole reference clickable) 1. Just the Title reference clickable You can redefine the title macro and add the \href to the title using the DeclareFieldFormat. I edited the default definitions in the biblatex.def file. \DeclareFieldFormat{title}{\myhref{\mkbibemph{#1}}} \DeclareFieldFormat ...


4

One way would be to use the background package: Code: \documentclass[10pt,a4paper]{article} \usepackage[all]{background} \usepackage{url} \usepackage{lipsum} \SetBgContents{\url{http://tex.stackexchange.com/}}% Set contents \SetBgPosition{0.25cm,-5.0cm}% Select location \SetBgOpacity{1.0}% Select opacity \SetBgAngle{90.0}% Select rotation of logo ...


3

I usually use a combination of eso-pic, graphicx and rotating as it is easy to adjust in terms of location, angle and size. \documentclass[12pt]{scrartcl} \usepackage{blindtext} \usepackage{eso-pic, rotating, graphicx} \AddToShipoutPicture{\put(30,200){\rotatebox{90}{\scalebox{3}{Examiners copy}}}} \begin{document} \blindtext[4] \end{document}


3

Only letters are allowed in the commands defined with \urldef, so \eur50 is illegal and, indeed, several errors appear when processing your example. The problem is described in this TeX FAQ; basically \newcommand{\eur50}{...} is not legal. You could use digits by using a different strategy: \documentclass{book} \usepackage{hyperref} ...


2

I am not sure if this is the desired feature: The action (run/open) can be done using \href{run:url}{some text} and the the text as a url can be obtained using \nolinkurl{urlcontent} \documentclass[10pt]{article} \usepackage{a4,graphicx} \usepackage[hyphens]{url} \usepackage[colorlinks,breaklinks=true]{hyperref} \begin{document} ...


1

The ~ character will work fine if used inside \url{} or \hyperref{} within your text because they automatically disable all the TeX parsing; as described by Martin Scharrer. The same is true for other characters like _ and for the \path{} command provided by the url package. But if you have a URL within your bibliography’s .bib file it won’t work. The ...


1

I've managed to produce a new chicago.bst file with url included thanks to this script that adds url support for any bst file. If you prefer you can download my chicago.bst file here


1

See xstring manual, 3.4 Catcode and starred macros. You have to use the starred version of the test macro, if you want to use macros therein. \renewcommand{\url}[1]{ \StrBehind{#1}{:}[\tempa] \StrBefore{#1}{:}[\tempb] \IfBeginWith*{\tempb}{mailto} {\href{#1}{\nolinkurl{\tempa}}} {\oldUrl{#1}} }


1

If you are open to using Python this may suffice. I use python with the pyPdf and urllib2 packages. The logic goes like this: Open a pdf with pyPdf.PdfFileReader and loop through it. In the function below, pdf is the open pdf file object. def get_urls(pdf): badurls = list() links = list() url_checker = URLChecker() # a helper function to test ...


1

You ask: This works all fine but I would like to be able to click onto the URL and be led to the place in the internet. How can this be done? It looks like you have one too many pairs of curly braces encasing the contents of the note field. Instead of writing Note = {{\url{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}}}, you should write Note ...



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