htlatex failing with custom documentclass: Error LaTeX Error: File `email' not foundAccess @email in a custom LaTeX classAre htlatex (TeX4HT) and cleveref compatible?LaTeX to Customized LaTeX file conversion using htlatexmathml with actual latex coding in htlatexHow to get Unicode characters into HTML outputhtlatex gives error for columncolor but not for rowcolorusing the “mouseover” option to htlatex gives error: “missing file xhtex”:Best way to manage internationalisation of a class?babel causing cref mistakes to labels when compiled with htlatexnewcommand works with latex but not with tex4ht( htlatex)

If curse and magic is two sides of the same coin, why the former is forbidden?

Have researchers managed to "reverse time"? If so, what does that mean for physics?

A sequence that has integer values for prime indexes only:

Time travel from stationary position?

How can I track script which gives me "command not found" right after the login?

Why one should not leave fingerprints on bulbs and plugs?

My adviser wants to be the first author

Why doesn't using two cd commands in bash script execute the second command?

Is a party consisting of only a bard, a cleric, and a warlock functional long-term?

(Calculus) Derivative Thinking Question

how to draw discrete time diagram in tikz

A limit with limit zero everywhere must be zero somewhere

Charles Hockett - 'F' article?

Do I need life insurance if I can cover my own funeral costs?

Property of summation

How big is a MODIS 250m pixel in reality?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

Why doesn't the EU now just force the UK to choose between referendum and no-deal?

If I can solve Sudoku can I solve Travelling Salesman Problem(TSP)? If yes, how?

How can you use ICE tables to solve multiple coupled equilibria?

Why do Australian milk farmers need to protest supermarkets' milk price?

How could a scammer know the apps on my phone / iTunes account?

A link redirect to http instead of https: how critical is it?

Are ETF trackers fundamentally better than individual stocks?



htlatex failing with custom documentclass: Error LaTeX Error: File `email' not found


Access @email in a custom LaTeX classAre htlatex (TeX4HT) and cleveref compatible?LaTeX to Customized LaTeX file conversion using htlatexmathml with actual latex coding in htlatexHow to get Unicode characters into HTML outputhtlatex gives error for columncolor but not for rowcolorusing the “mouseover” option to htlatex gives error: “missing file xhtex”:Best way to manage internationalisation of a class?babel causing cref mistakes to labels when compiled with htlatexnewcommand works with latex but not with tex4ht( htlatex)













1















I have created a custom class for a personal curriculum. It can be found at



https://github.com/igormorgado/elegantcv



It compiles nicely with pdlatex, XeTeX and LuaLaTeX, but trying to build with htlatex it fails with error:



Error LaTeX Error: File 'email' not found



I don't know enough to debug or build a MWE that raises the same error (have tried). Removing all references to my custom class, removes the error but that isn't a real MWE for the issue itself.



What I'm asking is:



  1. How to correctly debug to be able to understand the error and be able to correctly point to the problem (and maybe fix by myself);


  2. How to build a pristine well written, custom document class that allows me to run also with htlatex and do not raise warnings or errors.


  3. How to solve this issue and be able to build a html version of my latex class.


To reproduce the issue just (assuming Unix)



git clone https://github.com/igormorgado/elegantcv
cd elegantcv
make html


PS: I know that create external references isn't the best way to handle SO question, but it would be better paste the whole class here? If so. I can do it.










share|improve this question






















  • How do you have debugged this? Or is only by experience?

    – Lin
    7 hours ago











  • Removing the graphicspath and moving the icons to document class root didn't changed anything.

    – Lin
    7 hours ago











  • it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

    – Marijn
    2 hours ago















1















I have created a custom class for a personal curriculum. It can be found at



https://github.com/igormorgado/elegantcv



It compiles nicely with pdlatex, XeTeX and LuaLaTeX, but trying to build with htlatex it fails with error:



Error LaTeX Error: File 'email' not found



I don't know enough to debug or build a MWE that raises the same error (have tried). Removing all references to my custom class, removes the error but that isn't a real MWE for the issue itself.



What I'm asking is:



  1. How to correctly debug to be able to understand the error and be able to correctly point to the problem (and maybe fix by myself);


  2. How to build a pristine well written, custom document class that allows me to run also with htlatex and do not raise warnings or errors.


  3. How to solve this issue and be able to build a html version of my latex class.


To reproduce the issue just (assuming Unix)



git clone https://github.com/igormorgado/elegantcv
cd elegantcv
make html


PS: I know that create external references isn't the best way to handle SO question, but it would be better paste the whole class here? If so. I can do it.










share|improve this question






















  • How do you have debugged this? Or is only by experience?

    – Lin
    7 hours ago











  • Removing the graphicspath and moving the icons to document class root didn't changed anything.

    – Lin
    7 hours ago











  • it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

    – Marijn
    2 hours ago













1












1








1








I have created a custom class for a personal curriculum. It can be found at



https://github.com/igormorgado/elegantcv



It compiles nicely with pdlatex, XeTeX and LuaLaTeX, but trying to build with htlatex it fails with error:



Error LaTeX Error: File 'email' not found



I don't know enough to debug or build a MWE that raises the same error (have tried). Removing all references to my custom class, removes the error but that isn't a real MWE for the issue itself.



What I'm asking is:



  1. How to correctly debug to be able to understand the error and be able to correctly point to the problem (and maybe fix by myself);


  2. How to build a pristine well written, custom document class that allows me to run also with htlatex and do not raise warnings or errors.


  3. How to solve this issue and be able to build a html version of my latex class.


To reproduce the issue just (assuming Unix)



git clone https://github.com/igormorgado/elegantcv
cd elegantcv
make html


PS: I know that create external references isn't the best way to handle SO question, but it would be better paste the whole class here? If so. I can do it.










share|improve this question














I have created a custom class for a personal curriculum. It can be found at



https://github.com/igormorgado/elegantcv



It compiles nicely with pdlatex, XeTeX and LuaLaTeX, but trying to build with htlatex it fails with error:



Error LaTeX Error: File 'email' not found



I don't know enough to debug or build a MWE that raises the same error (have tried). Removing all references to my custom class, removes the error but that isn't a real MWE for the issue itself.



What I'm asking is:



  1. How to correctly debug to be able to understand the error and be able to correctly point to the problem (and maybe fix by myself);


  2. How to build a pristine well written, custom document class that allows me to run also with htlatex and do not raise warnings or errors.


  3. How to solve this issue and be able to build a html version of my latex class.


To reproduce the issue just (assuming Unix)



git clone https://github.com/igormorgado/elegantcv
cd elegantcv
make html


PS: I know that create external references isn't the best way to handle SO question, but it would be better paste the whole class here? If so. I can do it.







documentclass-writing htlatex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 8 hours ago









LinLin

3307




3307












  • How do you have debugged this? Or is only by experience?

    – Lin
    7 hours ago











  • Removing the graphicspath and moving the icons to document class root didn't changed anything.

    – Lin
    7 hours ago











  • it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

    – Marijn
    2 hours ago

















  • How do you have debugged this? Or is only by experience?

    – Lin
    7 hours ago











  • Removing the graphicspath and moving the icons to document class root didn't changed anything.

    – Lin
    7 hours ago











  • it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

    – Marijn
    2 hours ago
















How do you have debugged this? Or is only by experience?

– Lin
7 hours ago





How do you have debugged this? Or is only by experience?

– Lin
7 hours ago













Removing the graphicspath and moving the icons to document class root didn't changed anything.

– Lin
7 hours ago





Removing the graphicspath and moving the icons to document class root didn't changed anything.

– Lin
7 hours ago













it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

– Marijn
2 hours ago





it was based on your error message and some looking around in questions about tex4ht, but I didn't test the supposed fix (that was why it was a comment and not an answer). After your comment I have tested it, and similar to michal.h21 (the maintainer of tex4ht) I got an error for the table but the images worked fine. So I'll remove my earlier comment because it was not accurate, sorry about that.

– Marijn
2 hours ago










1 Answer
1






active

oldest

votes


















2














I've got another error with the sample file in your repo, it was caused by the table. The issue is that Memoir, which you use as the base class, defines cmidrule and other commands from the Booktabs package directly, instead of requiring the the package. Because of that, tex4ht cannot load patched versions of these commands and compilation error happens. I've fixed that in the tex4ht sources, so it shouldn't happen in the future. The problem is that TeX Live is currently frozen, so the fix will be included only in TL 2019.



In the meantime you can use the following configuration file, elegantcv.4ht:



input booktabs.4ht
Hinputelegantcv
endinput


The line input booktabs.4ht needs to be removed once TL2019 is released, because it would clash with the code in memoir.4ht.



It is possible to put other stuff in the elegantcv.4ht file, for example redefine macros from your class to insert HTML code. You can put the tags directly here, or, better in a configuration file. See my tutorial for details. I would surely add some CSS styling.



This is how it looks out of the box:



enter image description here






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',
    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%2f479652%2fhtlatex-failing-with-custom-documentclass-error-latex-error-file-email-not-f%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









    2














    I've got another error with the sample file in your repo, it was caused by the table. The issue is that Memoir, which you use as the base class, defines cmidrule and other commands from the Booktabs package directly, instead of requiring the the package. Because of that, tex4ht cannot load patched versions of these commands and compilation error happens. I've fixed that in the tex4ht sources, so it shouldn't happen in the future. The problem is that TeX Live is currently frozen, so the fix will be included only in TL 2019.



    In the meantime you can use the following configuration file, elegantcv.4ht:



    input booktabs.4ht
    Hinputelegantcv
    endinput


    The line input booktabs.4ht needs to be removed once TL2019 is released, because it would clash with the code in memoir.4ht.



    It is possible to put other stuff in the elegantcv.4ht file, for example redefine macros from your class to insert HTML code. You can put the tags directly here, or, better in a configuration file. See my tutorial for details. I would surely add some CSS styling.



    This is how it looks out of the box:



    enter image description here






    share|improve this answer



























      2














      I've got another error with the sample file in your repo, it was caused by the table. The issue is that Memoir, which you use as the base class, defines cmidrule and other commands from the Booktabs package directly, instead of requiring the the package. Because of that, tex4ht cannot load patched versions of these commands and compilation error happens. I've fixed that in the tex4ht sources, so it shouldn't happen in the future. The problem is that TeX Live is currently frozen, so the fix will be included only in TL 2019.



      In the meantime you can use the following configuration file, elegantcv.4ht:



      input booktabs.4ht
      Hinputelegantcv
      endinput


      The line input booktabs.4ht needs to be removed once TL2019 is released, because it would clash with the code in memoir.4ht.



      It is possible to put other stuff in the elegantcv.4ht file, for example redefine macros from your class to insert HTML code. You can put the tags directly here, or, better in a configuration file. See my tutorial for details. I would surely add some CSS styling.



      This is how it looks out of the box:



      enter image description here






      share|improve this answer

























        2












        2








        2







        I've got another error with the sample file in your repo, it was caused by the table. The issue is that Memoir, which you use as the base class, defines cmidrule and other commands from the Booktabs package directly, instead of requiring the the package. Because of that, tex4ht cannot load patched versions of these commands and compilation error happens. I've fixed that in the tex4ht sources, so it shouldn't happen in the future. The problem is that TeX Live is currently frozen, so the fix will be included only in TL 2019.



        In the meantime you can use the following configuration file, elegantcv.4ht:



        input booktabs.4ht
        Hinputelegantcv
        endinput


        The line input booktabs.4ht needs to be removed once TL2019 is released, because it would clash with the code in memoir.4ht.



        It is possible to put other stuff in the elegantcv.4ht file, for example redefine macros from your class to insert HTML code. You can put the tags directly here, or, better in a configuration file. See my tutorial for details. I would surely add some CSS styling.



        This is how it looks out of the box:



        enter image description here






        share|improve this answer













        I've got another error with the sample file in your repo, it was caused by the table. The issue is that Memoir, which you use as the base class, defines cmidrule and other commands from the Booktabs package directly, instead of requiring the the package. Because of that, tex4ht cannot load patched versions of these commands and compilation error happens. I've fixed that in the tex4ht sources, so it shouldn't happen in the future. The problem is that TeX Live is currently frozen, so the fix will be included only in TL 2019.



        In the meantime you can use the following configuration file, elegantcv.4ht:



        input booktabs.4ht
        Hinputelegantcv
        endinput


        The line input booktabs.4ht needs to be removed once TL2019 is released, because it would clash with the code in memoir.4ht.



        It is possible to put other stuff in the elegantcv.4ht file, for example redefine macros from your class to insert HTML code. You can put the tags directly here, or, better in a configuration file. See my tutorial for details. I would surely add some CSS styling.



        This is how it looks out of the box:



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        michal.h21michal.h21

        31.5k447104




        31.5k447104



























            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%2f479652%2fhtlatex-failing-with-custom-documentclass-error-latex-error-file-email-not-f%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

            How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

            152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

            Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"