There are 3 main alternatives to doing this:
-
psgo
- On my M2 Mac 2023, things don't seem to compile consistently with the 20+ years old documentation. The stones overlap a bit, and they seem to have somewhat pixelated borders.
-
igo
- Apparently, not only is
igo
difficult to install, but also kind of dangerous to LaTeX itself.
- Apparently, not only is
- Goban Package: Creating a new Package with TikZ
- TikZ also offers a way of making this interactive, so we could achieve the same level of interactivity as GoBooks' EPUBs.
- Desired Features:
- Different board sizes (grid and size itself)
- Drawing Stones
- Drawing Moves (with numbers)
- Drawing labels
- Partial Boards
- Parse SGF
- Interactive Graphs
- How to Export Diagrams as Images
- Symbols and Labels that could be used in text as well
An honorable mention is GoWrite2, which is what I've used in the past to create the diagrams in this book translation.
- I'm not sure, but apparently
psgo
comes with TeX Live (not true, so I don't know how I'm able to use\usepackage{psgo}
directly). - I'm using the LaTeX Workshop VS Code Extension.
- The files inside the
scripts
folder are tailored for working with it.
- The files inside the
- VS Code's PDF viewer is kind of weird. TikZ does create scalar vector graphics, but the images are shown as pixelated, which is something that doesn't happen with the same file when viewed with other PDF viewers.
- LaTeX Packages:
- Questions on TeX Stack Exchange:
- Reddit:
- Others