Hello All,
I am trying to get dformat to work. What I did was this.
I first tried to include an example dformat script into my document. I
got the first example from the troff.org site
(https://troff.org/prog.html). The first example for the dformat
processor. That example has been using inline e
Riza Dindir wrote:
> Hello All,
Hi!
> I am trying to get dformat to work. What I did was this.
>
> I first tried to include an example dformat script into my document. I
> got the first example from the troff.org site
> (https://troff.org/prog.html). The first example for the dformat
> process
Hello Thomas,
To make sure, I have this in my dformat.sh
awk -f dformat.awk $*
I tried with the dformat.awk that I have found
(https://github.com/arnoldrobbins/dformat) and the dformat.awk that
you have pointed out (https://github.com/sathlan/dformat). But still I
am getting the same error messa
Hello Thomas,
Finally I was able to use the dformat without problems. The problem
was the order in the pipe. In the original paper the author provided
an example on the order of the preprocessors. I did not have the
correct order. It should have been
!sh dformat.sh format-test.ms | pic | tbl | eq
Riza Dindir wrote:
> Hello Thomas,
Hi!
> Finally I was able to use the dformat without problems.
Congrats! :)
> The problem was the order in the pipe. In the original paper the
> author provided an example on the order of the preprocessors. I did
> not have the correct order. It should have b
Hello Thomas
I did need tbl, abd chem for the original document, where I wanted to
create a document that had all the elements and preprocessors used in
troff.
One thing that I realized is this. When you use chem, you can not have
the # character in the dformat or other preprocessor blocks, since
On 8/17/22, Riza Dindir wrote:
> When you use chem, you can not have
> the # character in the dformat or other preprocessor blocks, since the
> chem macro package does take # as a comment and erases all the
> characters to the end of the line.
For anyone else who's run into trouble with this, Riz
Hello Dave
Thanks for the information on the # character. Will use that if
needed. But I have solved the issue with the chem/dformat interference
with a script.
I have written an awk script that will make chem only process its own
region. This worked and has eliminated the problems with the other