Skip to content

Add support for forest syntax trees#56

Open
omentic wants to merge 2 commits into
pandoc-ext:mainfrom
omentic:forest
Open

Add support for forest syntax trees#56
omentic wants to merge 2 commits into
pandoc-ext:mainfrom
omentic:forest

Conversation

@omentic

@omentic omentic commented Jul 10, 2025

Copy link
Copy Markdown

This is a companion PR to #55. Discussion should probably happen there. I can merge these together if desired.

@tarleb

tarleb commented Jul 15, 2025

Copy link
Copy Markdown
Member

LGTM, but we should probably factor out the common parts of the tikz, forrest tree, and bussproof compilers. The main difference seems to be the LaTeX template that's used for each. Are there other differences?

@omentic

omentic commented Jul 15, 2025

Copy link
Copy Markdown
Author

The forest one puts \begin{forest}...\end{forest} in the template itself, so the user only needs to type ex. [S [N [Alice]] [V [runs]]] to get a syntax tree. The buffproofs one doesn't do this (like TikZ) since the syntax is more directly LaTeX.

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.

2 participants