-
Notifications
You must be signed in to change notification settings - Fork 8
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
Hyphen not showing between page range, and words #80
Comments
Can your provide a small piece of LaTeX code to help me reproduce the bug?
The correct delimiter in this case should be an en dash rather than a hyphen (see https://en.wikipedia.org/wiki/Dash#Relationships_and_connections and https://en.wikipedia.org/wiki/Black%E2%80%93Scholes_model). |
I realized that \usepackage[T1]{fontenc} is causing the omission of
apostrophe and en dash in the bibliography. If I remove it, the
citation-style-language package works normally but bold fonts are lost
throughout the document. Can you suggest an alternative to T1 font for
Lualatex that will retain bold fonts in the rest of the document?
Thanks.
…On Sat, Oct 12, 2024 at 10:39 AM Zeping Lee ***@***.***> wrote:
The hyphen between page range is not showing after running lualatex. For
example 123-125 is shown as 123125.
Can your provide a small piece of LaTeX code to help me reproduce the bug?
Also hyphen is omitted in compound words e.g Black-Scholes is shown as
BlackScholes in texstudio.
The correct delimiter in this case should be an en dash rather than a
hyphen (see
https://en.wikipedia.org/wiki/Dash#Relationships_and_connections and
https://en.wikipedia.org/wiki/Black%E2%80%93Scholes_model).
—
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK4NBY4BYHDHSCN7EHWHXCLZ3DN5NAVCNFSM6AAAAABPY66Q2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGQ3DAMJUGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I can reproduce this problem with the following example. \documentclass{article}
\begin{filecontents}[noheader, overwrite]{\jobname.json}
[
{
"id": "ITEM-1",
"type": "article-journal",
"author": [
{
"family": "Doe",
"given": "John"
}
],
"title": "Title",
"issued": {
"date-parts": [
[
2000
]
]
},
"container-title": "Journal title",
"volume": "1",
"issue": "2",
"page": "123-125"
}
]
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[style=apa]{citation-style-language}
\addbibresource{\jobname.json}
\begin{document}
123--125, 123–125\par
\textbf{123--125, 123–125}\par
\cite{ITEM-1}\par
\printbibliography
\end{document}
I can't reproduce this after removing
I've found the following discussions but I've not fully understood the font encoding problem here. In general it's not recommend to use |
It seems the error was caused by the mathptmx package. |
I suggest posting the problem in https://tex.stackexchange.com/. |
The hyphen between page range is not showing after running lualatex. For example 123-125 is shown as 123125. Also hyphen is omitted in compound words e.g Black-Scholes is shown as BlackScholes in texstudio.
Additional information
citation-style-language
version: [e.g. v0.6.5pdflatex
/xelatex
/lualatex
]The text was updated successfully, but these errors were encountered: