Hi, > Can you share some info about usage of AsciiDoc for quotes/invoices?
Sure. My business involves a small number of quotes and invoices. It's not automated. I used to use OpenOffice but writing with WYSIWYG only brings complexity. Generating asciidoc is easier than generating docbook or ODT, right ? The most interesting part is that asciidoc has an option to insert arbitrary text in a specific docbook section from an external XML fragment. I put in fragment client+mission reference as conforming docbook xml elements. So Asciidoc source has only content. There's no information duplicated in each asciidoc source. A small makefile converts to docbook then PDF via the Latex toolchain and a custom LaTeX style that fetches metadata (client, reference to quote etc) and displays them nicely. > At, I use some PHP/MySQL web app, but believe there could be something better. Can you elaborate ? > I must say that I'm not so thrilled about DocBook toolchain and always did > prefer LaTeX route...however, I understand DocBook is powerful. My workflow is asciidoc -> docbook -> latex -> PDF. I used XSL-FO toolchain instead of LaTeX initially but it had some alignment issues and I couldn't tune the output as I wanted. With the LaTeX toolchain I succeded. > I agree. Thank you for your feedback. > > Docbook is such an interface. > > For this one I'd have to dig a bit into DocBook again. Not necessarily much. To me Docbook has become the elephant in the room. I type asciidoc only. I wrote a LaTeX style once. Asciidoc code creates and consumes the docbook. Only when my document has some things like an empty section I see a reminder that docbook is involved because asciidoc generates a docbook not accepted downstream. > There was time when I > was doing writing directly in DocBook, but as Stuart said: "I found I was > spending more time fixing syntax errors than I was writing the documentation." That's what asciidoc avoids for cases when its syntax is expressive enough. All in all your use case may be similar. Cheers ! -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
