Skip to main content

WOT-PDF v1.2.6: Comprehensive PDF Generation with Version Consistency

Project description

๐Ÿ“„ WOT-PDF - Advanced PDF Generation v1.2.5

PyPI version Python Support License: MIT

Professional PDF generation with Production Builder v1.2.5 + Enhanced Anchor System + Comprehensive Book Generation

๐ŸŽ‰ NEW in v1.2.5 - Comprehensive Book Generation + Enhanced Anchor System

โœ… Major Breakthroughs in v1.2.5

  • ๏ฟฝ Comprehensive Book Generation: Multi-document book creation with automatic TOC
  • ๐Ÿ”— Enhanced Anchor System: Complete {#anchor} โ†’ conversion with cross-reference navigation
  • ๐ŸŽฏ Double Numbering Fix: Resolved manual+automatic numbering conflicts in academic templates
  • โšก Production Builder: Enterprise-grade build pipeline with sub-60ms performance
  • ๐ŸŽจ Professional Code Highlighting: Native Typst #raw() integration with syntax highlighting
  • ๐ŸŒ Internet Image Support: Download & cache images from URLs with hash-based system
  • ๐Ÿ”ง CLI Auto-Installation: Intelligent detection & installation of diagram tools (mermaid, dot, d2, plantuml)

๐Ÿ“Š v1.2.5 vs Previous Versions

  • Book Generation: Single docs โ†’ Multi-document books with TOC
  • Anchor System: Basic โ†’ Complete cross-reference navigation
  • Document Structure: Manual numbering conflicts โ†’ Clean automatic numbering
  • Code Blocks: Basic โ†’ Professional Syntax Highlighting
  • Images: Local only โ†’ Internet URLs + Caching
  • CLI Tools: Manual install โ†’ Auto-detection + Install
  • Build Time: Variable โ†’ Consistent < 60ms
  • Error Handling: Basic โ†’ Graceful fallback system

๐Ÿ†• Previous v1.2.0 Features

  • Advanced Table Processing: Captions + cross-references + positioning
  • Production Builder: Hash-based caching system
  • Cross-Reference System: @tbl:label, @fig:label support
  • Enhanced Emoji Support: Full Unicode with professional tables

โœจ Core Features

๐ŸŽฏ Production Builder v1.2.1

  • Professional Code Highlighting: 8+ languages with Typst native syntax
  • Internet Image Processing: Auto-download & cache with hash-based system
  • CLI Auto-Installation: Smart detection for mermaid, dot, d2, plantuml
  • Advanced Table Processing: Captions + cross-references + positioning
  • Enterprise Performance: Sub-60ms builds with intelligent caching

๐Ÿš€ Dual PDF Engines

  • Enhanced ReportLab v3.0: Performance leader for business documents โšก
  • Production Typst Builder: Quality leader for academic documents ๐ŸŽจ
  • Intelligent Routing: Automatic engine selection based on content

๐Ÿ“š Professional Document Generation

  • Convert markdown to production-ready PDFs
  • Complete table of contents with numbering
  • Full emoji and Unicode support ๐Ÿ˜Š๐Ÿš€๐Ÿ“Š
  • Professional code blocks with syntax highlighting
  • Internet image support with intelligent caching
  • Rich CLI interface with auto-setup
  • GUI frontend (optional)

๐Ÿš€ Quick Start

Installation

pip install wot-pdf

Basic Usage

# Production Builder with all v1.2.1 enhancements
wot-pdf build document.md --pdf --template technical

# Generate single PDF from file
wot-pdf generate --input document.md --output result.pdf --template technical

# Create professional book from directory
wot-pdf book ./docs/ book.pdf --template technical

# Test all v1.2.1 features  
wot-pdf demo --all-features

# List available templates
wot-pdf templates

# Show detailed template information
wot-pdf template-info technical

# GUI mode (if installed)
wot-pdf-gui

Python API

from wot_pdf import PDFGenerator, generate_book

# Simple generation
generator = PDFGenerator()
result = generator.generate("document.md", "output.pdf")

# Book generation
result = generate_book(
    input_dir="./docs/",
    output_file="book.pdf", 
    template="technical"
)

๐Ÿ“– Templates

Template Best For Features
academic Research papers Citations, bibliography, equations
technical Documentation Code blocks, diagrams, TOC
corporate Business reports Professional styling, charts
educational Learning materials Exercises, callouts, examples
minimal Simple documents Clean, fast generation

๐Ÿ› ๏ธ Installation Options

Minimal Installation

pip install wot-pdf

With Development Tools

pip install wot-pdf[dev]

With GUI Support

pip install wot-pdf[gui]

With Documentation Tools

pip install wot-pdf[docs]

๐Ÿ“‹ Requirements

  • Python: 3.8+
  • System Typst CLI (recommended): Install from typst.app
  • ReportLab: Automatically installed (fallback engine)

๐ŸŽฏ Use Cases

โœ… Technical Documentation

  • API references
  • User manuals
  • Installation guides

โœ… Academic Publishing

  • Research papers
  • Thesis documents
  • Conference proceedings

โœ… Business Reports

  • Quarterly reports
  • Project documentation
  • Presentation materials

โœ… Educational Content

  • Course materials
  • Tutorials
  • Reference guides

๐Ÿ“Š Comparison

Feature wot-pdf pandoc WeasyPrint
Typst Integration โœ… โŒ โŒ
Fallback Engine โœ… โŒ โŒ
Professional Templates โœ… Limited Limited
Book Generation โœ… Manual Manual
GUI Interface โœ… โŒ โŒ
CLI Interface โœ… โœ… Limited

๐Ÿ”ง Configuration

Create .wot-pdf.yaml in your project:

default_template: technical
output_directory: ./generated/
typst:
  enabled: true
  timeout: 60
reportlab:
  compression: true
  embed_fonts: true

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

๐Ÿ“œ License

MIT License - see LICENSE file for details.

๐Ÿ”— Links


Made with โค๏ธ by the Work Organizing Tools team

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

wot_pdf-1.2.6.tar.gz (180.3 kB view details)

Uploaded Source

Built Distribution

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

wot_pdf-1.2.6-py3-none-any.whl (240.9 kB view details)

Uploaded Python 3

File details

Details for the file wot_pdf-1.2.6.tar.gz.

File metadata

  • Download URL: wot_pdf-1.2.6.tar.gz
  • Upload date:
  • Size: 180.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wot_pdf-1.2.6.tar.gz
Algorithm Hash digest
SHA256 ce62706fbe2eec9c733003e96abdcbf25f8cf4f8f84f65d7dd0e5402cbd130d9
MD5 076ccbc25c6b1c668618396f019d4657
BLAKE2b-256 9ffa5303dd133b66bc3180bfec50f8ff7f1fda1a2dd9f26282680d981f8a97ff

See more details on using hashes here.

File details

Details for the file wot_pdf-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: wot_pdf-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 240.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for wot_pdf-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6be4348687c56067a16660fcf32069f5100c79b9c847a699ea95a19d34f15bdf
MD5 71649d3b6bc64914ff58e002fd4daaee
BLAKE2b-256 9db8022b3935dcd492d2a7fa17bfde04407045a9b6f58a975a792106be980a89

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