Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smarr/latex-to-html5

Scripts for Latex to HTML5 conversion
https://github.com/smarr/latex-to-html5

Last synced: about 1 month ago
JSON representation

Scripts for Latex to HTML5 conversion

Awesome Lists containing this project

README

        

LaTeX to HTML5
==============

This repository contains configuration files for tex4ht and post processing
scripts to customize and simplify the HTML generated by tex4ht. Instead of
preserving the full generality of LaTeX, it seems to be a better approach for
the Web to concentrate on the semantic elements and provide a suitable CSS file.

### Requirements

- tex4ht aka htlatex
- tidy, see https://www.html-tidy.org/
- Python, and packages via `pip install`
- BeautifulSoup4
- html5lib

### Usage

```
$ ht-latex tex-file output-dir
```

The output file is going to be `tex-file-final.html`.

### Examples

- http://stefan-marr.de/papers/pldi-marr-et-al-zero-overhead-metaprogramming/
- http://stefan-marr.de/papers/oopsla-marr-ducasse-meta-tracing-vs-partial-evaluation/

### Status and Contributions

The current status of this project is: *highly experimental and optimized for
myself*, ah, and of course, it works on my machine...

Pull requests to improve the situation are very welcome.

### Tests

There are a couple of basic tests in `tests`, which can be executed with
`run-tests.py`.

### License

This project is licensed under the MIT license: https://opensource.org/licenses/MIT