From nobody Mon Feb 20 05:35:56 2023 X-Original-To: freebsd-doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PKrkQ19jNz3rxc5 for ; Mon, 20 Feb 2023 05:36:14 +0000 (UTC) (envelope-from bsdunix44@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PKrkP1jjxz3q9w for ; Mon, 20 Feb 2023 05:36:13 +0000 (UTC) (envelope-from bsdunix44@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Lokit2jS; spf=pass (mx1.freebsd.org: domain of bsdunix44@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=bsdunix44@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x102b.google.com with SMTP id f2-20020a17090aa78200b00234463de251so1996211pjq.3 for ; Sun, 19 Feb 2023 21:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=WhAv6RITBROYdc/bVwIq7HG67Ux6KpwVfS8O41vQfoA=; b=Lokit2jSAj0YuSM3Gcok6zdfKF+4yuwQGcTkvtuL2XMsQbBUNqPge6WNE11MekiCcK SHg6VLRq/FGqhUY0+LorNOjL63UXR+JMP6I1ah5Voaq4dvs4pGMF0vMYdZw7mt9Zgo5k jW6dEPe93TDTOddo7PkKFVpFfLzCPjW7T++t2lo+CcMqiPbZS/P12Wd0Lle5a2DKf3so JIOmEaGWnAK7RCTrsYjEZJkUQ1FOrtE7thnl6h6jZgbB6o1NOm64bgaj/RfprXLkLiTO qRbnQr1Lj7Nf8evtIB3KcOiQMzWq3f7XY5O9BxdGnbHKhDCQtfioX8DDZ+8fuZW9oRL2 4usA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WhAv6RITBROYdc/bVwIq7HG67Ux6KpwVfS8O41vQfoA=; b=giNz/j0pa96KulFFtBJ4CiDp2VMCJSqjDpkl+MEHLSD24iSRV3cnsDxQuS3robQL0M ulNd3eDUgd5mB9sXyYQ/v/vQjj5c1C+VpJn7CtFb75E+ShOh+TZHz4PpHat4t8iVDwYm bhD61QG1zO04XGLCd3WsiCbLm5zrIsW/otCfBRn37AYSls91AWs7EAdcla3DMAU5AC/4 M+KGoZNYUflll2B4PAwv9JHD3BWZHuPb0Caa/vZf9+7BOUKwamhiV/rokhcdh/SiqpxE GuCnR8m2CjkfnpBxUdf/RQ/X7bHhBnlgrTv7IWQYaKqL63+lia3hgwZe7mUVDyFZc8lr 52UQ== X-Gm-Message-State: AO0yUKWjv9n+W++EFFtw2Yx+gLhx/DEHkdnLBQTgCJ+0yjjW5t04Qo5t cyZNA+11ZfUkoHTUPt8pSdJeBfHFJy/eJOuMIqNPvWj9Ejo= X-Google-Smtp-Source: AK7set+pdGcA5U3MyT4gmYZZk0FnN0U3oOrR9qEzh2KZt2ueQc3Y5dzMWsjb3LAXLXVQ3BZyt8v0+FXYyvTjn2N2ACw= X-Received: by 2002:a17:90b:3b8d:b0:236:6a4f:cf6f with SMTP id pc13-20020a17090b3b8d00b002366a4fcf6fmr153025pjb.105.1676871370632; Sun, 19 Feb 2023 21:36:10 -0800 (PST) List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 From: Chris Watson Date: Sun, 19 Feb 2023 23:35:56 -0600 Message-ID: Subject: Plantuml support in asciidoctor, some uml formats work, others not so much... To: freebsd-doc@freebsd.org Content-Type: multipart/alternative; boundary="00000000000061745b05f51b0a82" X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_SHORT(-0.19)[-0.191]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-doc@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-doc@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4PKrkP1jjxz3q9w X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --00000000000061745b05f51b0a82 Content-Type: text/plain; charset="UTF-8" I felt this was the best list to ask about this, if it's not punt me in the right direction. I have a 13.1-RELEASE-p7 jail with all the 'latest' rubygem-asciidoctor-* pkg's installed. I was just starting to experiment with asciidoctor-diagram and I have noticed that some of plantumls formats work, and some do not. Here are two simple examples using this command line "asciidoctor -b html5 -o index.html -r asciidoctor-diagram example.adoc -w": plantuml that works: [plantuml, format=svg] .... @startuml User -> (start) User --> (Use the application) : Label @enduml .... plantuml that does not work: [plantuml, format=svg] .... @startuml object London map CapitalCity { UK *-> London USA => Washington Germany => Berlin } @enduml .... The latter gives a syntax error. It's lifted directly from the plantuml wesbite examples so I'm not sure that error is correct? And I know that @startuml and @enduml *should* be optional in an asciidoc document when using asciidoctor-diagram. But it fails even without them. The error is: [From string (line 4)] @startuml object London map CapitalCity { Syntax error? Both work correctly in plantuml.com's demo server window that lets you enter uml to render. This also happens when using other formats like yaml or mindmap which is part of plantuml and asciidoctor-diagram is supposed to support as well. It seems hit or miss on what formats asciidoctor-diagram is able to render from the main plantuml.com page. Is this an issue of asciidoctor-diagram? is it behind in supporting these formats? is it our port? Can anyone more well versed in the asciidoctor realm explain what's going on here? Thank you very much! Chris --00000000000061745b05f51b0a82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I felt this was the best list to ask abou= t this, if it's not punt me in the right direction.
I have a 13.1-R= ELEASE-p7 jail with all the 'latest' rubygem-asciidoctor-* pkg'= s installed.
I was just starting to experiment with asciidoctor-d= iagram and I=C2=A0have noticed that some of plantumls=C2=A0formats work, an= d some do not. Here are two simple examples using this command line "a= sciidoctor -b html5 -o index.html -r asciidoctor-diagram example.adoc -w&qu= ot;:=C2=A0

plantuml that works:

[plantuml= , format=3Dsvg]
....
User -&g= t; (start)
User --> (Use the application) : Label
@end= uml
....

plantuml= that does not work:

[plantuml, format=3Dsvg]
....
@startuml
object London

map CapitalCity {=C2=A0UK *-> London
=C2=A0USA =3D> Washington
=C2=A0Germany = =3D> Berlin
}
@enduml
....

= The latter gives a syntax error. It's lifted directly from the plantuml= wesbite examples so I'm not sure that error is correct? And I know tha= t=C2=A0@startuml and=C2=A0@enduml *should* be optional in an asciidoc docum= ent when using asciidoctor-diagram. But it fails even without them.

The error is:

[From string (line= 4)]
object London

=
map CapitalCity {
Syntax error?

Bot= h work correctly in=C2=A0plantuml.com's demo server window that lets you enter uml to rende= r. This also happens when using other=C2=A0formats like yaml or mindmap whi= ch is part of plantuml and asciidoctor-diagram is supposed to support as we= ll. It seems hit or miss on what formats asciidoctor-diagram is able to ren= der from the main=C2=A0p= lantuml.com=C2=A0page. Is this an issue of asciidoctor-diagram? is it b= ehind in supporting these formats? is it our port? Can anyone more well ver= sed in the asciidoctor realm explain what's going on here?
Thank you very much!

Chris
--00000000000061745b05f51b0a82--