On Wed, Nov 18, 2015, at 05:30 PM, John Hendy wrote: > On Wed, Nov 18, 2015 at 2:43 PM, Peter Davis <p...@pfdstudio.com> wrote: > > John Hendy <jw.he...@gmail.com> writes: > > > >> On Wed, Nov 18, 2015 at 2:29 PM, Peter Davis <p...@pfdstudio.com> wrote: > >>> > >>> For the first time, I'm trying to export just a single subtree of my > >>> overall document, by typing > >>> > >>> C-c C-e C-s H O > >>> > >>> However, I get this error: > >>> > >>> apply: Wrong type argument: listp, #("Details, November 2015" 0 22 > >>> (:parent (#0))) > >>> > >>> The portion in quotes is the overall title of my document. > >>> > >>> Should this work? Is there something I need to do differently? > >> > >> Would you kindly provide a minimal working example? Perhaps create a > >> dummy tree and indicate an analogous subtree export target so that the > >> list can try to reproduce. Perhaps someone will catch from the error > >> what the problem is, but having something to try is extremely helpful. > >> Since my subtree export works, I'm at a loss for how to diagnose why > >> yours doesn't. > > > > > > Thanks, John. I think the problem lies with the #+title: option. If it's > > present, as in the short example below, then I get the > > error. If not, it seems to work ok. > > > > +------------test.org------ > > #+title: Here's a document title > > > > * NOTE h1 > > > > * TODO h1 also > > > > ** NOTE h2 > > > > * Another subtree > > > > Here's some stuff I want to export to HTML. > > > > +------------------------ > > > > Is the attached what you'd expect? It works for me, and no issues with > the title (which I don't think will apply since you're just exporting > the subtree, but could be wrong). > > > John > > > Thanks, > > -pd > > > Email had 1 attachment: > + 2015-11-18_162910.png > 33k (image/png)
That looks right, but, as I said, it doesn't work for me if the #+title: option is included. Thanks, -- Peter Davis www.techcurmudgeon.com www.timebums.com