General ⇒ BibTeX | special characters in bibliography
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
BibTeX | special characters in bibliography
I'd like to know how to use reserved characters in my "bibliographics references", like in this case: Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
Re: Bibliography
the problem is when I wirte in the Bibliography.bib some url, for example:
@misc{altus,
title={anything},
url={http://www.altus.com/ftp/Public_main/access%14%oct},
urlaccessdate={17 oct. 2009}
}
see that I have special characters like "_" and "%", so when I compile appears an error because of it. So I wanna know what I could to do to finish with this problem.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
BibTeX | special characters in bibliography
Could you know just use \% and \_? So:ddouglasgs wrote:see that I have special characters like "_" and "%", so when I compile appears an error because of it. So I wanna know what I could to do to finish with this problem.
url={http://www.altus.com/ftp/Public\_main/access\%14\%oct}
Let me know if it works; I'm curious.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{url}
\begin{document}
\url{http://www.altus.com/ftp/Public_main/access%14%oct}
\end{document}
Code: Select all
@misc{altus,
title={anything},
url={\url{http://www.altus.com/ftp/Public_main/access%14%oct}},
urlaccessdate={17 oct. 2009}
}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
Re: Bibliography
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Code: Select all
\begin{filecontents*}{sample.bib}
@misc{altus,
title={anything},
url={http://www.altus.com/ftp/Public_main/access%14%oct},
urlaccessdate={17 oct. 2009}
}
\end{filecontents*}
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{natbib}
\begin{document}
\nocite{*}
\bibliographystyle{plainnat}
\bibliography{sample}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10