From 0e6f11fa199087f5e76b4ee2326444fca6f362c1 2013-08-16 21:06:41 From: Paul Ivanov Date: 2013-08-16 21:06:41 Subject: [PATCH] fixup minor typos from search/replace --- diff --git a/IPython/nbconvert/transformers/base.py b/IPython/nbconvert/transformers/base.py index fec1a1d..09350e4 100755 --- a/IPython/nbconvert/transformers/base.py +++ b/IPython/nbconvert/transformers/base.py @@ -29,11 +29,12 @@ class Preprocessor(NbConvertBase): Inherit from this class if you wish to have configurability for your preprocessor. - Any configurable traitlets this class exposed will be configurable in profiles - using c.SubClassName.atribute=value + Any configurable traitlets this class exposed will be configurable in + profiles using c.SubClassName.atribute=value - you can overwrite :meth:`preprocess_cell` to apply a preprocessation independently on each cell - or :meth:`preprocess` if you prefer your own logic. See corresponding docstring for informations. + you can overwrite :meth:`preprocess_cell` to apply a transformation + independently on each cell or :meth:`preprocess` if you prefer your own + logic. See corresponding docstring for informations. Disabled by default and can be enabled via the config by 'c.YourPreprocessorName.enabled = True' @@ -65,11 +66,11 @@ class Preprocessor(NbConvertBase): def preprocess(self, nb, resources): """ - preprocessation to apply on each notebook. + Preprocessing to apply on each notebook. You should return modified nb, resources. - If you wish to apply your preprocess on each cell, you might want to - overwrite preprocess_cell method instead. + If you wish to apply your preprocessing to each cell, you might want + to overwrite preprocess_cell method instead. Parameters ---------- @@ -91,7 +92,7 @@ class Preprocessor(NbConvertBase): def preprocess_cell(self, cell, resources, index): """ - Overwrite if you want to apply a preprocessation on each cell. You + Overwrite if you want to apply some preprocessing to each cell. You should return modified cell and resource dictionary. Parameters diff --git a/IPython/nbconvert/transformers/latex.py b/IPython/nbconvert/transformers/latex.py index 6c04d5e..3cc9f0b 100755 --- a/IPython/nbconvert/transformers/latex.py +++ b/IPython/nbconvert/transformers/latex.py @@ -31,7 +31,7 @@ class LatexPreprocessor(Preprocessor): def preprocess_cell(self, cell, resources, index): """ - Apply a preprocessation on each cell, + Apply a transformation on each cell, Parameters ----------