davidrthorn / cross_reference

Cross referencing for Google Docs
MIT License
80 stars 20 forks source link

Can match "Figure" but not "Figure 1" in search bar #74

Open ChenJiuu opened 2 years ago

ChenJiuu commented 2 years ago

When I create links, I cannot search them again in the search bar.

Search "Figure"

image

Search "Figure " (a space after)

image

Is there any way to fix this?

If not, is there a way to remove all links and make them back to the normal text again?

davidrthorn commented 2 years ago

There's no way to remove all links except by searching for them. But it's very odd that it doesn't find them because they are just normal text. Have you tried reopening the document and searching?

On Tue, 14 Jun 2022, 09:19 Fine, @.***> wrote:

When I create links, I cannot search them again in the search bar. Search "Figure"

[image: image] https://user-images.githubusercontent.com/50128686/173528580-7f3aa166-1fa6-4040-9171-5729a5d8f4c1.png Search "Figure " (a space after)

[image: image] https://user-images.githubusercontent.com/50128686/173528799-b00ea2a5-488d-44da-a615-84eb17709a75.png

Is there any way to fix this?

If not, is there a way to remove all links and make them back to the normal text again?

— Reply to this email directly, view it on GitHub https://github.com/davidrthorn/cross_reference/issues/74, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH6VUD3IDK3NHRSB64NJSDVPA57RANCNFSM5YWZGNIA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ChenJiuu commented 2 years ago

Yes, I tried reopening and searching in both chrome and safari, but it doesn't work.

In addition, the sidebar of the configuration can't open in chrome. image

but can be opened in safari. image

ChenJiuu commented 2 years ago

I think the problem could be due to the space in the configuration sidebar being different from whitespace in google doc. image

There won't be a problem if I don't use whitespace.

Is space encoded differently in Cross Reference?

davidrthorn commented 2 years ago

Ah yes it uses non breaking space for obvious reasons. Have you tried using search within Google docs rather than browser?

On Tue, 14 Jun 2022, 10:31 Fine, @.***> wrote:

I think the problem could be due to the space in the configuration sidebar being different from whitespace in google doc. [image: image] https://user-images.githubusercontent.com/50128686/173544953-7940ce63-a3a1-4602-a751-ccccc914fc5b.png

There won't be a problem if I don't use whitespace.

Is space encoded differently in Cross Reference?

— Reply to this email directly, view it on GitHub https://github.com/davidrthorn/cross_reference/issues/74#issuecomment-1154945794, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACH6VUDS4XPIXQWM54A5VPDVPBGQRANCNFSM5YWZGNIA . You are receiving this because you commented.Message ID: @.***>

ChenJiuu commented 2 years ago

Yes, I tried, but it didn't work either.

image

jronley commented 2 months ago

I know it has been two years, but maybe someone else will find this useful! I found a workaround - just search "Figure" followed by \s and your figure number. Enable the "Match using regular expressions" option. FigureSearch