M-x org-groff-export-to-groff
works fine (exports .groff
file for the org-file)
However, when I try to compile pdf
from org-file with (M-x org-groff-export-to-pdf
) following error show:
Saving file /home/garid/test.groff...
Wrote /home/garid/test.groff
Processing Groff file test.groff ...
shell-quote-argument: Wrong type argument: arrayp, nil
Could you explain what go wrong?
FYI, I added following configurations to my init.el
for ox-groff.
(use-package org-contrib)
(require 'ox-groff)
ox-groff
is buggy (that's why it's in the unsupportedorg-contrib
package). Unfortunately, since there is no maintainer, there is no place to send a bug report. You will either have to fix it yourself (please submit any fixes you make by sending them to the Org mode mailing list: that way they will be available for everybody else), or ask at the Org mode mailing list, bearing in mind that it IS unsupported, so you may not get any response, or just use it to generate thegroff
file and then compile that by hand (I did the latter and it seems to work in a simple case).org-groff-compile
. It uses a variableout-dir
which is set tonil
and then used in a call toshell-quote-argument
; butshell-quote-argument
cannot deal with anil
argument.