Metadata-Version: 2.4
Name: manuscript2slides
Version: 0.1.6
Summary: Convert Word documents to PowerPoint slides and back
Author: talosgl
License-Expression: MIT
Project-URL: Homepage, https://github.com/talosgl/manuscript2slides
Project-URL: Repository, https://github.com/talosgl/manuscript2slides
Project-URL: Issues, https://github.com/talosgl/manuscript2slides/issues
Project-URL: Documentation, https://github.com/talosgl/manuscript2slides/tree/main/docs
Keywords: docx,pptx,converter,powerpoint,word
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Topic :: Office/Business
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Environment :: X11 Applications :: Qt
Classifier: Natural Language :: English
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-docx<2.0,>=1.1.0
Requires-Dist: python-pptx<1.0,>=0.6.21
Requires-Dist: platformdirs<5.0,>=3.5
Requires-Dist: PySide6<7.0,>=6.5.0
Requires-Dist: tomli>=2.0.0; python_version < "3.11"
Requires-Dist: tomli-w<2.0,>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest<9.0,>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov<6.0,>=4.0.0; extra == "dev"
Requires-Dist: pytest-qt<5.0,>=4.0.0; extra == "dev"
Requires-Dist: tomli>=2.0.0; extra == "dev"
Requires-Dist: tomli-w>=1.0.0; extra == "dev"
Requires-Dist: mypy<2.0,>=1.0.0; extra == "dev"
Requires-Dist: ruff<1.0,>=0.1.0; extra == "dev"
Dynamic: license-file


# manuscript2slides

Convert Microsoft Word documents to PowerPoint slides and back again.

## Features
Turn your Microsoft Word manuscripts into presentation slides (and back again), with a simple desktop interface.

- **Multiple chunking strategies**: By paragraph, page, or heading (flat/nested)
- **Formatting preservation**: Bold, italics, colors, highlights, strikethrough, super/subscript, and more
- **Annotation support**: Comments, footnotes, and endnotes can be copied to slide speaker notes
- **Round-trip capability**: Convert DOCX → PPTX → DOCX with optional metadata preservation
- **Cross-platform**: Works on Windows, macOS, and Linux
- **Both GUI and CLI**: Use whichever fits your workflow
- **pip-installable**: Usable as a Python library for scripted or automated conversions

## Quick Start Guide

### Installation

#### Option 1: Download Binary (No Python Required)

Download the latest binary for your platform from [Releases](https://github.com/talosgl/manuscript2slides/releases):

- **Windows**: Download `manuscript2slides-windows.zip`, extract, and run `manuscript2slides.exe`
- **macOS (Apple Silicon)**: Download `manuscript2slides-macos.zip`, extract, right-click `manuscript2slides.app` and select "Open"
- For both platforms, you'll need to allow the app to run unsigned on first launch. See [How to Allow First Launch of Downloaded Release Binary on GitHub (Windows, macOS)](https://github.com/talosgl/manuscript2slides/blob/main/docs/first-launch.md) for details.

**New to downloading from GitHub?** See a [step-by-step guide](https://github.com/talosgl/jojos-tech-guides/blob/main/docs/software/downloading-from-github.md).

#### Option 2: Install via pip (Cross-platform)

Requires Python 3.10+ to already be installed:

```bash
# Recommended: Create a virtual environment first
python -m venv .venv # or python3 -m venv .venv on Unix systems
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Then install
pip install manuscript2slides
```



### Using the GUI (recommended for most users)

```bash
# Launch the graphical interface
manuscript2slides
```

<table>
  <tr>
    <td align="center">Windows</td>
    <td align="center">macOS</td>
    <td align="center">Ubuntu</td>
  </tr>
  <tr>
    <td><img src="https://raw.githubusercontent.com/talosgl/manuscript2slides/main/docs/assets/imgs/docx2pptx_tab_dark_mode_windows.png" alt="Windows" width="300"></td>
    <td><img src="https://raw.githubusercontent.com/talosgl/manuscript2slides/main/docs/assets/imgs/docx2pptx_mac.png" alt="macOS" width="300"></td>
    <td><img src="https://raw.githubusercontent.com/talosgl/manuscript2slides/main/docs/assets/imgs/docx2pptx_ubuntu_dark.png" alt="Ubuntu" width="300"></td>
  </tr>
</table>

Then:
1. Choose a tab:
   - **DOCX → PPTX:** Convert your manuscript into slides
   - **PPTX → DOCX:** Turn a slide deck back into text
   - **DEMO:** Try a sample conversion
2. Pick your file(s), adjust options (chunking, formatting, annotations), and click **Convert!**

### Using the Command Line

```bash
# Convert a Word document
manuscript2slides-cli --input-docx my-manuscript.docx

# Reverse conversion
manuscript2slides-cli --input-pptx presentation.pptx

# See a demo dry run with sample files
manuscript2slides-cli --demo-round-trip
```

## Detailed User Guide

For a full walkthrough of all options (including screenshots, advanced settings, and round-trip examples), see the [User Guide](https://github.com/talosgl/manuscript2slides/blob/main/docs/user-guide.md).

## License

[MIT](https://github.com/talosgl/manuscript2slides/blob/main/LICENSE)

## Acknowledgments

Advanced text formatting features adapted from techniques used in
[md2pptx](https://github.com/MartinPacker/md2pptx) by Martin Packer (MIT License).

Thanks to:
- [ASCIIFlow](https://asciiflow.com/#/) for their ascii wireframing tool
- Blog post: [A Qt GUI for Logging](https://plumberjack.blogspot.com/2019/11/a-qt-gui-for-logging.html) for showing how to use Py's logging library with PySide6/Qt
- [StackOverflow answer](https://stackoverflow.com/questions/47666642/adding-an-hyperlink-in-msword-by-using-python-docx) and [GitHub discussion](https://github.com/python-openxml/python-docx/issues/384#issuecomment-294853130) for guidance on advanced techniques to add hyperlinks to docx runs

For full licensing details, see [THIRD_PARTY_LICENSES.md](https://github.com/talosgl/manuscript2slides/blob/main/THIRD_PARTY_LICENSES.md).

## Known Limitations

See [Known Limitations](https://github.com/talosgl/manuscript2slides/blob/main/docs/limitations.md) for a detailed list of current limitations, unsupported features, and known workarounds.

## Troubleshooting

If conversion fails or the GUI won't launch, see [Troubleshooting](https://github.com/talosgl/manuscript2slides/blob/main/docs/troubleshooting.md).


# Development & Contributing

To set up the project for development, see [Developer Guide](https://github.com/talosgl/manuscript2slides/blob/main/docs/dev-guide.md).

