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
nbconvert: Export flavors & PDF writer (ipy dev meeting) #3784
Merged
Merged
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
384d1d8
Deprecate flavor-level subclasses
jdfreder 6f6f75f
Part way through adding 'flavor' support
jdfreder b827eb4
Reflection of renames in template references
jdfreder 1061301
Added aliases to nbconvert commandline
jdfreder 70fdc33
Small bugfixes
jdfreder 3293d70
Update exporter tests names
jdfreder c59b47d
Updated tests to try flavors
jdfreder 4324fdc
latex.tplx->latex_basic.tplx & test changes
jdfreder 7eeb476
Fixed tests
jdfreder 522724e
Updated help string
jdfreder bc5ca51
Fixed errors after testing...
jdfreder 70c2262
Added ability to export to a 'custom' format,
jdfreder 133a6c1
HTML-Slides -> Slides-Reveal
jdfreder 44a5410
flavor=template
jdfreder f983539
PDF is really a post-processor
jdfreder f793543
Moved PDF logic into Post-Processor class
jdfreder ad32d8e
Updated example string for nbconvertapp.py
jdfreder 85f63c6
Add @ivanov 's logic to PANDOC tests
jdfreder c1aafeb
Fixed, accidental deletion of format string specifier.
jdfreder a3b13a2
Catch specific error instead of all errors.
jdfreder 441f8da
Fixed tests, broken because of missing pdflatex
jdfreder cc54e59
Remove executable comments from non-standalone files
jdfreder d59fec6
Fix tests
jdfreder d9ef1c7
Added warnings
jdfreder 795cbfe
Removed bash string
jdfreder d95e89d
Fix docstring
jdfreder 8912859
Make extension more descript
jdfreder 22b9373
Update comment
jdfreder c1cdf94
Fixed tests (because of reveal extension change)
jdfreder e974c91
Removed non-existant PDFWriter alias
jdfreder File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
from .exporters import * | ||
import filters | ||
import transformers | ||
import post_processors | ||
import writers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
from .basichtml import BasicHTMLExporter | ||
from .export import * | ||
from .html import HTMLExporter | ||
from .slides import SlidesExporter | ||
from .exporter import Exporter | ||
from .fullhtml import FullHTMLExporter | ||
from .reveal import RevealExporter | ||
from .latex import LatexExporter | ||
from .markdown import MarkdownExporter | ||
from .python import PythonExporter | ||
from .rst import RSTExporter | ||
from .sphinx_howto import SphinxHowtoExporter | ||
from .sphinx_manual import SphinxManualExporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you tell me a use case for this last one? maybe I am tired ;-) but I can't figure it out a use case... thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah,
ipython nbconvert --to rst notebook1.ipynb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or any other format without flavors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used for the flavor. When you have a default templates like markdown that don't have flavor like 'markdown_foo.tpl'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks to both of you... I was thinking only in "flavored" things... got it!