Skip to content

XSL to generate visualizations from FLEXTEXT files

License

Notifications You must be signed in to change notification settings

hzsk/flextext2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flextext2html

This XSL is used to generate visualizations from FLEXTEXT files. Some examples can be seen here and here. The result is not final and further sophistication in the tool is needed if there is will to use it directly with other file formats such as EXB.

Instructions

Modify the font locations in the XSL, now folder called fonts is expected. Also different attributes have to be modified in case the glosses and translations are not in English. In principle it is easy to add elements which would add translations and glosses on other languages.

Result

The resulting HTML file looks more or less like this:

The example is Kamas text on INEL website, originally published in Kai Donner's Kamassisches Wörterbuch, please see the HTML version here for exact authors and references.

Attribution

The XSL was written by Niko Partanen while working in INEL project. Visualization uses Leipzig.js JavaScript library created by Benjamin Chauvette. The visualizations with complex scripts work best with fonts such as Charis SIL, which can be downloaded from here, and which is released by SIL with SIL Open Font License.

About

XSL to generate visualizations from FLEXTEXT files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages