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)
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:
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);
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.
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
add a comment |
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:
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);
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.
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
How do you have debugged this? Or is only by experience?
– Lin
7 hours ago
Removing thegraphicspath
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 abouttex4ht
, 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
add a comment |
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:
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);
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.
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
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:
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);
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.
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
documentclass-writing htlatex
asked 8 hours ago
LinLin
3307
3307
How do you have debugged this? Or is only by experience?
– Lin
7 hours ago
Removing thegraphicspath
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 abouttex4ht
, 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
add a comment |
How do you have debugged this? Or is only by experience?
– Lin
7 hours ago
Removing thegraphicspath
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 abouttex4ht
, 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
add a comment |
1 Answer
1
active
oldest
votes
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:
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%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
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:
add a comment |
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:
add a comment |
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:
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:
answered 3 hours ago
michal.h21michal.h21
31.5k447104
31.5k447104
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
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