From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] e-latex back-end: changes to attributes syntax Date: Wed, 21 Nov 2012 19:00:30 +0100 Message-ID: <87d2z6eszl.fsf@gmail.com> References: <87haoiewwr.fsf@gmail.com> <87boeq97me.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbEfH-0000MB-Hu for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 13:04:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TbEfF-0005uI-SA for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 13:04:47 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:62367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TbEfF-0005td-Lm for emacs-orgmode@gnu.org; Wed, 21 Nov 2012 13:04:45 -0500 Received: by mail-wi0-f173.google.com with SMTP id hn17so60202wib.12 for ; Wed, 21 Nov 2012 10:04:45 -0800 (PST) In-Reply-To: <87boeq97me.fsf@pank.iue.private> (rasmus@gmx.us's message of "Wed, 21 Nov 2012 18:40:57 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > BTW: on the lists: very good idea. I have often been bothered by > only having one type of (LaTeX) lists. Can I set it per list type? > I.e. plain lists are inlined and enumerated are 'normal'? No. Attributes only apply on a single list not on a whole list type. Though, it's easy to implement with filters. For example: #+begin_src emacs-lisp (defun my-latex-inline-plain-lists (plain-list backend info) (when (org-export-derived-backend-p backend 'e-latex) (replace-regexp-in-string "\\`\\\\begin{\\(itemize\\)}" "inparaitem" (replace-regexp-in-string "\\\\end{\\(itemize\\)}\\'" "inparaitem" plain-list nil nil 1) nil nil 1))) (add-to-list 'org-export-filter-plain-list-functions 'my-latex-inline-plain-lists) #+end_src Regards, -- Nicolas Goaziou