Re: [xml2rfc] Indenting a <dl>

Carsten Bormann <cabo@tzi.org> Wed, 17 May 2023 15:22 UTC

Return-Path: <cabo@tzi.org>
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 0A6C1C151B36 for <xml2rfc@ietfa.amsl.com>; Wed, 17 May 2023 08:22:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.895
X-Spam-Level:
X-Spam-Status: No, score=-6.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 fnM2eULKaWbT for <xml2rfc@ietfa.amsl.com>; Wed, 17 May 2023 08:22:24 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C037BC151B35 for <xml2rfc@ietf.org>; Wed, 17 May 2023 08:22:22 -0700 (PDT)
Received: from smtpclient.apple (ip-109-43-113-16.web.vodafone.de [109.43.113.16]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4QLxfz2kzkzDCcH; Wed, 17 May 2023 17:22:19 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail-A3E6F296-029F-4F38-A6AD-779CCAFE101B"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <17b6d247-aa10-75d3-0aa0-2eb3e2681a07@htt-consult.com>
Date: Wed, 17 May 2023 17:22:08 +0200
Cc: Robert Sparks <rjsparks@nostrum.com>, xml2rfc@ietf.org
Message-Id: <F53463CA-B9DF-41E1-950E-93FB6CD91FCF@tzi.org>
References: <17b6d247-aa10-75d3-0aa0-2eb3e2681a07@htt-consult.com>
To: Robert Moskowitz <rgm@htt-consult.com>
X-Mailer: iPhone Mail (20E252)
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/r6Psz57HcSAQdN_3SmU9ydYgwgA>
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 15:22:26 -0000

Normal ul with continuation paragraphs?

Sent from mobile, sorry for terse

> On 17. May 2023, at 15:14, Robert Moskowitz <rgm@htt-consult.com> wrote:
> 
> 
> 
>> 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...
> 
> 
> _______________________________________________
> xml2rfc mailing list
> xml2rfc@ietf.org
> https://www.ietf.org/mailman/listinfo/xml2rfc