[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Extra newlines in matrix equation
From: |
Andy Spencer |
Subject: |
[Groff] Extra newlines in matrix equation |
Date: |
Sun, 13 Jan 2013 03:25:11 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
I'm trying to use groff to format a matrix equation using the eqn
preprocessor. I seem to be getting a lot of extra blank lines in the
output. Does anyone know what could be causing this?
Here's the input file:
> .TH "MATRIX"
> .SH "DESCRIPTION"
> .PP
> A matrix:
> .PP
> .EQ
> matrix { ccol { x above 0 above 0 } ccol { 0 above y above 0 } ccol { 0
above 0 above z } }
> .EN
Here's the command I'm running:
> eqn -Tascii matrix.1 | nroff -man > matrix.tx
And here's the output, after removing ANSI escape codes:
> MATRIX()
MATRIX()
>
>
>
> DESCRIPTION
> A matrix:
> x 0 0
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 0 y 0
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 0 0 z
- [Groff] Extra newlines in matrix equation,
Andy Spencer <=