I'm looking for some standard ou good practices to document LaTeX source code.
I know the package doc to manage sty files, but I'm looking for how to put comments in the document itself (tex files).
I saw plenty of documents using meta-comments starting with %! and it seems to be very tool dependent, as TeXStudio comments differ from those in IntelliJ, for example.
This is from TeXStudio:
% ! TeX program = pdfduallist.sh % | txs:///view
And this is from IntelliJ Idea:
%! suppress = MightBreakTexify
%! suppress = FileNotFound
%! Package = LINGUAGEM
%! Author = Jander
%! Date = 23/04/2022
Is there a common ground on such kind of comments? I couldn't find any reference about it.
Other options are also welcome.
(I'm currently using IntelliJ IDEA).
%comments, I think. – David Carlisle Apr 27 '22 at 18:41docis for. I guess we might need some example of what you are after. – Joseph Wright Apr 28 '22 at 18:36