Tcl/Tk, PDF, Markdown, and Cairo development.
Pure-Tcl applications and libraries with a shared intermediate
representation. The apps interoperate — right-click in mdhelp or
man-viewer to look up a word in tcltk-glossary; settings and tool
paths are shared via ~/.tcldocs.rc.
Pre-1.0 — refinements in progress, breaking changes possible.
Apps
- mdhelp — Markdown viewer / editor with PDF export and full-text search
- man-viewer — nroff viewer,
CLI converters (n2html / n2md / n2pdf / n2svg / n2txt), and
nroffide(nroff IDE with debugger) - tcltk-glossary — SQLite-backed Tcl/Tk glossary with FTS5 search, GUI and TUI
- cheatsheets — cheatsheet renderer (CSD format → PDF / HTML / Markdown via docir)
Libraries
- docir — document intermediate representation and renderer family (HTML, PDF, Markdown, nroff, SVG, canvas, tile)
- mdstack — Markdown parser, viewer, and renderers (adapter on docir)
- tcldocs-config —
cross-app shared settings (
~/.tcldocs.rc) - tcldocs-launcher — cross-app tool launcher (Tools menu, app autodetect)
- tcldocs-search — cross-app search component for the documentation suite
Tools
- tcltk-manindex — Tcl/Tk manpage indexer with FTS5 search and auto-generated cheatsheets
Native OpenDocument tooling for Tcl — read / write ODF and evaluate spreadsheet formulas without LibreOffice, validated against real LibreOffice output.
- odf — native OpenDocument library (read / write ODT / ODS / ODG / ODC / ODB), pass-through-first
- ofcalc — OpenFormula calculation
engine (parser, evaluator, dependency recalc, optional
odfadapter) - refcorpus — shared LibreOffice
reference corpus and comparison tools for
odf/ofcalc - tcl-peg-notes — PEG / tcllib parser docs plus PEG-in-Tcl/Tk and UNO / LibreOffice handbooks (docs)
- pdf4tcl — fork with extensions (encryption, PDF/A, Unicode / CID fonts)
- pdf4tcllib — layout, AcroForms, page templates
- tclpdfium — experimental PDFium integration
- tclmcairo — Cairo bindings for Tcl/Tk (PDF, SVG, PostScript, EPS, PNG)
- tcllunasvg — lunasvg binding
for Tcl (SVG → ARGB32 / PNG); pairs with tclmcairo via
image_from_argb32 - tkmcairo — Tk widgets built on tclmcairo (surface, plot, imageviewer, svgview, pageview, scene, viewport)
- ruledtext — notebook-paper style text widget with lines, margins, presets, and PDF export
- tkprintcompat — Tk 8.6 compatibility layer for the modern Tk printing API
- tcllitehtml — HTML / CSS widget for Tcl/Tk
Linux and Windows, Tcl/Tk 8.6 and 9.x.