BibTeX, biblatex and biber ⇒ Strange Character instead of dash between page numbers in re
Strange Character instead of dash between page numbers in re
I have been using natbib package and {unsrt} as bibliography style. In some of the references I get some different character instead of dash(-) either between page numbers in a certain reference or instead of a dash in the text of the reference.
Here are two examples:
Methods in Engineering, 79:1309˝U1331, (2009)
medium˝Ustructure-problem
Your help is appreciated.
Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Strange Character instead of dash between page numbers in re
welcome to the board!
Perhaps post a

Stefan
Strange Character instead of dash between page numbers in re
Thanks for your response. Please see below a test axample:
Code: Select all
%
\include{Macros/MacroFile1}
\documentclass[oneside,12pt]{article}
%
%\usepackage{StyleFiles/watermark}
\usepackage{amsmath}
\usepackage [section]{placeins}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[numbers]{natbib}
%
\begin{document}
%
Hi,\\\\
This is a test example to show the problem in the following references: \cite{FuBo04}, \cite{TaNiKo03} and \cite{XinGao11}
Thanks for your time.
\bibliographystyle{unsrt}
\renewcommand{\bibname}{References}
\bibliography{References/references}
\include{References/references}
\addcontentsline{toc}{chapter}{References} %adds References to contents pa
%\
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Code: Select all
%
@ARTICLE{FuBo04,
author={Author},
title={Discrete wavenumber solutions to numerical wave propagation in piecewise heterogeneous media–{I}. Theory of two-dimensional {SH} case},
journal={International Journal of},
volume={1},
year={(2004)},
pages={1-10},
}
@ARTICLE{TaNiKo03,
author={T. Takahashi and N. Nishimura and S. Kobayashi},
title={A fast {BIEM} for three-dimensional elastodynamics in time domain},
journal={International Journal of},
volume={7},
year={(2003)},
pages={1–6},
}
@ARTICLE{XinGao11,
author={T. Xin and L. Gao},
title={Reducing slab track vibration into bridge using elastic materials in high speed railway},
journal={International Journal of},
volume={3},
year={(2011)},
pages={7–48},
}
%
Thanks again.
Nawras
- Stefan Kottwitz
- Site Admin
- Posts: 10359
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Strange Character instead of dash between page numbers i
I guess you need to replace – by - in your .bib files. Also here you can see the difference: I pasted – to the forum, and this is a typed dash: -. If you don't see the difference, just zoom with your browser. And test it, change one wide dash, i.e. type a normal dash, run bibtex and (pdf)LaTeX again.
Stefan
Re: Strange Character instead of dash between page numbers i
Hi Stefan,
Thanks very much. It is working perfectly.
Nawras