Closed vvasuki closed 7 years ago
Some sample words: kurukshetra takshan aksha upanishad
etc... these i tested.
nice work, dAmodara!
<style> body{ margin: 20px; padding:0em; } div.screen{ font-family:Verdana, "Lucida Sans Unicode", sans-serif; margin: 0em; line-height:1.5em; } div.headtitle{ width:10em; height:3em; float:left; text-align:left; }
I wonder if that works in dictionary apps.
EDIT- I just checked this on goldendict desktop - it works beautifully. Yet to check this on mobile app.Also, can you add optitrans shortcut x for kSh? That is, kuruxetra, axa, taxan etc..
ok, will do that, and that css works in mobile apps too. checked it. before words started there are some #notes which will facilitate this. like
those numerals i kept bcz, otherwise, it means loss of some data i thought, and added numeral removed word also, so that no problem occur. but seems still has problem in sorting of results. so other option is to send that word to last, instead of deleting it. which one?
aah - ३। अक्ष| has a । after ३, not |. Ok I understand now. It's fine as it is - but it is better to move the numeral to the end, and add a suffix "vedic_index" since it is relevant only to this dictionary.
So, ३। अक्ष ------> अक्ष (३ vedic_index).
dAmodara, also regarding folder and file names: Please name the folder vedic_index. And the dictionary files should be named vedic_index.babylon etc.. They should not have a version number. (This is important for various installation scripts to work correctly.)
updated.
Alas - for some reason, golden dict on ubuntu desktop does not display the html correctly anymore. @damooo - any ideas why?
I am using arch linux... ubuntu too should display well.. can you post a screen shot, and html source of result page in goldendict once, so that i can understand problem..
Looking up akra, this is what I get : . With damsha -
PS: Check the latest checked-in file - it is possible my scripts messed them up.
don't know what is the problem, but i too got same above thing. just recompiled source again with stardict-editor version in my arch linux, and result worked well.. pushed compiled output files.
Seems all right now, thanks!
updated,added script which will generate final babylon with foot linking and other.
'make_vei_babylon.sh' creates babylon file from vei.txt file; it will take some 15 minutes to complete. It creates 'mula_vedic_index.babylon' file, intermediate file from which we can create customised version of babylon file using 'vei_babylon.customiser.sh' script in same folder. make_vei_babylon.sh creates 'vedic_index.babylon', and 'vedic_index_styled.babylon' files (which are pre customized with default options) , along with mula_vedic_index.babylon.
first run bash make_vei_babylon.sh, will create minimal version and and styled version and intermediate mula_vedic_index.babylon file from which we can create any customised version "vedic_index.babylon_customized" with options we selected from vei_babylon_customiser.sh . an example customized version is created in folder. added option in customiser to transliterate IAST to devanagari in text, and styling , etc.
Source here. Example of babylon format here.