by tjoff · 2y ago · 0 comments
I tried to find a good way to illustrate packets in a simple protocol and went for the bytefield package for latex (pdf manual https://texdoc.org/serve/bytefield.pdf/0 ). It is a bit heavy, as if requiring latex wasn't heavy enough, so at first I dismissed it and thought there would be something simpler. But I couldn't find anything else that I liked so I stuck with it and think it was worthwhile in the end, the output looks great and is very clear.
Unfortunately, it seems the package is abandoned with the maintainer being unresponsive. But I've been using it within Sphinx to generate some documentation for a Bluetooth protocol, and it generates pretty useful diagrams.
https://www.luismg.com/protocol/ https://github.com/ryungmin/protocol-go