Re: [xml2rfc] Indenting a <dl>

Robert Moskowitz <rgm@htt-consult.com> Wed, 17 May 2023 13:14 UTC

Return-Path: <rgm@htt-consult.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87760C15109E for <xml2rfc@ietfa.amsl.com>; Wed, 17 May 2023 06:14:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IWD9H7ZGGBE2 for <xml2rfc@ietfa.amsl.com>; Wed, 17 May 2023 06:14:32 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [23.123.122.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 50E41C151093 for <xml2rfc@ietf.org>; Wed, 17 May 2023 06:14:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id E0EFC62574; Wed, 17 May 2023 09:14:06 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fUjA0k5YBmKj; Wed, 17 May 2023 09:13:59 -0400 (EDT)
Received: from [192.168.160.29] (unknown [192.168.160.29]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id 9D43962434; Wed, 17 May 2023 09:13:59 -0400 (EDT)
Message-ID: <17b6d247-aa10-75d3-0aa0-2eb3e2681a07@htt-consult.com>
Date: Wed, 17 May 2023 09:14:18 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: Robert Sparks <rjsparks@nostrum.com>, "xml2rfc@ietf.org" <xml2rfc@ietf.org>
References: <b644493a-cce5-05f1-88a8-8ee200fc20dc@htt-consult.com> <6a1f2f34-615d-0dc5-c451-10fada03d1a1@nostrum.com>
From: Robert Moskowitz <rgm@htt-consult.com>
In-Reply-To: <6a1f2f34-615d-0dc5-c451-10fada03d1a1@nostrum.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/5l1wcLq2Qgxh4RzrZCjH2i4gLsU>
Subject: Re: [xml2rfc] Indenting a <dl>
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: XML2RFC discussion list <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 May 2023 13:14:34 -0000


On 5/17/23 08:47, Robert Sparks wrote:
>
> On 5/17/23 7:37 AM, Robert Moskowitz wrote:
>> I have a <dl> block that I want indented.
>>
>> I do not see in rfc7991 or xml2rfc FAQ any attribute to add to <dl> 
>> for indenting.  Like no margin attribute.
>>
>> I tried putting it in a <blockquote>, but that tosses | at the 
>> beginning of each line, and I don't see how to turn that off.
>>
>> I tried putting the <dl> in a <ul> and that is not allowed.
>>
>> So how do I indent a <dl> list?
>
> There is no good way at the moment. See 
> https://github.com/ietf-tools/xml2rfc/issues/990 and the discussion of 
> current workarounds at https://github.com/ietf-tools/xml2rfc/issues/985
>
> RjS

After reading these, I see that I erred with the <ul> outer wrapping by 
leaving out the <li>.  The following looks good:

<ul empty="true">
     <li>
     <dl newline="true" spacing="normal">
         <dt>Authorization DETs</dt>
         <dd>
             Used to assert the authorization of a DKI level.
         </dd>
         <dt>Endorsing DETs</dt>
         <dd>
             Used to assert operations within DKI level.
         </dd>
         <dt>Operational DETs</dt>
         <dd>
             Used by operational entities within DKI level
         </dd>
      </dl>
      </li>
</ul>

Though, maybe having a bullet in front of each <dt> might be nice...