HTMLTeXt
The idea of this project is to allow users with a web development background to write scientific papers using HTML instead of LaTeX by leveraging familiar elements like <h1>
, <ul>
and <table>
. Then converting the content to a PDF.
The easiest way to get started is probably by checking out the examples.
You probably need a server running to use HTMLTeXt. You could, for example, check out Mozilla's testing server guide. Or if you are using VS Code you could use the extension Live Server to get livereload.
Features
HTMLTeXt currently supports the features I needed for writing my Master's thesis.
- Numbered headings
- Automatic table of contents
- Citing and generating bibliography from BibTeX file
- Footnotes
- Code highlighting
- Figure / Table numbering
- Internally referencing chapters and figures
- Abbreviations
- Splitting the content into pages
- Including content from other files
- + more
Generating PDF
- Open document in browser
- Open print dialog
- Save to file
Examples
Project Report
This project was started as a school project. The final report was written using HTMLTeXt.
HTMLTeX boilerplate
A minimal example that still showcases all of HTMLTeXt's features.
Browser support
Tested browsers:
Chrome 66 |
Yes, +smallest generated PDF |
Safari 11.1 |
Yes |
Firefox 60 |
Slowest and buggy |
Troubleshooting
Have the browser console open to see if there are any errors or warnings
Error: Url: x.html not found!
: You possibly need to add /
to the end of your URL in the browser.