CWEB, Plain TeX: how to switch from cmr8 to another font that supports foreign language characters?How to...

How to install "rounded" brake pads

Does an unused member variable take up memory?

3.5% Interest Student Loan or use all of my savings on Tuition?

What is the oldest European royal house?

Having the player face themselves after the mid-game

Why is there an extra space when I type "ls" on the Desktop?

Will the concrete slab in a partially heated shed conduct a lot of heat to the unconditioned area?

If nine coins are tossed, what is the probability that the number of heads is even?

Insult for someone who "doesn't know anything"

Is this Paypal Github SDK reference really a dangerous site?

Was it really inappropriate to write a pull request for the company I interviewed with?

Is it a Cyclops number? "Nobody" knows!

What is the orbit and expected lifetime of Crew Dragon trunk?

How to educate team mate to take screenshots for bugs with out unwanted stuff

A running toilet that stops itself

School performs periodic password audits. Is my password compromised?

Should I apply for my boss's promotion?

Rationale to prefer local variables over instance variables?

Can I negotiate a patent idea for a raise, under French law?

I am the person who abides by rules but breaks the rules . Who am I

After Brexit, will the EU recognize British passports that are valid for more than ten years?

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

What does *dead* mean in *What do you mean, dead?*?

What is better: yes / no radio, or simple checkbox?



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?













4















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:



enter image description here



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?










share|improve this question




















  • 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
















4















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:



enter image description here



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?










share|improve this question




















  • 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














4












4








4








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:



enter image description here



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?










share|improve this question
















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:



enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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














  • 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








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










3 Answers
3






active

oldest

votes


















2














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


enter image description here






share|improve this answer































    1














    Add to limbo:



    fonteightrm=<your font>





    share|improve this answer































      0














      THere is an alternative using pdfcsplain:



      input cwebmac
      input utf8lat1
      input lmfonts

      N{1}{1} Introdução. Lorem ipsum dolor...

      end




      share























        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
        });


        }
        });














        draft saved

        draft discarded


















        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









        2














        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


        enter image description here






        share|improve this answer




























          2














          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


          enter image description here






          share|improve this answer


























            2












            2








            2







            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


            enter image description here






            share|improve this answer













            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


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 22 at 21:37









            egregegreg

            725k8819183224




            725k8819183224























                1














                Add to limbo:



                fonteightrm=<your font>





                share|improve this answer




























                  1














                  Add to limbo:



                  fonteightrm=<your font>





                  share|improve this answer


























                    1












                    1








                    1







                    Add to limbo:



                    fonteightrm=<your font>





                    share|improve this answer













                    Add to limbo:



                    fonteightrm=<your font>






                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 21 at 1:07









                    Igor LiferenkoIgor Liferenko

                    2,110829




                    2,110829























                        0














                        THere is an alternative using pdfcsplain:



                        input cwebmac
                        input utf8lat1
                        input lmfonts

                        N{1}{1} Introdução. Lorem ipsum dolor...

                        end




                        share




























                          0














                          THere is an alternative using pdfcsplain:



                          input cwebmac
                          input utf8lat1
                          input lmfonts

                          N{1}{1} Introdução. Lorem ipsum dolor...

                          end




                          share


























                            0












                            0








                            0







                            THere is an alternative using pdfcsplain:



                            input cwebmac
                            input utf8lat1
                            input lmfonts

                            N{1}{1} Introdução. Lorem ipsum dolor...

                            end




                            share













                            THere is an alternative using pdfcsplain:



                            input cwebmac
                            input utf8lat1
                            input lmfonts

                            N{1}{1} Introdução. Lorem ipsum dolor...

                            end





                            share











                            share


                            share










                            answered 19 secs ago









                            wipetwipet

                            35.2k4983




                            35.2k4983






























                                draft saved

                                draft discarded




















































                                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.




                                draft saved


                                draft discarded














                                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





















































                                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







                                Popular posts from this blog

                                Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

                                Schneeberg (Smreczany) Bibliografia | Menu...

                                Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...