The documentation generators that I know of either use HTML, Markdown(Pandoc), Restructured text (Sphinx), etc. I have not come across a pure latex-based one yet. The closest ones I know of is tex4ht.

  • Take a look here : tex.stackexchange.com/a/202616/6880 . I use to document a lot of my codes in Python but I recently decided to stop it such as to separate the documentation for users from the one for developers. I think that this is the reason why most of the documentations for LaTeX packages isn't user-friendly.
    – projetmbc
    Jun 24, 2021 at 7:47
  • 1
    Yes, TeX4ht can generate documentation from LaTeX, see the work in progress documentation that is automatically generated using Github Actions from this repository. I use this Github Action method for all my recent projects, because Markdown is just too frustrating for me.
    – michal.h21
    Jun 24, 2021 at 7:52
  • I'm not sure what a "documentation generator" is. Some years ago I wrote the docmfp package which enabled you to provide both code (e.g. Java, C, or other languages) to be output in one file and the documentation in LaTeX form to be output in a .tex for processing via LaTeX. Jun 24, 2021 at 16:53


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.