Skip to content

About

A Qt-based desktop editor for encoding papyrological texts in Leiden+ according to the EpiDoc TEI-XML standard.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

Repository files navigation

TACHYS Editor

A Qt-based desktop editor for encoding papyrological texts in Leiden+ according to the EpiDoc TEI-XML standard.

Stage Python Version License: PolyForm Noncommercial


About

TACHYS Editor is designed to make Leiden+ encoding as simple, correct, and fast as possible.

Note

TACHYS Editor is currently in Beta. Features and grammar specifications are subject to change. Feel free to open an issue if you encounter any bugs or unexpected behavior.


Main Features

  • Live Debugging: Real-time error highlighting for Leiden+ and EpiDoc XML.
  • Extended & Improved Grammar: Provides extended syntax features and fixes common Leiden+ encoding issues.
  • EpiDoc-XML Injection: Embed raw EpiDoc-XML tags directly inside Leiden+ syntax.
  • IntelliPaste (Greek only / Beta): Smart paste (via Ctrl+Shift+V) featuring automatic lunate sigma conversion and character handling.
  • Orthographic Regularization Prediction: Suggests regularized forms using a lightweight machine-learning model.
  • Bidirectional Conversion: EpiDoc-XML ↔ Leiden+
  • HTML Preview (Beta): Preview a digital edition directly in your web browser.
  • Quality-of-Life Features:
    • Symbol (<g type="...">) autocompletion & suggestions.
    • Automatic line (<lb/>) and division (<div/>) numbering.
    • Automatic Byzantine numeral conversion (Ancient Greek).
    • Character whitelist filtering (currently for Latin, Coptic, Ancient Greek).
    • Keyboard shortcuts for standard Leiden+ markup.
    • Apparatus Creator Tool: Generate apparatus tags with guided assistance

Leiden++ (Extended Grammar)

Leiden++ introduces custom syntax extensions to solve limitations in standard Leiden+.

Feature Description Leiden++ EpiDoc XML Output
Underline Indicates text that is underlined in the original _αβγ_ <hi rend="underline">αβγ</hi>
EpiDoc Injections Allows to add inline XML tags directly to Leiden+ 1. αβ§<unclear>γ</unclear>§ <lb n="1"/>αβ<unclear>γ</unclear>

Warning

Compatibility Note: Leiden++ syntax is specific to TACHYS Editor and is not compatible with the Papyrological Editor (PE) on papyri.info. However, all exported TEI-XML generated by TACHYS is 100% EpiDoc compliant.


Getting Started

Prerequisites

  1. Font (Recommended): Download and install the IFAO-Grec Unicode font by Jean-Luc Fournet (required for accurate rendering in HTML preview).
  2. Git (Optional): Install Git to enable built-in version tracking. Once installed, a "Changes" menu item will appear in TACHYS automatically.

Installation

Option A: Pre-built Executable (easiest)

Download the latest executable for Windows, Linux, or macOS from the Releases page.

Option B: Running from Source

  • Requirements: Python $\ge 3.9$ (Python 3.13 recommended)
# Clone the repository
git clone [https://github.com/oli-do/TACHYS-Editor.git](https://github.com/oli-do/TACHYS-Editor.git)
cd TACHYS-Editor

# Install dependencies
pip install -r requirements.txt

# Run the editor
python main.py

Copyright & License

Required Notice: Copyright Oliver Donath (https://github.com/oli-do). This software is licensed under the terms and conditions of PolyForm Noncommercial 1.0.0.

About

A Qt-based desktop editor for encoding papyrological texts in Leiden+ according to the EpiDoc TEI-XML standard.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages