From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: List of figures Date: Sun, 23 Feb 2014 07:54:53 -1000 Message-ID: References: <87y511x67h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHdGe-0001Jm-NO for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:55:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHdGX-0006ex-Qn for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:55:08 -0500 Received: from oproxy19-pub.mail.unifiedlayer.com ([70.40.200.33]:47867) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WHdGX-0006cH-KD for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 12:55:01 -0500 In-Reply-To: <87y511x67h.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 23 Feb 2014 15:18:58 +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 Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > tsd@tsdye.com (Thomas S. Dye) writes: > >> I'm trying to generate a list of figures for LaTeX export. I thought to >> use #+TOC: figures, but this didn't work. >> >> The Org Export Reference Documentation has this: >> >> =E2=80=9CTOC=E2=80=9D keyword. It accepts three common values: =E2=80= =9Cheadlines=E2=80=9D, =E2=80=9Ctables=E2=80=9D and >> =E2=80=9Clistings=E2=80=9D. Also, =E2=80=9Cheadlines=E2=80=9D value ca= n have an optional numeric >> argument to specify depth of the contents. >> >> See org-export-collect-headlines, org-export-collect-tables, >> org-export-collect-figures and org-export-collect-listings. >> >> Two questions: >> >> 1) Is there a reason that the TOC keyword doesn't accept the value >> "figures"? The reference to org-export-collect-figures suggests that it >> should accept this value. > > I had planned to allow "figures" for TOC, but I realized it was > difficult to define what a "figure" is outside of LaTeX. > > There is the infrastructure, but it isn't used yet in back-ends. I can imagine that a list of figures is a difficult problem in some other back-ends. However, its absence in LaTeX export seems unusual. Would it make sense to have this work as expected for LaTeX export (and perhaps other back-ends where it does make sense) and have other back-ends insert a comment? Not a big thing, obviously, but I was surprised when it didn't work. All the best, Tom --=20 Thomas S. Dye http://www.tsdye.com