From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org mode export to Groff MM. Feature Freeze Date: Tue, 17 Jul 2012 09:50:34 +0200 Message-ID: <87mx2y6d2t.fsf@gmail.com> References: <87vchnab4n.fsf@altern.org> <87ipdn7hc6.fsf@gmail.com> <87bojf78as.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sr2bW-0001Ro-Mb for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 03:54:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sr2bN-00023x-6g for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 03:53:58 -0400 In-Reply-To: (Luis Anaya's message of "Mon, 16 Jul 2012 21:35:05 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Luis Anaya Cc: Bastien , emacs-orgmode@gnu.org Hello, Luis Anaya writes: > - The change with the largest imapct on my code had to do with > the BEGIN_GROFF/END_GROFF pairs in which now invokes the special > block function and process the enclosed text through the plain-text > function. Originally these were passed through without the > invocation of the plain text function. > > I had to remove all the text pre-processing being that it was causing > problems in the execution of GROFF macros. I do not think that > doing this will hurt (much) because of the GROFF markup syntax. > For instance: > > TeX/LaTeX looks like this: > \begin{center} > Blah > \end > while GROFF looks like this. > .DS C > Blah > .DE > > French quotations are not supported now because of this change, quotes are > significant in GROFF for many things and I cannot translate those > because GROFF will fail with a syntax error. You just have to put (add-to-list 'org-element-block-name-alist '("GROFF" . org-element-export-block-parser)) in org-e-groff.el so BEGIN_GROFF/END_GROFF blocks are treated as export blocks again. No need to remove anything in your text pre-processing because of this. Regards, -- Nicolas Goaziou