hebrew-documents

Generate Hebrew RTL documents in PDF, DOCX, and PPTX formats.

Updated Aug 5, 2026
One-click install
npx skills add https://github.com/amirbiron/claude-skills --skill hebrew-documents-amirbiron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hebrew-documents
Source: https://github.com/amirbiron/claude-skills/tree/main/skills/hebrew-documents
Command: npx skills add https://github.com/amirbiron/claude-skills --skill hebrew-documents-amirbiron

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires reportlab, weasyprint, python-docx, python-bidi, pptxgenjs, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating documents in Hebrew requires correct right-to-left (RTL) rendering, bidirectional text handling, and Hebrew font support, which most document libraries do not provide out of the box. This Skill guides the generation of Hebrew PDF, DOCX, and PPTX files with proper RTL layout, fonts, and Israeli business document conventions. ## Core Features & Use Cases - Multi-format Hebrew document generation: Create PDFs with reportlab or WeasyPrint, DOCX files with python-docx, and presentations with pptxgenjs, all with correct RTL configuration. - Israeli business document templates: Produce tax invoices, contracts, price quotes, receipts, and meeting minutes with legally required fields such as VAT (18%) calculation and licensed dealer numbers. - Hebrew font guidance: Select and register Hebrew fonts like Heebo, David, and Rubik with installation instructions for macOS, Linux, and Windows. - Use Case: A user asks to generate 50 Hebrew tax invoices from a CSV file. The Skill iterates over the rows and produces individual PDF invoices with unique invoice numbers, RTL layout, VAT calculation, and shekel formatting. ## Quick Start Ask the assistant to create a Hebrew tax invoice as a PDF for your business with your company details and line items.

Frequently Asked Questions about hebrew-documents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Hebrew PDF with RTL text in Python?

Use reportlab with a registered Hebrew TTF font and apply get_display() from python-bidi to reorder characters, then draw text with drawRightString() for right alignment. Alternatively, use WeasyPrint with an HTML document that sets dir="rtl" for built-in RTL support.

How to make a Word document right-to-left with python-docx?

Set RTL direction by adding a w:bidi element to the paragraph properties and a w:rtl element to each run's properties, then align paragraphs to the right. Use a Hebrew-supporting font such as David for proper character rendering.

Does reportlab support Hebrew text natively?

No, reportlab has no built-in Hebrew support. You must explicitly register a Hebrew TTF font with pdfmetrics.registerFont() and apply python-bidi's get_display() to reorder characters before drawing text.

Why do Hebrew characters show as boxes or question marks in my PDF?

This happens when no Hebrew font is registered or installed. Download a Hebrew TTF font such as Heebo from Google Fonts, register it with pdfmetrics.registerFont() for reportlab, or install it as a system font for WeasyPrint.

What fields are required on an Israeli tax invoice?

An Israeli tax invoice requires the business name and address, licensed dealer number, sequential invoice number, issue date, customer name and ID, itemized lines with quantity and unit price, subtotal, 18% VAT, and total in shekels.