How to get a PhD with ConTeXt (+ hard work ;) )
Hi all, Maybe some of yours (from the ConTeXt POV) can be interested by my PhD dissertation and my presentation (both in french)... http://www.nibua-r.org/ConTeXt/PhD/ The slides are made to work under linux with sh script to run mplayer or custom simulations... These scripts will obviously not work without the movies or my simulator binaries... Renaud
On 10/26/06, Renaud AUBIN
Hi all,
Maybe some of yours (from the ConTeXt POV) can be interested by my PhD dissertation and my presentation (both in french)...
http://www.nibua-r.org/ConTeXt/PhD/
The slides are made to work under linux with sh script to run mplayer or custom simulations... These scripts will obviously not work without the movies or my simulator binaries...
Well, I like it. Is there any examples on wiki of these things (maybe I have lost some discussions about it)?
Hi Luigi, luigi scarso a écrit :
Well, I like it. Is there any examples on wiki of these things (maybe I have lost some discussions about it)?
Not yet from me on the wiki... In fact, I have began ConTeXt last year specially to compose my dissertation. As a consequence, if you googleize "NTG ConTeXt Renaud Aubin", you'll have an idea of my step by step approach to PhD writting with ConTeXt... ;) I'll clean up, comment the source and put it online asap. You can find the source here (for the moment): http://renojrl.lrv.uvsq.fr/perso/projects/phd/ Renaud
Renaud AUBIN wrote:
Hi all,
Maybe some of yours (from the ConTeXt POV) can be interested by my PhD dissertation and my presentation (both in french)...
http://www.nibua-r.org/ConTeXt/PhD/
The slides are made to work under linux with sh script to run mplayer or custom simulations... These scripts will obviously not work without the movies or my simulator binaries... impresssive (a pitty that my french is not good enough to understand all this stuff; playing with such crawling machinery is still on my agenda)
i hope that you got it printed in full color and nicely bound Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans, Hans Hagen a écrit :
impresssive (a pitty that my french is not good enough to understand all this stuff; playing with such crawling machinery is still on my agenda)
Gavin Miller was not a roboticist... and when he plays with "such crawling machines", hum, the result is great ! I'm waiting for a BabyHans robot ! ;)
i hope that you got it printed in full color and nicely bound
I got it printed on a LaserJet 2300 on high quality A4 paper... It was a pain (specially recto-verso because you needed to be just next to the printer) to print all the print out I needed but the result looks very nice. I've done the best I can from myself. I have used a glued transparent cover and hard front and back cover page. Renaud
Renaud AUBIN wrote:
Hi Hans,
Hans Hagen a écrit :
impresssive (a pitty that my french is not good enough to understand all this stuff; playing with such crawling machinery is still on my agenda)
Gavin Miller was not a roboticist... and when he plays with "such crawling machines", hum, the result is great ! I'm waiting for a BabyHans robot ! ;) When taco and I attended the lua conference (in nl) there was a robit being demonstrated running on lua ; i do have this lego kit and i'm waiting for the lua mindstorm lua controller; it's till on my agenda to use metapost to let such a device draw large pictures
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen a écrit :
When taco and I attended the lua conference (in nl) there was a robit being demonstrated running on lua ; i do have this lego kit and i'm waiting for the lua mindstorm lua controller; it's till on my agenda to use metapost to let such a device draw large pictures
Great ! The use of scripting language in robotics is a trend. See URBI, pyRob, etc. The very first time I've heard of Lua (2003|2004): http://q12.org/lua/index.html (Russell Smith is the father of ODE, the physics engine I use) ;) Renaud
On Thu, Oct 26, 2006 at 11:50:08PM +0200, Renaud AUBIN wrote:
Maybe some of yours (from the ConTeXt POV) can be interested by my PhD dissertation and my presentation (both in french)...
Hi all, I'll also give a link to a PhD ``sample document'' ;). You can find my PhD thesis at http://sitola.fi.muni.cz/~antos/thesis.pdf Well, it isn't as complex as Renaud's work (talking about typography, it's a high-level science, of course ;))), someone may be interested in algorithm typesetting. I'd like to thank Hans for his kind support (to name an example, today, a mechanism for named numbered lemmas is part of ConTeXt). Yours, D.A. -- We can predict everything, except the future.
Hello David, May I ask a newbie question? How did you create the lemmas? I found a mysterious "startlemma" in core-des.tex via the ConTeXt garden source browser but \startlemma Some statement ... \stoplemma didn't work for me :-( Oliver
Hi all,
I'll also give a link to a PhD ``sample document'' ;). You can find my PhD thesis at http://sitola.fi.muni.cz/~antos/thesis.pdf
Well, it isn't as complex as Renaud's work (talking about typography, it's a high-level science, of course ;))), someone may be interested in algorithm typesetting.
I'd like to thank Hans for his kind support (to name an example, today, a mechanism for named numbered lemmas is part of ConTeXt).
Yours, D.A.
On Mon, Nov 06, 2006 at 02:57:51PM +0100, Oliver Buerschaper wrote:
May I ask a newbie question? How did you create the lemmas?
Hello, today, lemmas can be based on description/enumeration mechanism (I believe it's been in ConTeXt since circa January 2006). Descriptions now accept parameter title=yes. Using that, you can provide a title to the description. Have a look into core-des.tex.
I found a mysterious "startlemma" in core-des.tex via the ConTeXt garden source browser but
Naturally, the example of lemma definition is commented out ;) Copy \defineenumeration[lemma][title=yes, titlestyle=\bs, list=lemma] into your document and try to use \startlemma{title of the lemma} blah blah \stoplemma Check parameters of descriptions in the manual, you can find some options related to the title mechanism. Yours, D.A. P.S.: I've achieved the same functionality by means of ugly hacks that depend on ConTeXt version strongly. That's why I don't send you my configuration. -- Some perverse mathematicians use brackets backwards, to denote ``open intervals.'' -- Donald Knuth, The TeXbook
Thanks very much ... I tried it out and it worked. But I guess I'll have to spend some more time fiddling around with the options to make it look similar to what I'm used from the AMSLaTeX package. Cheers, Oliver
May I ask a newbie question? How did you create the lemmas?
Hello,
today, lemmas can be based on description/enumeration mechanism (I believe it's been in ConTeXt since circa January 2006).
Descriptions now accept parameter title=yes. Using that, you can provide a title to the description. Have a look into core-des.tex.
I found a mysterious "startlemma" in core-des.tex via the ConTeXt garden source browser but
Naturally, the example of lemma definition is commented out ;)
Copy \defineenumeration[lemma][title=yes, titlestyle=\bs, list=lemma] into your document and try to use \startlemma{title of the lemma} blah blah \stoplemma
Check parameters of descriptions in the manual, you can find some options related to the title mechanism.
Yours, D.A.
P.S.: I've achieved the same functionality by means of ugly hacks that depend on ConTeXt version strongly. That's why I don't send you my configuration.
On 10/26/06, Renaud AUBIN
Hi all,
Maybe some of yours (from the ConTeXt POV) can be interested by my PhD dissertation and my presentation (both in french)...
Nice work! I can't read French, but the figures are very nice and content is probably interesting as well ;) I didn't know that people were indeed using the module already (I started using it more regularly only recently). 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. Mojca
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 ?
On 11/13/06, Renaud AUBIN wrote:
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
textext? Did it work? On my computer it hangs after approximately 13 plots. The suggested option is to use "sometxt" now. input is the default anyway
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 }
\useGNUPLOTgraphic[mybeautifulcurves][1] should work (I have to check - perhaps I forgot to prevent from loading the file once more). Looks as if \useGPgraphic shortcuts would be needed ;)
\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! ;)
Sure. With md5 checksums new gnuplot runs should be prevented ... (if I ever come so far to know how to implement it or if Hans kindl offers a solution ;) Even better (faster) if you have a compiled version of plots and only include PDF ;)
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...)
Great!
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 ?
I just finished dummy parsing of font switches (terminals should implement set font "fontname,fontsize"), I have to implement palettes and then the first phase of the terminal will be ready (still missing are the binary images and more clever handling of palettes) The only thing I would like to sort out before officially releaing it: some new things come and will come to the gnuplot core (like transparency). I'm thinking about replacing the syntax from something like gp_put_text(x, y, gp_align_left, \sometxt{...}, ...) to something more general: gp_put_text("align=left,x=...,y=...") which basically means any number of optional parameters and consequently no problems with backward compatibility later if additional options will be added (such as transparency, ...). That should go to gnuplot CVS then. And t-gnuplot is/will be on modules.contextgarden.net (Hans might add it to distribution once it's ready/stable etc.) That one is not so clean yet. I need to implement changing the color & similar with \setupGNUPLOT[colorset=...,pointset=...,size=...,linewidth=..., ...] Mojca
Mojca Miklavec wrote:
Sure. With md5 checksums new gnuplot runs should be prevented ... (if I ever come so far to know how to implement it or if Hans kindl offers a solution ;)
so that you can blame me for the bugs -) texmfstart --ifchanged=yourfile.gpt --bin gnuplot yourfile.gpt (in mkiv i will do the md5 check inside tex)
And t-gnuplot is/will be on modules.contextgarden.net (Hans might add it to distribution once it's ready/stable etc.)
which is when?
That one is not so clean yet. I need to implement changing the color & similar with \setupGNUPLOT[colorset=...,pointset=...,size=...,linewidth=..., ....]
maybe at least have a release before tex live gets frozen ... 20/11 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi all, Hans Hagen wrote:
maybe at least have a release before tex live gets frozen ... 20/11
in reply to Mojca. In fact, this is true for all context modules currently in the garden or still on your harddisks only: if you want your module to be on the next TeXLive / TeX Collection, please make sure that: * your module uses a TeX Directory Structure (TDS) compliant disk layout (ask for help if you don't know how to arrange that) * the to-be-used version of it is on the third party section of http://modules.contextgarden.net on November 18th, no later (ask for help if you don't know how to arrange that) * there is some documentation, preferably with TeX sources, included * the license is filled in, and compatible with TeXLive / TeX Collection (LPPL|GPL|BSD|PD are all fine) * email me !* The more ConTeXt stuff we have on TeXLive, the more useful TeXLive will be for other ConTeXt users, so please consider spending a bit of effort on this in the coming week ! Greetings, Taco *(unless your module is already included in cont-ext.zip)
Hi Mojca, Mojca Miklavec a écrit :
textext? Did it work? On my computer it hangs after approximately 13 plots. The suggested option is to use "sometxt" now.
textext works for me, all my plots use this option.
Even better (faster) if you have a compiled version of plots and only include PDF ;)
Ok, but what about font embedding ? I precisely like to proceed the plot as mp code because of the embedding of fonts... I explain: when I began ConTeXt, I included plots as pdf from LaTeX+PStricks and I observed an annoying fact, i.e. the fonts are embedded twice ! For this reason, when I heard of a context (via mp) term, I tried it... with success... Renaud
participants (7)
-
David Antos
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec
-
Oliver Buerschaper
-
Renaud AUBIN
-
Taco Hoekwater