[NTG-context] filter module: before print, it puts new line

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Jul 28 13:53:10 CEST 2014


Am 28.07.2014 um 13:29 schrieb Xan <dxpublica at telefonica.net>:

> Hi,
> 
> I run this code:
> 
> \usemodule[filter]
> 
> \defineexternalfilter
>    [python]
>    [filtercommand={python \externalfilterinputfile\space > \externalfilteroutputfile},cache=force]
> 
> […]
> 
> with the result of new line after "(a)." and "11" (the solution of the equation).
> 
> I attach the pdf.
> 
> How can avoid this behavior?

Adding “location=text” to \defineexternalfilter should help (untested).

Wolfgang


More information about the ntg-context mailing list