Skip to content

Commit

Permalink
Merge pull request #1029 from t-makaro/spelling
Browse files Browse the repository at this point in the history
Correct a few typos
  • Loading branch information
t-makaro authored May 22, 2019
2 parents c4ab3f2 + 8248528 commit a863787
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/source/external_exporters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,4 @@ And the template file, that inherits from the html `full` template and prepend/a

Assuming you install this package locally, or from PyPI, you can now use::

jupyter nbconvert --to mypackage.MyEporter notebook.ipynb
jupyter nbconvert --to mypackage.MyExporter notebook.ipynb
2 changes: 1 addition & 1 deletion docs/source/highlighting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ You can preview all the styles from an environment that can display html like ju
Making your own styles
----------------------
To make your own style you must subclass ``pygments.styles.Style``, and then you must register your new style with Pygments using
their pluggin system. This is explained in detail in the `Pygments documentation <http://pygments.org/docs/styles/>`_.
their plugin system. This is explained in detail in the `Pygments documentation <http://pygments.org/docs/styles/>`_.
2 changes: 1 addition & 1 deletion nbconvert/exporters/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def _init_preprocessors(self):
"""
self._preprocessors = []

# Load default preprocessors (not necessarly enabled by default).
# Load default preprocessors (not necessarily enabled by default).
for preprocessor in self.default_preprocessors:
self.register_preprocessor(preprocessor)

Expand Down
5 changes: 2 additions & 3 deletions nbconvert/exporters/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
class LatexExporter(TemplateExporter):
"""
Exports to a Latex template. Inherit from this class if your template is
LaTeX based and you need custom tranformers/filters. Inherit from it if
you are writing your own HTML template and need custom tranformers/filters.
If you don't need custom tranformers/filters, just change the
LaTeX based and you need custom transformers/filters.
If you don't need custom transformers/filters, just change the
'template_file' config option. Place your template in the special "/latex"
subfolder of the "../templates" folder.
"""
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/filters/citation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def citation2latex(s):
"""Parse citations in Markdown cells.
This looks for HTML tags having a data attribute names `data-cite`
and replaces it by the call to LaTeX cite command. The tranformation
and replaces it by the call to LaTeX cite command. The transformation
looks like this:
`<cite data-cite="granger">(Granger, 2013)</cite>`
Expand Down
6 changes: 3 additions & 3 deletions nbconvert/preprocessors/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def setup_preprocessor(self, nb, resources, km=None, **kwargs):
passing ``{'metadata': {'path': run_path}}`` sets the
execution path to ``run_path``.
km : KernerlManager (optional)
Optional kernel manaher. If none is provided, a kernel manager will
Optional kernel manager. If none is provided, a kernel manager will
be created.
Returns
Expand Down Expand Up @@ -417,7 +417,7 @@ def preprocess_cell(self, cell, resources, cell_index):
return cell, resources

reply, outputs = self.run_cell(cell, cell_index)
# Backwards compatability for processes that wrap run_cell
# Backwards compatibility for processes that wrap run_cell
cell.outputs = outputs

cell_allows_errors = (self.allow_errors or "raises-exception"
Expand Down Expand Up @@ -589,7 +589,7 @@ def run_cell(self, cell, cell_index=0):
except CellExecutionComplete:
more_output = False

# Return cell.outputs still for backwards compatability
# Return cell.outputs still for backwards compatibility
return exec_reply, cell.outputs

def process_message(self, msg, cell, cell_index):
Expand Down
2 changes: 1 addition & 1 deletion nbconvert/preprocessors/svg2pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _to_format_default(self):
This string is a template, which will be formatted with the keys
to_filename and from_filename.
The conversion call must read the SVG from {from_flename},
The conversion call must read the SVG from {from_filename},
and write a PDF to {to_filename}.
""").tag(config=True)

Expand Down

0 comments on commit a863787

Please sign in to comment.