From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ezequiel Birman Subject: entities and removing some markup in ascii export Date: Fri, 08 Oct 2010 05:59:14 -0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=51235 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P4910-0002gX-Gu for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 05:13:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P490z-0008Gk-E0 for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 05:13:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:39253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P490z-0008GT-5x for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 05:13:21 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P490x-0007aW-G4 for emacs-orgmode@gnu.org; Fri, 08 Oct 2010 11:13:19 +0200 Received: from 190.55.122.216 ([190.55.122.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Oct 2010 11:13:19 +0200 Received: from stormwatch by 190.55.122.216 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Oct 2010 11:13:19 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I was trying to get rid of some markup (or get it properly "translated") when exporting to ascii/latin1/utf8. For example: ORG-BLOCKQUOTE-START I have nothing to say and I am Saying it. ORG-BLOCKQUOTE-END could be exported as: I have nothing to say and I am Saying it. Regarding LaTeX markup I'd like to get delimiters like "$", "$$", "\(", "\)", "\[", and "\]" removed. Other markup such as "\mathit", "\mathrm", etc. should be treated as if using italics and normal text respectively. "\frac{n}{m}" sohuld be translated as "n/m" and so on... As i am writing this I discovered org-entities-ascii-explanatory and org-entities-user. I'll try to customize them. Also, in a previous posting I asked about conditional export, this could be another (worse) way to solve the problem. ¿Should I use emacs-lisp SRC blocks? ¿Could anyone provide an example, please? Thank you -- Ezequiel Birman