Skip to main content

convert docx file to html code including latex linear equation

Project description

docx2latex

Having function for convert docx to html and include feature of reading latex linear equations or Math equations

Installation

Install using pip: pip install docx2latex

Usage

Import the Document class from docx2latex:

#Having two function

  • get_html_code()
  • get_text()
from docx2latex import Document


docx_file_path = 'myfile.docx'
obj = Document(docx_file_path)
raw_data = obj.get_html_code()
print(raw_data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docx2latex-0.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file docx2latex-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: docx2latex-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for docx2latex-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4a0eeb0cfee34b7fb230eac5a14a7f7ae1d73beafa1b3c60b3642c48fc05974
MD5 a30116190c196714dc7010448cd8e7cc
BLAKE2b-256 35d41c0e7b93d7c50731df06713a01fdc5d5c0c794932eb5149c8b3a450c1217

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page