Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docbookrx swallows itemizedlist within variablelist #10

Open
pmkovar opened this issue Nov 2, 2015 · 3 comments
Open

docbookrx swallows itemizedlist within variablelist #10

pmkovar opened this issue Nov 2, 2015 · 3 comments
Labels

Comments

@pmkovar
Copy link

pmkovar commented Nov 2, 2015

docbookrx swallows an itemizedlist nested within a variablelist, the contents of the itemizedlist are silently dropped.

@pmkovar
Copy link
Author

pmkovar commented Nov 2, 2015

An example markup:

 <variablelist>
    <varlistentry>
      <term>ADDRESS</term>
      <listitem>
        <para>
          This can either be:
        </para>
        <itemizedlist>
          <listitem>
            <para>
              An
            </para>
            <screen>
host
            </screen>
          </listitem>
        </itemizedlist>
        <note>
          <para>
            <literal>ADDRESS</literal> is not required
          </para>
        </note>
      </listitem>
    </varlistentry>
  </variablelist>

@pmkovar
Copy link
Author

pmkovar commented Nov 2, 2015

Turns out it swallows other elements as well, for example a note:

 <variablelist>
    <varlistentry>
      <term>Table 2</term>
      <listitem>
        <para>
          This can either be:
        </para>
        <note>
          <para>
            <literal>ADDRESS</literal> is not required
          </para>
        </note>
      </listitem>
    </varlistentry>
  </variablelist>

@mojavelinux
Copy link
Member

Indeed, this is mentioned in the WORKLOG as a missing conversion. See https://github.com/opendevise/docbookrx/blob/master/WORKLOG.adoc

@mojavelinux mojavelinux added the bug label Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants