From mboxrd@z Thu Jan 1 00:00:00 1970 From: wry@mm.st Subject: Re: Question: export with tags but hide "export" tag Date: Sun, 24 Nov 2019 17:38:56 -0500 Message-ID: <20191124223856.6dj4ro6hupjltbz7@wrycode> References: <20191123165941.fql5ppt5o5fai65c@wrycode> <87lfs5e8vd.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56189) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZ0XV-0000rw-Oz for emacs-orgmode@gnu.org; Sun, 24 Nov 2019 17:39:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iZ0XU-000160-PN for emacs-orgmode@gnu.org; Sun, 24 Nov 2019 17:39:33 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40145) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iZ0XU-000156-DE for emacs-orgmode@gnu.org; Sun, 24 Nov 2019 17:39:32 -0500 Content-Disposition: inline In-Reply-To: <87lfs5e8vd.fsf@ucl.ac.uk> 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" To: "Fraga, Eric" Cc: emacs-orgmode@gnu.org On 11/24, Fraga, Eric wrote: >You could maybe use this hook: > >,----[ C-h v org-export-before-processing-hook RET ] >| org-export-before-processing-hook is a variable defined in ‘ox.el’. >| >| Documentation: >| Hook run at the beginning of the export process. >| >| This is run before include keywords and macros are expanded and >| Babel code blocks executed, on a copy of the original buffer >| being exported. Visibility and narrowing are preserved. Point >| is at the beginning of the buffer. >| >| Every function in this hook will be called with one argument: the >| back-end currently used, as a symbol. >`---- > >*if* it is invoked after the tag selection is done (I'm not sure if it >is or not). You would have to write some emacs lisp to remove the >:export: tags. Thanks, I'll look into it. Probably should brush up on my elisp anyway Nick