Skip to main content

latexml_html_cleaner

Clear html files that are generated by latexml

Description

This tool can be used to postprocess html files generated by LaTeXml.

The purpose it to remove all lxt tags and hyperrefs such that the html file can be imported into external software.

Installation

Install the tool by running:

pip install latex_html_cleaner

Usage

This tool can be used to clean html file generated by the tex to html converter LaTeXML. You can run it by:

htmlcleaner.exe filename.html

A new file with the suffix _clean.html will be created with the cleaned html.

Details

For all the details, do:

htmlcleaner.exe --help

giving the output:

usage: htmlcleaner [-h] [--version] [--output_filename STR] [-v] [-vv] [-w]
                   [-f [PATH ...]] [--clear_find_and_replace_defaults]
                   STR [STR ...]

Cleans html files and removes hyperrefs

positional arguments:
  STR                   File name of html input

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --output_filename STR
                        File name of output html file
  -v, --verbose         set loglevel to INFO
  -vv, --very-verbose, --debug
                        set loglevel to DEBUG
  -w, --overwrite       Overwrite the input html. Default = False, which means
                        a new html is created withthe suffix _clean
  -f [PATH ...], --find_and_replace [PATH ...]
                    Define a list of key=value pairs to define string
                    patterns you want to replace
  --clear_find_and_replace_defaults
                        Clear the predefined find and replace patterns

Note

This project has been set up using PyScaffold 4.0.2. For details and usage information on PyScaffold see https://pyscaffold.org/.

Metadata

Release files for latexml-html-cleaner 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for latexml-html-cleaner 0.0.4
File Size Uploaded Provenance Actions
latexml_html_cleaner-0.0.4.tar.gz 46.6 kB Without provenance Details for latexml_html_cleaner-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for latexml-html-cleaner 0.0.4
File Interpreter ABI Platform Actions
latexml_html_cleaner-0.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for latexml_html_cleaner-0.0.4-py2.py3-none-any.whl

Total release size: 56.5 kB

Release files / latexml_html_cleaner-0.0.4.tar.gz

Download URL latexml_html_cleaner-0.0.4.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fc1c7823d9de68bee6ba542a4e963530d16bc8a36b5247e8b6dbd5da3a5a7706
BLAKE2b-256 checksum
How to use checksums
816453e99adc24c04e95c7bd252f98f21e8bdb40bfb98a137319294ba8d73448
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / latexml_html_cleaner-0.0.4-py2.py3-none-any.whl

Download URL latexml_html_cleaner-0.0.4-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
820a68bce4beac396cebc7b3d0c3d3e6a35f5c41ad9230e5a50eb353a053b185
BLAKE2b-256 checksum
How to use checksums
f2848f67a486769276920d00f8e83f05f269cc109f8247faee9ee85aba59e860
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Security for latexml-html-cleaner 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page