pantcl

Difference between version 3 and 0 - Previous - Next
**NAME**
''*pantcl''* document processor which can be used as [pandoc] filter to embed programmingTcl or diagram code into Markdown, LaTeX or ReStructuredText documents and to write other pandoc filters using the Tcl programming language. It supports languages like C, C++, Go, Rust, Lua, Tcl, Python, R, Octave, Vlang, diagram tools like Mermaid, Pic, DPic, Pikchr, GraphViz, PlantUml, Kroki, equation tools like EQN, LaTeX math, music notation tools like ABC music or lilypond, database tools like sqlite3 and it is easy to extend for other languages, tools.If used as a pandoc filter currently three input formats are supported, LaTeX, Markdown, Rst, and all output formats, pandoc supports can be written, Pdf, Docx, Odt, HTML, ..... If used standalone without pandoc only Markdown as input and HTML as Output is supported.

The project was formerly named [pandoc-tcl-filter].

<<toc>>

**DESCRIPTION**

**LINKS**

   * Author: [Detlef Groth]
   * Homepage: https://github.com/mittelmark/pantcl   * Download - standalone application with all filters mentioned below: https://github.com/mittelmark/pantcl/releasuites/download/10.32554689.112/panrtifacl-ts/50.819.7131.zip
   * Readme: https://htmlpreview.github.io/?https://github.com/mittelmark/pantcl/blob/master/README.html
   * Presentation at the S & T 2021: https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/doc/Groth-S-and-T-2021.pdf   * Version: 0.9.110
   * License: BSD

**Filters**

The following filters are currently available:

   * {.tcl} - the Tcl filter - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-tcl.html%|%filter-tcl.html%|%
   * {.abc} - filter for ABC music notation - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-abc.html%|%filter-abc.html%|%
   * {.cmd} - filter for Shell scripts, Scripting languages - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-cmd.html%|%filter-cmd.html%|%
   * {.dot} - filter for [GraphViz] tools dot and neato - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-dot.html%|%filter-dot.html%|%
   * {.eqn} - filter for EQN equations (groff tool) - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-eqn.html%|%filter-eqn.html%|%
   * {.kroki} - filter for diagrams using kroki webservice - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-kroki.html%|%filter-kroki.html%|%
   * {.mmd} - filter for Mermaid diagrams - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-mmd.html%|%filter-mmd.html%|%
   * {.mtex} - filter for LaTex equations - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-mtex.html%|%filter-mtex.html%|%
   * {.pik} - filter for [Pikchr] diagrams - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-pik.html%|%filter-pik.html%|%
   * {.pic} - filter for PIC diagrams (groff tool) - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-pic.html%|%filter-pik.htmk%|%
   * {.pipe} - filter for R, Python, Octave  (groff tool) - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-pipe.html%|%filter-pipe.html%|%
   * {.puml} - filter for PlantUML diagrams - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-puml.html%|%filter-puml.html%|%
   * {.rplot} - filter for [R] plots - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-rplot.html%|%filter-rplot.html%|%
   * {.sqlite} - filter for SQLite3 terminal application - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-sqlite.html%|%filter-sqlite.html%|%
   * {.tcrd} - filter for lyrics with music chords above - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-tcrd.html%|%filter-tcrd.html%|%
   * {.tdot} - filter for the [tdot] package https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-tdot.html%|%filter-tdot.html%|%
   * {.tsvg} - filter for the [tsvg] package - https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/pantcl/master/lib/tclfilters/filter-tsvg.html%|%filter-tsvg.html%|%
**Processing Schema**

[https://kroki.io/graphviz/svg/eNqNUstOwzAQvPMVq55LRXoCWUZCQoIDSAh6i3JIYzex6tjBdksK4t9Z20mbhlLRQx3Pzo5nH0yUJm8qeICvC4A6N6VQ9GqWELwpzXi60sqpvOZ08iTUpoUnseTGCcUnxIes-OQ0uc72fFvlDadL3U6t20lOV0JKzog_Ci21oXa9W8oNn34I5iqazObTiouycvjqTUYAfyj1BSZXa2rxYQKv1qWl0ZuGllfTgVAua60yID4B4F4XLfS85DcPSd9j5Wd2TrhXbnLFdIG3u7dFggcyHTfpIaHQRlkh11nkzPGIOXMCUeLR1fKMNzhlbsHbf5T9wlZnhHuz9pRb0j8bB_0H4cgT0w4f5u-KQO14i3WKwv-tCZhGakfA2W1JvChODS5v--bhV-gentFRh8wPnPDpGwV-mZ7ZIeLv2I1joNOPvC6K9tK4dkJthc2C0kDd78gIwv4FVlif3kCH4-HLOZIcpKcyX3JJ4y0Eus2I-AQDrpCTQcQe6veg7-YesMEGtnYM-UYPsGBAFGMWzuAI8qMLIxml-oKGEFx8_wB6nUqY]

**Discussion**
[DDG] - 2023-03-13 VPlersion 0.9.11:

   * adds support for [LaTeX] and [ReStruiscturedText] as input formats in addition to Markdown
   * shets eval=false per default to disable evaluation by accident
   * processing speedup.