From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Longtable continuation strings customizable Date: Tue, 29 Oct 2013 15:40:35 +0100 Message-ID: <874n80cf8c.fsf@gmail.com> 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]:52873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbAT4-00052q-8w for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 10:40:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbASx-0006uj-0Z for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 10:40:26 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:57414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbASw-0006tk-OY for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 10:40:18 -0400 Received: by mail-wi0-f181.google.com with SMTP id ex4so3011772wid.8 for ; Tue, 29 Oct 2013 07:40:17 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Mon, 28 Oct 2013 09:15:27 -1000") 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: "Thomas S. Dye" Cc: Org-mode , Carsten Dominik Hello, tsd@tsdye.com (Thomas S. Dye) writes: > 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! I switched to hardcoded strings and internationalization. Now, we need volunteers to fill missing translations for: "Continued on next page" "Continued from previous page" Regards, -- Nicolas Goaziou