Omikhleia / sindict

Sindarin dictionary in TEI format
Other
32 stars 6 forks source link

Improve pointer resolution with form type (normal, deduced, normalized) #15

Closed Omikhleia closed 3 years ago

Omikhleia commented 3 years ago

To point to a word (whether manually or in the generated cross-reference), we use <ptr target="someId"/>

In the HTML output, this ptr pointer is resolved to the (first) orth form of the pointed entry, followed by the entry numbering in case of homographs.

IMHO, it would be nice to also resolve the status of the form here.

Ex.

berio Ety/351 N. inf.→ beria- should become : berio Ety/351 N. inf.→ #beria-

celw Ety/363 N. → celu should be : celw Ety/363 N. → ^celu

Etc.