-
Notifications
You must be signed in to change notification settings - Fork 811
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
replace vendored latex_envs
with its pypi package
#746
Conversation
Hmm, also just realised that this will mess up docs generation from the readme. We could (perhaps!) get around that by using |
@jcb91 Thanks for that. (*) I was thinking to propose something similar here to remove the need for installation step 2. |
Yeah, I noticed that. However, it doesn't work (for me) when installing directly from pip with
I don't think it's a good idea to merge the pypi-package install step with the nbextension install step, since the variety of different ways in which people install each component is too great to get it all to work reliably for everyone all the time. As a case in point, it seems like checking
If you really want a one-step install command, I'd suggest writing a customised setup install command in the |
Yeah, the one step install procedure is perhaps not stable. it works for me in several configs but I still mentioned the two other steps in README and doc. It seeems that |
Wow, I had never come across pip's
Oh, I absolutely agree, it's not a good solution, and not intuitive. However, its one saving grace is that although not intuitive, it is standardized by the jupyter docs, so it works for everyone without contradicting upstream documentation. I guess there isn't a good answer, really 😞 Anyway, as far as I can tell, this PR doesn't seem to activate the |
@jcb91 If we do not go on with this one I can still make a (Big) PR to update the extension here. |
This PR was fine for merging (assuming fixes for conflicts which have since appeared), but, it causes our conda build to break unless latex_envs also has a working conda recipe... |
I can knock together a latex_envs conda-forge recipe, if you'd like a hand - let me know if that'd be helpful. |
Didn't really notice that there were something to do for conda. |
ok, I'll give it a go. Have rebased to fix conflicts |
now available from conda-forge
so that test for config-only install doesn't expect javascript files :p
Right, this should now hopefully work (fingers crossed, touch wood!). @jfbercher if you could comment on/close any issues for which this provides solutions, that'd be super helpful 😄 |
uff, just realised that this has removed latex_envs from the list of provided extensions on readthedocs, since the list is constructed from this repo's nbextensions directory. Not yet sure how best to handle that |
@jcb91 Thanks a lot for your help for this PR. I have commented on some issues related to the earlier version of |
Thanks!
Oh, sorry, I'd assumed your were on the team already, given how many fixes you provide! I think it would be a good idea to have you in ipython-contrib - @juhasch @JanSchulz, thoughts? |
If I have rights here, he, for sure, should have them, too... :-) Given my current activity level, it would probably be good to remove me, too... |
Sure. |
as mentioned in #731.
The conda-forge recipe will also need updating, which I think may require a conda-forge feedstock for the jupyter_latex_envs pypi package