Questions tagged [urls]

{urls} is about handling URLs in (La)TeX documents, commonly by using the \url macro provided by the {url} or {xurl} and {hyperref} packages.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

How to format the DOI field in BibTeX?

I would like to format the word doi to be \textsc{DOI} as it is for the url field. How to achieve this? MWE: \RequirePackage{filecontents} \begin{filecontents}{mybib.bib} @dataset{Thomas2021, doi =...
user avatar
  • 305
-1 votes
1 answer
48 views

Url error in bibliography

How do I get rid of this error in my references.bib file? <inserted text> $ l.64 ...45dece/GLEN_2019-Q4_ProductionReport.pdf}} ....
user avatar
-1 votes
1 answer
55 views

How do I prevent LaTeX from stretching URL's in footnotes [duplicate]

I'm using Overleaf and I recently noticed that the URL of a footnote gets stretched. This leads to the problem that when I copy the URL from the pdf that LaTeX generates and paste it in a browser, it ...
user avatar
0 votes
1 answer
51 views

Breaking url into multiple lines results in broken link in rendered PDF

In a previous question, and with @Aditya's help I was able to break up URLs into multiple lines in my bibliography source file and still get the link to work. Now, I would like to do the same in my ...
user avatar
  • 1,372
1 vote
1 answer
35 views

Clickable link for simple PDF document using ConTeXt

I would like to get a clickable link in my PDF using ConTeXt. Here's what I have tried so far: \setupinteraction [state=start] \starttext \useURL [myUrl] [www.google.com] \goto{link}[myUrl] \...
user avatar
  • 1,372
0 votes
1 answer
31 views

Beamer frametitle always uppercase for text but not for href or url

I have a \citebutton command that I often use in the frametitle to link to some sources. Furthermore, I want to force the frametitle to be always in uppercase. Unfortunately, I am not happy with my ...
user avatar
  • 165
0 votes
0 answers
20 views

Parts of references in bibliography missing/spelling wrong

I have a problem with the references in my bibliography. First of all, neither URL nor "Laatst geraadpleegd op: [date]" (EN: Accessed on) are displayed for internet sources. And another ...
user avatar
0 votes
1 answer
30 views

Other ways to show a Windows path

I am writing a technical document, and I need to show a reference to a Windows path. As I'm using the url package, and my example is drive:\directory\directory\file.xls My code is \path{C:\\directory\...
user avatar
5 votes
2 answers
101 views

How to colour just one link with hyperref package?

I'm using the hyperref package with the hidelinks option, but there is one link I would like to be coloured and I'm trying to do this with an overriding hypersetup command in an environment which only ...
user avatar
  • 183
1 vote
2 answers
40 views

How to put a cite in the same line with a figure title?

Excuse me, I'm not able to put the cite url [4] on the same line with the figure title "Cycle de vie de la donnée".
user avatar
  • 11
0 votes
0 answers
17 views

Link citation directly to URL

If I have a plain bibtex entry like this @ARTICLE{SomeKey, title = {Some title}, author = {Some author}, journal = {Some journal}, month = 03, year = 2021, url = {...
user avatar
  • 101
0 votes
0 answers
45 views

citeproc-lua prevent hyphenating the urls in references

I use citeproc-lua with texstudio in Windows 11. I have used apa csl style provided with the package citation-style-language as example here, but I have to use american-medical-association csl style ...
user avatar
  • 55
0 votes
0 answers
13 views

Change the displayed text for a specific cite output

I have a Reference in my Bibtex File that is an URL: @misc{RootLoggerJavaDoc, author = {Apache-Software-Foundation}, title = {{RootLogger JavaDoc Log4j 1.2}}, howpublished = "\url{...
user avatar
1 vote
1 answer
68 views

Add an icon to LaTeX to open an internet link

I have seen this LaTeX document and in my opinion it is quite fancy. It is a "normal" document, but if I press the red icon, a YouTube link opens. Does any body hava an idea how this might ...
user avatar
0 votes
0 answers
37 views

url over extending in page

I am writing a thesis paper, however one portion of the paper extends past the paragraph limit. Word Match Generator addresses the need for computer science instructors be able to teach computer ...
user avatar
1 vote
0 answers
40 views

Add relative href web link to pdf document

How do I add a relative href web link to a .pdf document? I want to post sets of question/answer pairs to my web site. For example, http://foo.com/W22/Tests/Q1.pdf and http://foo.com/W22/Tests/...
user avatar
  • 111
1 vote
1 answer
55 views

problem with bibliography concerning online refferrences

I have the following code in Latex: \documentclass[a4paper,12pt,two side]{book} \usepackage[a4paper,width=160mm,top=5mm,bottom=60mm,bindingoffset=6mm]{geometry} \usepackage[utf8]{inputenc} \...
user avatar
  • 161
0 votes
0 answers
18 views

Bibliography URL hyperlink overlaps header and footer

I have a weird behavior in the bibliography. The URL hyperlink overlaps the page footer with the page number and the header of the next page (image #1). At first I thought it is because of the long ...
user avatar
1 vote
1 answer
42 views

How to prevent URL from wrapping on two lines

I'm using the following environment on overleaf: \documentclass[% reprint, superscriptaddress, nofootinbib, nobibnotes, amsmath,amssymb, aps, ]{revtex4-2} \usepackage{graphicx}% Include figure ...
user avatar
0 votes
1 answer
62 views

Link but don't print a hyperref link in references

Generally, URLs are not pretty nor compact. How can I embed a hyperlink to the documents URL without printing the URL in the reference catalog? Right now I am using the backref=page option in the ...
user avatar
0 votes
0 answers
60 views

href not click able in paper

I am writing a research paper. My goal is to add a clickable href. I've imported the package \usepackage{hyperref} However the following link is still not clickable \href{https://liveexample....
user avatar
3 votes
2 answers
31 views

property list value as \url argument

I want to feed \url with the value of a property list \documentclass{article} \usepackage{hyperref} \begin{document} \ExplSyntaxOn \prop_set_from_keyval:Nn \l_tmpa_prop { mail=user@domain, } \...
user avatar
0 votes
1 answer
10 views

unwanted misalignment by setting own color for url with moderncv

I'm trying to build a cv with moderncv where everything is black except the urls. Therefore, after having tried other option (see commented lines), I want to manually set the color of the url locally. ...
user avatar
  • 779
0 votes
1 answer
43 views

Problem with \url and fontenc?

Here is the input: \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} % my emacs saves this file with latin1 encoding \usepackage{url} \begin{document} \urldef{\...
user avatar
1 vote
0 answers
48 views

Error message with \url

While using the command \url the system gave me an error message. My code is like the following: \usepackage{url} \usepackage[linktocpage]{hyperref} \hypersetup{colorlinks, citecolor=cyan, linkcolor=...
user avatar
  • 11
0 votes
0 answers
19 views

How to typeset a complicated URL that contains special characters [duplicate]

I want to typeset this link: https://www.arm.com/company/news#t=allnews&sort=%40articledate%20descending and I get an error because of the % char. I'm wondering if there is a way or a package to ...
user avatar
1 vote
1 answer
60 views

Problem with @misc and Mendeley

I have problems with a web page I retrieved using Mendeley. It was automatically saved in my .bib file using the @misc format. However, when I cite such a web page using APA rules, it does not show ...
user avatar
0 votes
2 answers
34 views

\special, html: URLs, and trouble with the pound sign

EDIT: Ulrike Fischer has provided the correct answer. Thank you, Ulrike. I've been given an interesting project involving creating syntax diagrams for a webpage. Because they use things like large ...
user avatar
  • 101
0 votes
1 answer
44 views

Biblatex bibliography - how to output DOI/URL differently based on digital copy/to-be printed copy

What is the best practice using biblatex and hyperref packages to tweak the bibliography so that when the URL/DOI/ISBN "IDs" are present, they are shown as links with the placeholder "...
user avatar
  • 61
4 votes
1 answer
112 views

LaTeX incorrectly displays a URL with Cyrillic characters

Hello everyone \documentclass[a4paper,12pt]{article} %%% Работа с русским языком \usepackage{cmap} % поиск в PDF \usepackage[T2A]{fontenc} % кодировка \usepackage[utf8]{...
user avatar
  • 109
0 votes
1 answer
47 views

Language setting isn't respected on URL field of biblatex reference

I am currently writing my thesis in Greek, but I have to cite mostly English sources. My bibliography file looks like this: @online{microsoft-memory-safety-errors, author={\en{MSRC Team}}, ...
user avatar
  • 3
5 votes
1 answer
137 views

How can I break a very long URL in the reference?

I have tried some solutions proposed by others (URLs in bibliography: LaTeX not breaking line as expected), but in vain. The long URL still goes into the margin. How can I break a very long URL in the ...
user avatar
  • 105
2 votes
1 answer
32 views

How can I use section symbols '§' in urls with the url-package?

How do you create a url which includes a section symbol '§'? I'm trying to create a link to this following url using the url-package: https://lovdata.no/lov/1997-02-28-19/§20-20 Notice the section ...
user avatar
0 votes
0 answers
25 views

How to always display the url in bibliography

I am currently working on a small paper, in which I need to include the sources via BibTeX. For every source, when applicable, I need to include the url of the website. However, when I try this, the ...
user avatar
0 votes
1 answer
24 views

Get the URL string in the 'howpublished' field in an entry of type '@techreport' typeset with main text font instead of a monospaced font

I have the following code \documentclass{article} \begin{document} \bibliographystyle{mybst} \nocite{*} \bibliography{mybib} \end{document} My .bib is @techreport{3gpp.38.331, author = {3GPP}, day = {...
user avatar
1 vote
1 answer
62 views

How to cite a newspaper article with journal name and date and url for informs journal

I want to cite a newspaper article with the informs journal template. Based on the guidance example, the reference should consist of: author (year) + title + journal name (date) + URL. Here is an ...
user avatar
1 vote
1 answer
49 views

Special characters in DOI leading to invalid URLs

This is related to this question Special character in url link but is specific to DOIs and does not involve unicode characters. I have to use strange DOIs like this 10.1175/1520-0485(1986)016<1929:...
user avatar
  • 515
3 votes
1 answer
40 views

longTable, enumerate and URL

I am trying to generate a complicated table, this table contains some links and I use also the enumerate environment within the tabular environment, I don't know if this is allowed. My code produced ...
user avatar
  • 327
1 vote
1 answer
43 views

How can I pass a URL containing # to a macro without throwing an error?

I have frequent need to use URLs with # characters in them, and the hashtag causes compilation errors of course. To date, I have used two ways to get around this. One is to manually escape them (...
user avatar
4 votes
1 answer
29 views

Problem when inserting an url inside lstlisting and compiling with make4ht

The following examples shows an error when an URL is inserted inside a lstlisting caption. \documentclass{article} \usepackage{listings} \usepackage{hyperref} \begin{document} \begin{lstlisting}[...
user avatar
  • 656
1 vote
0 answers
43 views

Ideal BibTeX style for urls and case sensitivity

I have several websites that I want to cite as well as wanting dois/arXiv addresses be clickable. I also want to retain the case sensitivity that I enter into my BibTeX entries. I've tried using \...
user avatar
  • 131
0 votes
1 answer
90 views

Make \url{} entry visible in bibliography

I'm using a bibliography management software (Zotero) that exports weblinks in this format: @misc{spielmandaniel-DiscrepancyTheoryRandomized-2021, title = {But what is the Fourier Transform? A ...
user avatar
  • 351
2 votes
1 answer
349 views

How does an Elsevier article have all-hyperlink references?

I am going to submit a paper in an Elsevier journal. However, I notice that some of the references in a published paper have hyperlinks. Is it put by the journal or should I put it manually? If I ...
user avatar
  • 121
2 votes
1 answer
89 views

Hyperlink with # in it

I'm trying to insert a link which contains #, but i'm getting an error due to it. I've used \url and \href, but it does not work. \usepackage{hyperref} \section{Introduction} En la tabla aparecen ...
user avatar
1 vote
1 answer
39 views

\href not breaking description

I am trying to use \href to display www.site.com but (without an http://) but include http:// in the actual link the output directs to when clicked. Long descriptions are running past the end of the ...
user avatar
  • 1,033
0 votes
1 answer
42 views

How to type & and # inside ///texttt{}?

I am citing manually in TexStudio and trying to add a link to the patent I cited in my thesis. I get by adding this line: \\\texttt{https://depatisnet.dpma.de/DepatisNet/depatisnet?action=bibdat{\&...
user avatar
  • 83
1 vote
1 answer
66 views

How to make a href link open multiple pages

I've already found a solution to open "only" two links, see How to make a link open multiple pages when clicked Is there a possibilty to open 3 and more hyperlinks e.g. https://example1.com, ...
user avatar
0 votes
0 answers
17 views

How to add display text for a URL? [duplicate]

In markdown, one can [Well-maintained BibTeX Databases](https://tex.stackexchange.com/q/131917/129388) to get Well-maintained BibTeX Databases . Is there something similar in Latex? I don't want it ...
user avatar
0 votes
2 answers
90 views

Unicode chars in URL with XeLaTeX

I want to print an URL with greek chars (compiling with XeLaTeX), but the below script fails to display the greek chars in the URL (they are displayed as underscores), while if I enclose the greek ...
user avatar
  • 1,632
0 votes
0 answers
85 views

Break url in bibliography citation

I found similar issues around, but none of them fitting to my situation. I would like to be able to decide WHERE to break an url in my bibliography. In the examples below, the automatic breaking is ...
user avatar

1
2 3 4 5
18