[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @part command and docbook
From: |
Dumas Patrice |
Subject: |
Re: @part command and docbook |
Date: |
Wed, 7 May 2014 01:48:50 +0200 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
On Tue, May 06, 2014 at 09:59:20AM +0300, Aharon Robbins wrote:
> Hi Karl and Patrice.
>
> > How about:
> >
> > @part Part Title
> > @docbook
> > <partintro>intro to part blah blah</partintro>
> > @end docbook
> >
> > Does that work? That seems to me to best reflect the reality of the
> > situation, which is that "partintro" text is a Docbook feature, not
> > supported in Texinfo.
>
> It probably works, but it means I have to write all the
> text in docbook instead of in Texinfo. I tried various bits
> with @inlinefmt but then the <partintro> got wrapped inside
> <para> tags and that was totally wrong.
Doesn't the following work:
@part A nice part
@ifdocbook
@docbook
<partintro>
@end docbook
The part is very nice.
@docbook
</partintro>
@end docbook
@end ifdocbook
> Is it reasonable to require that text after @part and before @chapter be
> wrapped in @ifdocbook and then makeinfo can supply the <partintro> tags?
I think that there should be no situation in which we document that @if*
commands should be used to use a Texinfo feature. There is only one
such occurrence for now, for the titlepage, and I think that it should
not be that way.
> 1. Require and document that @part and following text be wrapped
> in @ifnotinfo.
Same as above, I don't think that we should ever propose to the user in
the Texinfo manual format conditionals for standard Texinfo language
features.
> 4. makeinfo --docbook supplies <partintro> tags.
That being said, I still think that it could make sense to supply
<partintro> tags to get valid DocBook, even if the Texinfo is invalid,
but I leave that decision to Karl.
--
Pat
- Re: @part command and docbook, (continued)
- Re: @part command and docbook, Aharon Robbins, 2014/05/06
- Re: @part command and docbook, Karl Berry, 2014/05/06
- Re: @part command and docbook, Aharon Robbins, 2014/05/07
- Re: @part command and docbook, Karl Berry, 2014/05/07
- Re: @part command and docbook, Aharon Robbins, 2014/05/09
- Re: @part command and docbook, Karl Berry, 2014/05/09
- Re: @part command and docbook, Aharon Robbins, 2014/05/10
- Re: @part command and docbook, Patrice Dumas, 2014/05/11
- Re: @part command and docbook, Karl Berry, 2014/05/13
- Re: @part command and docbook, Dumas Patrice, 2014/05/18
- Re: @part command and docbook,
Dumas Patrice <=
Re: @part command and docbook, Dumas Patrice, 2014/05/06