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.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: docx2latex-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 226e3f2331f70510f664ca1576f08c64073a95b350053923f0eec4e9b9ed1f72
MD5 69378cc1c5c64fb5e554268e1ac49856
BLAKE2b-256 9e410623a6a9d46349edfe8be4d397e5463182e8d2950fa76bcfbd1818a0e45c

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