Skip to content

feat: graphviz support, auto-install tectonic, and v0.3.0#8

Merged
JheisonMB merged 8 commits intomainfrom
develop
Apr 1, 2026
Merged

feat: graphviz support, auto-install tectonic, and v0.3.0#8
JheisonMB merged 8 commits intomainfrom
develop

Conversation

@JheisonMB
Copy link
Copy Markdown
Collaborator

What's new in this PR

Diagrams

  • \begin{graphviz}...\end{graphviz} — embedded Graphviz/DOT diagrams rendered to PNG via layout-rs (pure Rust, no dot binary required)
  • Same options as mermaid: width, pos, caption
  • Linter detects unclosed graphviz blocks and invalid pos values

Auto-install tectonic

  • texforge build now auto-downloads and installs tectonic on first run if not found
  • No manual steps required — truly zero-friction setup
  • Fixed whichwhere on Windows

Other improvements

  • texforge clean — removes build/ artifacts
  • Assets mirrored via symlinks (Unix) / copy (Windows) — no file duplication
  • fmt excludes build/ directory
  • Linter detects \lstinputlisting and \inputminted missing files
  • Fail Fast: pos validated before rendering
  • SoC: mirror_assets moved to utils, tectonic find/locate/install separated
  • 29 unit tests

Docs

  • Diagrams section in README (mermaid + graphviz)
  • Uninstall instructions

Version

0.2.0 → 0.3.0

@JheisonMB JheisonMB merged commit c6a4410 into main Apr 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant