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

Integration with the Cite extension #55

Open
kghbln opened this issue Sep 29, 2017 · 4 comments
Open

Integration with the Cite extension #55

kghbln opened this issue Sep 29, 2017 · 4 comments

Comments

@kghbln
Copy link
Member

kghbln commented Sep 29, 2017

This is to ask whether it is possible and feasible to have some kind of integration with the Cite extension. Both extensions can exist next to each other on one wiki instance but currently users are facing an either-or-situation on the page level since:

  1. Both extensions create their own automated numbering for the references added to a page, and
  2. Both extensions add their own section for references to the bottom of the page.

This makes a parallel usage or at least parallel usage during the transition from Cite to Semantic Cite a bit more difficult.

@mwjames
Copy link
Contributor

mwjames commented Oct 1, 2017

That is going to be difficult since we don't have access to the content during the parse process and after being parsed it is hidden from other content using a strip marker, so off the top of my head I have no idea how to get fetch the loose text component.

extensions create their own automated numbering for the references added to a page

I don't have access to that information therefore cannot adjust any numbering on that part.

Insides are welcome!

@kghbln
Copy link
Member Author

kghbln commented Oct 2, 2017

I was afraid of this answer which does not really come as a surprise. So the best approach will be to migrate page by page.

Insides are welcome!

I would have provided them right away but apart form what you have outlined I have no further information.

@kghbln kghbln closed this as completed Oct 2, 2017
@mwjames
Copy link
Contributor

mwjames commented Oct 3, 2017 via email

@kghbln kghbln reopened this Oct 8, 2017
@kghbln
Copy link
Member Author

kghbln commented Oct 8, 2017

Another idea I had in the meantime is that Semantic Cite could perhaps add its references by generating a <ref> tag per citation thus allowing Cite to pick it up via its <renferences/> tag. At the same time the extra section should not be shown. Something like this could be enabled with an extra configuration setting e.g. scigCiteCompatibilityMode. I do not know how far off this suggestion is when it comes to actually implementing or trying to implement it.

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

No branches or pull requests

2 participants