all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Babel+gnuplot on Worg
@ 2010-09-10 15:49 John Hendy
  2010-09-10 16:52 ` d.tchin
  2010-09-14  9:55 ` Sébastien Vauban
  0 siblings, 2 replies; 20+ messages in thread
From: John Hendy @ 2010-09-10 15:49 UTC (permalink / raw)
  To: emacs-orgmode


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

Hi all,


This is a continuation from "Gnuplot unevenly spaced non-numeric data plot"
(http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28995.html) and a
response to Nick Dokos' suggestion that I post whatever solution I found for
the list. My decision to do that resulted in some discussion about putting
up a more formal page on Worg for gnuplot's babel language page.

In any case, Eric Schulte was kind enough to walk me through Worg setup and
create a blank page. I made good progress last night and it's now up and
populated:

http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php

In looking at some of the great examples already posted I decided to start
with a more basic introduction to setting up gnuplot, some common header
arguments and a quick primer on the basics of gnuplot. Tonight or this
weekend I'll add in the more advanced examples that resulted from my
experimentation a few weeks ago as well as some other tips and tricks that
have come from the mailing list.

Feel free to let me know your thoughts and/or suggestions. I'm sure I'll end
up tweaking things many more times (I already saw some goof-ups :) ).


Best regards,
John

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Babel+gnuplot on Worg
  2010-09-10 15:49 Babel+gnuplot on Worg John Hendy
@ 2010-09-10 16:52 ` d.tchin
  2010-09-10 18:47   ` John Hendy
  2010-09-14  9:55 ` Sébastien Vauban
  1 sibling, 1 reply; 20+ messages in thread
From: d.tchin @ 2010-09-10 16:52 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Thank you for this document. It is really of great help.

I would like to do one remark. 

I tried to make gnuplot work on Windows system but I never 
really manageg to make it work in interactive way. I first
started to use org-plot. It doesn't work under Windows.  
In fact it seems related to way inferior process is handled 
in gnu emacs ? 

Anyway I tried to use gnuplot with org-babel. It doesn't
work very well unless I use session none. 

Below a thread related to this question :

http://thread.gmane.org/gmane.emacs.orgmode/28266/focus=28270

I don't know if this situation is the same elsewhere and if it 
could be corrected. Anyway this solution works for me. 
Perhaps if it is checked elsewhere, it could be mentioned.

Regards

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-10 16:52 ` d.tchin
@ 2010-09-10 18:47   ` John Hendy
  2010-09-10 19:33     ` d.tchin
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-10 18:47 UTC (permalink / raw)
  To: d.tchin; +Cc: emacs-orgmode


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

Forgive me... not sure I'm tracking completely.

- When you say "It doesn't work under Windows" are you referring to the
org-plot method?
- But org-babel does work if you use "session none"
--- Sorry, what is "session none"? I've not heard of that before.

Lastly, the link is to a post of you referring to another thread where Eric
presents a way to use babel to plot someone's table and everything seems to
go alright. What was the solution in that thread that worked for you? Babel?

My apologies if I'm being dense! Just not sure exactly what it is you're
looking for. I have access to a Win machine (though am normally using
Linux), so if you present your problem I can try to figure out what it is
and include a note about it on Worg.


Thanks,
John


On Fri, Sep 10, 2010 at 11:52 AM, d.tchin <d.tchin@voila.fr> wrote:

> Hi,
>
> Thank you for this document. It is really of great help.
>
> I would like to do one remark.
>
> I tried to make gnuplot work on Windows system but I never
> really manageg to make it work in interactive way. I first
> started to use org-plot. It doesn't work under Windows.
> In fact it seems related to way inferior process is handled
> in gnu emacs ?
>
> Anyway I tried to use gnuplot with org-babel. It doesn't
> work very well unless I use session none.
>
> Below a thread related to this question :
>
> http://thread.gmane.org/gmane.emacs.orgmode/28266/focus=28270
>
> I don't know if this situation is the same elsewhere and if it
> could be corrected. Anyway this solution works for me.
> Perhaps if it is checked elsewhere, it could be mentioned.
>
> Regards
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Babel+gnuplot on Worg
  2010-09-10 18:47   ` John Hendy
@ 2010-09-10 19:33     ` d.tchin
  0 siblings, 0 replies; 20+ messages in thread
From: d.tchin @ 2010-09-10 19:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi,


> 
> 
> Forgive me... not sure I'm tracking completely.
> 
> - When you say "It doesn't work under Windows" are you referring to the org-
plot method?
> - But org-babel does work if you use "session none"
> --- Sorry, what is "session none"? I've not heard of that before.

Don't be sorry, I wasn't clear. In fact org-plot doesn't on emacs running 
on Windows OS. 
With org-babel implementation it doesn't work (emacs freeze) except 
when I use option of :session none and direct output in png file.
An example below that was in post I gave in link in previous mail :


--8<---------------cut here---------------start------------->8---

#+begin_src gnuplot :session none :file out.png
set terminal png
set xlabel "gx";set ylabel "gy";set zlabel "gz"
set grid xtics ytics 
set view 0,0
plot cos(x)
#+end_src

--8<---------------cut here---------------end--------------->8---

#+results:
[[file:out.png]]

...

> My apologies if I'm being dense! Just not sure exactly what it is you're 
looking for. I have access to a Win machine (though am normally using Linux), 
so if you present your problem I can try to figure out what it is and include 
a note about it on Worg.
> 

In fact I am interested to know if you have same kind of problem. 
I thought that could be mentioned if it is the case.

Many thanks to you.

Regards

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Babel+gnuplot on Worg
  2010-09-10 15:49 Babel+gnuplot on Worg John Hendy
  2010-09-10 16:52 ` d.tchin
@ 2010-09-14  9:55 ` Sébastien Vauban
  2010-09-14 13:57   ` John Hendy
  1 sibling, 1 reply; 20+ messages in thread
From: Sébastien Vauban @ 2010-09-14  9:55 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi John,

John Hendy wrote:
> [...] My decision to do that resulted in some discussion about putting up a
> more formal page on Worg for gnuplot's babel language page.
>
> http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php
>
> [...] Feel free to let me know your thoughts and/or suggestions. I'm sure
> I'll end up tweaking things many more times (I already saw some goof-ups :)

I greet such initiatives. My only comment would be that it'd be nice to see
graphics as well on the Worg, so that we can easily make our shop, and see if
something looks similar to what we try to achieve.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-14  9:55 ` Sébastien Vauban
@ 2010-09-14 13:57   ` John Hendy
  2010-09-15 11:51     ` Bastien
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-14 13:57 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode


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

Working on it... if you notice there are broken-linked images right now. The
images are pushed to Worg git repo but for some reason are not actually on
Worg itself. A fresh git clone reveals that my files are there, but they are
not showing up. I wondered if it was just a delay but it's now been two
nights.

Working on it but be assured that this is my vision too! Hope to work things
out swiftly.


John

2010/9/14 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>

> Hi John,
>
> John Hendy wrote:
> > [...] My decision to do that resulted in some discussion about putting up
> a
> > more formal page on Worg for gnuplot's babel language page.
> >
> > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.php
> >
> > [...] Feel free to let me know your thoughts and/or suggestions. I'm sure
> > I'll end up tweaking things many more times (I already saw some goof-ups
> :)
>
> I greet such initiatives. My only comment would be that it'd be nice to see
> graphics as well on the Worg, so that we can easily make our shop, and see
> if
> something looks similar to what we try to achieve.
>
> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-14 13:57   ` John Hendy
@ 2010-09-15 11:51     ` Bastien
  2010-09-15 14:12       ` John Hendy
  0 siblings, 1 reply; 20+ messages in thread
From: Bastien @ 2010-09-15 11:51 UTC (permalink / raw)
  To: John Hendy; +Cc: Sébastien Vauban, emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

> Working on it... if you notice there are broken-linked images right
> now. 

The links are not broken anymore.

I made a small change on Worg's setup: now images can simply be put in
the same directory than files linking to them, and they will be exported
in this very directory.

HTH,

PS: We use to be images on the Worg/images/ directory but I don't think
this is really necessary.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-15 11:51     ` Bastien
@ 2010-09-15 14:12       ` John Hendy
  2010-09-19 21:31         ` Bastien
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-15 14:12 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

On Wed, Sep 15, 2010 at 6:51 AM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> John Hendy <jw.hendy@gmail.com> writes:
>
> > Working on it... if you notice there are broken-linked images right
> > now.
>
> The links are not broken anymore.
>
> I made a small change on Worg's setup: now images can simply be put in
> the same directory than files linking to them, and they will be exported
> in this very directory.
>
>
The images are indeed there. Thanks!

Should this be the standard practice now? Images for something in
Worg/org-contrib/babel/languages/ob-doc_*.org should be kept in the same
directory?

Also, is there a list of the directories that are published and those that
are not? For example, I also put a downloadable example file here:

http://orgmode.org/worg/org-contrib/babel/examples/org-babel-gnuplot.org

It's in the same place as the downloadable file for org-plot (
http://orgmode.org/worg/org-tutorials/org-plot.org). org-plot.org is active
but org-babel-gnuplot.org is not...

I'm just wondering if the Worg instructions on how to contribute should
include a directory tree of some sort so that the newer contributors like
myself are on the same page as everyone else?


Thanks for the assistance,
John


> HTH,
>
> PS: We use to be images on the Worg/images/ directory but I don't think
> this is really necessary.
>
> --
>  Bastien
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-15 14:12       ` John Hendy
@ 2010-09-19 21:31         ` Bastien
  2010-09-20 15:00           ` John Hendy
  2010-09-20 15:07           ` John Hendy
  0 siblings, 2 replies; 20+ messages in thread
From: Bastien @ 2010-09-19 21:31 UTC (permalink / raw)
  To: John Hendy; +Cc: Sébastien Vauban, emacs-orgmode

Hi John,

John Hendy <jw.hendy@gmail.com> writes:

> Should this be the standard practice now? Images for something in Worg/
> org-contrib/babel/languages/ob-doc_*.org should be kept in the same directory?

I'd suggest this: images linked to only one file should go in the same
directory than this file, images useful for several files could go in
the images/ directory.

> Also, is there a list of the directories that are published and those that are
> not? For example, I also put a downloadable example file here:

The only directory that is skipped at export time is FIXME/.

> I'm just wondering if the Worg instructions on how to contribute should include
> a directory tree of some sort so that the newer contributors like myself are on
> the same page as everyone else?

I hope the recent updates on worg-setup.org can help newcomers find
their way :)

Don't hesitate to suggest other improvements!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-19 21:31         ` Bastien
@ 2010-09-20 15:00           ` John Hendy
  2010-09-20 21:07             ` Bastien
  2010-09-20 15:07           ` John Hendy
  1 sibling, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-20 15:00 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

On Sun, Sep 19, 2010 at 4:31 PM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> Hi John,
>
> John Hendy <jw.hendy@gmail.com> writes:
>
> > Should this be the standard practice now? Images for something in Worg/
> > org-contrib/babel/languages/ob-doc_*.org should be kept in the same
> directory?
>
> I'd suggest this: images linked to only one file should go in the same
> directory than this file, images useful for several files could go in
> the images/ directory.
>
>
That makes sense. Like the idea.


> > Also, is there a list of the directories that are published and those
> that are
> > not? For example, I also put a downloadable example file here:
>
> The only directory that is skipped at export time is FIXME/.
>
> > I'm just wondering if the Worg instructions on how to contribute should
> include
> > a directory tree of some sort so that the newer contributors like myself
> are on
> > the same page as everyone else?
>
> I hope the recent updates on worg-setup.org can help newcomers find
> their way :)
>
>
Somewhat. I still don't see:
http://orgmode.org/worg/org-contrib/babel/examples/org-babel-gnuplot.org

In worg-setup I noticed that unchanged files are not republished and I
pushed this last right before all the worg topics started up so perhaps it
got missed by the new system. I'm going to modify something, re-push, and
see if it works.


> Don't hesitate to suggest other improvements!
>
> --
>  Bastien
>

John

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-19 21:31         ` Bastien
  2010-09-20 15:00           ` John Hendy
@ 2010-09-20 15:07           ` John Hendy
  2010-09-20 18:08             ` Thomas S. Dye
  1 sibling, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-20 15:07 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

On Sun, Sep 19, 2010 at 4:31 PM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> Hi John,
>
> John Hendy <jw.hendy@gmail.com> writes:
>
> > Should this be the standard practice now? Images for something in Worg/
> > org-contrib/babel/languages/ob-doc_*.org should be kept in the same
> directory?
>
> I'd suggest this: images linked to only one file should go in the same
> directory than this file, images useful for several files could go in
> the images/ directory.
>
>
Actually -- sorry... I was just going to change this and wanted to re-ask
what others think. For example, I currently have 7 images of plots in
worg/images/babel/. I titled them gnuplot-imageName.png to try and make them
easy to spot.

Were I to switch to the "new system", would it bother anyone to have a bunch
of image files no in worg/org-contrib/babel/languages? Does anyone else care
if the directory is filled with both org files and images? Or would anyone
prefer a worg/org-contrib/babel/images directory since the supporting files
for babel are growing with all of the documentation being written?

I guess it doesn't matter much to me; I just hesitated before updating as I
wondered what everyone else thought and might have stronger preferences
about directory "clutter" and unity with file types and such.

Thoughts?

John


> > Also, is there a list of the directories that are published and those
> that are
> > not? For example, I also put a downloadable example file here:
>
> The only directory that is skipped at export time is FIXME/.
>
> > I'm just wondering if the Worg instructions on how to contribute should
> include
> > a directory tree of some sort so that the newer contributors like myself
> are on
> > the same page as everyone else?
>
> I hope the recent updates on worg-setup.org can help newcomers find
> their way :)
>
> Don't hesitate to suggest other improvements!
>
> --
>  Bastien
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 15:07           ` John Hendy
@ 2010-09-20 18:08             ` Thomas S. Dye
  2010-09-22 14:45               ` John Hendy
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas S. Dye @ 2010-09-20 18:08 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-org list


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

Hi John,

Thanks for bringing this up.  I like the idea of a worg/org-contrib/ 
babel/images directory and will put my images there.  I suppose it  
doesn't have to be all one way or the other, but I can imagine a time  
down the road when the babel documentation directories become  
cluttered and hard to use.

Tom

On Sep 20, 2010, at 5:07 AM, John Hendy wrote:

>
>
> On Sun, Sep 19, 2010 at 4:31 PM, Bastien  
> <bastien.guerry@wikimedia.fr> wrote:
> Hi John,
>
> John Hendy <jw.hendy@gmail.com> writes:
>
> > Should this be the standard practice now? Images for something in  
> Worg/
> > org-contrib/babel/languages/ob-doc_*.org should be kept in the  
> same directory?
>
> I'd suggest this: images linked to only one file should go in the same
> directory than this file, images useful for several files could go in
> the images/ directory.
>
>
> Actually -- sorry... I was just going to change this and wanted to  
> re-ask what others think. For example, I currently have 7 images of  
> plots in worg/images/babel/. I titled them gnuplot-imageName.png to  
> try and make them easy to spot.
>
> Were I to switch to the "new system", would it bother anyone to have  
> a bunch of image files no in worg/org-contrib/babel/languages? Does  
> anyone else care if the directory is filled with both org files and  
> images? Or would anyone prefer a worg/org-contrib/babel/images  
> directory since the supporting files for babel are growing with all  
> of the documentation being written?
>
> I guess it doesn't matter much to me; I just hesitated before  
> updating as I wondered what everyone else thought and might have  
> stronger preferences about directory "clutter" and unity with file  
> types and such.
>
> Thoughts?
>
> John
>
> > Also, is there a list of the directories that are published and  
> those that are
> > not? For example, I also put a downloadable example file here:
>
> The only directory that is skipped at export time is FIXME/.
>
> > I'm just wondering if the Worg instructions on how to contribute  
> should include
> > a directory tree of some sort so that the newer contributors like  
> myself are on
> > the same page as everyone else?
>
> I hope the recent updates on worg-setup.org can help newcomers find
> their way :)
>
> Don't hesitate to suggest other improvements!
>
> --
>  Bastien
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 15:00           ` John Hendy
@ 2010-09-20 21:07             ` Bastien
  2010-09-20 21:15               ` John Hendy
  0 siblings, 1 reply; 20+ messages in thread
From: Bastien @ 2010-09-20 21:07 UTC (permalink / raw)
  To: John Hendy; +Cc: Sébastien Vauban, emacs-orgmode

Hi John,

John Hendy <jw.hendy@gmail.com> writes:

> Somewhat. I still don't see: http://orgmode.org/worg/org-contrib/babel/examples
> /org-babel-gnuplot.org

You mean:

  http://orgmode.org/worg/org-contrib/babel/examples/org-babel-gnuplot.php

Sources are in the worg/sources/ directory:
 
  http://orgmode.org/worg/sources/org-contrib/babel/examples/org-babel-gnuplot.org

HTH,
 
-- 
 Bastien

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 21:07             ` Bastien
@ 2010-09-20 21:15               ` John Hendy
  2010-09-20 21:20                 ` Bastien
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-20 21:15 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

On Mon, Sep 20, 2010 at 4:07 PM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> Hi John,
>
> John Hendy <jw.hendy@gmail.com> writes:
>
> > Somewhat. I still don't see:
> http://orgmode.org/worg/org-contrib/babel/examples
> > /org-babel-gnuplot.org
>
> You mean:
>
>  http://orgmode.org/worg/org-contrib/babel/examples/org-babel-gnuplot.php


Aha! Bummer. That'll do it.


>
>
> Sources are in the worg/sources/ directory:
>
>
> http://orgmode.org/worg/sources/org-contrib/babel/examples/org-babel-gnuplot.org


Good to know. I just followed the only other example I knew of where an org
file lived: http://orgmode.org/worg/org-tutorials/org-plot.org

There, it's right in the folder with the published page on worg so I just
tried to do the same. I wonder if this should go in the worg-setup or some
other page on contributing to worg. Like I said, a directory tree might be
helpful with an explanation next to each folder of what's supposed to live
inside.


Thanks much,
John


>
>
> HTH,
>
> --
>  Bastien
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 21:15               ` John Hendy
@ 2010-09-20 21:20                 ` Bastien
  2010-09-22 14:29                   ` John Hendy
  0 siblings, 1 reply; 20+ messages in thread
From: Bastien @ 2010-09-20 21:20 UTC (permalink / raw)
  To: John Hendy; +Cc: Sébastien Vauban, emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

> Good to know. I just followed the only other example I knew of where an org
> file lived: http://orgmode.org/worg/org-tutorials/org-plot.org

Mhh.. "not found" -- because .org files live in worg/sources/

> There, it's right in the folder with the published page on worg so I just tried
> to do the same. I wonder if this should go in the worg-setup or some other page
> on contributing to worg. Like I said, a directory tree might be helpful with an
> explanation next to each folder of what's supposed to live inside.

Please go ahead and edit worg-setup.org :)

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 21:20                 ` Bastien
@ 2010-09-22 14:29                   ` John Hendy
  2010-09-22 14:33                     ` Bastien
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-22 14:29 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

On Mon, Sep 20, 2010 at 4:20 PM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> John Hendy <jw.hendy@gmail.com> writes:
>
> > Good to know. I just followed the only other example I knew of where an
> org
> > file lived: http://orgmode.org/worg/org-tutorials/org-plot.org
>
> Mhh.. "not found" -- because .org files live in worg/sources/
>

Trying to update worg-setup.org but am not finding the worg/sources
directory you're referring to.

-----
[jwhendy -- Worg]$ ls -R | grep -i source
assign-resources.png
resource-graph.png
-----

Is there another directory perhaps? Anyone else familiar with the "best
practice" for where to locate .org files?


John



>
> > There, it's right in the folder with the published page on worg so I just
> tried
> > to do the same. I wonder if this should go in the worg-setup or some
> other page
> > on contributing to worg. Like I said, a directory tree might be helpful
> with an
> > explanation next to each folder of what's supposed to live inside.
>
> Please go ahead and edit worg-setup.org :)
>
> Thanks,
>
> --
>  Bastien
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-22 14:29                   ` John Hendy
@ 2010-09-22 14:33                     ` Bastien
  2010-09-22 14:38                       ` John Hendy
  0 siblings, 1 reply; 20+ messages in thread
From: Bastien @ 2010-09-22 14:33 UTC (permalink / raw)
  To: John Hendy; +Cc: Sébastien Vauban, emacs-orgmode

John Hendy <jw.hendy@gmail.com> writes:

> Trying to update worg-setup.org but am not finding the worg/sources directory
> you're referring to.

The http://orgmode.org/worg/sources/ is only on the server, not on the
Worg repository.  

All .org files from the repo are automatically uploaded to this sources/
directory on the server.  

See this :

  http://orgmode.org/worg/sources/emacs.el

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-22 14:33                     ` Bastien
@ 2010-09-22 14:38                       ` John Hendy
  0 siblings, 0 replies; 20+ messages in thread
From: John Hendy @ 2010-09-22 14:38 UTC (permalink / raw)
  To: Bastien; +Cc: Sébastien Vauban, emacs-orgmode


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

AH! Perfect. So, the procedure is:

- put them wherever you want
- all sources are put in a source directory in addition to their published
content
- link to them via orgmode/worg/sources

One question, then... I've tailored the raw org-mode copy to be slightly
different than the tutorial I created. Is it possible to have a file pass an
option to not be published in #+options or elsewhere? Say I want it put in
sources for download but don't want it to get it's own .php page on worg --
is that possible?


John

On Wed, Sep 22, 2010 at 9:33 AM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> John Hendy <jw.hendy@gmail.com> writes:
>
> > Trying to update worg-setup.org but am not finding the worg/sources
> directory
> > you're referring to.
>
> The http://orgmode.org/worg/sources/ is only on the server, not on the
> Worg repository.
>
> All .org files from the repo are automatically uploaded to this sources/
> directory on the server.
>
> See this :
>
>  http://orgmode.org/worg/sources/emacs.el
>
> HTH,
>
> --
>  Bastien
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-20 18:08             ` Thomas S. Dye
@ 2010-09-22 14:45               ` John Hendy
  2010-09-22 16:07                 ` Thomas S. Dye
  0 siblings, 1 reply; 20+ messages in thread
From: John Hendy @ 2010-09-22 14:45 UTC (permalink / raw)
  To: Thomas S. Dye; +Cc: emacs-org list


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

On Mon, Sep 20, 2010 at 1:08 PM, Thomas S. Dye <tsd@tsdye.com> wrote:

> Hi John,
>
> Thanks for bringing this up.  I like the idea of
> a worg/org-contrib/babel/images directory and will put my images there.  I
> suppose it doesn't have to be all one way or the other, but I can imagine a
> time down the road when the babel documentation directories become cluttered
> and hard to use.
>

Tom, thanks for this. I moved my babel language tutorial images here. I like
this system. For other tutorial/page author, it might be nice moving forward
to give the images a helpful name. I titled mine
"gnuplot-image-description.png." This way, other authors know what page the
image refers to. Just a thought.


John


>
> Tom
>
> On Sep 20, 2010, at 5:07 AM, John Hendy wrote:
>
>
>
> On Sun, Sep 19, 2010 at 4:31 PM, Bastien <bastien.guerry@wikimedia.fr>wrote:
>
>> Hi John,
>>
>> John Hendy <jw.hendy@gmail.com> writes:
>>
>> > Should this be the standard practice now? Images for something in Worg/
>> > org-contrib/babel/languages/ob-doc_*.org should be kept in the same
>> directory?
>>
>> I'd suggest this: images linked to only one file should go in the same
>> directory than this file, images useful for several files could go in
>> the images/ directory.
>>
>>
> Actually -- sorry... I was just going to change this and wanted to re-ask
> what others think. For example, I currently have 7 images of plots in
> worg/images/babel/. I titled them gnuplot-imageName.png to try and make them
> easy to spot.
>
> Were I to switch to the "new system", would it bother anyone to have a
> bunch of image files no in worg/org-contrib/babel/languages? Does anyone
> else care if the directory is filled with both org files and images? Or
> would anyone prefer a worg/org-contrib/babel/images directory since the
> supporting files for babel are growing with all of the documentation being
> written?
>
> I guess it doesn't matter much to me; I just hesitated before updating as I
> wondered what everyone else thought and might have stronger preferences
> about directory "clutter" and unity with file types and such.
>
> Thoughts?
>
> John
>
>
>> > Also, is there a list of the directories that are published and those
>> that are
>> > not? For example, I also put a downloadable example file here:
>>
>> The only directory that is skipped at export time is FIXME/.
>>
>> > I'm just wondering if the Worg instructions on how to contribute should
>> include
>> > a directory tree of some sort so that the newer contributors like myself
>> are on
>> > the same page as everyone else?
>>
>> I hope the recent updates on worg-setup.org can help newcomers find
>> their way :)
>>
>> Don't hesitate to suggest other improvements!
>>
>> --
>>  Bastien
>>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>

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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Re: Babel+gnuplot on Worg
  2010-09-22 14:45               ` John Hendy
@ 2010-09-22 16:07                 ` Thomas S. Dye
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas S. Dye @ 2010-09-22 16:07 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-org list


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

Hi John,

Good idea.  I've given my image file a longer, more descriptive name.

All the best,
Tom

On Sep 22, 2010, at 4:45 AM, John Hendy wrote:

>
>
> On Mon, Sep 20, 2010 at 1:08 PM, Thomas S. Dye <tsd@tsdye.com> wrote:
> Hi John,
>
> Thanks for bringing this up.  I like the idea of a worg/org-contrib/ 
> babel/images directory and will put my images there.  I suppose it  
> doesn't have to be all one way or the other, but I can imagine a  
> time down the road when the babel documentation directories become  
> cluttered and hard to use.
>
> Tom, thanks for this. I moved my babel language tutorial images  
> here. I like this system. For other tutorial/page author, it might  
> be nice moving forward to give the images a helpful name. I titled  
> mine "gnuplot-image-description.png." This way, other authors know  
> what page the image refers to. Just a thought.
>
>
> John
>
>
> Tom
>
> On Sep 20, 2010, at 5:07 AM, John Hendy wrote:
>
>>
>>
>> On Sun, Sep 19, 2010 at 4:31 PM, Bastien  
>> <bastien.guerry@wikimedia.fr> wrote:
>> Hi John,
>>
>> John Hendy <jw.hendy@gmail.com> writes:
>>
>> > Should this be the standard practice now? Images for something in  
>> Worg/
>> > org-contrib/babel/languages/ob-doc_*.org should be kept in the  
>> same directory?
>>
>> I'd suggest this: images linked to only one file should go in the  
>> same
>> directory than this file, images useful for several files could go in
>> the images/ directory.
>>
>>
>> Actually -- sorry... I was just going to change this and wanted to  
>> re-ask what others think. For example, I currently have 7 images of  
>> plots in worg/images/babel/. I titled them gnuplot-imageName.png to  
>> try and make them easy to spot.
>>
>> Were I to switch to the "new system", would it bother anyone to  
>> have a bunch of image files no in worg/org-contrib/babel/languages?  
>> Does anyone else care if the directory is filled with both org  
>> files and images? Or would anyone prefer a worg/org-contrib/babel/ 
>> images directory since the supporting files for babel are growing  
>> with all of the documentation being written?
>>
>> I guess it doesn't matter much to me; I just hesitated before  
>> updating as I wondered what everyone else thought and might have  
>> stronger preferences about directory "clutter" and unity with file  
>> types and such.
>>
>> Thoughts?
>>
>> John
>>
>> > Also, is there a list of the directories that are published and  
>> those that are
>> > not? For example, I also put a downloadable example file here:
>>
>> The only directory that is skipped at export time is FIXME/.
>>
>> > I'm just wondering if the Worg instructions on how to contribute  
>> should include
>> > a directory tree of some sort so that the newer contributors like  
>> myself are on
>> > the same page as everyone else?
>>
>> I hope the recent updates on worg-setup.org can help newcomers find
>> their way :)
>>
>> Don't hesitate to suggest other improvements!
>>
>> --
>>  Bastien
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>


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

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

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-09-22 16:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10 15:49 Babel+gnuplot on Worg John Hendy
2010-09-10 16:52 ` d.tchin
2010-09-10 18:47   ` John Hendy
2010-09-10 19:33     ` d.tchin
2010-09-14  9:55 ` Sébastien Vauban
2010-09-14 13:57   ` John Hendy
2010-09-15 11:51     ` Bastien
2010-09-15 14:12       ` John Hendy
2010-09-19 21:31         ` Bastien
2010-09-20 15:00           ` John Hendy
2010-09-20 21:07             ` Bastien
2010-09-20 21:15               ` John Hendy
2010-09-20 21:20                 ` Bastien
2010-09-22 14:29                   ` John Hendy
2010-09-22 14:33                     ` Bastien
2010-09-22 14:38                       ` John Hendy
2010-09-20 15:07           ` John Hendy
2010-09-20 18:08             ` Thomas S. Dye
2010-09-22 14:45               ` John Hendy
2010-09-22 16:07                 ` Thomas S. Dye

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.