sanskrit-lexicon / PWK

Sanskrit-Wörterbuch in kürzerer Fassung, 7 Bände Petersburg 1879-1889
3 stars 1 forks source link

remove sanskrit italics #91

Closed funderburkjim closed 1 year ago

funderburkjim commented 1 year ago

Solve the problem mentioned in https://github.com/sanskrit-lexicon/csl-orig/issues/1033.

AnnaRybakovaT commented 1 year ago

Dear Jim, I have to make a break for a week. Tomorrow we are going to Athens to visit some exhibitions and to place orders for new tourist season. If everything be fine I am coming back home on next Wednesday.

funderburkjim commented 1 year ago

test7.py doesn't run because the parameter of the repl function is treated as Match object, not a string.

test8.py provides one way to rewrite the repl function. It is run with both test1.txt and test8a.txt as example files. See readme.txt for usage details

change_test2.py modifies change_test1.py, using the ideas of test8 (i.e., use of repl function to modify text fragments {%..%}). The result file, for debugging purposes,

@AnnaRybakovaT When you're back, after studying the above, then

AnnaRybakovaT commented 1 year ago

When you're back, after studying the above, then

Dear Jim, I am at home. On Monday I will be able to do all mentioned above steps.

AnnaRybakovaT commented 1 year ago

run change_test3

* Examine all the changes -- I expect about 235 lines changed.

  * If there are drastically more changes,  don't examine all of them!

* Note any changes that are wrong

Dear Jim, Please check the change_test3.py

change_test3.txt  (223 changes in 184 entries)

After examination of all changes I didn't find any wrong cases.

AnnaRybakovaT commented 1 year ago

As you will notice I did some changes in the file test8.py - it is about only to one typo in two comments.

funderburkjim commented 1 year ago

change_test3.txt looks good. Only 2.5 things remain:

1. get rid of debugging [[...]]

Let's call the 'final' change program change_1.py. Start with a copy of change_test3.py

cp change_test3.py change_1.py

Manually edit change_1.py

2. generate change_1.txt

Per usage directions in readme.txt

2.5 Get the latest temp_pw_0.txt and rerun

I happened to notice that your version of temp_pw_0.txt is not the latest.

I think change_1.txt should complete preparation of the change file for our issue91. Then push.

funderburkjim commented 1 year ago

Then push.

That is, add and push the pwk repository

AnnaRybakovaT commented 1 year ago

I happened to notice that your version of temp_pw_0.txt is not the latest.

Dear Jim, I have updated the repository csl-orig and I see that pw.txt hase a date 12.01.2021 (is it the latest version?)

Rybakova@ST-Rybakova MINGW64 ~/Documents/cologne/csl-orig (master)
$ git pull
Already up to date.
funderburkjim commented 1 year ago

Anna - Do a 'git log' in csl-orig. The top (most recent) commit should show:

commit 1f1daf94f18e008af3a9ea8f892df6e9fd2734f7 (HEAD -> master, origin/master, origin/HEAD)
Author: funderburkjim <funderburkjim@gmail.com>
Date:   Mon Jan 23 17:53:16 2023 -0500

    PWG: numeric orphans, 5
    Ref: https://github.com/sanskrit-lexicon/PWG/issues/65
AnnaRybakovaT commented 1 year ago

Do a 'git log' in csl-orig

I have:

Rybakova@ST-Rybakova MINGW64 ~/Documents/cologne/csl-orig (master)
$ git log
commit ae8dc65fa97abd1f3d7e89309ad1d288704a5160 (HEAD -> master, origin/master, origin/HEAD)
Author: AnnaRybakovaT <arybakovatheohari@gmail.com>
Date:   Sat Mar 6 15:38:43 2021 +0400

    pe.txt - Batch 3

commit 0ebb8d7f523c0b9038b389cd5421b4c44135e4f2
Merge: 6b45d9d e1e11ad
Author: AnnaRybakovaT <74726889+AnnaRybakovaT@users.noreply.github.com>
Date:   Sat Mar 6 14:34:05 2021 +0300

    Merge pull request #6 from sanskrit-lexicon/master

    06.02.2021

commit e1e11ad00eddc9e0ee20ac98c5f0c706959ccac0
Author: funderburkjim <funderburkjim@gmail.com>
Date:   Thu Mar 4 18:02:05 2021 -0500

    mw: Minor correction at L=37689, 43347

commit 47c60b13702e63699e80d7c477650a4fc9529cbe
Author: funderburkjim <funderburkjim@gmail.com>
funderburkjim commented 1 year ago

get latest csl-orig

Your 'csl-orig' is definitely not in sync. I'm not sure where it comes from. We can investigate that later.

For now, get the latest csl-orig from github.

Now,

AnnaRybakovaT commented 1 year ago

As check, cd ~/Documents/cologne/csl-orig and do 'git log' again.

* yours should agree with mine

Now it is the same

Rybakova@ST-Rybakova MINGW64 ~/Documents/cologne/csl-orig (master)
$ git log
commit 1f1daf94f18e008af3a9ea8f892df6e9fd2734f7 (HEAD -> master, origin/master, origin/HEAD)
Author: funderburkjim <funderburkjim@gmail.com>
Date:   Mon Jan 23 17:53:16 2023 -0500

    PWG: numeric orphans, 5
    Ref: https://github.com/sanskrit-lexicon/PWG/issues/65
funderburkjim commented 1 year ago

@AnnaRybakovaT The changes of change_1.txt now look fine. They have been installed. (see readme.txt section after change_1.txt for details.)

OUR WORK IS FINISHED for this issue :)

Investigate: where did csl-orig-anna come from?

AnnaRybakovaT commented 1 year ago
  • The output may provide a clue

Dear Jim, please, see the output:

Rybakova@ST-Rybakova MINGW64 ~/Documents/cologne/csl-orig-anna (master)
$ git remote -v
origin  https://github.com/AnnaRybakovaT/csl-orig.git (fetch)
origin  https://github.com/AnnaRybakovaT/csl-orig.git (push)
funderburkjim commented 1 year ago

@AnnaRybakovaT Not sure if the csl-orig at your github account has further use. Perhaps it was made as part of a workflow with @drdhaval2785.

drdhaval2785 commented 1 year ago

It is Anna’s fork of csl-orig repository.

drdhaval2785 commented 1 year ago

Anna can delete this repository without any information loss. Forked repositories are useful if we want to create pull requests.

AnnaRybakovaT commented 1 year ago

Anna can delete this repository without any information loss.

Thanks!