How to remove (or at least suppress) “fontmap entry for already exists” warnings











up vote
0
down vote

favorite












Background



I cannot seem to find a solution that works and sufficiently explains what I need to do.



I do not use Latex much, so please explain as if I don't know how Latex works, because that's mostly true.



When I build a Latex file (using TeXStudio to generate PDFs, but I've also used other Tex IDEs), a gigantic log file is always created. The logfile itself is > 5 MB!!



The reason for this is a myriad of warnings captured in the log file like this (I have a Mac, if it matters):



/Library/TeX/texbin/pdflatex (file /usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `ts1-zi4nr' already exists, duplicates ignored


Duplicates are ignored, the document compiles, but these warnings are so tiresome and tedious.



Attempts to Date



So, I looked into updmap and ran



updmap-user --listmaps


There are many maps (approx. 200), but they are all located in one file:



/usr/local/texlive/2018/texmf-dist/web2c/updmap.cfg


So I cannot delete that file, obviously, since it contains all the fonts.





After first trying to find an easy way to suppress all errors, and ineffectively using hbadness=10000 to suppress them, I've just tried to ignore these senseless errors for months. But it slows down any progress I need to do any time I need to go back and touch Latex.



Please help, as I'm about to give up on Latex and go back to RevealJS, which cannot really do the job as well as Latex, for my purposes.










share|improve this question














bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
    – Ulrike Fischer
    Oct 29 at 19:28










  • @UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
    – Mike Williamson
    Oct 29 at 22:52










  • I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
    – Ulrike Fischer
    Oct 29 at 23:20










  • @UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
    – Mike Williamson
    Oct 30 at 21:56










  • Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
    – Ulrike Fischer
    Oct 30 at 22:15















up vote
0
down vote

favorite












Background



I cannot seem to find a solution that works and sufficiently explains what I need to do.



I do not use Latex much, so please explain as if I don't know how Latex works, because that's mostly true.



When I build a Latex file (using TeXStudio to generate PDFs, but I've also used other Tex IDEs), a gigantic log file is always created. The logfile itself is > 5 MB!!



The reason for this is a myriad of warnings captured in the log file like this (I have a Mac, if it matters):



/Library/TeX/texbin/pdflatex (file /usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `ts1-zi4nr' already exists, duplicates ignored


Duplicates are ignored, the document compiles, but these warnings are so tiresome and tedious.



Attempts to Date



So, I looked into updmap and ran



updmap-user --listmaps


There are many maps (approx. 200), but they are all located in one file:



/usr/local/texlive/2018/texmf-dist/web2c/updmap.cfg


So I cannot delete that file, obviously, since it contains all the fonts.





After first trying to find an easy way to suppress all errors, and ineffectively using hbadness=10000 to suppress them, I've just tried to ignore these senseless errors for months. But it slows down any progress I need to do any time I need to go back and touch Latex.



Please help, as I'm about to give up on Latex and go back to RevealJS, which cannot really do the job as well as Latex, for my purposes.










share|improve this question














bumped to the homepage by Community 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
    – Ulrike Fischer
    Oct 29 at 19:28










  • @UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
    – Mike Williamson
    Oct 29 at 22:52










  • I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
    – Ulrike Fischer
    Oct 29 at 23:20










  • @UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
    – Mike Williamson
    Oct 30 at 21:56










  • Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
    – Ulrike Fischer
    Oct 30 at 22:15













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Background



I cannot seem to find a solution that works and sufficiently explains what I need to do.



I do not use Latex much, so please explain as if I don't know how Latex works, because that's mostly true.



When I build a Latex file (using TeXStudio to generate PDFs, but I've also used other Tex IDEs), a gigantic log file is always created. The logfile itself is > 5 MB!!



The reason for this is a myriad of warnings captured in the log file like this (I have a Mac, if it matters):



/Library/TeX/texbin/pdflatex (file /usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `ts1-zi4nr' already exists, duplicates ignored


Duplicates are ignored, the document compiles, but these warnings are so tiresome and tedious.



Attempts to Date



So, I looked into updmap and ran



updmap-user --listmaps


There are many maps (approx. 200), but they are all located in one file:



/usr/local/texlive/2018/texmf-dist/web2c/updmap.cfg


So I cannot delete that file, obviously, since it contains all the fonts.





After first trying to find an easy way to suppress all errors, and ineffectively using hbadness=10000 to suppress them, I've just tried to ignore these senseless errors for months. But it slows down any progress I need to do any time I need to go back and touch Latex.



Please help, as I'm about to give up on Latex and go back to RevealJS, which cannot really do the job as well as Latex, for my purposes.










share|improve this question













Background



I cannot seem to find a solution that works and sufficiently explains what I need to do.



I do not use Latex much, so please explain as if I don't know how Latex works, because that's mostly true.



When I build a Latex file (using TeXStudio to generate PDFs, but I've also used other Tex IDEs), a gigantic log file is always created. The logfile itself is > 5 MB!!



The reason for this is a myriad of warnings captured in the log file like this (I have a Mac, if it matters):



/Library/TeX/texbin/pdflatex (file /usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map): fontmap entry for `ts1-zi4nr' already exists, duplicates ignored


Duplicates are ignored, the document compiles, but these warnings are so tiresome and tedious.



Attempts to Date



So, I looked into updmap and ran



updmap-user --listmaps


There are many maps (approx. 200), but they are all located in one file:



/usr/local/texlive/2018/texmf-dist/web2c/updmap.cfg


So I cannot delete that file, obviously, since it contains all the fonts.





After first trying to find an easy way to suppress all errors, and ineffectively using hbadness=10000 to suppress them, I've just tried to ignore these senseless errors for months. But it slows down any progress I need to do any time I need to go back and touch Latex.



Please help, as I'm about to give up on Latex and go back to RevealJS, which cannot really do the job as well as Latex, for my purposes.







fonts warnings logging






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 29 at 19:16









Mike Williamson

1086




1086





bumped to the homepage by Community 5 hours 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 5 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
    – Ulrike Fischer
    Oct 29 at 19:28










  • @UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
    – Mike Williamson
    Oct 29 at 22:52










  • I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
    – Ulrike Fischer
    Oct 29 at 23:20










  • @UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
    – Mike Williamson
    Oct 30 at 21:56










  • Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
    – Ulrike Fischer
    Oct 30 at 22:15


















  • does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
    – Ulrike Fischer
    Oct 29 at 19:28










  • @UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
    – Mike Williamson
    Oct 29 at 22:52










  • I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
    – Ulrike Fischer
    Oct 29 at 23:20










  • @UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
    – Mike Williamson
    Oct 30 at 21:56










  • Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
    – Ulrike Fischer
    Oct 30 at 22:15
















does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
– Ulrike Fischer
Oct 29 at 19:28




does updmap-sys regenerate the pdftex.map above? If yes, check which cfg-file it loads.
– Ulrike Fischer
Oct 29 at 19:28












@UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
– Mike Williamson
Oct 29 at 22:52




@UlrikeFischer I'm sorry, I just don't know enough about Latex to say. This is why I was asking to please be detailed and clear with instructions. Thanks!
– Mike Williamson
Oct 29 at 22:52












I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
– Ulrike Fischer
Oct 29 at 23:20




I have no mac, I'm on Windows. I can't give you clear instructions. Run updmap-says in a terminal and look what it says.
– Ulrike Fischer
Oct 29 at 23:20












@UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
– Mike Williamson
Oct 30 at 21:56




@UlrikeFischer I don't have updmap-says available, only updmap, updmap-sys, and updmap-user. The help is a few pages long. The options to updmap that seemed most logical to try were --listmaps and --listavailablemaps. Other the others seem to be flags to set things, like --enable <MAPTYPE>. This is why I'm stuck: I can't make heads or tails of the Latex documentation. :( Thanks for your help!
– Mike Williamson
Oct 30 at 21:56












Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
– Ulrike Fischer
Oct 30 at 22:15




Oh come on. Use your brain. Which of the three variants could I have meant if you take possible typos into account? Run it without option to see what it does, which files it reads and which it writes.
– Ulrike Fischer
Oct 30 at 22:15










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I'm not sure how helpful this will be to other users, but the problem was that everything that LaTeX installed had the wrong file permissions.



I needed to go to all of the files installed under /usr/local/texlive/2018 (which was the default location for my Mac OS install) and change them all to be writeable.



It had nothing to do with duplicate files, despite the error that claimed as such.





If anyone else runs into a similar error, be sure to check updmap-sys, or really any updmap command, since they will all point you to where your fonts actually live. Then go ahead and fix all of their permissions.






share|improve this answer





















    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',
    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%2f457405%2fhow-to-remove-or-at-least-suppress-fontmap-entry-for-font-already-exists-w%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








    up vote
    0
    down vote













    I'm not sure how helpful this will be to other users, but the problem was that everything that LaTeX installed had the wrong file permissions.



    I needed to go to all of the files installed under /usr/local/texlive/2018 (which was the default location for my Mac OS install) and change them all to be writeable.



    It had nothing to do with duplicate files, despite the error that claimed as such.





    If anyone else runs into a similar error, be sure to check updmap-sys, or really any updmap command, since they will all point you to where your fonts actually live. Then go ahead and fix all of their permissions.






    share|improve this answer

























      up vote
      0
      down vote













      I'm not sure how helpful this will be to other users, but the problem was that everything that LaTeX installed had the wrong file permissions.



      I needed to go to all of the files installed under /usr/local/texlive/2018 (which was the default location for my Mac OS install) and change them all to be writeable.



      It had nothing to do with duplicate files, despite the error that claimed as such.





      If anyone else runs into a similar error, be sure to check updmap-sys, or really any updmap command, since they will all point you to where your fonts actually live. Then go ahead and fix all of their permissions.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        I'm not sure how helpful this will be to other users, but the problem was that everything that LaTeX installed had the wrong file permissions.



        I needed to go to all of the files installed under /usr/local/texlive/2018 (which was the default location for my Mac OS install) and change them all to be writeable.



        It had nothing to do with duplicate files, despite the error that claimed as such.





        If anyone else runs into a similar error, be sure to check updmap-sys, or really any updmap command, since they will all point you to where your fonts actually live. Then go ahead and fix all of their permissions.






        share|improve this answer












        I'm not sure how helpful this will be to other users, but the problem was that everything that LaTeX installed had the wrong file permissions.



        I needed to go to all of the files installed under /usr/local/texlive/2018 (which was the default location for my Mac OS install) and change them all to be writeable.



        It had nothing to do with duplicate files, despite the error that claimed as such.





        If anyone else runs into a similar error, be sure to check updmap-sys, or really any updmap command, since they will all point you to where your fonts actually live. Then go ahead and fix all of their permissions.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 30 at 23:27









        Mike Williamson

        1086




        1086






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f457405%2fhow-to-remove-or-at-least-suppress-fontmap-entry-for-font-already-exists-w%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

            Accessing regular linux commands in Huawei's Dopra Linux

            Can't connect RFCOMM socket: Host is down

            Kernel panic - not syncing: Fatal Exception in Interrupt