आत्मीय विश्वास,अमरसारस्य (अमरकोषसंग्रहग्रन्थस्य) पाठो भवत्विति विचारः । तन्निमित्तं colebrook ग्रन्थसदृश आकारो लाभायेति मन्ये । भवान् कञ्चन संस्कृताभिमानिनं css-दक्षं च जानाति चेत्, कृपया संपर्कं कारयितुं प्रार्थये । उदाहरणं संलग्नं पत्रेऽस्मिन् ।सस्नेहम्,अजितः
--
You received this message because you are subscribed to the Google Groups "sanskrit-programmers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sanskrit-program...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
एवम् मम उपायः / व्याजः :-)Code here: http://jsfiddle.net/shreevatsa/rpog3b2n/9/नाहम् css-दक्षःbut I'm so grateful to Sri Ajit Krishnan for the dictionary files (that I just discovered yesterday) that I felt obliged to do my best to help here. :-)My basic idea for the alignment problem (which I presume is the actual hard part here), inspired by the \phantom command in TeX / LaTeX, is to put the entire verse line in every row, but hide the parts other than the one we want visible (with "color: transparent"). This automatically ensures that each row (from the same verse line) starts just where the previous ends.
This is a hack of course, and someone who knows CSS well may be able to come up with a better solution or simpler code. (Note also the "वेदा म्नायौ" broken up on the last line. I believe this can be fixed -- just have to make those two divs stick together closely.)Regards,Shreevatsa
2014-08-27 7:08 GMT+05:30 विश्वासो वासुकिजः (Vishvas Vasuki) <vishvas...@gmail.com>:
प्रिय अजित, कश्चिद् आसक्तस् स्यात् अस्माकं संस्कृतसाङ्गणकसमूहे। तानस्मिन् सूत्रे योजयामि।
2014-08-25 10:25 GMT-07:00 Ajit Krishnan <ajit.k...@gmail.com>:आत्मीय विश्वास,अमरसारस्य (अमरकोषसंग्रहग्रन्थस्य) पाठो भवत्विति विचारः । तन्निमित्तं colebrook ग्रन्थसदृश आकारो लाभायेति मन्ये । भवान् कञ्चन संस्कृताभिमानिनं css-दक्षं च जानाति चेत्, कृपया संपर्कं कारयितुं प्रार्थये । उदाहरणं संलग्नं पत्रेऽस्मिन् ।सस्नेहम्,अजितः--
--
Vishvas /विश्वासः
aatmiiya,I'd been thinking from the problem from a text markup point of view. I now realize that I should be approaching it from a data set point of view instead (especially since I may be able to reuse some of the existing amarakosha data that is available). The code you provided is perfect to get me started. I'll play around and reply back in a few days with a straw man proposal so that I can get your feedback.I like the "phantom" approach ... such a simple solution that I didn't consider. Thank you.sasneham,ajit
2014-08-27 10:47 GMT-07:00 Shreevatsa R <shree...@gmail.com>:
Vishvas, can you point me to the latest version of the source amara kosha data files that you are using?