time-link / timelink-kleio

Provides translation of files in Kleio notation into XML and other formats. Part of Timelink.
1 stars 0 forks source link

Handling of note doc (javadoc like) comments not working #11

Closed joaquimrcarvalho closed 1 year ago

joaquimrcarvalho commented 1 year ago

Something broke the processing of kleio doc comments.

note *****************************************************************
note doc group fonte Este constitui o grupo principal para os documentos
         historicos portugueses. Admite qualquer dos actos definidos aqui.
note loc group fonte pt fonte
note loc group fonte en source
note loc group fonte fr source
note doc element id elemento obrigatorio, identifica unicamente a fonte na base de dados,
note doc element tipo tipo de fonte (registos paroquiais, livros notariais, etc...)
note doc element loc localizacao da fonte (arquivo pessoal, AUC, ANTT).
note doc element ref cota ou outra referencia de localizacao da fonte

In the docs after processing:

fonte$ (based on : historical-source)

Minimal: fonte$id///
Typical: fonte$id/year/type/ref 
Complete: fonte$id/year/type/ref/ano=.../data=.../loc=.../localizacao=.../obs=.../tipo=...
Occurs in: kleio 
Includes: acto, adenda, amz, apontamentosd, ar, arrolamento, automed, b, bap, beneficio, capela, carta, cartaperdao, cas, chanc, crisma, denuncia, devassa, docepiscopal, docpontificio, docregio, eleicao, encarte, escritura, familia, fim, gov, hab, historical-act, integr, juramento, lbach, lc, let, lista, matricula, memoria58, merce, milicias, movacao, nom, o, obito, ordenancas, pas, pauta, po, proc, rmerce, rol, termo

This used to work.

joaquimrcarvalho commented 1 year ago
  % doc generation is not working This is because gdoc clauses are being assert inside struSyntax module
     % so they are not visible here. check storeGroupDoc and storeElementDoc in struSyntax they need refactoring