From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-91-241.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.0 required=3.0 tests=FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:9485:b0:774:1003:2bbc with SMTP id sn5-20020a05620a948500b0077410032bbcmr59504qkn.1.1695707238241; Mon, 25 Sep 2023 22:47:18 -0700 (PDT) X-Received: by 2002:a05:6808:2122:b0:3a7:8c2c:8c8e with SMTP id r34-20020a056808212200b003a78c2c8c8emr5148418oiw.11.1695707237964; Mon, 25 Sep 2023 22:47:17 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 25 Sep 2023 22:47:17 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=212.58.120.89; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww NNTP-Posting-Host: 212.58.120.89 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7edf8281-4c8b-414d-8b60-e0a6fc851d03n@googlegroups.com> Subject: Re: Parameterised 'Image Attributes From: Vadim Godunko Injection-Date: Tue, 26 Sep 2023 05:47:18 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:65725 List-Id: On Saturday, September 23, 2023 at 1:59:20=E2=80=AFPM UTC+4, Rod Kay wrote: >=20 > I've been using 'Gnat.formatted_Output' which I've found quite=20 > useful. Unfortunately, it seems to be a little buggy with its formatting. You can take a look at VSS's Virtual_String_Templates and Formatters, see https://github.com/AdaCore/VSS/blob/master/source/text/vss-strings-template= s.ads https://github.com/AdaCore/VSS/blob/master/source/text/vss-strings-formatte= rs.ads and an example of its use https://github.com/AdaCore/gnatdoc/blob/3e94448ac57270caf4b4502f208f78e1d51= da2b2/source/gnatdoc-messages.adb#L130