WOT-PDF v1.2.4: Comprehensive PDF Generation with Mathematical Excellence - Process 37K+ character books, generate professional mathematical tables, advanced LaTeX conversion, context-aware Unicode protection
Project description
๐ WOT-PDF - Advanced PDF Generation v1.2.1
Professional PDF generation with Production Builder v1.2.1 + All Limitations Resolved
๐ NEW in v1.2.1 - Production Builder Enhancement
โ Major Breakthroughs
- ๐ 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)
- โก Sub-60ms Performance: Enterprise-grade build pipeline with intelligent caching
- ๐ฏ All Limitations Resolved: No more "โ Samo lokalne datoteke" or "โ CLI tools niso includirani"
๐ v1.2.1 vs Previous Versions
- 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:labelsupport - 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
- ๐ Documentation
- ๐ Issues
- ๐ฌ Discussions
- ๐ Source Code
Made with โค๏ธ by the Work Organizing Tools team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wot_pdf-1.2.4.tar.gz.
File metadata
- Download URL: wot_pdf-1.2.4.tar.gz
- Upload date:
- Size: 179.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b3da45d87019b2edd03b157c7becd59ad721e4e2efe8a97a82b67968a1a6ebf
|
|
| MD5 |
43ee0d90ce2c03d1c7068dcf8b9cb743
|
|
| BLAKE2b-256 |
835fd7b6d08af3365527f73a616c296512fb01aec9aacfd596a4ff1d9f072535
|
File details
Details for the file wot_pdf-1.2.4-py3-none-any.whl.
File metadata
- Download URL: wot_pdf-1.2.4-py3-none-any.whl
- Upload date:
- Size: 239.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8063599eb7c6db0583f7b7bf6f751f3eb1b2f1d3cd27652270d514eccf008a9f
|
|
| MD5 |
defb132d8f840d9312ff395bed33e689
|
|
| BLAKE2b-256 |
bf66785263b5173881e56d2d1a07373bdc219fbaf68d8a018f2694069a99834c
|