Re: Re : Converting docbook to asciidoc

2012-03-14 Thread Lex Trotman
On 14 March 2012 21:24, Russell Dickenson wrote: > On 14 March 2012 11:23, Lex Trotman wrote: >> [...] >>> Adding a new top level element isn't documented, but if I get a moment >>> I will add it to the documentation and let you know. >> >> Now done. >> >> Cheers >> Lex > > Lex, > > Wow - thanks!

Re: Re : Converting docbook to asciidoc

2012-03-14 Thread Russell Dickenson
On 14 March 2012 11:23, Lex Trotman wrote: > [...] >> Adding a new top level element isn't documented, but if I get a moment >> I will add it to the documentation and let you know. > > Now done. > > Cheers > Lex Lex, Wow - thanks! Unfortunately I'm not a programmer by trade nor ability but I'm h

Re: Re : Converting docbook to asciidoc

2012-03-13 Thread Lex Trotman
[...] > Adding a new top level element isn't documented, but if I get a moment > I will add it to the documentation and let you know. Now done. Cheers Lex -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to asciido

Re: Re : Converting docbook to asciidoc

2012-03-13 Thread Lex Trotman
> Lex, > > I just tried codiicsa on a sample file and got the message "Error: > Unknown document type chapter". Is it simple enough for a Python noob > to add handling for this DocBook element? Hi Russell, I havn't done anything with codiicsa for so long a disk failure meant I didn't even have it

Re: Re : Converting docbook to asciidoc

2012-03-13 Thread Russell Dickenson
On 13 June 2011 13:55, Lex Trotman wrote: > Hi Lionel, > > I've added some documentation :-) > > On 12 June 2011 22:52, Lionel Orry wrote: >> Impressive ! >> After all that time looking a the XSL language with a fish look, unable to >> decide what to start with and how to organize stuff (I was tr

Re: DocBook to AsciiDoc

2012-02-26 Thread Lex Trotman
see the bottom of the message! On 27 February 2012 10:28, Ray Wilson wrote: > Hi All > > I'm grateful for the info on asciidoc but for the time being I would like to > know how to opt out of this list. > Can someone please let me know how. > > Thanks > > Ray > > > > On Sun, Feb 26, 2012 at 10:15

Re: DocBook to AsciiDoc

2012-02-26 Thread Ray Wilson
Hi All I'm grateful for the info on asciidoc but for the time being I would like to know how to opt out of this list. Can someone please let me know how. Thanks Ray On Sun, Feb 26, 2012 at 10:15 AM, Adam Witwer wrote: > Hi Stuart, > > > I tried it on the DocBook generated by asciidoc from bo

Re: DocBook to AsciiDoc

2012-02-26 Thread Adam Witwer
Hi Lex, > In case you ever get stuck with XSLT limits there is > alsohttps://github.com/elextr/codiicsathat I wrote a while ago to do some > elementary stuff.  Being Python it is (IMHO) easier than XSLT to > extend. Very nice -- thanks for sharing and pointing that out to me. That looks extremel

Re: DocBook to AsciiDoc

2012-02-26 Thread Adam Witwer
Hi Stuart, > I tried it on the DocBook generated by asciidoc from book.txt in the asciidoc > distribution (http://code.google.com/p/asciidoc/source/browse/doc/book.txt) > then > round-tripped it to HTML with asciidoc and PDF with a2x -- both compiled > without > errors! Thanks for testing it ou

Re: DocBook to AsciiDoc

2012-02-25 Thread Stuart Rackham
lleague of mine (Brian Jepson) wrote some XSL to convert from DocBook to AsciiDoc. It's here in case anyone finds it useful: https://github.com/oreillymedia/docbook2asciidoc We've tested it on only a couple of books so far, but it seems to be working pretty well. As new editions of books c

Re: DocBook to AsciiDoc

2012-02-25 Thread Lex Trotman
; we have generally use DocBook as the book source. So a colleague of > mine (Brian Jepson) wrote some XSL to convert from DocBook to > AsciiDoc. It's here in case anyone finds it useful: > > https://github.com/oreillymedia/docbook2asciidoc > > We've tested it on only a c

Re: DocBook to AsciiDoc

2012-02-25 Thread Stuart Rackham
ok as the book source. So a colleague of mine (Brian Jepson) wrote some XSL to convert from DocBook to AsciiDoc. It's here in case anyone finds it useful: https://github.com/oreillymedia/docbook2asciidoc We've tested it on only a couple of books so far, but it seems to be working pret

DocBook to AsciiDoc

2012-02-24 Thread Adam Witwer
Brian Jepson) wrote some XSL to convert from DocBook to AsciiDoc. It's here in case anyone finds it useful: https://github.com/oreillymedia/docbook2asciidoc We've tested it on only a couple of books so far, but it seems to be working pretty well. As new editions of books come up, we're

Re: Re : Converting docbook to asciidoc

2011-06-12 Thread Lex Trotman
Hi Lionel, I've added some documentation :-) On 12 June 2011 22:52, Lionel Orry wrote: > Impressive ! > After all that time looking a the XSL language with a fish look, unable to > decide what to start with and how to organize stuff (I was trying to dissect > the current docbook-xsl-stylesheets

Re: Converting docbook to asciidoc

2011-06-12 Thread Lex Trotman
On 13 June 2011 06:40, Stuart Rackham wrote: > This is really cool Lex. > > codiicsa would be very useful for migrating an existing document base to > AsciiDoc from DocBook (or any format that generates DocBook). Outputting > unhandled tags makes it easy to spot missed elements and now you've done

Re: Converting docbook to asciidoc

2011-06-12 Thread Stuart Rackham
with using Python to do the conversion from docbook to asciidoc. I have put where I got to here: https://github.com/elextr/codiicsa along with an example of the 8.6.4 asciidoc user guide round tripped from asciidoc to docbook and back. At first glance it seems to be better than the provided xsl.

Re : Converting docbook to asciidoc

2011-06-12 Thread Lionel Orry
Impressive ! After all that time looking a the XSL language with a fish look, unable to decide what to start with and how to organize stuff (I was trying to dissect the current docbook-xsl-stylesheets distribution to see if I could fork some text-output backend like manpages, but it turns out l

Converting docbook to asciidoc

2011-06-12 Thread Lex Trotman
Lionel and others, As I had some time whilst waiting for software tests to fail I played with using Python to do the conversion from docbook to asciidoc. I have put where I got to here: https://github.com/elextr/codiicsa along with an example of the 8.6.4 asciidoc user guide round tripped from

Re : Re: Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lionel Orry
I agree with you. I don't think it's suited to be part of asciidoc distribution, but rather a separate project. We'll see how generic and extensible we can make that xsl, so people can take it as a basis. Lionel -- You received this message because you are subscribed to the Google Groups "asc

Re: Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lex Trotman
Hi again Lionel, This got misthreaded so I replied to your previous post. On 9 June 2011 22:21, Lionel Orry wrote: > So, here's the first official contribution by Tomas Skäre: a XSL stylesheet. > It is by no means complete and mostly, it applies to his specific needs at > that time (namely, docb

Re: Re : Re: Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lex Trotman
On 9 June 2011 22:01, Lionel Orry wrote: > Hi Lex, > > I would like to give a public answer but I'd like first to ask the > contributor if he agrees. It was a task for his job and at first he was not > sure he could share any code, but the company that employs him eventually > agreed to release th

Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lionel Orry
So, here's the first official contribution by Tomas Skäre: a XSL stylesheet. It is by no means complete and mostly, it applies to his specific needs at that time (namely, docbook generated from FrameMaker). But that's a starting point. http://tomas.nocrew.org/asciidoc/ We may decided to put th

Re : Re: Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lionel Orry
Regards, Tomas On Sun, Apr 3, 2011 at 18:20, Lionel wrote: > Hi Tomas, > > not wanting to disturb you but I was curious if you eventually found a > solution to your problem, and what that solution is... Are you still > searching for a way to convert docbook to asciidoc? > &

Re: Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lex Trotman
Hi Lionel, On 9 June 2011 20:01, Lionel Orry wrote: > Hey, another one in the growing number of people always seeking for that. > Welcome. > > Having asked or seen the question several times already, the first answer is > no, there is nothing officially available. > > But I've been talking about

Re : Converting from DocBook to AsciiDoc

2011-06-09 Thread Lionel Orry
Hey, another one in the growing number of people always seeking for that. Welcome. Having asked or seen the question several times already, the first answer is no, there is nothing officially available. But I've been talking about that with other people who contributed some stuff so I'll answe

Converting from DocBook to AsciiDoc

2011-06-09 Thread Dag Wieers
Hi, For a project providing open source Linux training material (http://linux-training.be/) with an existing large body of DocBook sources I am looking for a way to convert DocBook to AsciiDoc. Is there something like this already available ? Would it be hard to do ? Kind regards, -- -- dag

Re: docbook to asciidoc, possible?

2010-02-08 Thread Stuart Rackham
cies wrote: hi guys. it is possible to generate asciidoc from docbook? it doesn't have to be perfect, but it would help us a lot as we have docs in several formats (docbook or parseable to docbook).. Not that I know of, see this topic: http://groups.google.com/group/asciidoc/browse_frm/thread/