pdflatex, breakurl and unicode characters The 2019 Stack Overflow Developer Survey Results Are...
Can withdrawing asylum be illegal?
Can we generate random numbers using irrational numbers like π and e?
Is 'stolen' appropriate word?
Word to describe a time interval
Can each chord in a progression create its own key?
Variable with quotation marks "$()"
Are spiders unable to hurt humans, especially very small spiders?
should truth entail possible truth
Circular reasoning in L'Hopital's rule
"... to apply for a visa" or "... and applied for a visa"?
Didn't get enough time to take a Coding Test - what to do now?
How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time
Is this wall load bearing? Blueprints and photos attached
How did passengers keep warm on sail ships?
Does Parliament hold absolute power in the UK?
Can the DM override racial traits?
60's-70's movie: home appliances revolting against the owners
What aspect of planet Earth must be changed to prevent the industrial revolution?
different output for groups and groups USERNAME after adding a username to a group
Huge performance difference of the command find with and without using %M option to show permissions
Example of compact Riemannian manifold with only one geodesic.
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Can I visit the Trinity College (Cambridge) library and see some of their rare books
Loose spokes after only a few rides
pdflatex, breakurl and unicode characters
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Do we need more moderators?TeXLive/PDFTeX fonts loading problemUnicode emoticons with pdflatexUnicode characters in pdflatex output using hexcode without UTF-8 inputUnicode characters in LaTeX, getting errorsPdflatex is not printing unicode charactersArsclassica (pdflatex-dependent) and unicode symbolsinserting a single unicode character with pdflatexUnicode characters in LaTeX2eUnicode with PdfLaTeX@footnotetext error for special characters
I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.
My best result is presented by this minimal working example:
documentclass{article}
usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}
begin{document}
url{detokenize{http://coração.net}}
end{document}
The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).
Suggestions are welcome.
pdftex unicode urls
bumped to the homepage by Community♦ 25 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 1 more comment
I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.
My best result is presented by this minimal working example:
documentclass{article}
usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}
begin{document}
url{detokenize{http://coração.net}}
end{document}
The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).
Suggestions are welcome.
pdftex unicode urls
bumped to the homepage by Community♦ 25 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
detokenize
will completely break pdflatex's handling of utf-8.
– David Carlisle
Dec 18 '17 at 16:20
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to loadurl
if you loadhyperref
.
– Skillmon
Dec 18 '17 at 16:33
7
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
3
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41
|
show 1 more comment
I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.
My best result is presented by this minimal working example:
documentclass{article}
usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}
begin{document}
url{detokenize{http://coração.net}}
end{document}
The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).
Suggestions are welcome.
pdftex unicode urls
I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.
My best result is presented by this minimal working example:
documentclass{article}
usepackage[utf8x]{inputenc}
usepackage{hyperref}
usepackage{url}
begin{document}
url{detokenize{http://coração.net}}
end{document}
The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).
Suggestions are welcome.
pdftex unicode urls
pdftex unicode urls
asked Dec 18 '17 at 16:12
AlbertoAlberto
306112
306112
bumped to the homepage by Community♦ 25 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 25 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
detokenize
will completely break pdflatex's handling of utf-8.
– David Carlisle
Dec 18 '17 at 16:20
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to loadurl
if you loadhyperref
.
– Skillmon
Dec 18 '17 at 16:33
7
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
3
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41
|
show 1 more comment
detokenize
will completely break pdflatex's handling of utf-8.
– David Carlisle
Dec 18 '17 at 16:20
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to loadurl
if you loadhyperref
.
– Skillmon
Dec 18 '17 at 16:33
7
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
3
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41
detokenize
will completely break pdflatex's handling of utf-8.– David Carlisle
Dec 18 '17 at 16:20
detokenize
will completely break pdflatex's handling of utf-8.– David Carlisle
Dec 18 '17 at 16:20
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load
url
if you load hyperref
.– Skillmon
Dec 18 '17 at 16:33
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load
url
if you load hyperref
.– Skillmon
Dec 18 '17 at 16:33
7
7
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
3
3
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41
|
show 1 more comment
1 Answer
1
active
oldest
votes
The following code works with xelatex:
documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
add a comment |
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%2f406762%2fpdflatex-breakurl-and-unicode-characters%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The following code works with xelatex:
documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
add a comment |
The following code works with xelatex:
documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
add a comment |
The following code works with xelatex:
documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}
The following code works with xelatex:
documentclass{article}
usepackage{fontspec,hyperref}
begin{document}
url{http://coração.net}
end{document}
answered Dec 18 '17 at 17:12
user91669
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
add a comment |
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
2
2
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
Yep, unfortunately I needed to use pdflatex.
– Alberto
Dec 18 '17 at 17:23
add a comment |
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%2f406762%2fpdflatex-breakurl-and-unicode-characters%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
detokenize
will completely break pdflatex's handling of utf-8.– David Carlisle
Dec 18 '17 at 16:20
Sure, but removing it doesn't help too.
– Alberto
Dec 18 '17 at 16:26
Why do you need that? I don't think url with non-ascii characters are supported anywhere (feel free to correct me about this). Also there is no need to load
url
if you loadhyperref
.– Skillmon
Dec 18 '17 at 16:33
7
href{detokenize{http://coração.net}}{texttt{http://coração.net}}
– user91669
Dec 18 '17 at 16:36
3
@Skillmon unfortunately unicode domains are out there, and they are a big danger for phishing, as there are ways to make similar looking urls pointing to different places. Look here: wordfence.com/blog/2017/04/chrome-firefox-unicode-phishing
– Alberto
Dec 18 '17 at 16:41