From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iGyfJWP3uWPXfwEAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 23:51:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 9xCzJWP3uWOXXQAA9RJhRA (envelope-from ) for ; Sat, 07 Jan 2023 23:51:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3743F233A7 for ; Sat, 7 Jan 2023 23:51:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEI1H-0008BU-JB; Sat, 07 Jan 2023 17:50:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEI1D-00089E-Q5 for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 17:50:30 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEI1B-00045Q-Ed for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 17:50:27 -0500 Received: by mail-wr1-x436.google.com with SMTP id m7so4505657wrn.10 for ; Sat, 07 Jan 2023 14:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:from:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=H2EVa5tCjsOG8grZovfOk9g21FDb/ADWAHFd/Lu8h8w=; b=F90+mShE6mfF2CKcIvXXlTEMOD92YOhD3cEskb9psVy3NehgzzvwvMaYfGhmoLUOsF dgZctHrIJgeoypB0dC+7M4aAFW7DvOfpEu3mWNHG/MKC4ldPbyJHWx+nmHbHPFrixiek jFytae7x9xoeu537k643diiLdRnNcKaODbuljGorCMH/xTIOec8/Tu5JmrylQcVP+bLd xdDCH+pwe1bqUAxS50+ZU5DGcISzjMO1iWbdkH/c0JdXiChtGd4HHA5mchj8+hnMYAHu pQQSgnq9pjWin5bfxNKKEitMm1PBHiJCqCmtlPu+c16YUFZ3hRquE1HStKIpKX59eZXH Gh9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:from:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H2EVa5tCjsOG8grZovfOk9g21FDb/ADWAHFd/Lu8h8w=; b=Abmtf8g6+E4T/D0Jm9zpbLS9lv3664ryJ9vuTnH+4Kcorth5PuZCz7oHisCC/cII6W ahJu3aacBAVwHsXH8UAC0AJRhfCMwnu3hze5vLGwZMcOiX9iw+MMakATP+8oWH3my2CM yjsJzc9CHVr8/vtftB4bC/EfAXi2yPXNI9ANcIWiNgPGR0e/A10vQO0xJq/hlc+IzEOA uS5VfnXW7swZD9A7n6uKw/6UH+ZdH91BFhfyyAwBcA8f2iNBmHuXiddbuHf4xyZUj7zb anASH58cSOAYINunjkflPw0oWdOmZ51TroQVEMt3UdIvpTYPn8uxrIm3Dm7t+B48RSTH C7eQ== X-Gm-Message-State: AFqh2koAipw6dRl7eS0wZye72vNmUrohbY9MScC3r/46tVnN4V+jWB+j QmhB6XpXhxeu1s+B/D3yu2YIR2DyCenF/A== X-Google-Smtp-Source: AMrXdXtdDHnIAUMzNXfMEgdLHBzZPBldT4COwqk3/ekjInawALkya8UjrC1+1N3e3MdksJ0VoxDYqA== X-Received: by 2002:a5d:4911:0:b0:238:8896:788b with SMTP id x17-20020a5d4911000000b002388896788bmr39210794wrq.26.1673131822219; Sat, 07 Jan 2023 14:50:22 -0800 (PST) Received: from [192.168.0.97] (static-30-127-26-46.ipcom.comunitel.net. [46.26.127.30]) by smtp.gmail.com with ESMTPSA id n9-20020a05600c4f8900b003d96b8e9bcasm12131269wmq.32.2023.01.07.14.50.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 07 Jan 2023 14:50:21 -0800 (PST) Content-Type: multipart/alternative; boundary="------------iVNyJrzpNUY1Sn9j5a7I7EqA" Message-ID: <35f4465e-5b73-6ca4-af81-da01a05e619d@gmail.com> Date: Sat, 7 Jan 2023 23:50:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-GB From: Ypo Subject: Help with a workflow to export plantuml diagrams To: Org-mode Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=ypuntot@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673131875; a=rsa-sha256; cv=none; b=njwwEgIXGDd9Q1BUa8B63GqgNknEeYQm0MEoU1TsA4jnduHW3VdovyLOBcV+0HFFux4JVD TozqR62V7U+oNGEKa2yF5+VPB7I37AdHUydvzgmlHnYRnCK78QmR3eNLyAc7wQCgHI/FJV SMoCoRSr+OaXcQ9G+A5H+nqyaZrJ8QF4D3DdbB+eL7DsT4xDRLyJeZaCJdh4yqGjTUQXFj TfNyb4Q0zjskOkkuatmqcT2SqT5nrk7b2xnO6lWy1I0qoALUdQGWpfT9+21holSbhGWYvN 7Edmjr1cQ6m//XG3VZPKI5sUAJ+PfV9rwJn0Dq+XXvNBUsws+WfKLxXbQWqipA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F90+mShE; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673131875; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H2EVa5tCjsOG8grZovfOk9g21FDb/ADWAHFd/Lu8h8w=; b=GHcKddYYGeFffCZ6snk6tmFEAu1VarWuDZ1nSnWbNbaD7puqY/cjiWaHuHzqOtBKgRMrzk FOtSUCPnQOCP1pk+YxGkwW6IwMrVqSuIpunVHprobTjUOjh/sytSTfLjAmyYcc3TqB3mpV qFqyDgwsIC7nI0cKapM6B+BHo57x3jLQ7rNIZddBWAUCSAYduH5N8pBDXNL0cGx9iRYcSf v8/QOwQ/mh9XHN24n9AGilYmtUfNJHPjqOuphqQAJSumVTcLCqN9HVDFlkPSDXOiqGxrlN NZlAqRJ+v9XNfg8wYjl6JWp1Qzhui0W1LHgzP8w1jT0GxjyUO+5Gw3+Y4B2/Mw== X-Spam-Score: -8.19 X-Migadu-Queue-Id: 3743F233A7 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=F90+mShE; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -8.19 X-TUID: nOKvx4wSbIg0 This is a multi-part message in MIME format. --------------iVNyJrzpNUY1Sn9j5a7I7EqA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi I want to export a diagram, which has a syntax compatible with Orgmode. I have these headlines: * Business Process Modelling WBS ** Launch the project *** Complete Stakeholder Research *** Initial Implementation Plan ** Design phase *** Model of AsIs Processes Completed **** Model of AsIs Processes Completed1 **** Model of AsIs Processes Completed2 *** Measure AsIs performance metrics *** Identify Quick Wins ** Complete innovate phase And I want to export them into a WBS diagram, so I make this block: #+begin_src plantuml :file my-diagram.png @startwbs  * Business Process Modelling WBS  ** Launch the project  *** Complete Stakeholder Research  *** Initial Implementation Plan  ** Design phase  *** Model of AsIs Processes Completed  **** Model of AsIs Processes Completed1  **** Model of AsIs Processes Completed2  *** Measure AsIs performance metrics  *** Identify Quick Wins  ** Complete innovate phase @endwbs #+end_src A workflow could be: - to use "org-cut-special" and to yank the headlines inside the plantuml block. - After that, I would have to run a macro to insert a blank space before each headline, so orgmode doesn't recognize them as headlines. - Each time I modified the original headlines, I would have to repeat that process. Probably it would be faster to use "org-toggle-item" and work with lists, instead of headlines, but there must be a reason for the syntax compatibility with orgmode. There must be an intended workflow... Could be the headlines exported in a faster way? Could be possible to avoid the duplication of information? (To create the diagram directly from the headlines, without yanking a copy of them). WBS language specification: https://plantuml.com/wbs-diagram Thanks --------------iVNyJrzpNUY1Sn9j5a7I7EqA Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Hi

I want to export a diagram, which has a syntax compatible with Orgmode.


I have these headlines:


* Business Process Modelling WBS
** Launch the project
*** Complete Stakeholder Research
*** Initial Implementation Plan
** Design phase
*** Model of AsIs Processes Completed
**** Model of AsIs Processes Completed1
**** Model of AsIs Processes Completed2
*** Measure AsIs performance metrics
*** Identify Quick Wins
** Complete innovate phase


And I want to export them into a WBS diagram, so I make this block:


#+begin_src plantuml :file my-diagram.png

@startwbs

 * Business Process Modelling WBS
 ** Launch the project
 *** Complete Stakeholder Research
 *** Initial Implementation Plan
 ** Design phase
 *** Model of AsIs Processes Completed
 **** Model of AsIs Processes Completed1
 **** Model of AsIs Processes Completed2
 *** Measure AsIs performance metrics
 *** Identify Quick Wins
 ** Complete innovate phase

@endwbs

#+end_src


A workflow could be:

- to use "org-cut-special" and to yank the headlines inside the plantuml block.

- After that, I would have to run a macro to insert a blank space before each headline, so orgmode doesn't recognize them as headlines.

- Each time I modified the original headlines, I would have to repeat that process.

Probably it would be faster to use "org-toggle-item" and work with lists, instead of headlines, but there must be a reason for the syntax compatibility with orgmode. There must be an intended workflow...

Could be the headlines exported in a faster way?

Could be possible to avoid the duplication of information? (To create the diagram directly from the headlines, without yanking a copy of them).


WBS language specification:

https://plantuml.com/wbs-diagram


Thanks

--------------iVNyJrzpNUY1Sn9j5a7I7EqA--