From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sKgmNaLz5mTFyQAASxT56A (envelope-from ) for ; Thu, 24 Aug 2023 08:07:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uNVBNaLz5mTHugAA9RJhRA (envelope-from ) for ; Thu, 24 Aug 2023 08:07:30 +0200 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 7D23A42F78 for ; Thu, 24 Aug 2023 08:07:27 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692857250; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=w/T52iCNtF94AEGxK2Rt7KwHcqSOMYck6rIVgekzARI=; b=Qyqka+FEgJsdz5c51kxabS8V824oBMa2zj6UMILQbQstrx89x2++vFznRT18nWCzYJqghc Mdx4auN9WjqWjmHp5yIhYonPuvjjZdm2SLVod14kKW0CTt+a/+XxMBK2jcqY2LucJO430e o1nJWZ0BNnZThUb4/R22srCTFFiZ+jprdk+q8uiQBAUpM3yz3AAYVUMuqTLepmy9+riYpD CGLZ59wEYM2OvcOeUpSC995iJIx5EYLGtcLAstXkwj2TYrtAfKqXeUv3DwIYyvPSf0I8RQ QHPmAbBoxifEGArANjGJSJLXPIq7nKQyxwzXYlg7vah1gMWYr1v1J5TXoELFCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692857250; a=rsa-sha256; cv=none; b=SYGVfbhkYQSLsvt408stzxliYLtDzb+jQOAiD2Dn7oRKCWbbmwTmcrk2x/1sI0XzPA/x5B BAHcPDPpO7pUAC/qoueR9fUStfXwzbcLf9ZhY4RqJkgZ4Zcjr6cmfs5LUz5rQ/OojOTCpV VFNzYgW3i2YNSBjhPW+hzUUnQpa61Z8WjaIHj9JTP7jTaexIrEYY61K/J3jDitbizotsVc 5ALIKJu2oOmUm7uOJIBEsBqYFLbVE16Cgsf7MmhQ67+t632ErF9JmQZSQy12blY1Xx29nF DPeQaRFUecP6iMd9Yd4LH3++2dkrn4UwCGc7pbFCKozVoRGX1ECdnjHLGYp6Qw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ3UA-0002DQ-U6; Thu, 24 Aug 2023 02:06:28 -0400 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 1qYnZQ-0007tR-AZ for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 09:06:48 -0400 Received: from n169-113.mail.139.com ([120.232.169.113]) by eggs.gnu.org with smtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYnZM-0003Ni-Ka for emacs-orgmode@gnu.org; Wed, 23 Aug 2023 09:06:48 -0400 X-RM-TagInfo: emlType=0 X-RM-SPAM: X-RM-SPAM-FLAG: 00000000 Received: from dev01 (unknown[120.244.220.149]) by rmsmtp-lg-appmail-33-12047 (RichMail) with SMTP id 2f0f64e60227f87-98748; Wed, 23 Aug 2023 20:57:17 +0800 (CST) X-RM-TRANSID: 2f0f64e60227f87-98748 From: Nan JunJie To: emacs-orgmode@gnu.org Subject: plantuml tikz format support Date: Wed, 23 Aug 2023 20:57:06 +0800 Message-ID: <87wmxlhq71.fsf@139.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=120.232.169.113; envelope-from=nanjunjie@139.com; helo=n169-113.mail.139.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 24 Aug 2023 02:06:18 -0400 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 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.21 X-Spam-Score: -6.21 X-Migadu-Queue-Id: 7D23A42F78 X-TUID: 0jC5CbrUc89Q I'd like to add a patch to support plantuml tikz format. We can use it like this: #+begin_src plantuml :file file.tikz ... #+end_src #+results: [[file.tikz]] So that file.tikz will be treat as tikz picture and input. Here the patch: >From c97e5f421202ac2bfd16174c2d4be4059b0aa4c8 Mon Sep 17 00:00:00 2001 From: Nan Jun Jie Date: Wed, 23 Aug 2023 20:23:40 +0800 Subject: [PATCH] Add plantuml tikz tex support Via the use of plantuml -tlatex:nopreamble option, tikz tex can be \input in the export latex, so that it will be compiled as tikz picture, just like the png or svg format. --- lisp/ob-plantuml.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el index 3202c6e41..b5cc9322e 100644 --- a/lisp/ob-plantuml.el +++ b/lisp/ob-plantuml.el @@ -143,6 +143,7 @@ This function is called by `org-babel-execute-src-block= '." ("eps" '("-teps")) ("pdf" '("-tpdf")) ("tex" '("-tlatex")) + ("tikz" '("-tlatex:nopreamble")) ("vdx" '("-tvdx")) ("xmi" '("-txmi")) ("scxml" '("-tscxml")) --=20 2.40.1 --=20 =E2=88=A7 =E2=88=A7=EF=B8=B5 =E3=83=9F^=C5=8D^=E3=83=9F=E7=81=AC)=EF=BD=9E https://nanjj.github.io