makeinfo --docbook: itemize

View: New views
5 Messages — Rating Filter:   Alert me  

makeinfo --docbook: itemize

by Nikos Mavrogiannopoulos :: Rate this Message:

| View Threaded | Show Only this Message

Hello,
 I tried the cvs version of makeinfo and it seems the docbook output
with images is fixed. What I notice on the output of an itemized list is
the fact that there are two bullets for each item. I don't know if
dbtoepub adds an additional bullet, but I see that makeinfo --docbook
adds per item list:

</listitem><listitem><para>• Item3
</para>

which looks to have a superfluous bullet (but I'm not a docbook expert).

regards,
Nikos

[test.texi]

\input texinfo   @c -*-texinfo-*-
@comment %**start of header
@setfilename test.info
@settitle Test


@itemize

@item Item1

@item Item2

@item Item3

@end itemize

@bye


[SPAM] Re: makeinfo --docbook: itemize

by Patrice Dumas :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Feb 13, 2012 at 04:22:16PM +0100, Nikos Mavrogiannopoulos wrote:
> Hello,
>
> </listitem><listitem><para>• Item3
> </para>
>
> which looks to have a superfluous bullet (but I'm not a docbook expert).

Indeed, I tested some outputs and also yelp, all had a superfluous bullet.
I'll try to fix that.

--
Pat


[SPAM] Re: makeinfo --docbook: itemize

by Patrice Dumas :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Feb 13, 2012 at 04:22:16PM +0100, Nikos Mavrogiannopoulos wrote:
>
> which looks to have a superfluous bullet (but I'm not a docbook expert).

Should be fixed.

--
Pat



Re: makeinfo --docbook: itemize

by Nikos Mavrogiannopoulos :: Rate this Message:

| View Threaded | Show Only this Message

On 02/13/2012 04:22 PM, Nikos Mavrogiannopoulos wrote:

> Hello,
>  I tried the cvs version of makeinfo and it seems the docbook output
> with images is fixed. What I notice on the output of an itemized list is
> the fact that there are two bullets for each item. I don't know if
> dbtoepub adds an additional bullet, but I see that makeinfo --docbook
> adds per item list:
>
> </listitem><listitem><para>• Item3
> </para>
> which looks to have a superfluous bullet (but I'm not a docbook expert).

To continue on that it seems the xml output of the itemized list could
be improved. The previous test.texi generates:
<itemizedlist>
<listitem><para>• Item1
</para>
</listitem><listitem><para>• Item2
</para>
</listitem><listitem><para>• Item3
</para>
</listitem></itemizedlist>

but this would actually be expected:

<itemizedlist>
<listitem>Item1</para></listitem>
<listitem>Item2</para></listitem>
<listitem>Item3</listitem>
</itemizedlist>

i.e. the <para> is not there.

regards,
Nikos


Re: makeinfo --docbook: itemize

by Patrice Dumas :: Rate this Message:

| View Threaded | Show Only this Message

On Tue, Feb 14, 2012 at 11:48:31PM +0100, Nikos Mavrogiannopoulos wrote:

> On 02/13/2012 04:22 PM, Nikos Mavrogiannopoulos wrote:
>
> > Hello,
> >  I tried the cvs version of makeinfo and it seems the docbook output
> > with images is fixed. What I notice on the output of an itemized list is
> > the fact that there are two bullets for each item. I don't know if
> > dbtoepub adds an additional bullet, but I see that makeinfo --docbook
> > adds per item list:
> >
> > </listitem><listitem><para>• Item3
> > </para>
> > which looks to have a superfluous bullet (but I'm not a docbook expert).
>
> To continue on that it seems the xml output of the itemized list could
> be improved. The previous test.texi generates:
> <itemizedlist>
> <listitem><para>• Item1
> </para>
> </listitem><listitem><para>• Item2
> </para>
> </listitem><listitem><para>• Item3
> </para>
> </listitem></itemizedlist>
>
> but this would actually be expected:
>
> <itemizedlist>
> <listitem>Item1</para></listitem>
> <listitem>Item2</para></listitem>
> <listitem>Item3</listitem>
> </itemizedlist>

I guess you wanted to write

<itemizedlist>
<listitem>Item1</listitem>
<listitem>Item2</listitem>
<listitem>Item3</listitem>
</itemizedlist>

But it is invalid docbook, docbook requires a paragraph (or
a similar container) in <listitem>.

--
Pat