Re: [Orgmode] Re: Babel+gnuplot on Worg
On Mon, Sep 20, 2010 at 4:20 PM, Bastien bastien.gue...@wikimedia.frwrote: John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
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.gue...@wikimedia.frwrote: John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Mon, Sep 20, 2010 at 1:08 PM, Thomas S. Dye t...@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.gue...@wikimedia.frwrote: Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
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 t...@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.gue...@wikimedia.fr wrote: Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Sun, Sep 19, 2010 at 4:31 PM, Bastien bastien.gue...@wikimedia.frwrote: Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Sun, Sep 19, 2010 at 4:31 PM, Bastien bastien.gue...@wikimedia.frwrote: Hi John, John Hendy jw.he...@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
Re: [Orgmode] Re: Babel+gnuplot on Worg
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.gue...@wikimedia.fr wrote: Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Mon, Sep 20, 2010 at 4:07 PM, Bastien bastien.gue...@wikimedia.frwrote: Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
Hi John, John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
John Hendy jw.he...@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 ___ 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
Re: [Orgmode] Re: Babel+gnuplot on Worg
On Wed, Sep 15, 2010 at 6:51 AM, Bastien bastien.gue...@wikimedia.frwrote: John Hendy jw.he...@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 ___ 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
[Orgmode] Re: Babel+gnuplot on Worg
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
Re: [Orgmode] Re: Babel+gnuplot on Worg
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 wxhgmqzgw...@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 ___ 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
[Orgmode] Re: Babel+gnuplot on Worg
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
Re: [Orgmode] Re: Babel+gnuplot on Worg
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.tc...@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 ___ 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
[Orgmode] Re: Babel+gnuplot on Worg
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 ___ 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