Hello,
Is it possible to use the ".so" command in a macro, and pass in an
argument from the macro.
.de MC
.so $1
..
.MC file.txt
Hello Riza,
> Is it possible to use the ".so" command in a macro, and pass in an
> argument from the macro.
>
> .de MC
> .so $1
> ..
>
> .MC file.txt
Yes.
$ cat >foo
.de source
.so \\$1
..
foo
.source bar
foo
^D
$
$ cat >bar
bar
^D
Hello Ralph,
I was using soelim in my pipeline (cat main.ms | soelim | pic | tbl |
groff -ms > main.ps). The problem was with soelim. I did not realize
that. I first had it with double slashes, but then tried with four
slashes... Removing soelim from the pipeline resolved the problem.
What is soe
Hello Riza,
> Hello Ralph,
>
> cat main.ms | soelim | pic | tbl | groff -ms > main.ps
...
> What is soelim used for?
soelim(1) attempts to explain. It doesn't tend to be needed when one
starts using troff but might be wanted in special cases later.
Consider the difference between these two if f
Hy Riza
Soelim is just like cat but it "eliminates" the .so, which can cause utf-8
malfunctions (it basically puts the whole file together as one without
ignoring e.g. preconv or other piping functions).
I think you can just use soelim main.ms | ... | groff -ms -Tps > output.ps.
cat seems to be r
Thank you all for the information.
On Thu, Feb 16, 2023 at 9:41 PM Oliver Marti wrote:
>
> Hy Riza
>
> Soelim is just like cat but it "eliminates" the .so, which can cause utf-8
> malfunctions (it basically puts the whole file together as one without
> ignoring e.g. preconv or other piping func