https://github.com/mittelmark/dgtcl
Pandoc filters for Tcl, GraphViz dot syntax, LaTeX equations, PlantUML, Mermaid, PIC and Pikchr diagrams, R plots, ABC music notation, SQLite code, file includes and code for a few Tcl packages and Tk widgets.
https://github.com/mittelmark/dgtcl
abc-notation latex-math markdown pandoc pandoc-filter pandoc-filters sqlite3 tcl tk
Last synced: 6 months ago
JSON representation
Pandoc filters for Tcl, GraphViz dot syntax, LaTeX equations, PlantUML, Mermaid, PIC and Pikchr diagrams, R plots, ABC music notation, SQLite code, file includes and code for a few Tcl packages and Tk widgets.
- Host: GitHub
- URL: https://github.com/mittelmark/dgtcl
- Owner: mittelmark
- License: mit
- Created: 2017-02-09T17:18:30.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-11T15:21:36.000Z (almost 3 years ago)
- Last Synced: 2025-04-01T02:58:56.653Z (11 months ago)
- Topics: abc-notation, latex-math, markdown, pandoc, pandoc-filter, pandoc-filters, sqlite3, tcl, tk
- Language: Tcl
- Homepage:
- Size: 3.65 MB
- Stars: 22
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DGTcl - Project
This repository contains the following Tcl packages and Pandoc filters written in the Tcl programming language:
## Pandoc filters
The [Pandoc](https://pandoc.org) application is a great document converter and processing tool.
The pandoc-tcl-filter folder contains two Pandoc filters for Tcl code and for Graphviz dot files. To know more about Pandoc filters have a look at Pandocs manual pages [https://pandoc.org/filters.html](https://pandoc.org/filters.html).
These filter allow you to directly embed Tcl code and Dot file code into your documents and produce code output or figures using these code chunks.
* [pandoc-tcl-filter Manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/pandoc-tcl-filter.html)
* [abc filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-abc.html)
* [cmd filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-cmd.html)
* [dot filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-dot.html)
* [eqn filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-eqn.html)
* [kroki filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-kroki.html)
* [mermaid filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-mmd.html)
* [latex equation/graphics filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-mtex.html)
* [pic/dpic filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-pic.html)
* [pikchr filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-pik.html)
* [pipe filter (R, Python, Octave)](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-pipe.html)
* [PlantUML filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-puml.html)
* [sqlite3 filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-sqlite.html)
* [tcl filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-tcl.html)
* [tcrd filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-tcrd.html)
* [tdot filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-tdot.html)
* [tsvg filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-tsvg.html)
* [rplot filter](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter/filter-rplot.html)
* [filter-view - GUI](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/filter-view.html)
* [pandoc-tcl-filter Readme](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/Readme.html)
* [pandoc-tcl-filter Examples](https://htmlpreview.github.io/?https://raw.githubusercontent.com/mittelmark/DGTcl/master/pandoc-tcl-filter/examples/example-dot.html)
* [pandoc-tcl-filter Presentation](https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/doc/Groth-S-and-T-2021.pdf)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/pandoc-tcl-filter).
* [single file Tcl script pandoc-tcl-filter.tapp version 0.8.2 - build with tpack (Linux only tested, Windows and MacOSX could work as rl_json is included)](https://github.com/mittelmark/DGTcl/releases/download/2023-03-05/pandoc-tcl-filter-0.8.2.zip)
_Please note, that for the installation of this package you need as well the Tcl package [rl_json](https://github.com/RubyLane/rl_json) from Ruby Lane. I will try to make some binaries of this package available for Windows, Linux and OSX._
In the single file Tcl script above this library is included for Linux and Windows for 64 bit platforms.
For other filters have a look at the Pandoc topic list [https://github.com/topics/pandoc-filter](https://github.com/topics/pandoc-filter).
## Tk Widgets
* [dgw](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgw/dgw.html) -
collection of various snit widgets and snit widget adaptors,
[Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/dgw).
* [chesschart](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/chesschart/chesschart.html) -
a pure Tcl/Tk widget to make flowcharts using the chess coordinate system.
Here the link to the [chesschart tutorial](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/chesschart/doc/intro.html) and the
[Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/chesschart).
* [shtmlview::shtmlview](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/shtmlview/shtmlview.html) -
a pure Tcl/Tk widget to render a reasonable subset of HTML and via Tcllibs Markdown library Markdown into a Tk text widget, [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/shtmlview).
## Tcl Libraries / Applications
* kroki4tcl - translation of diagram code into [kroki URL's](https://kroki.io).
* [kroki4tcl readme](https://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/kroki4tcl/README.html)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/kroki4tcl)
* tdot - the Thingy DOT writer. Create DOT files and images for DOT graphs with ease. Syntax is very close to the Graphviz DOT language.
* [tdot manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/tdot/tdot.html)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/tdot)
* tpack - deployment system for Tcl 8.4+ using uncompressed tar file format.
* [tpack manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/apps/tpack/tpack.html)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/apps/tpack)
* mkdoc - extract Markdown documentation from source code files and produce HTML files
* [mkdoc manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/mkdoc/mkdoc.html) - Markdown based source code documentation
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/mkdoc)
* tmdoc - embed and execute Tcl code in Markdown or LaTex documents
* [tmdoc manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/tmdoc/tmdoc.html) - literate programming using Tcl for embedding Tcl code into Markdown and LaTeX documents.
* [tmdoc Markdown based tutorial](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/tmdoc/tutorial/tmd.html) - Tutorial about on how to use the package.
* [tmdoc LaTeX based tutorial](https://github.com/mittelmark/DGTcl/blob/master/lib/tmdoc/latex/tmdoc-template.pdf)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/tmdoc)
* tsvg - the Thingy SVG writer. Create SVG files with ease. Either using a Tclish or a SVGish syntax.
* [tsvg manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/pandoc-tcl-filter/lib/tsvg/tsvg.html)
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/pandoc-tcl-filter/lib/tsvg)
* dgtools - various small snit objects, some are required by the dgw package
* [argvparse manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgtools/argvparse.html) - command line argument parser
* [dgtutils manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgtools/dgtutils.html) - command line tools for the dgtools package
* [recover manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgtools/recover.html) - debugging tool
* [repo manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgtools/repo.html) - install Tcl package from github or chiselapp
* [shistory manual](http://htmlpreview.github.io/?https://github.com/mittelmark/DGTcl/blob/master/lib/dgtools/shistory.html) - snit history type to manage lists with history
* [Gitdown-Download](https://downgit.github.io/#/home?url=https://github.com/mittelmark/DGTcl/tree/master/lib/dgtools)
## Download
Currently there is no version based individual download for the different packages.
You can download the entire project using the github project-zip feature at this link:
* [https://github.com/mittelmark/DGTcl/archive/master.zip](https://github.com/mittelmark/DGTcl/archive/master.zip)
If the project size starts exceeding 1MB I will create individual packages.