# [NTG-context] help on def & buffer

Marco Patzer lists at homerow.info
Wed Mar 30 10:53:49 CEST 2016

```On Wed, 30 Mar 2016 10:34:46 +0200
Erik Margraf <erik.margraf at gmail.com> wrote:

> My plan is simply to use the output of a sagemath run in this way. A
> run should produce
> several files containing TeX code. I only wanted to shorten the
> \startbuffer \input ... \stopbuffer
> sequence. Maybe this (including sagemath output) could be done
> differently, but this was
> the first (and only ;-)) idea I came up with.

I don't know sagemath but I assume this is a use case for Aditya's
filter module¹. It's included in the distribution.

Marco