From: Jeroen <contextntg@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: IBM Wordcloud with the Filter Module
Date: Mon, 11 Mar 2019 13:52:08 +0100 [thread overview]
Message-ID: <CAPtmdbMdaMZwCaV_ONqpHPf+2GuS_SPr8nE_1od8kN+wEHvPbQ@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1576 bytes --]
Dear List,
I am trying to get the IBM wordcloud java application working with the
filter module on MS Windows. This configuration does not create the
wordcloud png file. The in and out files "naamloos-10-temp-wordcloud-x.tmp"
are actually created. If this configuration correct? Java is installed and
I am indicating absolute file locations.
Thanks, Jeroen
\usemodule[filter]
\defineexternalfilter
[wordcloud]
[filtercommand={/Program Files/Java/jre1.8.0_181/bin/java
-jar /context/wordcloud/ibm-word-cloud.jar
-c /context/wordcloud/examples/configuration.txt
-w 800
-h 600
-o \externalfilteroutputfile\space
-i \externalfilterinputfile},
output=\externalfilterbasefile.png,
readcommand=\ExternalFigure,
continue=yes,
purge=no,]
\def\ExternalFigure#1{\externalfigure[#1]}
\starttext
\startwordcloud %[width=100]
Thus, I came to the conclusion that the designer of a new
system must not only be the implementer and first
large||scale user; the designer should also write the first
user manual.
The separation of any of these four components would have
hurt \TeX\ significantly. If I had not participated fully in
all these activities, literally hundreds of improvements
would never have been made, because I would never have
thought of them or perceived why they were important.
But a system cannot be successful if it is too strongly
influenced by a single person. Once the initial design is
complete and fairly robust, the real test begins as people
with many different viewpoints undertake their own
experiments.
\stopwordcloud
\stoptext
[-- Attachment #1.2: Type: text/html, Size: 4760 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2019-03-11 12:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 12:52 Jeroen [this message]
2019-03-11 16:54 ` Aditya Mahajan
2019-03-11 20:41 ` Jeroen
2019-03-12 14:41 ` Aditya Mahajan
2019-03-14 14:08 ` Fwd: " Jeroen
2019-03-14 15:32 ` Aditya Mahajan
2019-03-14 23:16 ` Fwd: " Jeroen
2019-03-15 0:56 ` Aditya Mahajan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPtmdbMdaMZwCaV_ONqpHPf+2GuS_SPr8nE_1od8kN+wEHvPbQ@mail.gmail.com \
--to=contextntg@gmail.com \
--cc=ntg-context@ntg.nl \
/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.
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 NNTP newsgroup(s).