ℕ goes as N into the text layer?How to insert a specific unicode character (such as the ZWNJ symbol) into...
It took me a lot of time to make this, pls like. (YouTube Comments #1)
Blindfold battle as a gladiatorial spectacle - what are the tactics and communication methods?
How to deal with an incendiary email that was recalled
Injecting creativity into a cookbook
Why exactly do action photographers need high fps burst cameras?
If I delete my router's history can my ISP still provide it to my parents?
Who is this Ant Woman character in this image alongside the Wasp?
Can we use the stored gravitational potential energy of a building to produce power?
Am I a Rude Number?
Writing a character who is going through a civilizing process without overdoing it?
Can I string the D&D Starter Set campaign into another module, keeping the same characters?
If I deleted a game I lost the disc for, can I reinstall it digitally?
Can a person refuse a presidential pardon?
How much mayhem could I cause as a sentient fish?
Caruana vs Carlsen game 10 (WCC) why not 18...Nxb6?
What are "industrial chops"?
CREATE ASSEMBLY System.DirectoryServices.AccountManagement.dll without enabling TRUSTWORTHY
Are there any modern advantages of a fire piston?
Advice for a new journal editor
Why is mind meld hard for T'pol in Star Trek: Enterprise?
What is the purpose of easy combat scenarios that don't need resource expenditure?
Why do stocks necessarily drop during a recession?
Would a National Army of mercenaries be a feasible idea?
How can I deliver in-universe written lore to players without it being dry exposition?
ℕ goes as N into the text layer?
How to insert a specific unicode character (such as the ZWNJ symbol) into the text stream via lua code compiled by Lua(La)TeX?Using different text and math fonts with unicode-mathHow to insert unicode text in IEEE paper?Why is the fraction off the math axis in XeTeX?LuaTeX 0.95 “incorrect math kerning”Converting LaTeX into Unicode for email, social media, source file comment, and so onCompile Latex matrix into plain unicodeunicode math font smaller than the textHow to use the extended arrows in unicode-mathxetex – Text goes beyond the margin
Let's compile the following code with {xe|lua}atex:
documentclass{standalone}% or article, doesn't matter
usepackage{unicode-math}
setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, doesn't matter
begin{document}
(ℕ)
end{document}
Upon viewing the result of compilation
(as PDF) in evince
, we select the single letter, copy it and paste it into some UTF8-capable text editor such as gedit
or emacs
. What we get is N, not ℕ. But http://www.gust.org.pl/projects/e-foundry/tg-math/gust_e-foundry-math_fonts-presentation.pdf does mention ℕ as a letterlike symbol, so, I'd expect to get ℕ! Why does it happen? How to get ℕ in the PDF text layer?
EDIT: Reported to evince as https://gitlab.gnome.org/GNOME/evince/issues/1085 . Also cf. https://gitlab.freedesktop.org/poppler/poppler/issues/724 . Let's keep the question open until we are 100% sure that the PDF file produced complies with a PDF specification.
xetex luatex unicode unicode-math tex-gyre-math
|
show 10 more comments
Let's compile the following code with {xe|lua}atex:
documentclass{standalone}% or article, doesn't matter
usepackage{unicode-math}
setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, doesn't matter
begin{document}
(ℕ)
end{document}
Upon viewing the result of compilation
(as PDF) in evince
, we select the single letter, copy it and paste it into some UTF8-capable text editor such as gedit
or emacs
. What we get is N, not ℕ. But http://www.gust.org.pl/projects/e-foundry/tg-math/gust_e-foundry-math_fonts-presentation.pdf does mention ℕ as a letterlike symbol, so, I'd expect to get ℕ! Why does it happen? How to get ℕ in the PDF text layer?
EDIT: Reported to evince as https://gitlab.gnome.org/GNOME/evince/issues/1085 . Also cf. https://gitlab.freedesktop.org/poppler/poppler/issues/724 . Let's keep the question open until we are 100% sure that the PDF file produced complies with a PDF specification.
xetex luatex unicode unicode-math tex-gyre-math
1
When I runpdftotext
on the resulting PDF to extract the actual textual representation I getℕ
.
– Henri Menke
Feb 19 at 0:52
2
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copyN
, whereas Foxit correctly copiesℕ
.
– Henri Menke
Feb 19 at 0:55
6
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
1
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
1
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03
|
show 10 more comments
Let's compile the following code with {xe|lua}atex:
documentclass{standalone}% or article, doesn't matter
usepackage{unicode-math}
setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, doesn't matter
begin{document}
(ℕ)
end{document}
Upon viewing the result of compilation
(as PDF) in evince
, we select the single letter, copy it and paste it into some UTF8-capable text editor such as gedit
or emacs
. What we get is N, not ℕ. But http://www.gust.org.pl/projects/e-foundry/tg-math/gust_e-foundry-math_fonts-presentation.pdf does mention ℕ as a letterlike symbol, so, I'd expect to get ℕ! Why does it happen? How to get ℕ in the PDF text layer?
EDIT: Reported to evince as https://gitlab.gnome.org/GNOME/evince/issues/1085 . Also cf. https://gitlab.freedesktop.org/poppler/poppler/issues/724 . Let's keep the question open until we are 100% sure that the PDF file produced complies with a PDF specification.
xetex luatex unicode unicode-math tex-gyre-math
Let's compile the following code with {xe|lua}atex:
documentclass{standalone}% or article, doesn't matter
usepackage{unicode-math}
setmathfont{TeX Gyre Termes Math}%% or TeX Gyre Pagella Math, doesn't matter
begin{document}
(ℕ)
end{document}
Upon viewing the result of compilation
(as PDF) in evince
, we select the single letter, copy it and paste it into some UTF8-capable text editor such as gedit
or emacs
. What we get is N, not ℕ. But http://www.gust.org.pl/projects/e-foundry/tg-math/gust_e-foundry-math_fonts-presentation.pdf does mention ℕ as a letterlike symbol, so, I'd expect to get ℕ! Why does it happen? How to get ℕ in the PDF text layer?
EDIT: Reported to evince as https://gitlab.gnome.org/GNOME/evince/issues/1085 . Also cf. https://gitlab.freedesktop.org/poppler/poppler/issues/724 . Let's keep the question open until we are 100% sure that the PDF file produced complies with a PDF specification.
xetex luatex unicode unicode-math tex-gyre-math
xetex luatex unicode unicode-math tex-gyre-math
edited Feb 23 at 23:21
user0
asked Feb 19 at 0:44
user0user0
58421
58421
1
When I runpdftotext
on the resulting PDF to extract the actual textual representation I getℕ
.
– Henri Menke
Feb 19 at 0:52
2
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copyN
, whereas Foxit correctly copiesℕ
.
– Henri Menke
Feb 19 at 0:55
6
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
1
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
1
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03
|
show 10 more comments
1
When I runpdftotext
on the resulting PDF to extract the actual textual representation I getℕ
.
– Henri Menke
Feb 19 at 0:52
2
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copyN
, whereas Foxit correctly copiesℕ
.
– Henri Menke
Feb 19 at 0:55
6
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
1
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
1
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03
1
1
When I run
pdftotext
on the resulting PDF to extract the actual textual representation I get ℕ
.– Henri Menke
Feb 19 at 0:52
When I run
pdftotext
on the resulting PDF to extract the actual textual representation I get ℕ
.– Henri Menke
Feb 19 at 0:52
2
2
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copy
N
, whereas Foxit correctly copies ℕ
.– Henri Menke
Feb 19 at 0:55
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copy
N
, whereas Foxit correctly copies ℕ
.– Henri Menke
Feb 19 at 0:55
6
6
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
1
1
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
1
1
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03
|
show 10 more comments
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f475585%2f%25e2%2584%2595-goes-as-n-into-the-text-layer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f475585%2f%25e2%2584%2595-goes-as-n-into-the-text-layer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
When I run
pdftotext
on the resulting PDF to extract the actual textual representation I getℕ
.– Henri Menke
Feb 19 at 0:52
2
@user0 Yes, it's a viewer issue. I just verified it using Evince, Okular, and Foxit. Evince and Okular only copy
N
, whereas Foxit correctly copiesℕ
.– Henri Menke
Feb 19 at 0:55
6
Voting to close my own question: it turned out to be not TeX-related.
– user0
Feb 19 at 0:57
1
@user0 I also had a look at the uncompressed PDF and found the encoded glyph U+2115 which is DOUBLE-STRUCK CAPITAL N.
– Henri Menke
Feb 19 at 0:58
1
@HenriMenke Thx! Moreover, I found no N in the uncompressed steam that could possibly confuse evince.
– user0
Feb 19 at 1:03