sanskrit-lexicon / COLOGNE

Development of http://www.sanskrit-lexicon.uni-koeln.de/
18 stars 3 forks source link

APIDEV CSS #126

Open gasyoun opened 7 years ago

gasyoun commented 7 years ago

http://www.sanskrit-lexicon.uni-koeln.de/scans/awork/apidev/sample/list-0.2.html has a CSS file even more outdated than http://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2013/web/webtc/indexcaller.php has. Let's start, what I miss in APIDEV CSS file (and whas is already in main.css):

1) Old Standard font is something that was widely used in all known Sanskrit dictionaries by end of 19 century.

@font-face { / for normal text in pwg / src: url(../fonts/oldstandard.otf); font-family: oldstandard; } @font-face { src: url(../fonts/oldstandarditalic.otf); font-family: oldstandard_i;

2) Charter or Clarendon is a great choice for Devanagari in IAST mode. Just to give and idea. https://fonts.google.com/specimen/Roboto+Slab limed characters https://www.fontsquirrel.com/fonts/trocchi Trocchi is Styled like Clarendon.

mcddd

From macdonell_a_a_a_vedic_grammar_for_students_including_a_chapt.pdf

P.S. http://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2013/web/sqlite/pwgauth.html#1.026 opens fine in http://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2013/web/webtc/indexcaller.php mode, but not (as mentioned before in Chrome) in http://www.sanskrit-lexicon.uni-koeln.de/scans/awork/apidev/sample/list-0.2.html. Fixable, or no clue?

funderburkjim commented 7 years ago

Regarding the P.S.

I cannot duplicate the problem you mention.

The picture shows the list-0.2.html display with headword 'deva' from PWG. When the link for Rv (shown in yellow) is clicked, the pwgauth.html opens correctly.

image

gasyoun commented 7 years ago

@vvasuki how about you, reproducable?

funderburkjim commented 7 years ago

As I understand it, you are thinking that

These font rules should be applied in list-0.2.html displays, whatever the dictionary.

@gasyoun Is this a fair paraphrase of what you have in mind?

vvasuki commented 7 years ago

When the link for Rv (shown in yellow) is clicked, the pwgauth.html opens correctly.

Nothing opens in my case.. I am on Version 49.0.2623.75 (64-bit) of chrome on ubuntu.

funderburkjim commented 7 years ago

Nothing opens

@vvasuki Try opening developer tools, and seeing if console messages give a clue.

Also, This could be a pop-up window issue - Browser settings might be inhibiting popup window.

I have a linux box with 'elementary OS 0.4 Loki' (an Ubuntu offshoot, I think). In using the default 'Epiphany' browser, the links in list-0.2.html work just fine; the only difference from Chrome on Windows 10 is that the window comes up in a new tab, rather than a new window.

gasyoun commented 7 years ago

Is this a fair paraphrase of what you have in mind?

Indeed.

vvasuki commented 7 years ago

@funderburkjim , here's what I get in the console:

VM576:1 Uncaught ReferenceError: winls is not defined(anonymous function) @ VM576:1