From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Beck Subject: Re: org-latex-classes with functions, incomplete doc Date: Sun, 10 Feb 2013 19:59:17 +0100 Message-ID: <87halkq9kq.fsf@sophokles.streitblatt.de> References: <87txpkrvzi.fsf@sophokles.streitblatt.de> <87bobsf68g.fsf@gmail.com> <87zjzcqcq8.fsf@sophokles.streitblatt.de> <877gmgf2ts.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4c7h-0004XT-Ce for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:59:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4c7e-0007EY-UO for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:59:33 -0500 Received: from mo6-p00-ob.rzone.de ([2a01:238:20a:202:5300::1]:55841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4c7e-0007E1-Mo for emacs-orgmode@gnu.org; Sun, 10 Feb 2013 13:59:30 -0500 In-Reply-To: <877gmgf2ts.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 10 Feb 2013 19:20:31 +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: Florian Beck , emacs-orgmode@gnu.org Nicolas Goaziou writes: >> (toc-title (if (plist-get info :toc-title) >> (org-element-property :toc-title headline))) > > There's no :toc-title property in the communication channel. The > exhaustive list of its properties is written in ox.el, at "The > Communication Channel" section. Obviouly, I defined it, otherwise it wouldn't work. :options-alist ((:toc-title "TOC_TITLE" nil nil t) ... ) >> As you can see, the solution is much more convoluted. > > Because you're not using the proper tool. If you just want to modify the > string returned by the `latex' back-end, use a filter. You will have > access to the transcoded headline (in LaTeX format, as a string) and the > communication channel. But not to the element properties, which is what I need. > There are already many ways to alter output from a back-end. It's just > a matter of using the right tool. So, which is it? I'm a bit confused right now. -- Florian Beck