From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: [PATCH] Longtable continuation strings customizable Date: Mon, 28 Oct 2013 09:15:27 -1000 Message-ID: References: <87y55fb0kf.fsf@gmail.com> <87txg1agnz.fsf@gmail.com> <87li1d9uh4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VasIL-0002eg-Jm for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:16:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VasIB-0006gW-M6 for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:16:09 -0400 Received: from outbound-ss-2123.bluehost.com ([69.89.21.166]:47635) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VasIB-0006gR-Dy for emacs-orgmode@gnu.org; Mon, 28 Oct 2013 15:15:59 -0400 In-Reply-To: <87li1d9uh4.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 28 Oct 2013 18:27:19 +0100") 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: Nicolas Goaziou Cc: Org-mode , Carsten Dominik Nicolas Goaziou writes: >>> Am I missing something? >> >> An example filter? > > (defun my-personal-table-continuation-strings (row backend info) > (when (org-export-derived-backend-p 'latex) > (replace-regexp-in-string > "multicolumn{[0-9]+}{l}{\\(.*\\)}" "String 1" > (replace-regexp-in-string > "multicolumn{[0-9]+}{r}{\\(.*\\)}" "String 2" > row nil nil 1) > nil nil 1))) > (add-to-list 'org-export-filter-table-row-functions > 'my-personal-table-continuation-strings) > > Untested. Thanks! Tom -- Thomas S. Dye http://www.tsdye.com