Not Obsolete LaTeX to HTML Converter?
up vote
21
down vote
favorite
I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version.
More recently Google sent me to tex4ht, but it seems that there too the project is at a standstill (the site indicates that there will soon be opportunities for image management, but that was in 2014, since then nothing more) and is poorly documented.
Hence my question: is there a recent solution for converting LaTeX to HTML compatible with Windows? The option that I need are:
- using CSS
- cutting the document into several file
- allowing the use of picture for navigation (up, prev, next)
- compatible with Windows
latex2html
New contributor
add a comment |
up vote
21
down vote
favorite
I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version.
More recently Google sent me to tex4ht, but it seems that there too the project is at a standstill (the site indicates that there will soon be opportunities for image management, but that was in 2014, since then nothing more) and is poorly documented.
Hence my question: is there a recent solution for converting LaTeX to HTML compatible with Windows? The option that I need are:
- using CSS
- cutting the document into several file
- allowing the use of picture for navigation (up, prev, next)
- compatible with Windows
latex2html
New contributor
5
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
1
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
9
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
1
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday
add a comment |
up vote
21
down vote
favorite
up vote
21
down vote
favorite
I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version.
More recently Google sent me to tex4ht, but it seems that there too the project is at a standstill (the site indicates that there will soon be opportunities for image management, but that was in 2014, since then nothing more) and is poorly documented.
Hence my question: is there a recent solution for converting LaTeX to HTML compatible with Windows? The option that I need are:
- using CSS
- cutting the document into several file
- allowing the use of picture for navigation (up, prev, next)
- compatible with Windows
latex2html
New contributor
I am looking to convert LaTeX to HTML. A long time ago (during my thesis, in 2000!), I used Hacha and Hevea ... but obviously, they are no longer maintained, especially the Windows version.
More recently Google sent me to tex4ht, but it seems that there too the project is at a standstill (the site indicates that there will soon be opportunities for image management, but that was in 2014, since then nothing more) and is poorly documented.
Hence my question: is there a recent solution for converting LaTeX to HTML compatible with Windows? The option that I need are:
- using CSS
- cutting the document into several file
- allowing the use of picture for navigation (up, prev, next)
- compatible with Windows
latex2html
latex2html
New contributor
New contributor
edited yesterday
Null
1,09631222
1,09631222
New contributor
asked yesterday
Christophe Genolini
1064
1064
New contributor
New contributor
5
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
1
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
9
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
1
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday
add a comment |
5
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
1
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
9
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
1
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday
5
5
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
1
1
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
9
9
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
1
1
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
29
down vote
It is true that the main page of tex4ht
and documentation seems obsolete, but the project itself is alive, as can be seen from the history of commits and the mailing list. We added MathJax output support recently, for example.
It is also true that the full distribution which is on CTAN haven't been updated since the original author passed away, but the updates go directly to TeX distributions, so it is not necessary to install the distribution by hand, it would be quite complicated process. Everything you need to run updated tex4ht
is included in TeX Live.
At the moment, I am working on a new documentation, which should be big improvement over the current state.
Regarding your question, all of this should be possible with tex4ht
. It produces basic CSS for your document, it also enables to include custom CSS in the generated HTML. It supports cutting of the document to separate files for chapters, sections etc. It works on Windows when you use TL, but Miktex works as well.
The following file, myconfig.cfg
will split an article on sections:
Preamble{xhtml,2}
Configure{AddCss}{test.css}
Css{body{background-color:green;}}
Configure{crosslinks}{}{}{includegraphics{next.png}}{includegraphics{prev.png}}{}{}{}{includegraphics{up.jpg}}
begin{document}
EndPreamble
The split is requested using 2
option used in the Preamble
command. The Css
command can be used for simple CSS instruction, while the Configure{AddCss}
requires inclusion of an external CSS file. The Configure{crosslinks}
requires pictures for links for previous, next and top pages.
Compilation of the document can be requested using the following command:
make4ht -uc myconfig.cfg filename.tex
make4ht is a build system for tex4ht
, it should be used instead of the htlatex
command.
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
@ChristopheGenolini have you tried theConfigure{crosslinks}
from my answer? The used pictures must be present on your system.
– michal.h21
yesterday
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
29
down vote
It is true that the main page of tex4ht
and documentation seems obsolete, but the project itself is alive, as can be seen from the history of commits and the mailing list. We added MathJax output support recently, for example.
It is also true that the full distribution which is on CTAN haven't been updated since the original author passed away, but the updates go directly to TeX distributions, so it is not necessary to install the distribution by hand, it would be quite complicated process. Everything you need to run updated tex4ht
is included in TeX Live.
At the moment, I am working on a new documentation, which should be big improvement over the current state.
Regarding your question, all of this should be possible with tex4ht
. It produces basic CSS for your document, it also enables to include custom CSS in the generated HTML. It supports cutting of the document to separate files for chapters, sections etc. It works on Windows when you use TL, but Miktex works as well.
The following file, myconfig.cfg
will split an article on sections:
Preamble{xhtml,2}
Configure{AddCss}{test.css}
Css{body{background-color:green;}}
Configure{crosslinks}{}{}{includegraphics{next.png}}{includegraphics{prev.png}}{}{}{}{includegraphics{up.jpg}}
begin{document}
EndPreamble
The split is requested using 2
option used in the Preamble
command. The Css
command can be used for simple CSS instruction, while the Configure{AddCss}
requires inclusion of an external CSS file. The Configure{crosslinks}
requires pictures for links for previous, next and top pages.
Compilation of the document can be requested using the following command:
make4ht -uc myconfig.cfg filename.tex
make4ht is a build system for tex4ht
, it should be used instead of the htlatex
command.
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
@ChristopheGenolini have you tried theConfigure{crosslinks}
from my answer? The used pictures must be present on your system.
– michal.h21
yesterday
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
add a comment |
up vote
29
down vote
It is true that the main page of tex4ht
and documentation seems obsolete, but the project itself is alive, as can be seen from the history of commits and the mailing list. We added MathJax output support recently, for example.
It is also true that the full distribution which is on CTAN haven't been updated since the original author passed away, but the updates go directly to TeX distributions, so it is not necessary to install the distribution by hand, it would be quite complicated process. Everything you need to run updated tex4ht
is included in TeX Live.
At the moment, I am working on a new documentation, which should be big improvement over the current state.
Regarding your question, all of this should be possible with tex4ht
. It produces basic CSS for your document, it also enables to include custom CSS in the generated HTML. It supports cutting of the document to separate files for chapters, sections etc. It works on Windows when you use TL, but Miktex works as well.
The following file, myconfig.cfg
will split an article on sections:
Preamble{xhtml,2}
Configure{AddCss}{test.css}
Css{body{background-color:green;}}
Configure{crosslinks}{}{}{includegraphics{next.png}}{includegraphics{prev.png}}{}{}{}{includegraphics{up.jpg}}
begin{document}
EndPreamble
The split is requested using 2
option used in the Preamble
command. The Css
command can be used for simple CSS instruction, while the Configure{AddCss}
requires inclusion of an external CSS file. The Configure{crosslinks}
requires pictures for links for previous, next and top pages.
Compilation of the document can be requested using the following command:
make4ht -uc myconfig.cfg filename.tex
make4ht is a build system for tex4ht
, it should be used instead of the htlatex
command.
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
@ChristopheGenolini have you tried theConfigure{crosslinks}
from my answer? The used pictures must be present on your system.
– michal.h21
yesterday
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
add a comment |
up vote
29
down vote
up vote
29
down vote
It is true that the main page of tex4ht
and documentation seems obsolete, but the project itself is alive, as can be seen from the history of commits and the mailing list. We added MathJax output support recently, for example.
It is also true that the full distribution which is on CTAN haven't been updated since the original author passed away, but the updates go directly to TeX distributions, so it is not necessary to install the distribution by hand, it would be quite complicated process. Everything you need to run updated tex4ht
is included in TeX Live.
At the moment, I am working on a new documentation, which should be big improvement over the current state.
Regarding your question, all of this should be possible with tex4ht
. It produces basic CSS for your document, it also enables to include custom CSS in the generated HTML. It supports cutting of the document to separate files for chapters, sections etc. It works on Windows when you use TL, but Miktex works as well.
The following file, myconfig.cfg
will split an article on sections:
Preamble{xhtml,2}
Configure{AddCss}{test.css}
Css{body{background-color:green;}}
Configure{crosslinks}{}{}{includegraphics{next.png}}{includegraphics{prev.png}}{}{}{}{includegraphics{up.jpg}}
begin{document}
EndPreamble
The split is requested using 2
option used in the Preamble
command. The Css
command can be used for simple CSS instruction, while the Configure{AddCss}
requires inclusion of an external CSS file. The Configure{crosslinks}
requires pictures for links for previous, next and top pages.
Compilation of the document can be requested using the following command:
make4ht -uc myconfig.cfg filename.tex
make4ht is a build system for tex4ht
, it should be used instead of the htlatex
command.
It is true that the main page of tex4ht
and documentation seems obsolete, but the project itself is alive, as can be seen from the history of commits and the mailing list. We added MathJax output support recently, for example.
It is also true that the full distribution which is on CTAN haven't been updated since the original author passed away, but the updates go directly to TeX distributions, so it is not necessary to install the distribution by hand, it would be quite complicated process. Everything you need to run updated tex4ht
is included in TeX Live.
At the moment, I am working on a new documentation, which should be big improvement over the current state.
Regarding your question, all of this should be possible with tex4ht
. It produces basic CSS for your document, it also enables to include custom CSS in the generated HTML. It supports cutting of the document to separate files for chapters, sections etc. It works on Windows when you use TL, but Miktex works as well.
The following file, myconfig.cfg
will split an article on sections:
Preamble{xhtml,2}
Configure{AddCss}{test.css}
Css{body{background-color:green;}}
Configure{crosslinks}{}{}{includegraphics{next.png}}{includegraphics{prev.png}}{}{}{}{includegraphics{up.jpg}}
begin{document}
EndPreamble
The split is requested using 2
option used in the Preamble
command. The Css
command can be used for simple CSS instruction, while the Configure{AddCss}
requires inclusion of an external CSS file. The Configure{crosslinks}
requires pictures for links for previous, next and top pages.
Compilation of the document can be requested using the following command:
make4ht -uc myconfig.cfg filename.tex
make4ht is a build system for tex4ht
, it should be used instead of the htlatex
command.
edited yesterday
answered yesterday
michal.h21
29.2k446104
29.2k446104
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
@ChristopheGenolini have you tried theConfigure{crosslinks}
from my answer? The used pictures must be present on your system.
– michal.h21
yesterday
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
add a comment |
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
@ChristopheGenolini have you tried theConfigure{crosslinks}
from my answer? The used pictures must be present on your system.
– michal.h21
yesterday
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
Thanks for your answers. I already found the Preamble{xhtml,2} option, but I did not manage to used some icons "up.png", "prev.png" and "next.png" instead of [up], [prev] and [next]. Any clues on how I can do that?
– Christophe Genolini
yesterday
1
1
@ChristopheGenolini have you tried the
Configure{crosslinks}
from my answer? The used pictures must be present on your system.– michal.h21
yesterday
@ChristopheGenolini have you tried the
Configure{crosslinks}
from my answer? The used pictures must be present on your system.– michal.h21
yesterday
1
1
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
Yes, it works. Thanks a lot. So now that it works, I will have dozens of question (like : "I want the arrow to be in order left / up / next, how can I do that?") :-) Is there an official active forum somewhere?
– Christophe Genolini
12 hours ago
2
2
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
@ChristopheGenolini the unofficial forum is here, just add tex4ht tag to your question. We have also mailing list.
– michal.h21
12 hours ago
add a comment |
Christophe Genolini is a new contributor. Be nice, and check out our Code of Conduct.
Christophe Genolini is a new contributor. Be nice, and check out our Code of Conduct.
Christophe Genolini is a new contributor. Be nice, and check out our Code of Conduct.
Christophe Genolini is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2f464112%2fnot-obsolete-latex-to-html-converter%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
5
tex4ht is maintained very well with a bunch of new features every few weeks!
– Keks Dose
yesterday
1
lwarp (which I have not used) tex4ht and latexml are the three main actively maintained ones
– David Carlisle
yesterday
9
There is also Pandoc, which does not fully support all features and packages but it generally works ok, is easy to use and it is able to convert between many different formats.
– Marijn
yesterday
1
"not obsolete" today will be "obsolete" tomorrow
– Mauricio Gracia Gutierrez
yesterday