Skip to main content

WdBibTeX is a BibTeX toolkit for MS Word.

Project description

WdBibTeX

WdBibTeX is a BibTeX toolkit for MS Word.

Installation

Binary installers for the latest released version are available at the Python Package Index (PyPI).

You can install wdbibtex package via pip command.

pip install -U wdbibtex

Dependencies

  • Windows OS, for pywin32

  • pywin32>=302, for operating MS Word

  • regex>=2022.6.2, for converting LaTeX string to text

  • TeX Live 2022, for building LaTeX file

Usage

Let target Word file name be file.docx.

  1. Confirm you can build LaTeX project with basic latex->bibtex->latex->latex scheme. (This is out of scope of this project.)

  2. Copy your .bib and .bst to same directory with file.docx.

  3. Write your docx file with LaTeX citations keys of \cite{key} and \thebibliography label.

  4. On the shell, change directory to the file.docx's directory.

  5. Execute:

$ python -m wdbibtex file.docx
  1. If wdbibtex works correctly, you can see file_bib.docx. LaTeX citation keys of \cite{key} and \thebibliography will be converted to [1] and [1] A. Name, "Title", Journal, vol... (for example).

Documentation

The official documentation is hosted on GitHub Pages: https://ehki.github.io/WdBibTeX

License

WdBibTeX is distributed undert MIT License.

Project details


Download files

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

Source Distribution

wdbibtex-0.2.4.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

wdbibtex-0.2.4-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

Supported by

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