delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/27/13:09:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=TkNx+NtuYrTw+8FOL7XkxmLSN17A2
vQuScv3Argm/6jJyQiW+hurqouQmv2HP/Izu7Mo70g94owBo7unJoTMWWNvz2HJa
IgmsMM3BvlgTzYNMNz1cwIv6BZtVvhOOL/53Fs3JW0baI5sovXRA1nEs6ufWcskD
DyT2hNtTgEpAZg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=W/0y1nTQ03bUOszUSFbafoaGIzY=; b=kwh
5y1MpE0qGKe++iyy+va58NVvtFfwVZGW5OF2aG27aKKFSptMWBeuM56lTR0xO69e
HUCSTfz+ex+R6TdQSM6IKG0xNPH/0XH1Wjcz9v+u5+Hp+sIpbMvV+hd4BIUecUr9
IggVdxV4KCKGKNIbRgCyt2eB88A5bKG28MIm1Znk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=ce, Ce, help!, H*c:alternative
X-HELO: mail-it1-f178.google.com
MIME-Version: 1.0
From: Rob Torop <rob DOT torop AT gmail DOT com>
Date: Sun, 27 Jan 2019 13:08:34 -0500
Message-ID: <CAJW=A+d=i--hx9t5BOLw2DmHHUfNUuh4KF8vdXadXZ7idS48NA@mail.gmail.com>
Subject: plantuml in emacs org-mode - Help!
To: cygwin AT cygwin DOT com

I can't get embedded plantuml to work, and I'm *sure* it's a windows path
kind of problem because I get

     *Could not find plantuml.jar at c:\cygwin64\home\  ....* *(see below
for path)*

I can see where this arises in the source, and I'm sure I just need to
change a few variables to have it work.  If you know how to do it, please
let me know! What's odd is that the source seems to check the validity of
the jar path only if system-type is not cygwin :-(

Specifically, I want to have something like


*#+begin_src plantuml :file blah.png *
*a->b*
*#+end_src*

and then export to html using C-c  C-e h h (or show inline with C-c C-c)

In my .emacs, I  added *(plantuml . t)* to my list of babel languages to
load, and I've got

*(setq  org-plantuml-jar-path
"c:\\cygwin64\\home\\myid\lib\\plantuml.1.2018.8.jar")*

since when using cygwin, the jar is at ~/lib/plantuml.1.2018.8.jar

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019