From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31829 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: Re: How to get a PhD with ConTeXt (+ hard work ;) ) Date: Mon, 13 Nov 2006 19:24:35 +0100 Message-ID: <4558B863.8030905@nibua-r.org> References: <45412D90.9040203@nibua-r.org> <6faad9f00611112133k428d62a1tfc1bdc2a48f21ade@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0004726146==" X-Trace: sea.gmane.org 1163446372 23219 80.91.229.2 (13 Nov 2006 19:32:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 19:32:52 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 13 20:32:51 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GjhXU-0004yj-3x for gctc-ntg-context-518@m.gmane.org; Mon, 13 Nov 2006 20:32:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 002C81FDE1; Mon, 13 Nov 2006 20:32:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30764-02; Mon, 13 Nov 2006 20:32:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2144D1FD26; Mon, 13 Nov 2006 20:32:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B49FF1FD4E for ; Mon, 13 Nov 2006 20:32:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30522-04 for ; Mon, 13 Nov 2006 20:31:53 +0100 (CET) Original-Received: from 23.mail-out.ovh.net (23.mail-out.ovh.net [213.186.41.17]) by ronja.ntg.nl (Postfix) with SMTP id 8378B1FBFD for ; Mon, 13 Nov 2006 20:31:52 +0100 (CET) Original-Received: (qmail 3376 invoked by uid 503); 13 Nov 2006 18:18:02 -0000 Original-Received: (QMFILT: 1.0); 13 Nov 2006 18:18:02 -0000 Original-Received: from b6.ovh.net (HELO mail73.ha.ovh.net) (213.186.33.56) by 23.mail-out.ovh.net with SMTP; 13 Nov 2006 18:18:02 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 13 Nov 2006 18:24:48 -0000 Original-Received: from d213-103-34-182.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@213.103.34.182) by ns0.ovh.net with SMTP; 13 Nov 2006 18:24:43 -0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00611112133k428d62a1tfc1bdc2a48f21ade@mail.gmail.com> X-Ovh-Remote: 213.103.34.182 (d213-103-34-182.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31829 Archived-At: This is a multi-part message in MIME format. --===============0004726146== Content-Type: multipart/alternative; boundary="------------000400010306000509050308" This is a multi-part message in MIME format. --------------000400010306000509050308 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mojca Miklavec a =E9crit : > >Nice work! I can't read French, but the figures are very nice and >content is probably interesting as well ;) > =20 > Thanks! >I didn't know that people were indeed using the module already (I >started using it more regularly only recently). > =20 > dunno (but hope so because of the result...) >Now one question: how exactly did you create/include the plots? With >"which version of the module"? I don't mind if some of my plots break >if I slightly change the interface before officially releasing it, but >I don't want other people to have problems with that. > You're right. I've used the latest darcs' release (up to the "points added, some options, etc..." patch). For the inclusion, it's better to have an example in mind: %%%% file curves.gp set terminal context input textext linewidth .3 size 1.2 set output "curves.tex" set xlabel "$x$ (m)" set ylabel "$z$ (m)" set notitle plot sin(x) with lines lw 2 notitle set xlabel "$t$ (s)" set ylabel "a label" set notitle plot cos(x) %%%% file gpsample.tex: \usemodule[t-gnuplot] \setupcolors[state=3Dstart] \starttext \processGNUPLOTfile[mybeautifulcurves][curves] \placefigure[here]{none}{ \startcombination[1*2] {\useMPgraphic{gpg:mybeautifulcurves:1}}{$\sin$} {\useMPgraphic{gpg:mybeautifulcurves:2}}{$\cos$} \stopcombination } \stoptext The output is processed using: gnuplot curves.gp texexec gpsample With this method, the gnuplot call delivers a curves.tex file one could keep as long as the plot doesn't change... Can be usefull when you have a big document! ;) I'll write a paper entitled "How to get a PhD with... ConTeXt" asap (I have the summary and the ideas but time is missing these days, as always and, moreover because of my new job...). It'll mainly be a paper about integration (m-bib, gnuplot, mp, etc...) Best regards Renaud PS: what will you do to manage your gnuplot module for ConTeXt ? Include it into official gnuplot ? It's maybe the time to keep it "well managed", with supelec foundry for example... What your opinion ? --------------000400010306000509050308 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mojca Miklavec a écrit :

Nice work! I can't read French, but the figures are very nice and
content is probably interesting as well ;)
  
Thanks!
I didn't know that people were indeed using the module already (I
started using it more regularly only recently).
  
dunno (but hope so because of the result...)
Now one question: how exactly did you create/include the plots? With
"which version of the module"? I don't mind if some of my plots break
if I slightly change the interface before officially releasing it, but
I don't want other people to have problems with that.
You're right. I've used the latest darcs' release (up to the "points added, some options, etc..." patch). For the inclusion, it's better to have an example in mind:

%%%% file curves.gp
set terminal context input textext linewidth .3 size 1.2

set output "curves.tex"

set xlabel "$x$ (m)"
set ylabel "$z$ (m)"

set notitle
plot sin(x) with lines lw 2 notitle

set xlabel "$t$ (s)"
set ylabel "a label"

set notitle
plot cos(x)

%%%% file gpsample.tex:
\usemodule[t-gnuplot]

\setupcolors[state=start]

\starttext
\processGNUPLOTfile[mybeautifulcurves][curves]

\placefigure[here]{none}{
  \startcombination[1*2]
  {\useMPgraphic{gpg:mybeautifulcurves:1}}{$\sin$}
  {\useMPgraphic{gpg:mybeautifulcurves:2}}{$\cos$}
  \stopcombination
}

\stoptext

The output is processed using:
gnuplot curves.gp
texexec gpsample

With this method, the gnuplot call delivers a curves.tex file one could keep as long as the plot doesn't change... Can be usefull when you have a big document! ;)

I'll write a paper entitled "How to get a PhD with... ConTeXt" asap (I have the summary and the ideas but time is missing these days, as always and, moreover because of my new job...). It'll mainly be a paper about integration (m-bib, gnuplot, mp, etc...)

Best regards


Renaud

PS: what will you do to manage your gnuplot module for ConTeXt ? Include it into official gnuplot ? It's maybe the time to keep it "well managed", with supelec foundry for example... What your opinion ?

--------------000400010306000509050308-- --===============0004726146== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0004726146==--