Deri you talk about an error in the source code of pdfmom? Anyway I made this work. I found and old document almost simular that did not make that mistake. Than I copy/pasted and edite the contet of the old doc to look like the new doc and now it worked
But maybe I will try to change the code an compile again as you sergest Deri Den 10/06/2015 17.40 skrev "Deri James" <d...@chuzzlewit.myzen.co.uk>: > On Wed 10 Jun 2015 16:19:24 mikkel meinike wrote: > > > I just compiled groff from source and I used pdfmom in a way I have done > > > many times before but this time there was a strange problem that I have > not > > > tried before. The error massages was printed into the document. > > > > > > This command is causing the problem > > > $ pdfmom udspil.mom >udspil.pdf > > > Is this a bug? Is there any way around this problem. > > > > > > With this command > > > > > > $ pdfroff -mom -mpdfmark udspil.mom >udspil.pdf > > > > > > I am able to compile the doc without the error massages. But now there > are > > > some mistakes in the page structure. (at least that can be fixed with > pdftk) > > > > > > Thanks in advance > > > Mikkel > > > > Hi Mikkel, > > > > There is an error in pdfmom. Please change line 66 to:- > > > > system("groff -Tpdf -dPDF.EXPORT=1 -mom -z $cmdstring 2>&1 | grep '^\\.ds' > | groff -Tpdf -mom - $cmdstring"); > > > > The grep is now '^\\.ds' it was '^.ds' so it matched the name of your > document (udspil)!! > > > > Cheers > > > > Deri >