General ⇒ BibTeX | special characters in bibliography
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
BibTeX | special characters in bibliography
Hello,
I'd like to know how to use reserved characters in my "bibliographics references", like in this case: Thanks.
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.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
I can't see where this document has a bibliography. If you mean the lists where the items are introduced by a circle, you should use a list environment like itemize, perhaps customized with enumitem. Note that such a bibliography would not make sense. It doesn't allow references in the text because its items become indistinguishable.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
No man,
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.
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
I don't see a connection to your initial request. Please point out exactly the problem from the beginning. For this second issue you can try the url package.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
I already suggested the url package.
Thus the entry of your database file has to be modified as follows.
Code: Select all
Code, edit and compile here:
\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}}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
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
It's still doesn't working, because of "%". The text editor thinks it's a comment.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
It's not important what your text editor thinks. The following example with natbib works flawlessly.
Code: Select all
Code, edit and compile here:
\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}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10