[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regarding groff, soelim, and macros
From: |
G. Branden Robinson |
Subject: |
Re: Regarding groff, soelim, and macros |
Date: |
Mon, 13 Nov 2023 22:18:08 -0600 |
Hi Riza,
At 2023-11-14T06:59:54+0300, Riza Dindir wrote:
> I am having trouble again with macros, soelim.
>
> I am writing a document that will have pic's and equation's in it. I
> wanted to separate these into files. One file for each chapter.
That sounds reasonable.
> But I am having trouble doing this.
Here's an example that works for me.
$ cat complex.roff
This is my complex roff document.
.sp
.so complex1.roff
.so complex2.roff
.sp
This concludes my document.
$ cat complex1.roff
.sp
\fBChapter One\fP
.sp
.EQ
a + b + c = 1
.EN
.sp
.PS
circle;
.PE
$ cat complex2.roff
.sp
\fBChapter Two\fP
.sp
.EQ
d + e + f = 2
.EN
.sp
.PS
box;
.PE
$ groff -eps ./complex.roff >| complex.ps
$ okular complex.ps
And I see everything I expect.
Can you reproduce this behavior?
Regards,
Branden
signature.asc
Description: PGP signature