### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »

# Module: `nbconvert.transformers.coalescestreams`

Module that allows latex output notebooks to be conditioned before they are converted. Exposes a decorator (@cell_preprocessor) in addition to the coalesce_streams pre-proccessor.

## 2 Functions

`IPython.nbconvert.transformers.coalescestreams.``cell_preprocessor`(function)

  Wrap a function to be executed on all cells of a notebook

  cell : NotebookNode cell
    Notebook cell being processed
  resources : dictionary
    Additional resources used in the conversion process. Allows transformers to pass variables into the Jinja engine.
  index : int
    Index of the cell being processed

`IPython.nbconvert.transformers.coalescestreams.``coalesce_streams`(nb, resources)

### Navigation

- index
- modules |
- next |
- previous |
- home|
- search|
- documentation »
- The IPython API »