Re: [O] List of figures

2014-03-02 Thread John Kitchin
No problem. I worked out a List of figures here: http://kitchingroup.cheme.cmu.edu/blog/2014/03/02/Getting-a-list-of-figures-in-an-org-buffer/ John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon Universit

Re: [O] List of figures

2014-03-02 Thread Andreas Leha
Hi John, this is really nice! Thanks for sharing. - Andreas John Kitchin writes: > check out this implementation for tables: > http://kitchingroup.cheme.cmu.edu/blog/2014/03/01/Getting-a-list-of-tables-in-an-org-buffer/ > > John > > --- > John Kitchin > Associa

Re: [O] List of figures

2014-03-01 Thread John Kitchin
check out this implementation for tables: http://kitchingroup.cheme.cmu.edu/blog/2014/03/01/Getting-a-list-of-tables-in-an-org-buffer/ John --- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsbu

Re: [O] List of figures

2014-02-28 Thread Rasmus
John Kitchin writes: > Maybe I am missing something, what would the utility of #+toc: figures be? > Is it only for export? > > I would make a link: [[elisp:org-list-of-figures]] where > org-list-of-figures is an emacs-lisp function that would parse the buffer > and present you with a list of cli

Re: [O] List of figures

2014-02-27 Thread Thomas S. Dye
Aloha John, John Kitchin writes: > Maybe I am missing something, what would the utility of #+toc: figures be? > Is it only for export? Yes, it is. > I would make a link: [[elisp:org-list-of-figures]] where > org-list-of-figures is an emacs-lisp function that would parse the buffer > and prese

Re: [O] List of figures

2014-02-27 Thread John Kitchin
Maybe I am missing something, what would the utility of #+toc: figures be? Is it only for export? I would make a link: [[elisp:org-list-of-figures]] where org-list-of-figures is an emacs-lisp function that would parse the buffer and present you with a list of clickable links to the figures. You c

Re: [O] List of figures

2014-02-26 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> 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. > > Org doesn't cover all LaTeX facilities. There are #+LAT

Re: [O] List of figures

2014-02-26 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > 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. Org doesn't cover all LaTeX facilities. There are #+LATEX: and #+BEGIN_LATEX...#+END_LATEX to fill the gap.

Re: [O] List of figures

2014-02-23 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > t...@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: >> >> “TOC” keyword. It a

Re: [O] List of figures

2014-02-23 Thread Thomas S. Dye
Aloha Rasmus, Rasmus writes: > t...@tsdye.com (Thomas S. Dye) writes: > >> 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. > > AFAIK it is not supported. It has puzzled me

Re: [O] List of figures

2014-02-23 Thread Nicolas Goaziou
Hello, t...@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: > > “TOC” keyword. It accepts three common values: “headlines”, “tables” and

Re: [O] List of figures

2014-02-22 Thread Rasmus
t...@tsdye.com (Thomas S. Dye) writes: > 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. AFAIK it is not supported. It has puzzled me as well. It's trivial to make a patch fo

[O] List of figures

2014-02-22 Thread Thomas S. Dye
Aloha all, 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: “TOC” keyword. It accepts three common values: “headlines”, “tables” and “listings”. Also, “headlines” value can have

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-13 Thread Luke Crook
Thanks for highlighting this. Being able to skip the #+NAME tag in this situation makes it quite straightforward.

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-13 Thread Rasmus
Nick Dokos writes: > It used to be that the naming was mandatory: the intervening #+caption > line would cause babel to produce a new results block. ISTR that Nicolas > fixed it so that the naming is no longer necessary and babel will DTRT - > IOW, the following will work: > > , > | #+begin_s

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-13 Thread Eric S Fraga
Nick Dokos writes: > Eric S Fraga writes: > >> Luke Crook writes: >> >>> I just noticed that the List of Figures is not being generated in 8.0.3. >>> >>> I have a figure with; >>> >>> #+LATEX: \listoffigures >>> >>> #+ATTR_LaTeX: width=5.5cm >> >> Maybe try with >> >> #+attr_latex: :width 5.5cm

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-12 Thread Luke Crook
On Tue, Jun 11, 2013 at 4:58 PM, Rasmus wrote: > > > It seems you're using v8.0.3. . . > > Your example would be something like > > #+OPTIONS: toc:nil > #+TOC: figures ## <-- not implemented currently > #+LATEX: \listoffigures > > The following generates the "List of Figures" #+TOC: listings No

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-12 Thread Luke Crook
On Tue, Jun 11, 2013 at 4:58 PM, Rasmus wrote: > > > Hi Luke! > > It seems you're using v8.0.3. . . > Thank you for the feedback. I should have scrubbed my tags pre-8.0 tags to conform to the post-8.0 world, sorry about that. The following tags now work as expected. The "List of Figures" lin

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-12 Thread Nick Dokos
Eric S Fraga writes: > Luke Crook writes: > >> I just noticed that the List of Figures is not being generated in 8.0.3. >> >> I have a figure with; >> >> #+LATEX: \listoffigures >> >> #+ATTR_LaTeX: width=5.5cm > > Maybe try with > > #+attr_latex: :width 5.5cm > > The format for attributes has c

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-12 Thread Eric S Fraga
Luke Crook writes: > I just noticed that the List of Figures is not being generated in 8.0.3. > > I have a figure with; > > #+LATEX: \listoffigures > > #+ATTR_LaTeX: width=5.5cm Maybe try with #+attr_latex: :width 5.5cm The format for attributes has changed in version 8 of org. -- : Eric S Fr

Re: [O] List of Figures not being generated in 8.0.3?

2013-06-11 Thread Rasmus
Hi Luke! > I just noticed that the List of Figures is not being generated in 8.0.3. > > I have a figure with; > > #+LATEX: \listoffigures > > #+ATTR_LaTeX: width=5.5cm > #+CAPTION: A Caption Here > #+LABEL: fig:test-figure-1 > #+begin_src plantuml :file test-figure-1.png :cmdline -Tpng > plantum

[O] List of Figures not being generated in 8.0.3?

2013-06-11 Thread Luke Crook
I just noticed that the List of Figures is not being generated in 8.0.3. I have a figure with; #+LATEX: \listoffigures #+ATTR_LaTeX: width=5.5cm #+CAPTION: A Caption Here #+LABEL: fig:test-figure-1 #+begin_src plantuml :file test-figure-1.png :cmdline -Tpng plantuml stuff here #+end_src I have