[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: QandA: nesting questions
/ Horacio MG <homega@ciberia.es> was heard to say: | <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ | ... some entities ... | <!ENTITY intro SYSTEM "intro.sgm"> | <!ENTITY resources SYSTEM "resources.sgm"> | ]> | | <book> | <bookinfo> | | <graphic format="ps" align="center" fileref="../images/image"></graphic> | | <!-- problems with graphic are: | 1) I can't make it show above the title or to the left of the title | centering the title. Is this possible? What stylesheets are you using, DSSSL or XSL? | 2) db2html produces an html output with the graphic included (in | book1.html: SRC="../images/image.gif"), wheras db2ps (or db2pdf) don't | include the graphic at all (in faq.tex: {../images/image.eps}). Now, | this is weird as images/image is a file converted to ps, so how can I | see with html an inexistant file? and how can I make the ps graphic | show on ps or pdf without fiddling with the latex source? If I understand your question, it boils down to what you said you want on the title page. Look at (define (book-titlepage-recto-elements) (list (normalize "title") (normalize "subtitle") (normalize "graphic") (normalize "mediaobject") (normalize "corpauthor") (normalize "authorgroup") (normalize "author") (normalize "editor"))) In your print and HTML stylesheets. | <!-- so far so good, except for the numbering scheme which I'll comment | at the end. But now I need to nest some Q&As --> | | <qandaentry> | <question>...</question> | <answer>...</answer> | | <!-- and the next Q&As I want them to be subquestion within the previous | question, so I don't close the </qandaentrytag until (*), and instead | I open a <qandadivtag --> You can't do that. If you want a Q&A inside a question or answer, you'll have to start a new QandASet. | jade:../resourcex.sgm:332:21:E: document type does not allow element | "QANDADIV" here | | which I assume means that I should be using <article class="faq"> | instead of <book>, but that gives me the same error and doesn't allow me | to have the html output nicely split as with <book--> Nope, it's not related to that at all. | how can I have Q&As in chapter 2 (and subsequent chaps) numbered as 2.x, | and how can I have nested q&a's with the numbering scheme: | [chapter].[Q&A].1, [chapter].[Q&A].2, ... ?? Set (define %qanda-inherit-numeration% #t) Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | Graduate school is where you learn http://www.oasis-open.org/docbook/ | to call a spade a leveraged Chair, DocBook Technical Committee | tactile-feedback geomass delivery | system.--Martha Koester
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC