-
Notifications
You must be signed in to change notification settings - Fork 24
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
Adjustments to settings form #31
Comments
I was using a slightly earlier version. Here are a few more:
|
I should change it to something like |
It's CSLs: https://github.com/citation-style-language/styles |
Yes, it's a good idea, thanks! |
PDF is still generated on the fly. I haven't thought about it yet. Do you think it should also be served statically? |
Oh my! That's why the release package is 16.5 mb! Let's try to find another solution to this (not for now, but eventually -- maybe file another issue). We could retrieve the requested style when the settings form is saved or something. I don't think it's a great idea to include all 2000+ styles. It may even make sense to build this functionality into the |
Let's postpone this for future work. (File an issue so we don't forget?) In the meantime, let's just update the text. How does it work? Does it create a fake PDF galley or something? |
I'm assigning a variable to the article page containing a query; this method handles requests containing that query: https://github.com/Vitaliy-1/JATSParserPlugin/blob/master/JatsParserPlugin.inc.php#L193. I'd need to make some minor changes there regarding citation styling. E.g., citation style format should come from the settings: https://github.com/Vitaliy-1/JATSParserPlugin/blob/master/JatsParserPlugin.inc.php#L215 |
But is there a galley that's created? How do you get to the |
@NateWr, that's what needs to be refactored. In the previous release, the full-text was created on the fly on the galley page. That hook/method is actually for the XML galley page (see check for XML galley type in the method's body): XML is fetched and converter to PDF. For now, I see 2 options: either remove such conversion completely or build a handler for this operation. |
Oh I see what you're saying. For now let's hide this. But perhaps in the future we can have an option, similar to how the full text is generated, which would create a PDF galley and generate a PDF for it. |
Here are some suggested improvements to the settings form:
The text was updated successfully, but these errors were encountered: