From mboxrd@z Thu Jan 1 00:00:00 1970 From: martin.guertler@gmx.de (Martin =?utf-8?Q?G=C3=BCrtler?=) Subject: Bug: Bug in svg generation from plantuml sources [9.1.7 (9.1.7-20-ge1f1ac-elpa @ /home/guertler/.emacs.d/elpa/org-20180319/)] Date: Tue, 20 Mar 2018 12:24:28 +0100 Message-ID: <878tan2dn7.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyFNi-000174-K0 for emacs-orgmode@gnu.org; Tue, 20 Mar 2018 07:24:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyFNf-00062j-B2 for emacs-orgmode@gnu.org; Tue, 20 Mar 2018 07:24:42 -0400 Received: from mout.gmx.net ([212.227.17.20]:33289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyFNf-00061q-0c for emacs-orgmode@gnu.org; Tue, 20 Mar 2018 07:24:39 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. =2D----------------------------------------------------------------------- Hi, ob-plantuml wraps a plantuml source in @startuml/@enduml tags without checking whether they are already in the source code. This results in the creation of invalid SVG, at least for newer versions of plantuml, because the resulting SVG file contains then two XML documents ((I was using version 1.2018.2, it seems to work though for older plantuml versions <=3D 8059). So the following does not work #+BEGIN_SRC plantuml :file "out.svg" @startuml a->b @enduml #+END_SRC while this works: #+BEGIN_SRC plantuml :file "out.svg" a->b #+END_SRC Every plantuml example I found contains @startuml/@enduml so all my old org mode files do contain the tags... I feel the required change is not very difficult, but unfortunately I do not speak elisp at all... Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-02-19, modified by Debian Package: Org mode version 9.1.7 (9.1.7-20-ge1f1ac-elpa @ /home/guertler/.em= acs.d/elpa/org-20180319/) Thanks for considering, Martin =2D-=20 Dr. Martin G=C3=BCrtler=20 =20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEELbJQNUOfJzWV0m7sjMQkUa4XESMFAlqw72wACgkQjMQkUa4X ESN0ugf+P+DC6+K6PD8Cps8PYttvPc3XTGsH+quNr2oak74glbfC/alHfDFzPiHn it3ba1U/4PNvTRRsywcyn7v0H1QKYTGiV8oQs2wejgZ4zlc863clyiOi8BnrCup0 TbJLHgmEIDD8qNt8zVACL7OoQ4I1UXcplGqnOIyvdVXDQEsBga2ZY2VGbTQtOxfb 1W8/lO6ZK4mgfEWnR66wMbPp3PUJX4/dJgEEa8rx9RTDRRprkkG7oPrRJFMr8TIm K6FRINlggi1AVGHEDqGG42anvy9vk5CYS/bPZWijfUcaqfEToQkaLc7B67tfU9xz DW0TONCMld0MZdqJa6uNBSh9rO51gw== =D9fo -----END PGP SIGNATURE----- --=-=-=--