Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with natbib (style: chicago-fa) #7

Open
1 of 5 tasks
vafakhalighi opened this issue May 14, 2020 · 0 comments
Open
1 of 5 tasks

problem with natbib (style: chicago-fa) #7

vafakhalighi opened this issue May 14, 2020 · 0 comments
Assignees
Labels
bug Something isn't working engine special whatsit

Comments

@vafakhalighi
Copy link
Contributor


Brief outline of the issue

I am using xepersian with hyperref and natbib (bibliograpgystyle: chicago-fa). The problem is this:
If a reference with two authors is cited in a way that the first author's namepositioned is at the end of one line and the second author's name at the beginning of the next line, the whole text in these two lines (instead of the names and the year) will be linked to the bib entry.

P.S. I am using the texlive distribution included in Debian Buster.

Check/indicate

  • Relevant to the bidi package
  • The bidi package issue tracker has been searched for similar issues?
  • Issue tracker has been searched for similar issues?
  • Links to <tex.stackexchange.com> discussion if appropriate
  • Links to <qa.parsilatex.com> discussion if appropriate

Minimal example showing the issue

\documentclass[12pt,a4paper]{article}

\usepackage{natbib}
\usepackage[pdfusetitle]{hyperref}
\usepackage{xepersian}
\settextfont[
Script=Arabic,
ItalicFont=Nazli,
ItalicFeatures={FakeSlant=0.25},
]{Nazli}
\setlatintextfont{Liberation Serif}
\begin{document}
	سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام
	\cite{Staniforth2012Horizontal}
	سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام سلام
\bibliographystyle{chicago-fa}
\bibliography{main}

\end{document}

main.bib

@Article{Staniforth2012Horizontal,
  author    = {Staniforth, Andrew and Thuburn, John},
  title     = {Horizontal grids for global weather and climate prediction models: a review},
  journal   = {Quarterly Journal of the Royal Meteorological Society},
  year      = {2012},
  volume    = {138},
  number    = {662},
  pages     = {1-26},
  authorfa  = { استنیفورث and توبرن },
  doi       = {10.1002/qj.958},
  eprint    = {https://rmets.onlinelibrary.wiley.com/doi/pdf/10.1002/qj.958},
}

Expected behavior

Log and PDF files

@vafakhalighi vafakhalighi added the bug Something isn't working label May 14, 2020
@vafakhalighi vafakhalighi self-assigned this May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine special whatsit
Projects
None yet
Development

No branches or pull requests

1 participant