Correct detecting verse but Wrong position for Non-Eng Ref.

Have you found a bug or you think that the program does not function as expected? Report it here
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Correct detecting verse but Wrong position for Non-Eng Ref.

Post by patwwh »

Dear Costas,

When I let TW to auto-detect verse references (with Ctrl+Shift pressed for references without prior book name), TW in some case will correctly detect it, but then put the hyperlink is wrong position, for Non-English books.
I use Eng ref as a demo:
"I think that 1:2 means ...."
TW may put the hyperlink on the word "means", instead of "1:2".

I have attached a demo file for your testing purpose.

Since TW can correctly detect the reference actually, I suppose this is an easy bug to be resolved. Hope you can solve it.
Attachments
CUVL_Demo.cmt.twm.zip
(6.01 KiB) Downloaded 391 times
Last edited by patwwh on Sun Apr 17, 2016 11:15 am, edited 1 time in total.
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by JG »

So, what language are you using? Can you post a sample that has the problem please.
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

I find that .twm file cannot be uploaded directly, so I have zip and re-uploaded it again.
I am using Traditional Chinese.
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Any reply?
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by csterg »

I took a look at the file. I cannot really understand what is going on. I tried to change the interface language to Chinese but nothing is detected. You should try to create a simpler example with a very specific use case.
Costas
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Hi Costas,

The file I uploaded previously was a auto-detected module, containing just a small table.
If it is not simple enough for your testing, here I zip a file for you, with content in ONE line only. Both original version and auto-detected versions are inside.
Attachments
Two_Files.zip
(8.08 KiB) Downloaded 387 times
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by csterg »

OK, i still need help.
First, i cannot make the detection to work at all. Which language is your interface in?
Second, what should be detected exactly?

Also, what version of theWord are you running?
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Hi Costas,

I am using TheWord v5 + Language Pack v5, which is Traditional Chinese Lang Pack as I mentioned in previous posts. I have also tried to completely removed, reinstalled, and re-tested TheWord before I made this series of posts.

As I described in my 1st post, the problem occurs for references without book name.
Replacing Traditional Chinese by English for your understanding below:

e.g. 1:2, instead of Gen 1:2.

When I auto-detect the references with Ctrl+Shift pressed, then
"A. Human History 1:1-11:9 / I. God Creation 1:1-2:25"
incorrectly becomes:
"A. Human History 1:1-11:9 / I. God Creation 1:1-2:25"
instead of the expected correct one like:
"A. Human History 1:1-11:9 / I. God Creation 1:1-2:25"

The hyperlink of 1:1-11:9 is incorrectly built on the the phrase "I. God Creation", but not "1:1-11:9".

Although your Windows may not be able to show Traditional Chinese, you should be able to observe the Ansi characters and numbers, as well as the changes in hyperlinks built with blue color, in my last shared 2 modules. For your convenience, I have also attached a screenshot for you in this post. Upper window shows the original plain module. Lower window show the auto-detected module. The position of the blue text would tell you everything.

N.B. The Windows used is Win10. If you are using Win10 too and want to view Traditional Chinese characters, you can actually change the Region setting for Non-Unicode Program to Traditional Chinese, since Win10 is natively a multi-language version.
Attachments
BeforeVsAfterDetection.jpg
BeforeVsAfterDetection.jpg (159.19 KiB) Viewed 4539 times
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Hi Costas, is there still any unclear area?
May we expect a debugged version?
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by JG »

Do you hold down the Shift and Ctrl key also?
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Hi JG, yes, I have mentioned twice that I have pressed Ctrl+Shift. I am very experienced in these procedure. The problem is not that I cannot detect the verse, but the detected result are imposed on wrong position. Please see my last posts.
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by csterg »

Dear patwwh,
the bug has been fixed in b1469. Please download from beta section and let me know if it works for you.
Thanks for reporting in such a detailed manner and being patient until I 'got' it :)
Costas
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Dear Costas,
I have downloaded the latest b1470.
Unluckily, not successful. 2 out of 6 have problems.
Attachment is the updated result.
Pat
Attachments
Demo.cmt.twm.zip
(2.12 KiB) Downloaded 360 times
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by csterg »

Pat,
I did an additional fix in b1471. Can you try it out please?
Thanks
Costas
patwwh
Posts: 32
Joined: Thu Sep 24, 2009 3:00 pm

Re: Correct detecting verse but Wrong position for Non-Eng R

Post by patwwh »

Dear Costas, problems have been resolved. Thanks for your help.
Post Reply