Closed TheJoffrey closed 1 year ago
The standard single and double quotes in IBM Plex Mono are straight forms. Not sure what is the culprit in your case, but it is not the font.
The issue doesn't occur when importing the font locally or using other fonts. Please try this code, I think you will understand:
\documentclass{article}
\usepackage{plex-mono}
\begin{document}
\begin{verbatim}
"My citation"
\end{verbatim}
\end{document}
You can compare it to the Google Font here.
@TheJoffrey In all TeX variations "
will be replaced with ”
per default. https://en.wikibooks.org/wiki/LaTeX/Text_Formatting#Quote-marks
You will need to find a solution to instead produce the straight quotes, which depends on whether you are using LaTeX, XeLaTex, or LuaTeX, and on which packages you are using. This question is best placed in a TeX-centric forum like, e.g., https://tex.stackexchange.com/, since it has nothing to do with the font you are using, and thus is not a Plex problem.
As I said it only happens using the plex-mono package, and not when importing font using fontspec. So it does look like a Plex package issue.
De : Adrian Kulisch @.> Envoyé : Friday, March 17, 2023 12:24:52 PM À : IBM/plex @.> Cc : Joffrey Viémon @.>; Mention @.> Objet : Re: [IBM/plex] Quotation marks in plex-mono (Issue #514)
@TheJoffreyhttps://github.com/TheJoffrey In all TeX variations " will be replaced with ” per default. https://en.wikibooks.org/wiki/LaTeX/Text_Formatting#Quote-marks
You will need to find a solution to instead produce the straight quotes, which depends on whether you are using LaTeX, XeLaTex, or LuaTeX, and on which packages you are using. This question is best placed in a TeX-centric forum like, e.g., https://tex.stackexchange.com/, since it has nothing to do with the font you are using, and thus is not a Plex problem.
— Reply to this email directly, view it on GitHubhttps://github.com/IBM/plex/issues/514#issuecomment-1473688751, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXYJ6Y64JP4Q23ECIGFX3Q3W4RCYJANCNFSM6AAAAAAV32YRX4. You are receiving this because you were mentioned.Message ID: @.***>
@TheJoffrey What plex-mono package are you referring you? And what is fontspec? Are you using the Plex Mono fonts from this repository?
As @akulisch already noted: your problem might be somewhere downstream.
Please explain as elaborately as possible your use case, the environment you’re using (OS, applications, etc.) and how you are accessing the fonts in question. Thanks!
As I said it only happens using the plex-mono package, and not when importing font using fontspec. So it does look like a Plex package issue.
I am using the plex-mono package. I compared the result with the fontspec package that allows the user to redefine fonts with XeLateX compiler. I've got the same issue locally (macOS, Texifier or MacTex) and on Overleaf.
Envoyé à partir de Outlook pour iOShttps://aka.ms/o0ukef
De : Paul van der Laan @.> Envoyé : Saturday, March 18, 2023 1:46:14 PM À : IBM/plex @.> Cc : Joffrey Viémon @.>; Mention @.> Objet : Re: [IBM/plex] Quotation marks in plex-mono (Issue #514)
@TheJoffreyhttps://github.com/TheJoffrey What plex-mono package are you referring you? And what is fontspec? Are you using the Plex Mono fonts from this repository? As @akulischhttps://github.com/akulisch already noted: your problem might be somewhere downstream.
Please explain as elaborately as possible your use case, the environment you’re using (OS, applications, etc.) and how you are accessing the fonts in question. Thanks!
As I said it only happens using the plex-mono package, and not when importing font using fontspec. So it does look like a Plex package issue.
— Reply to this email directly, view it on GitHubhttps://github.com/IBM/plex/issues/514#issuecomment-1474841355, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXYJ6Y655RQRK7K4GRB3KD3W4WVBNANCNFSM6AAAAAAV32YRX4. You are receiving this because you were mentioned.Message ID: @.***>
@TheJoffrey This is still not specific enough to understand the issue I’m afraid. We are font developers, not package managers or LateX users. Please describe step by step – and as elaborate as possible – how to replicate the problem you’re describing.
A search for \usepackage{plex-mono}
led me to the following repository:
https://ctan.org/tex-archive/fonts/plex (Note that this is not an IBM affiliated repository.)
The README of that repository contains the following:
This is the README for the plex package, version 2022-09-23.
[...]
The nomap option to plex-mono will suppress the tex-text
mapping of TeX "smart quotes" and other ligatures into
unicode glyphs for xeLaTeX and luaLaTeX.
[...]
There is the answer to this issue.
On the CTAN page, the bug tracker page is this one, so I thought you were the developers of the LaTeX package, now I understand this is not the case and I am sorry about this.
Thank you for your help and for your incredible job on this very beautiful font!
De : Paul van der Laan @.> Envoyé : Monday, March 20, 2023 4:22:39 PM À : IBM/plex @.> Cc : Joffrey Viémon @.>; Mention @.> Objet : Re: [IBM/plex] Quotation marks in plex-mono (Issue #514)
A search for \usepackage{plex-mono} led me to the following repository: https://ctan.org/tex-archive/fonts/plex (Note that this is not an IBM affiliated repository.)
The README of that repository contains the following:
This is the README for the plex package, version 2022-09-23.
[...]
The nomap option to plex-mono will suppress the tex-text mapping of TeX "smart quotes" and other ligatures into unicode glyphs for xeLaTeX and luaLaTeX.
[...]
There is the answer to this issue.
— Reply to this email directly, view it on GitHubhttps://github.com/IBM/plex/issues/514#issuecomment-1476433145, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXYJ6Y55RPHSETOF4YLWDX3W5BY37ANCNFSM6AAAAAAV32YRX4. You are receiving this because you were mentioned.Message ID: @.***>
Hello, quotation marks using Plex Mono are the following:
They should be:
Very annoying when using for code. Thank you!