emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Roger J. H. Welsh" <rjhwelsh@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bzg/org-mode] Added latex export option to ob-plantuml.el (#1)
Date: Wed, 23 May 2018 16:50:10 +1200	[thread overview]
Message-ID: <20180523045010.vio2w3wxlsx5mu75@ponos> (raw)
In-Reply-To: <87lgccxd6r.fsf@nicolasgoaziou.fr>


[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]

On  Tue, May 22, 2018 at 11:16:44AM +0200 , Nicolas Goaziou wrote:
> Thank you. Could you provide a proper commit message, i.e., including
> the function being modified:
>
>   * lisp/ob-plantuml.el (... function ...): ... change ...
I have made the changes to the patch.
Does this fit your requirements?

> You also need to add TINYCHANGE at the end of the message if you haven't
> signed FSF papers yet.
This is my first contribution.
What papers should I sign for regular contributions?

--

Roger Welsh
fpr: 2FCB 9E31 EA77 CDEC A3AE  5DD7 D54C C777 553A 180D

[-- Attachment #1.2: dd69e979b4a8fdd0bb70306e0afb339720659dc5.patch --]
[-- Type: text/x-diff, Size: 960 bytes --]

From dd69e979b4a8fdd0bb70306e0afb339720659dc5 Mon Sep 17 00:00:00 2001
From: rjhwelsh <rjhwelsh@gmail.com>
Date: Thu, 17 May 2018 15:36:41 +1200
Subject: [PATCH] * lisp/ob-plantuml.el (org-babel-execute:plantuml): Added latex output support TINYCHANGE

---
 lisp/ob-plantuml.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/ob-plantuml.el b/lisp/ob-plantuml.el
index 9a9313e7b..3326a6419 100644
--- a/lisp/ob-plantuml.el
+++ b/lisp/ob-plantuml.el
@@ -92,7 +92,9 @@ This function is called by `org-babel-execute-src-block'."
 			(if (string= (file-name-extension out-file) "eps")
 			    " -teps" "")
 			(if (string= (file-name-extension out-file) "pdf")
-			    " -tpdf" "")
+			    " -tpdf" "")
+			(if (string= (file-name-extension out-file) "tex")
+			    " -tlatex" "")
 			(if (string= (file-name-extension out-file) "vdx")
 			    " -tvdx" "")
 			(if (string= (file-name-extension out-file) "xmi")

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-05-23  4:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bzg/org-mode/pull/1@github.com>
     [not found] ` <bzg/org-mode/pull/1/c389765752@github.com>
2018-05-21  3:03   ` [bzg/org-mode] Added latex export option to ob-plantuml.el (#1) Roger J. H. Welsh
2018-05-22  9:16     ` Nicolas Goaziou
2018-05-23  4:50       ` Roger J. H. Welsh [this message]
2018-05-30 11:45         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180523045010.vio2w3wxlsx5mu75@ponos \
    --to=rjhwelsh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).