From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Suppress export of Abstract block? Date: Fri, 23 Oct 2015 14:04:11 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpghN-0006mK-Rz for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 14:04:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpghJ-0006qZ-1E for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 14:04:17 -0400 Received: from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:34208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpghI-0006qL-So for emacs-orgmode@gnu.org; Fri, 23 Oct 2015 14:04:12 -0400 Received: by qkfm62 with SMTP id m62so84157817qkf.1 for ; Fri, 23 Oct 2015 11:04:12 -0700 (PDT) In-reply-to: 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: Lawrence Bottorff Cc: emacs-orgmode Mailinglist use a filter (http://orgmode.org/worg/exporters/filter-markup.html) and set that text to be ""? This will probably clobber all special blocks. If you have more than one, you need to check if it is an abstract block somehow, and return the text unaltered if it isnt. This is untested ;) (defun ox-mrkup-filter-abstract (text back-end info) "") you will need a derived backend, maybe something like: (org-export-define-derived-backend 'my-html 'html :filters-alist '((:filter-special-block . ox-mrkup-filter-abstract))) Then run (org-export-to-file 'my-html "html-marked.html") Lawrence Bottorff writes: > How would I suppress the > > #+begin_abstract > ... > #+end_abstract > > block content, specifically for the HTML export? :exports none doesn't seem > to work. I saw the drawer hide, but this a block, not a drawer.... > > Lb -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu