sanskrit-lexicon / GRA

Grassman Wörterbuch zum Rig Veda
1 stars 0 forks source link

pate 570,1—3 #15

Closed gasyoun closed 1 year ago

gasyoun commented 3 years ago

Not only 1 should be linked, but interval until 3 us well. Regex did not catch it, @funderburkjim

vastu

funderburkjim commented 3 years ago

In this case, I don't see any real problem -- if the user clicks the link to 570,1 then verses 2 and 3 will be visible.

gasyoun commented 3 years ago

if the user clicks the link to 570,1 then verses 2 and 3 will be visible.

Sure he will, but the 3 is bigger than 1, but should be same size font.

funderburkjim commented 3 years ago

In the scans, the '1' is NOT smaller. All the digits are same size

image

So there should be TWO adjustments:

  1. include the '3' in the link (570,1—3 all underlined)
  2. Have all digits the same size (the '1' not smaller).

@gasyoun Agree?

funderburkjim commented 3 years ago

You also noticed a case where a rare AV reference was wrongly treated as a RV reference.

Which issue is this?

gasyoun commented 3 years ago

In the scans, the '1' is NOT smaller. All the digits are same size

Same size in print, not in our digitization.

So there should be TWO adjustments

Agree.

a rare AV reference was wrongly treated as a RV reference.

https://github.com/sanskrit-lexicon/GRA/issues/3

funderburkjim commented 3 years ago

@gasyoun I found the AV issue -- it is #3.

gasyoun commented 3 years ago

it is #3.

Oh yes it is.

funderburkjim commented 3 years ago

Have added markup to gra.txt for the RV references. Examples

Altered display code to handle this markup: basicadjust.php

Also, Unmarked the AV references, so they won't be erroneously linked to RV (#3)

Also, greatly reduced the unlinked RV references, and extended the scope of the link text (#5).

image

image

funderburkjim commented 3 years ago

Tech doc

Here are the required files to do the revision to gra.txt. They are run in a temp_ls subdirectory of csl-orig/v02/gra/.

The files are in this gist.

The files briefly described:

funderburkjim commented 3 years ago

Further work that could be done.

Currently, the xml form (gra.xml) contains {xxx,x} markup.

The conversion of these links to the 'modern' links is done on the fly by basicadjust.php.

It might be better to

This change would

gasyoun commented 3 years ago

instead of {570,1} in gra.xml, we might have 570,1

Makes sense, but if Jim will not, nobody will. Otherwise the different basicadjust.php will always remain such.

funderburkjim commented 3 years ago

if Jim will not, nobody will

This is a persistent problem. There are too many potential improvements that currently depend on me for implementation.

gasyoun commented 3 years ago

too many potential improvements that currently depend on me for implementation

Let's have a Skype call. I guess I have a guy, but we are a bit away of the December plan because of too much MW addenda lately ))