ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: Re: How to get a PhD with ConTeXt (+ hard work ;) )
Date: Mon, 13 Nov 2006 19:24:35 +0100	[thread overview]
Message-ID: <4558B863.8030905@nibua-r.org> (raw)
In-Reply-To: <6faad9f00611112133k428d62a1tfc1bdc2a48f21ade@mail.gmail.com>


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

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 ?


[-- Attachment #1.2: Type: text/html, Size: 2920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-11-13 18:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-26 21:50 Renaud AUBIN
2006-10-27  6:25 ` luigi scarso
2006-10-27  8:36   ` Renaud AUBIN
2006-10-27  9:18 ` Hans Hagen
2006-10-27  9:45   ` Renaud AUBIN
2006-10-27 11:05     ` Hans Hagen
2006-10-27 11:21       ` Renaud AUBIN
2006-10-29 19:56 ` David Antos
2006-11-06 13:57   ` Oliver Buerschaper
2006-11-06 15:23     ` David Antos
2006-11-13 10:08       ` Oliver Buerschaper
2006-11-12  5:33 ` Mojca Miklavec
2006-11-13 18:24   ` Renaud AUBIN [this message]
2006-11-14  0:00     ` Mojca Miklavec
2006-11-14 12:55       ` Hans Hagen
2006-11-14 13:20         ` <module authors> Contextgarden modules and TeXLive deadline Taco Hoekwater
2006-11-15 21:28       ` How to get a PhD with ConTeXt (+ hard work ;) ) Renaud AUBIN
2006-10-27  8:14 M.J. Kallen
2006-10-27  8:30 ` Johan Sandblom
2006-10-27  8:33 ` Renaud AUBIN

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=4558B863.8030905@nibua-r.org \
    --to=aubin@nibua-r.org \
    --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).