Skip to content

also remove latex_envs nbconvert_support things#802

Merged
jcb91 merged 3 commits intoipython-contrib:masterfrom
jcb91:latex_envs
Nov 27, 2016
Merged

also remove latex_envs nbconvert_support things#802
jcb91 merged 3 commits intoipython-contrib:masterfrom
jcb91:latex_envs

Conversation

@jcb91
Copy link
Copy Markdown
Member

@jcb91 jcb91 commented Nov 27, 2016

@jfbercher any thoughts on whether we ought to import relevant classes into nbconvvert_support from latex_envs, as I've done so far? It seems neat for back-compatibility, but will probably get to be a pain keeping them in sync eventually, so I think maybe it's be better to just remove them altogether, and let people use latex_envs's classes directly when they want to...

Comment thread docs/source/exporting.rst
@@ -48,8 +48,6 @@ http://nbconvert.readthedocs.io/en/latest/api/exporters.html

.. autoclass:: LenvsHTMLExporter
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that LenvsHTMLExporter can be removed too (exporter from latex_envs to HTML)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, true, but this has actually already been removed in #794, so doesn't need doing again here

import os

from .latex_envs import LenvsHTMLExporter, LenvsLatexExporter
from latex_envs.latex_envs import LenvsHTMLExporter, LenvsLatexExporter
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure that we have to keep these two imports since the entry points are defined in the latex_envs.py module.

Copy link
Copy Markdown
Member Author

@jcb91 jcb91 Nov 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, ok, I'll update shortly

 - templates
 - fix conda env import tests
@jfbercher
Copy link
Copy Markdown
Member

@jcb91 yes, I agree that it would be be better and simpler to let people use latex_envs's classes directly. I will update the documentation to reflect that.

@jcb91 jcb91 merged commit ea0eb67 into ipython-contrib:master Nov 27, 2016
@jcb91 jcb91 deleted the latex_envs branch November 28, 2016 01:34
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

Successfully merging this pull request may close these issues.

2 participants