Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More options for search by example #187

Open
zuphilip opened this issue Nov 4, 2015 · 3 comments
Open

More options for search by example #187

zuphilip opened this issue Nov 4, 2015 · 3 comments

Comments

@zuphilip
Copy link
Member

zuphilip commented Nov 4, 2015

For numeric styles or also author-date styles the inline-citation will most of the time look the same, but the entry in the bibliography can vary very much. However, in the search by example will always rank the result on a combined matching. In these cases it would make sense to have an option to deactivate (toggle) to search only for a good match in the bibliography.

@adam3smith
Copy link
Member

this is actually already possible in response to me bringing up exactly the same concerns with Steve as the editor was developed. It wasn't included in the regular release version because Mendeley's UX experts found it too cluttered/confusing, but if you add
?advanced=true to the search by example URL (i.e. http://editor.citationstyles.org/searchByExample/?advanced=true ) you get one box to select multiple citations and one box to match the results on the entire search, not equally weighted citation/bibliography.

@zuphilip
Copy link
Member Author

zuphilip commented Nov 7, 2015

I tried the second option out which sounds similar to my request. However, I always receive 'No results found'. Does it work for you?

@zuphilip
Copy link
Member Author

Another thing which I thought about: Could we make a similar advanced option which ignores some characters? My impression is that we mostly want to check the order and presence of the different elements. Therefore, I would suggest to ignore all punctations, i.e. delete them for comparison. @adam3smith What do you think?

I don't yet understand the code, but a starting point seems to be https://github.com/citation-style-language/csl-editor/blob/master/src/SearchByExample.js#L473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants