On 6 May 2011 21:49, Josef Wolf <[email protected]> wrote: > On Fri, May 06, 2011 at 08:15:08PM +1000, Lex Trotman wrote: >> [...] >> >> Because of the format of >> >> author entries in docbook (ie containing firstname, othername, surname >> >> entries) the very_long_name_that_is_spaced_by_asciidoc technique won't >> >> work for docbook since asciidoc doesn't know where to break it, so >> >> only the docinfo works for docbook and since HTML doesn't understand >> >> docinfo only the very_long etc method works for HTML. >> > >> > Actually, it is the other way around. HTML works (although somewhat ugly). >> >> I think we are talking about different htmls, I'm talking about >> asciidoc generated ones, I suspect you are talking about docbook >> toolchain generated ones. As to the look, css can fix that :-) > > But doesn't asciidoc use docbook to generate the html?
You can generate html directly from asciidoc or you can use a2x to get asciidoc to generate docbook and then convert that to html. See user guide 30.2 on why and why not. > > I use > > a2x -f xhtml --copy infile.txt > > for this. Or should I do it differently? Depends on what you want, see reference above. And asciidoc by default includes resources (css etc) in a single file, a2x references them. > >> > It is PDF that doesn't work. >> For me it works, but only for fop not dblatex. > > Ah, yes. With fop, I get the author, too. But I get some warnings: > > WARNUNG: background-color="inherit" on fo:block, but no explicit value found > on the parent FO. > WARNUNG: background-color="inherit" on fo:block, but no explicit value found > on the parent FO. > WARNUNG: Font 'Symbol,normal,700' not found. Substituting with > 'Symbol,normal,400'. > WARNUNG: Font 'ZapfDingbats,normal,700' not found. Substituting with > 'ZapfDingbats,normal,400'. > Font substitutions like that are usually harmless, don't know what the others are. > and the layout is completely different. I guess there are some customizations > possible? Yes, but they are in the docbook toolchain not asciidoc, docbook and therefore asciidoc is content markup, not layout/formatting markup. For info see http://sagehill.net/docbookxsl/index.html I'm afraid that detailed docbook toolchain help is beyond the scope of this ml unless you are lucky and someone happens to have done it themselves. Cheers Lex -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
