Re: [Emo-dir] quick-start guides

Toerless Eckert <tte@cs.fau.de> Mon, 31 January 2022 15:23 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: emo-dir@ietfa.amsl.com
Delivered-To: emo-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB2D33A077C for <emo-dir@ietfa.amsl.com>; Mon, 31 Jan 2022 07:23:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.649
X-Spam-Level:
X-Spam-Status: No, score=-6.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nx5MunVXUpGf for <emo-dir@ietfa.amsl.com>; Mon, 31 Jan 2022 07:23:54 -0800 (PST)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 704C13A076E for <emo-dir@ietf.org>; Mon, 31 Jan 2022 07:23:54 -0800 (PST)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 3343C58C4B0; Mon, 31 Jan 2022 16:23:49 +0100 (CET)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 2004B4EA503; Mon, 31 Jan 2022 16:23:49 +0100 (CET)
Date: Mon, 31 Jan 2022 16:23:49 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Lars Eggert <lars@eggert.org>
Cc: Alice Russo <arusso@amsl.com>, emo-dir@ietf.org
Message-ID: <Yff/BTmBFRxZ1hKA@faui48e.informatik.uni-erlangen.de>
References: <51F3DD06-DA88-4DBD-ABBA-1CD0972326A4@amsl.com> <2FBDEFE9-CE5B-4CD3-BE20-670056E836A4@eggert.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <2FBDEFE9-CE5B-4CD3-BE20-670056E836A4@eggert.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/emo-dir/EBoAI4BIuKDQqekSA8H8C-1wqOg>
Subject: Re: [Emo-dir] quick-start guides
X-BeenThere: emo-dir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Education, Mentoring & Outreach Directorate" <emo-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emo-dir>, <mailto:emo-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emo-dir/>
List-Post: <mailto:emo-dir@ietf.org>
List-Help: <mailto:emo-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emo-dir>, <mailto:emo-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 31 Jan 2022 15:23:59 -0000

I would strongly recommend kramdown-rfc2629, but...

I think we need some better documentation / tooling pieces first to avoid
users to maybe become frustrated:.

1. Instead of Matin Thomsons template, i would suggest a template that
has (ideally) an instance of every formatting option:
- a table, - figure, - an instance of every paragraph formatting etc. pp.
at least what the xml template has: https://github.com/ietf-authors/rfcxml-templates-and-schemas/blob/main/draft-rfcxml-general-template-standard-00.xml

2. If you want to start changing an existing I-D in MD and there is
no github, but only datatracker, you need to retrieve an existing MD via
the XML: Every XML on datatracker that was generated by kramdown-rfc2629
contains a compressed version of the MD source. I couldn't find a tool
to extract the MD from the XML though. it is  easy to write it yourself (base64
or the like, don't quite remember), but would strngly suggest to have a pointer
to such a tool. 

3. It might be helpful to have on authors.ietf.org a page also documenting
MD formatting. The doc on cabos github is kinda hmm... all over the place,
but not complete for the formatting pieces ?

4. aplicable to MD and XML: I would add to the templates also elements
that are not mandatory, but very useful: 
- a terminology section (references to a defined term in such a section
  are somewhat of a pain. Have not tried to see how good that works in MD).
- A changelog section (helps WG chairs and others a lot if these are done well).

Cheers
    Toerless

On Mon, Jan 31, 2022 at 10:45:20AM +0200, Lars Eggert wrote:
> Hi,
> 
> do we want to (strongly) recommend kramdown-rfc2629 esp. for new documents?
> 
> It has a significantly lower bar than editing directly in XML.
> 
> Thanks,
> Lars
> 
> 
> > On 2022-1-27, at 20:11, Alice Russo <arusso@amsl.com> wrote:
> > 
> > As discussed today. Outlines below as potential starting points.
> > 
> > Alice
> > --
> > 
> > A) Quick-start guide for editing in XML
> >   - Start with a file (an existing I-D or template [1]).
> >   - Edit it w/ the software of your choice.
> >     -> Tip: Rely on the citation library by using xi:include [2].
> >   - Convert it using https://author-tools.ietf.org.
> >   - Upload it to the I-D submission tool [3].
> >   - Share it and update it.
> > 
> > B) Quick-start guide for editing in markdown (specifically kramdown-rfc2629)
> >   - Start with a file (an existing I-D or template [4]).
> >   - Edit it w/ the software of your choice.
> >     -> Tip: Rely on the citation library by using a YAML header [5].
> >   - Convert it using https://author-tools.ietf.org.
> >   - Upload it to the I-D submission tool [3].
> >   - Share it and update it.
> > 
> > Note: If you prefer a GitHub workflow, see instructions on [6].
> > 
> > [1] https://github.com/ietf-authors/rfcxml-templates-and-schemas/blob/main/draft-rfcxml-general-template-standard-00.xml
> > [2] https://authors.ietf.org/references-in-rfcxml
> > [3] https://datatracker.ietf.org/submit/
> > [4] https://github.com/martinthomson/internet-draft-template/blob/main/draft-todo-yourname-protocol.md
> > [5] https://github.com/cabo/kramdown-rfc2629#references
> > [6] https://github.com/martinthomson/i-d-template/blob/main/doc/TEMPLATE.md
> > _______________________________________________
> > Emo-dir mailing list
> > Emo-dir@ietf.org
> > https://www.ietf.org/mailman/listinfo/emo-dir
> 



> _______________________________________________
> Emo-dir mailing list
> Emo-dir@ietf.org
> https://www.ietf.org/mailman/listinfo/emo-dir


-- 
---
tte@cs.fau.de