Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-10-05 Thread Peter Davis

On Fri, Sep 30, 2016, at 03:37 PM, Nick Dokos wrote:
> Peter Davis  writes:
> 
> > Hi, Tom,
> >
> > On Fri, Sep 30, 2016, at 11:33 AM, Thomas S. Dye wrote:
> >> ... stuff excised ...
> >> 
> >> This was part of the old exporter.  It hasn't been ported to the new one.
> >
> > Thanks, Tom. Christian's post made me wonder if this was hiding in the
> > background somewhere.
> >
> 
> There is a footnote in the (incomplete) page
> 
> http://orgmode.org/worg/exporters/ox-overview.html
> 
> that says:
> 
> ,
> | (1) DocBook export, available in previous Org-mode versions, has not
> | currently been ported to the new exporter, however the new ox-texinfo
> | backend can generate DocBook format. Once file.texi is created via
> | ox-texinfo, simply execute:
> | 
> | makeinfo --docbook file.texi
> `
> 
> I wonder if that will meet the OP's requirements.
> 

I've been trying this, but on Windows 10, makeinfo keeps generating info
files, even with the --docbook switch specified. I can not get it to
output xml.

Thanks,
-pd

-- 
  Peter Davis
  www.techcurmudgeon.com



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-10-01 Thread Colin Baxter
On Fri, Sep 30 2016, Nick Dokos wrote:

Hello,

>
> But the OP wanted Docbook XML, not info.

Ah! I must remember to read a thread more carefully next time. Thanks.

Best wishes,

Colin.



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Colin Baxter

Hello,

On Fri, Sep 30 2016, Nick Dokos wrote:

> Peter Davis  writes:

... snip ...
> ,
> | (1) DocBook export, available in previous Org-mode versions, has not
> | currently been ported to the new exporter, however the new ox-texinfo
> | backend can generate DocBook format. Once file.texi is created via
> | ox-texinfo, simply execute:
> | 
> | makeinfo --docbook file.texi
> `
>

No need to call makeinfo explicitly, "file.info" is an output option.

Best wishes,

Colin.



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Nick Dokos
Colin Baxter  writes:

> Hello,
>
> On Fri, Sep 30 2016, Nick Dokos wrote:
>
>> Peter Davis  writes:
>
> ... snip ...
>> ,
>> | (1) DocBook export, available in previous Org-mode versions, has not
>> | currently been ported to the new exporter, however the new ox-texinfo
>> | backend can generate DocBook format. Once file.texi is created via
>> | ox-texinfo, simply execute:
>> | 
>> | makeinfo --docbook file.texi
>> `
>>
>
> No need to call makeinfo explicitly, "file.info" is an output option.
>

But the OP wanted Docbook XML, not info.

-- 
Nick




Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Peter Davis

On Fri, Sep 30, 2016, at 03:37 PM, Nick Dokos wrote:
> Peter Davis  writes:
> 
> > Hi, Tom,
> >
> > On Fri, Sep 30, 2016, at 11:33 AM, Thomas S. Dye wrote:
> >> ... stuff excised ...
> >> 
> >> This was part of the old exporter.  It hasn't been ported to the new one.
> >
> > Thanks, Tom. Christian's post made me wonder if this was hiding in the
> > background somewhere.
> >
> 
> There is a footnote in the (incomplete) page
> 
> http://orgmode.org/worg/exporters/ox-overview.html
> 
> that says:
> 
> ,
> | (1) DocBook export, available in previous Org-mode versions, has not
> | currently been ported to the new exporter, however the new ox-texinfo
> | backend can generate DocBook format. Once file.texi is created via
> | ox-texinfo, simply execute:
> | 
> | makeinfo --docbook file.texi
> `
> 
> I wonder if that will meet the OP's requirements.
> 

Hi, Nick,

Yes, I did see that, and I did succeed in creating a DocBook file by
exporting to texi and then converting with makeinfo. It's a bit
unwieldy, but it will do in a pinch. I'm not sure how this compares with
pandoc.

I'd really like to be able to set things like doctype, etc.
automatically, but there doesn't seem to be a way to do that in the org
file so that it would survive getting passed through texi into docbook
xml (or pandoc, for that matter).

Thanks,
-pd



-- 
  Peter Davis
  www.techcurmudgeon.com



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Nick Dokos
Peter Davis  writes:

> Hi, Tom,
>
> On Fri, Sep 30, 2016, at 11:33 AM, Thomas S. Dye wrote:
>> ... stuff excised ...
>> 
>> This was part of the old exporter.  It hasn't been ported to the new one.
>
> Thanks, Tom. Christian's post made me wonder if this was hiding in the
> background somewhere.
>

There is a footnote in the (incomplete) page

http://orgmode.org/worg/exporters/ox-overview.html

that says:

,
| (1) DocBook export, available in previous Org-mode versions, has not
| currently been ported to the new exporter, however the new ox-texinfo
| backend can generate DocBook format. Once file.texi is created via
| ox-texinfo, simply execute:
| 
| makeinfo --docbook file.texi
`

I wonder if that will meet the OP's requirements.

-- 
Nick




Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Peter Davis
Hi, Tom,

On Fri, Sep 30, 2016, at 11:33 AM, Thomas S. Dye wrote:
> ... stuff excised ...
> 
> This was part of the old exporter.  It hasn't been ported to the new one.

Thanks, Tom. Christian's post made me wonder if this was hiding in the
background somewhere.

Cheers,
-pd

-- 
  Peter Davis
  www.techcurmudgeon.com



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Thomas S. Dye
Aloha pd,

Peter Davis writes:

> On Fri, Sep 30, 2016, at 05:16 AM, Christian Moe wrote:
>> 
>> Peter Davis writes:
>> 
>> >  3. The direct route from org to DocBook xml seems to be missing.
>> 
>> It's gone extinct, but there is a fossil record of it in the online
>> manual:
>> 
>>   http://orgmode.org/guide/DocBook-export.html
>> 
>> It's not linked to from the TOC, but turned up in a DuckDuckGo
>> search. It should probably be carefully excavated and placed in the
>> Museum of Paleorgology.
>
> Thanks, Christian. This say I can use
>
> C-c C-e D
>
> but that gives me 'Invalid key', and it doesn't show up in the export
> menu.

This was part of the old exporter.  It hasn't been ported to the new one.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Peter Davis


On Fri, Sep 30, 2016, at 05:16 AM, Christian Moe wrote:
> 
> Peter Davis writes:
> 
> >  3. The direct route from org to DocBook xml seems to be missing.
> 
> It's gone extinct, but there is a fossil record of it in the online
> manual:
> 
>   http://orgmode.org/guide/DocBook-export.html
> 
> It's not linked to from the TOC, but turned up in a DuckDuckGo
> search. It should probably be carefully excavated and placed in the
> Museum of Paleorgology.

Thanks, Christian. This say I can use

C-c C-e D

but that gives me 'Invalid key', and it doesn't show up in the export
menu.

Thanks,
-pd

-- 
  Peter Davis
  www.techcurmudgeon.com



[O] [DOCS] Re: Making DocBook xml books from org mode?

2016-09-30 Thread Christian Moe

Peter Davis writes:

>  3. The direct route from org to DocBook xml seems to be missing.

It's gone extinct, but there is a fossil record of it in the online
manual:

  http://orgmode.org/guide/DocBook-export.html

It's not linked to from the TOC, but turned up in a DuckDuckGo
search. It should probably be carefully excavated and placed in the
Museum of Paleorgology.

Yours,
Christian