Re: [O] src blocks, listings package and captions

2011-08-31 Thread Giles Chamberlin
t...@tsdye.com (Thomas S. Dye) writes:

 A caption-aware LaTeX environment is provided by the minted package.

Thanks to Eric, Bastien and Thomas for their help.  I've switched from
listings to minted as I wasn't particularly wed to either and have
successfully implemented Thomas' suggestions.  

Apologies for the delay in responding: I've been in the mountains with
no connection to the world: bliss!

-- 
Giles Chamberlin




[O] src blocks, listings package and captions

2011-08-24 Thread Giles Chamberlin

I'm using the listings package and org-version 7.4 to generate latex/pdf
output including source snippets.  I'd like to add captions: Figure 1:
My code and tried with the following to no avail:

#+caption: My code
#+begin_src clojure
 ;; stuff
#+end_src

Do I have to wrap this in \begin{figure}\caption{} or is there a simpler
way?


-- 
Giles Chamberlin
Engineering Director
Cisco Systems Ltd 




[Orgmode] Re: [MobileOrg] Need beta tester with iPhone OS 3.x

2010-09-01 Thread Giles Chamberlin
Richard Moreland r...@ncogni.to writes:

 Is anyone still running OS 3.x out there and interested in helping?  I
 need to verify that the new MobileOrg I'm about to release still works
 on the older system.

I'm still on 3.1.3 and happy to help.

-- 
Giles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture-last-stored bookmark

2010-07-13 Thread Giles Chamberlin
Carsten Dominik carsten.domi...@gmail.com writes:

 Please pull again and then try again, I hope it works now.

Yes and no I'm afraid.  I now get two bookmarks generated:

 - org-capture-last-stored: points to default file
 - org-capture-last-stored-marker: points correctly to refiled location


-- 
Giles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-capture-last-stored bookmark

2010-07-06 Thread Giles Chamberlin
I've moved over to the new capture interface and wanted to visit a note
I'd just taken.  Because I had closed the note with C-c C-w to refile
it, visiting the bookmark at org-capture-last-stored didn't take me to
the correct note.

I would suggest that org-capture-last-stored should contain the location
of the last note taken regardless of whether it went to the default file or
was refiled on close.


-- 
Giles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Inconsistent names for inserting export options

2010-05-20 Thread Giles Chamberlin

Org-mode provides the ability to fine tune exported documents through a
number of export options and conveniently provides interactive functiosn
to insert boilerplate. The names are a little inconsistent though:

org-insert-export-options-template
org-beamer-settings-template

How about renaming org-beamer-settings-template to
org-insert-beamer-options-template?  

-- 
Giles


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Limited #+INCLUDE ?

2010-04-27 Thread Giles Chamberlin
Dan Davison davi...@stats.ox.ac.uk writes:


 This sounds like an interesting idea; I have been meaning to use tags
 more. However, I wouldn't want to exclude the possibility of using this
 functionality in a non-programming context -- i.e. collaborative editing
 of arbitrary text documents -- which would argue for approaches based on
 storing arbitrary text context using Emacs bookmarks or custom text
 searches. Perhaps the new functionality could involve a choice of more
 than one new Org link type?

The non-programming context actually suits my original requirement
better than the major-mode version.  Because of the nature of the course
its not uncommon to be working in a language which does not play nicely
with a major mode: recent example Java Markup Language which is held as
comments in a java class file.

-- 
Giles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Limited #+INCLUDE ?

2010-04-23 Thread Giles Chamberlin
I've been using org-mode for some course work: write an essay about
your software including the interesting bits, add all source code in an
appendix.

#+INCLUDE solves the inclusion of source code files very nicely - I'm 
guaranteed that my document includes the latest versions, type set as I
wish.

Unfortunately at the moment I'm cutting and pasting the snippets of
interesting code into the body of the essay.  What I'd like to do is
be able to label interesting regions of code in the source file and then
import the labelled blocks into my essay. Is there a way of doing this?

-- 
Giles



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: iPhone app for Org view and capture

2009-09-09 Thread Giles Chamberlin
Yet another enthusiastic beta tester in waiting here!
-- 
Giles



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] menu inaccuracy for bulk actions

2009-09-07 Thread Giles Chamberlin
org-version: 6.30trans

When the active buffer is an agenda, the bulk action sub-menu contains
toggle mark entry m.

m is bound to org-agenda-bulk-mark and odes not toggle: pressing will
mark, but pressing again has no effect.  unmarking is achieved with u.

I suggest that either m should be given toggling functionality or the
menu text should be changed and unmark added as an item.


-- 
Giles



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode