Re: [NTG-context] [***SPAM***] OT: Generating Command reference from source code
Am 04.12.2013 um 18:56 schrieb Jan Tosovsky
On 2013-12-04 Hans Hagen wrote:
On 12/3/2013 10:59 PM, Jan Tosovsky wrote:
Supposing that ... a) every .mkiv file is enhanced by 'package' annotation b) every public command/macro contains a description with the list of all available params (sensible subset of JavaDoc annotations)
.... I can imagine to extract this info and:
A) build the static command reference website with all the hyperlinks B) eventually generate PDF variant of the same C) export it into the form which can be imported into the WIKI (with read-only mode)
If every change of behaviour was reflected immediately in the description, if any newly added parameter was added into the parameter list, the main goal would be achieved.
there is a (somewhat incomplete) reference definition in xml format so your (b) is in principle covered;
where is it stored?
The english interface is stored in the file cont-en.xml, the path for the file on my system is /Users/wolf/context/beta/tex/texmf-context/tex/context/interface/cont-en.xml A PDF with all commands from the files is available here: http://pragma-ade.com/show-man-10.htm Wolfgang
On 2013-12-04 Wolfgang Schuster wrote:
Am 04.12.2013 um 18:56 schrieb Jan Tosovsky
: On 2013-12-04 Hans Hagen wrote:
there is a (somewhat incomplete) reference definition in xml format so your (b) is in principle covered;
where is it stored?
The english interface is stored in the file cont-en.xml, the path for the file on my system is
/Users/wolf/context/beta/tex/texmf- context/tex/context/interface/cont-en.xml
A PDF with all commands from the files is available here: http://pragma-ade.com/show-man-10.htm
Thanks. Interesting to see what can be found on my PC :-) Unfortunately there isn't even minimal description what the particular command does :-( And what is the purpose of those localized versions? Jan
participants (2)
-
Jan Tosovsky
-
Wolfgang Schuster