Open martinruefenacht opened 1 year ago
Some of this has already been implemented, as part of the index processing pass. This should start from that. The --constfiles option to buildindices creates some LaTeX files, e.g., splittype-list.tex:
\const{MPI\_COMM\_TYPE\_HW\_GUIDED}\\
\const{MPI\_COMM\_TYPE\_HW\_UNGUIDED}\\
\const{MPI\_COMM\_TYPE\_SHARED}\\
I wasn't aware of this, but good!
The intention is to annotate the constants not just by name, but by KIND. So perhaps we need to use the prepass for that so it can be converted in normal latex, or we can have additional blocks defining the KINDs.
buildindices creates a separate file for each type of constant. The current collection is:
datatype-list.tex infoval-list.tex splittype-list.tex err-list.tex maxsize-list.tex string-list.tex err-t-list.tex modes-list.tex infokey-list.tex pvarclass-list.tex
Or did you mean Fortran KIND?
I meant the KINDs that we did for the pythonization.