From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lei Zhe Subject: Export to Latex without \author{} Date: Fri, 26 Jun 2015 21:07:24 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8SQQ-0003j7-PQ for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 08:08:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8SQP-0003My-7A for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 08:08:06 -0400 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]:33738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8SQP-0003Lt-1d for emacs-orgmode@gnu.org; Fri, 26 Jun 2015 08:08:05 -0400 Received: by ieqy10 with SMTP id y10so74248867ieq.0 for ; Fri, 26 Jun 2015 05:08:04 -0700 (PDT) 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: "emacs-orgmode@gnu.org" Dear orgers, I am trying to export a beamer from org-mode with my own \author command defined. But when I export, org-mode always generates another \author after my \author, which destroys the author list. I tried: 1. #+author: 2. #+bind: latex-export-with-author "" 3. move #+author before my author command. But none of them did make it. The \author{} always appears in the place after my author command! Then I tried to filter using: (defun delete-empty-author (contents backend info) (when (eq backend 'beamer) (replace-regexp-in-string "\\\\author{}" "" contents))) (add-to-list 'org-export-filter-keyword-functions 'delete-empty-author) (add-to-list 'org-export-filter-plain-text-functions 'delete-empty-author) (add-to-list 'org-export-filter-comment-functions 'delete-empty-author) But it seems like that none of the filter functions is right. So how can i solve this kind of problem? llcc