Tag Info

Hot answers tagged

3

Go to wikipedia and copy its URL as such; then add \ before each %: \documentclass{article} \usepackage{hyperref} \begin{document} \url{http://www.wikiwand.com/pl/Prawo_Lewisa-Mogridge\%E2\%80\%99a} \end{document} EDIT 1 Instead of \url, you can use \href, in case you want the hyperlink: \documentclass{report} \usepackage{hyperref} \begin{document} ...


2

Install curl (assuming you use apt-get to install packages) : sudo apt-get install curl and do the following for pdf files: cat document.pdf | grep -ao '[a-zA-Z]\+://[a-zA-Z.-]*[^)]\+' | while read LINE; do curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE"; echo " $LINE"; done and do the following for tex files : cat myfile.tex ...


2

This site allows you to create a citation from a URL and then export it as a bibtex reference: https://www.citethisforme.com/apa


2

The following solution operates only on the contents of url fields. URLs given in other fields are not treated. Since hyperlinking is being performed, the hyperref package must be loaded. Find the file abbrvnat.bst in your TeX distribution. Make a copy of this file, naming the copy (say) myabbrvnat.bst. (Don't edit directly an original file from your TeX ...


1

A simple C++ program using Qt4 and Poppler would do the trick. I quickly sketched it up and tested it on some PDFs. I think one could tweak it a lot to make it more robust against weird links like mailto: -protocol and other ports. And of course Output formatting can be better, if you need to parse it afterwards, but it does the trick #include ...


1

OCG visibility setting for printing is honoured only by Adobe Reader (and perhaps other non-free viewers): \documentclass{article} \usepackage[colorlinks]{hyperref} \usepackage{ocgx} %\usepackage{fixocgx} %dvips+pdf, xelatex, dvipdfmx \begin{document}\Huge See the game \makebox[0pt][l]{% \begin{ocg}[printocg=never]{A}{a}{1} ...



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