Josef-Friedrich / nodetree

LuaTeX package to visualize node lists in a tree view.
https://www.ctan.org/pkg/nodetree
LaTeX Project Public License v1.3c
14 stars 2 forks source link

Callback positions and output lines #33

Closed lemzwerg closed 1 year ago

lemzwerg commented 1 year ago

Well, it became a monster patch :slightly_smiling_face:

I hope it is not too tedious to inspect the commits!

Josef-Friedrich commented 1 year ago

Thank you! I will test everything thoroughly when I bring out a new release. Maybe I will revert some of your docstring modifications. It is important to me that the docstrings are compatible with the annotation system of https://github.com/luals/lua-language-server. I have already considered removing Ldoc. I have written many type definitions for LuaTeX in this project https://github.com/Josef-Friedrich/LuaTeX_Lua-API in the lua-language-server style

lemzwerg commented 1 year ago

Oh, I didn't know about those details. However, I think that the conversion from @tparam back to @param (and similar keywords) should be rather straightforward and possibly doable with regular expressions.

And yes, please test everything :slightly_smiling_face: It works for me, but this doesn't mean that other use cases are covered equally well.