-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Vertical align fix #2256
Vertical align fix #2256
Conversation
using `perl -0777 -i -p -e 's/(layout.*)(>\n\s*)<text variable=\"citation-number\" vertical-align=\"sup\"/$1 vertical-align=\"sup\"$2<text variable=\"citation-number\"/' ./*.csl` (and no, I don't really know how to perl...)
Awesome! You've created a pull request to the Citation Styles Language styles repository. We'll get in touch soon (usually within a day or two). In the meantime, our automated test system will go ahead and run some checks on your pull request. In a few minutes you'll be notified of the test results. If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements. To update the current pull request, visit the "Files changed" tab above, and click on the pencil icon (see below) in the top-right corner of your style to start editing. If you need assistance at any point, please leave a comment and we'll get back to you (feel free to write in Dutch, English, French, German, Portuguese, or Spanish). |
😟 There are some issues with your submission. Please check the test report for details. |
😃 Your submission passed all our automated tests. |
@rmzelle -- I think this is ready, but leaving for you to merge for 2nd set of eyes. |
You'd probably want to revert american-institute-of-aeronautics-and-astronautics.csl (all have changes in the bibliography) |
And with my own jEdit find-regex of |
@rmzelle -- down to 47 now, should be all correct now
😃 Your submission passed all our automated tests. |
Thanks :) |
(I'm surprised we didn't get more complaints about this, by the way, seeing how common this pattern was) |
I think these were mostly 2nd tier Elsevier journals (the mistake was introduced by one of their folks who checked styles), so not exactly our most popular styles, but yes, I would have thought we'd get a few more reports, too. |
using
perl -0777 -i -p -e 's/(layout.*)(>\n\s*)<text variable=\"citation-number\" vertical-align=\"sup\"/$1 vertical-align=\"sup\"$2<text variable=\"citation-number\"/' ./*.csl
then manually correcting for the too permissive regex.
(and no, I don't really know how to perl...)