CWEB, Plain TeX: how to switch from cmr8 to another font that supports foreign language characters?How to...
Why does a car's steering wheel get lighter with increasing speed
Is this Paypal Github SDK reference really a dangerous site?
What exactly is the meaning of "fine wine"?
3.5% Interest Student Loan or use all of my savings on Tuition?
Why would /etc/passwd be used every time someone executes `ls -l` command?
What can I do if someone tampers with my SSH public key?
How do you make a gun that shoots melee weapons and/or swords?
Averaging over columns while ignoring zero entries
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Does the US political system, in principle, allow for a no-party system?
Why isn't P and P/poly trivially the same?
Tabular environment - text vertically positions itself by bottom of tikz picture in adjacent cell
Did Amazon pay $0 in taxes last year?
Does an unused member variable take up memory?
Vector-transposing function
PTIJ: Sport in the Torah
Is there a math expression equivalent to the conditional ternary operator?
Why aren't there more Gauls like Obelix?
How spaceships determine each other's mass in space?
What is the purpose of a disclaimer like "this is not legal advice"?
Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?
How to distinguish easily different soldier of ww2?
Do I need a return ticket to Canada if I'm a Japanese National?
Short story about cities being connected by a conveyor belt
CWEB, Plain TeX: how to switch from cmr8 to another font that supports foreign language characters?
How to input accents in PlainTeX with UTF-8 encoding?How do I enter Unicode characters in TeX?Can I assume that the ht+dp of a strutbox == baselineskip?Monospaced font with U+1D400..U+1D7FF range (for editing)?Glyphs from font not displayedIs it possible to convert utf8 IPA chars of different foreign languages to pdf?How can I extract a character code (code point) from a character slot in a given font? [XeTeX]How to type Unicode in plain TeXDisplaying Arbitrary Unicode Characters under Plain TeX with pdfTeXSubstitute missing fonts in ConTeXtHow do I type script characters in plain TeX?
I'm using egreg's code to use UTF-8 in Plain TeX so I can use Donald Knuth and Silvio Levy's CWEB. However, not every TeX font supports foreign language characters such as "{y} or ç or ã.
So this code...
input cwebmac
input utfplainmac
input plain-t1
N{1}{1} Introdução. Lorem ipsum dolor...
... produces this result:
The problem is shown by the log file:
Missing character: There is no ç in font cmr8!
Missing character: There is no ã in font cmr8!
How could I switch cmr8 to another font that does have these characters?
unicode plain-tex cweb
add a comment |
I'm using egreg's code to use UTF-8 in Plain TeX so I can use Donald Knuth and Silvio Levy's CWEB. However, not every TeX font supports foreign language characters such as "{y} or ç or ã.
So this code...
input cwebmac
input utfplainmac
input plain-t1
N{1}{1} Introdução. Lorem ipsum dolor...
... produces this result:
The problem is shown by the log file:
Missing character: There is no ç in font cmr8!
Missing character: There is no ã in font cmr8!
How could I switch cmr8 to another font that does have these characters?
unicode plain-tex cweb
1
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away fromcmr8
. (I think this may be something about uppercase... haven't looked deeply.)
– ShreevatsaR
Feb 20 at 16:34
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36
add a comment |
I'm using egreg's code to use UTF-8 in Plain TeX so I can use Donald Knuth and Silvio Levy's CWEB. However, not every TeX font supports foreign language characters such as "{y} or ç or ã.
So this code...
input cwebmac
input utfplainmac
input plain-t1
N{1}{1} Introdução. Lorem ipsum dolor...
... produces this result:
The problem is shown by the log file:
Missing character: There is no ç in font cmr8!
Missing character: There is no ã in font cmr8!
How could I switch cmr8 to another font that does have these characters?
unicode plain-tex cweb
I'm using egreg's code to use UTF-8 in Plain TeX so I can use Donald Knuth and Silvio Levy's CWEB. However, not every TeX font supports foreign language characters such as "{y} or ç or ã.
So this code...
input cwebmac
input utfplainmac
input plain-t1
N{1}{1} Introdução. Lorem ipsum dolor...
... produces this result:
The problem is shown by the log file:
Missing character: There is no ç in font cmr8!
Missing character: There is no ã in font cmr8!
How could I switch cmr8 to another font that does have these characters?
unicode plain-tex cweb
unicode plain-tex cweb
edited Feb 20 at 12:56
Joep Awinita
asked Feb 19 at 23:41
Joep AwinitaJoep Awinita
1546
1546
1
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away fromcmr8
. (I think this may be something about uppercase... haven't looked deeply.)
– ShreevatsaR
Feb 20 at 16:34
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36
add a comment |
1
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away fromcmr8
. (I think this may be something about uppercase... haven't looked deeply.)
– ShreevatsaR
Feb 20 at 16:34
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36
1
1
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away from
cmr8
. (I think this may be something about uppercase... haven't looked deeply.)– ShreevatsaR
Feb 20 at 16:34
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away from
cmr8
. (I think this may be something about uppercase... haven't looked deeply.)– ShreevatsaR
Feb 20 at 16:34
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36
add a comment |
3 Answers
3
active
oldest
votes
You have to define a suitable font for eightrm
, but also setup some uppercase conversions; here I define only those necessary for the examples.
There was also an unfortunate typo in utfplainmac.tex
, with c{A}
instead of the correct c{C}
. Fix it in the file.
input cwebmac
input utfplainmac
input plain-t1
fonteightrm=ecrm0800
uccode"A7="87 % ç is <C3><A7>, Ç is <C3><87>
uccode"A3="83 % ã is <C3><A3>, Ã is <C3><83>
N{1}{1} Introdução. Lorem ipsum dolor...
bye
add a comment |
Add to limbo:
fonteightrm=<your font>
add a comment |
THere is an alternative using pdfcsplain:
input cwebmac
input utf8lat1
input lmfonts
N{1}{1} Introdução. Lorem ipsum dolor...
end
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%2f475749%2fcweb-plain-tex-how-to-switch-from-cmr8-to-another-font-that-supports-foreign-l%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to define a suitable font for eightrm
, but also setup some uppercase conversions; here I define only those necessary for the examples.
There was also an unfortunate typo in utfplainmac.tex
, with c{A}
instead of the correct c{C}
. Fix it in the file.
input cwebmac
input utfplainmac
input plain-t1
fonteightrm=ecrm0800
uccode"A7="87 % ç is <C3><A7>, Ç is <C3><87>
uccode"A3="83 % ã is <C3><A3>, Ã is <C3><83>
N{1}{1} Introdução. Lorem ipsum dolor...
bye
add a comment |
You have to define a suitable font for eightrm
, but also setup some uppercase conversions; here I define only those necessary for the examples.
There was also an unfortunate typo in utfplainmac.tex
, with c{A}
instead of the correct c{C}
. Fix it in the file.
input cwebmac
input utfplainmac
input plain-t1
fonteightrm=ecrm0800
uccode"A7="87 % ç is <C3><A7>, Ç is <C3><87>
uccode"A3="83 % ã is <C3><A3>, Ã is <C3><83>
N{1}{1} Introdução. Lorem ipsum dolor...
bye
add a comment |
You have to define a suitable font for eightrm
, but also setup some uppercase conversions; here I define only those necessary for the examples.
There was also an unfortunate typo in utfplainmac.tex
, with c{A}
instead of the correct c{C}
. Fix it in the file.
input cwebmac
input utfplainmac
input plain-t1
fonteightrm=ecrm0800
uccode"A7="87 % ç is <C3><A7>, Ç is <C3><87>
uccode"A3="83 % ã is <C3><A3>, Ã is <C3><83>
N{1}{1} Introdução. Lorem ipsum dolor...
bye
You have to define a suitable font for eightrm
, but also setup some uppercase conversions; here I define only those necessary for the examples.
There was also an unfortunate typo in utfplainmac.tex
, with c{A}
instead of the correct c{C}
. Fix it in the file.
input cwebmac
input utfplainmac
input plain-t1
fonteightrm=ecrm0800
uccode"A7="87 % ç is <C3><A7>, Ç is <C3><87>
uccode"A3="83 % ã is <C3><A3>, Ã is <C3><83>
N{1}{1} Introdução. Lorem ipsum dolor...
bye
answered Feb 22 at 21:37
egregegreg
725k8819183224
725k8819183224
add a comment |
add a comment |
Add to limbo:
fonteightrm=<your font>
add a comment |
Add to limbo:
fonteightrm=<your font>
add a comment |
Add to limbo:
fonteightrm=<your font>
Add to limbo:
fonteightrm=<your font>
answered Feb 21 at 1:07
Igor LiferenkoIgor Liferenko
2,110829
2,110829
add a comment |
add a comment |
THere is an alternative using pdfcsplain:
input cwebmac
input utf8lat1
input lmfonts
N{1}{1} Introdução. Lorem ipsum dolor...
end
add a comment |
THere is an alternative using pdfcsplain:
input cwebmac
input utf8lat1
input lmfonts
N{1}{1} Introdução. Lorem ipsum dolor...
end
add a comment |
THere is an alternative using pdfcsplain:
input cwebmac
input utf8lat1
input lmfonts
N{1}{1} Introdução. Lorem ipsum dolor...
end
THere is an alternative using pdfcsplain:
input cwebmac
input utf8lat1
input lmfonts
N{1}{1} Introdução. Lorem ipsum dolor...
end
answered 8 mins ago
wipetwipet
35.2k4983
35.2k4983
add a comment |
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%2f475749%2fcweb-plain-tex-how-to-switch-from-cmr8-to-another-font-that-supports-foreign-l%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
You could try pinging @egreg on that answer so that this gets his attention — there may be a solution without switching away from
cmr8
. (I think this may be something about uppercase... haven't looked deeply.)– ShreevatsaR
Feb 20 at 16:34
Also, CWEB redefines a bunch of things, and has some strict rules about what can go inside section names... this may be violating some of that. (Have you considered using XeTeX / LuaTeX instead of the above?)
– ShreevatsaR
Feb 21 at 0:36