Re: [Orgmode] org-publish fails to export the #anchor in other_org_file.html#anchor

2010-10-24 Thread David Maus
At Wed, 13 Oct 2010 00:29:25 +0200, Daniel Clemente wrote: > > > I think org-html-make-link doesn't export anchors („fragments“) in links > between org files. > The following patch corrects this for me; please review. You where right. The patch has been accepted. Best, -- David -- OpenPGP.

Re: [Orgmode] org-publish with latest changes?

2010-10-17 Thread David Maus
At Wed, 13 Oct 2010 10:54:01 +0200, Guy Wiener wrote: > Hello everyone, > I am using org-publish to publish some document on my web page. I would > really like to add to that some notification of the latest changes - E.g., > an RSS of the recently changed headlines. Is there some way to hack that?

Re: [Orgmode] Org-publish-cache - speed up publishing

2010-05-05 Thread Sebastian Rose
Sebastian Rose writes: > --=-=-= > > Sorry for replying to my own mail again, > > but there's a stupid typo in here. The function is called > `org-publish-get-set'. > > Instead of > > > + (org-publish-cache-put filename (list property default))) > > it should be > > > + (org-publish-cache-ge

Re: [Orgmode] Org-publish-cache - speed up publishing

2010-05-05 Thread Sebastian Rose
Sorry for replying to my own mail again, but there's a stupid typo in here. The function is called `org-publish-get-set'. Instead of > + (org-publish-cache-put filename (list property default))) it should be > + (org-publish-cache-get filename (list property default))) Corrected pa

Re: [Orgmode] org-publish-validate-link

2010-02-23 Thread Carsten Dominik
On Feb 23, 2010, at 5:46 PM, Thomas S. Dye wrote: On Feb 22, 2010, at 8:38 PM, Carsten Dominik wrote: On Feb 21, 2010, at 2:53 PM, Thomas S. Dye wrote: Hi Carsten, Thanks for this. I add a new file that is the target for the link. It is copied to its correct publication place. The e

Re: [Orgmode] org-publish-validate-link

2010-02-23 Thread Thomas S. Dye
On Feb 22, 2010, at 8:38 PM, Carsten Dominik wrote: On Feb 21, 2010, at 2:53 PM, Thomas S. Dye wrote: Hi Carsten, Thanks for this. I add a new file that is the target for the link. It is copied to its correct publication place. The exported html file contains a new description of the

Re: [Orgmode] org-publish-validate-link

2010-02-22 Thread Carsten Dominik
On Feb 21, 2010, at 2:53 PM, Thomas S. Dye wrote: Hi Carsten, Thanks for this. I add a new file that is the target for the link. It is copied to its correct publication place. The exported html file contains a new description of the file link, but with no active link. I force publishi

Re: [Orgmode] org-publish-validate-link

2010-02-21 Thread Thomas S. Dye
Hi Carsten, Thanks for this. I add a new file that is the target for the link. It is copied to its correct publication place. The exported html file contains a new description of the file link, but with no active link. I force publishing using C-u prefix and the link is still not active.

Re: [Orgmode] org-publish-validate-link

2010-02-20 Thread Carsten Dominik
Hi THomas, org-publish-validate-link validate links to files that show up in the list `org-publish-files-alist'. THis list contains all file names that are considered part of a project and should be published. It is updated each time you issue a command to publish a project. Are you sur

Re: [Orgmode] Org-publish: adding a new format?

2010-02-11 Thread Bill Powell
At Thu, 11 Feb 2010 07:41:10 +0100, Carsten Dominik wrote: > > Hi Bill, > > the best approach might be to write an elisp program to do the post > processing you do now in perl, and then to hook this function into > `org-publish-after-export-hook'. > > - Carsten Thanks, Carsten! I will look

Re: [Orgmode] Org-publish: adding a new format?

2010-02-10 Thread Carsten Dominik
Hi Bill, the best approach might be to write an elisp program to do the post processing you do now in perl, and then to hook this function into `org-publish-after-export-hook'. - Carsten On Feb 11, 2010, at 5:43 AM, Bill Powell wrote: Hi all, Does anyone have any suggestions for adding

Re: [Orgmode] org-publish doesn't republish if you delete the .html files

2009-05-12 Thread Carsten Dominik
On May 10, 2009, at 9:27 PM, Daniel Clemente wrote: Hi; with org 6.26trans: 1. Publish a project you have configured with org-publish, concretely one that places the .html files locally beside the .org files. 2. While exporting, Org creates its own data in ~/.org-timestamps to cache thi

Re: [Orgmode] org-publish doesn't detect changes in included files

2009-05-11 Thread Carsten Dominik
On May 10, 2009, at 9:45 PM, Daniel Clemente wrote: Org 6.26trans. Imagine that a.org is part of a project which does #+SETUPFILE: options.org If you modify only options.org and republish the project, the exporter will not notice the change and will refuse to export a.org, even when a

Re: [Orgmode] org-publish and rss/atom feeds..

2009-03-12 Thread Matthew Lundin
"aldrin d'souza" writes: > hello, > > i have setup a small website using org-publish. it works great but > there's one bit missing. i have to generate the rss/atom feed > manually. does anyone know of a better way to generate these feeds > using some extension to the org-publish? I've been hopi

Re: [Orgmode] org-publish error..

2009-02-06 Thread Carsten Dominik
Hi, I am not able to reproduce this problem. Can you try to make a minimal example, with a minimal .emacs file and a test setup that reproduces this problem? Thanks. - Carsten On Feb 4, 2009, at 6:22 PM, Madhu Rao wrote: When I try to "publish current file" I get the error below. However, w

Re: [Orgmode] org-publish error..

2009-02-05 Thread Madhu Rao
Richard, Sebastian, Thanks. Is there anything I could do to get the current file publishing to work? Regards, Madhu On 05-Feb-09, at 5:59 AM, Sebastian Rose wrote: Richard Riley writes: On this subject, something I forgot to mention. When you publish a single file it does not publish it with

Re: [Orgmode] org-publish error..

2009-02-05 Thread Madhu Rao
Sebastian, Thanks. I did check and all the files/dirs do exist. Regards, Madhu On 05-Feb-09, at 4:07 AM, Sebastian Rose wrote: Hi Madhu, do all the files and directories still exist? I saw this once and a file or directory was missing. Just an idea... Regards, Sebastian Madh

Re: [Orgmode] org-publish error..

2009-02-04 Thread Sebastian Rose
Richard Riley writes: > On this subject, something I forgot to mention. When you publish a > single file it does not publish it with the project style settings. It > should do IMO. I dont publish using timestamps since many > of my files are #include'd and so don't contribute to timestamp changes

Re: [Orgmode] org-publish error..

2009-02-04 Thread Richard Riley
Madhu Rao writes: > When I try to "publish current file" I get the error below. > However, when I prompt for a project and publish, that > works all right. Publishing current file worked all right > in earlier versions of org-mode. Now I am on 6.21. I don't > know at which point this changed o

Re: [Orgmode] org-publish error..

2009-02-04 Thread Sebastian Rose
Hi Madhu, do all the files and directories still exist? I saw this once and a file or directory was missing. Just an idea... Regards, Sebastian Madhu Rao writes: > When I try to "publish current file" I get the error below. > However, when I prompt for a project and publish, that > wor

Re: [Orgmode] org-publish-file

2008-12-04 Thread Richard Riley
Matthew Lundin <[EMAIL PROTECTED]> writes: > Hi Richard, > > Richard Riley <[EMAIL PROTECTED]> writes: > >> If I edit a file in an org web subdirectory and then publish that file it >> does >> not get published with the style sheet link content. >> >> e.g I have a file index.org in rgr-source/bik

Re: [Orgmode] org-publish-file

2008-12-04 Thread Matthew Lundin
Hi Richard, Richard Riley <[EMAIL PROTECTED]> writes: > If I edit a file in an org web subdirectory and then publish that file it does > not get published with the style sheet link content. > > e.g I have a file index.org in rgr-source/bike and when I publish it the > destination rgr-source/bike

Re: [Orgmode] Org publish syndication [dynamic web with org]

2008-11-06 Thread mdl
Eric, Thanks so much for the reply. You raise many of the questions that I myself have been wondering about recently. "Eric Schulte" <[EMAIL PROTECTED]> writes: > Hi Matt, > > This is a very interesting project. I am looking forward to seeing what > you come up with. The hardest part to me se

Re: [Orgmode] Org publish syndication [dynamic web with org]

2008-11-06 Thread Eric Schulte
Hi Matt, This is a very interesting project. I am looking forward to seeing what you come up with. The hardest part to me seems to be triggering a publish action when one of your subtrees needs to be added to the feed. This is one of a couple of different ideas which have surfaced in the mailin

Re: [Orgmode] Org-publish - too many index.org files

2008-11-02 Thread Carsten Dominik
Hi Matthew, I hope this is fixed now. Let me know what you find. Best wishes. - Carsten On Nov 2, 2008, at 4:54 PM, Matthew Lundin wrote: Hi Carsten, Yes, I can confirm that turning off auto index resulted in the buffers being closed after publishing. Thanks, Matt Carsten Dominik <[EMA

Re: [Orgmode] Org-publish - too many index.org files

2008-11-02 Thread Matthew Lundin
Hi Carsten, Yes, I can confirm that turning off auto index resulted in the buffers being closed after publishing. Thanks, Matt Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Matthew, > > if you turn off the auto-index, do the buffers then disappear? > > Thanks for checking this out. > > - C

Re: [Orgmode] Org-publish - too many index.org files

2008-11-02 Thread Carsten Dominik
Hi Matthew, if you turn off the auto-index, do the buffers then disappear? Thanks for checking this out. - Carsten On Nov 2, 2008, at 1:50 PM, Matthew Lundin wrote: Hi Carsten, Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Matthew, what org version are you using? Because I believe tha

Re: [Orgmode] Org-publish - too many index.org files

2008-11-02 Thread Matthew Lundin
Hi Carsten, Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Matthew, > > what org version are you using? > > Because I believe that in the current version, those buffers will be > killed, if they have been visited to get published. Only buffers > which are already present then starting the pu

Re: [Orgmode] org-publish-validate-link

2008-11-02 Thread Carsten Dominik
Yes, I remember this function, but I don't remember why and when it got lost. Can you tell me a release where it ws still present? - Carsten On Oct 31, 2008, at 5:40 AM, Matthew Lundin wrote: Try as I might, I cannot seem to locate the org-publish-validate-link function described in the or

Re: [Orgmode] Org-publish - too many index.org files

2008-11-01 Thread Carsten Dominik
Hi Matthew, what org version are you using? Because I believe that in the current version, those buffers will be killed, if they have been visited to get published. Only buffers which are already present then starting the publishing will not be killed. At least this is how it should wo

Re: [Orgmode] Org-publish - too many index.org files

2008-10-31 Thread Matthew Lundin
Ethan Blanton <[EMAIL PROTECTED]> writes: > Matthew Lundin spake unto us the following wisdom: >> A problem arises when I invoke org-publish (or org-agenda). All of the >> org files in the project are loaded into buffers resulting in too many >> index.org files in my buffer list. [snip] > While th

Re: [Orgmode] Org-publish - too many index.org files

2008-10-31 Thread Ethan Blanton
Matthew Lundin spake unto us the following wisdom: > A problem arises when I invoke org-publish (or org-agenda). All of the > org files in the project are loaded into buffers resulting in too many > index.org files in my buffer list. [snip] > 2) Alternatively, is there an easy way to rename the buf

Re: [Orgmode] Org-publish wishlist

2008-10-29 Thread mdl
Hi Sebastian, Sebastian Rose <[EMAIL PROTECTED]> writes: > Hi Matt, > > > [EMAIL PROTECTED] writes: >> 3. Automatically generated backlinks. > > I use org-info.js for this. > E.g., in 'Page one': > > #+LINK_UP: Emacs.html > #+LINK_HOME: /index.html > Thanks for your wonderful org-info.js. Yes,

Re: [Orgmode] Org publish hierarchies and style variable

2008-10-29 Thread Sebastian Rose
Hi Matt, The path problem could be addressed in a nice way: #+STYLE: We may have several #+STYLE: lines, so we can add whatever we want to the section: #+STYLE: #+STYLE: #+STYLE: The '' is _very_ interesting, all paths to stylesheets, images (plus images in stylesheets!), flash films

Re: [Orgmode] Org publish hierarchies and style variable

2008-10-29 Thread Sebastian Rose
Hi Matt, I can see no problem with the alternative you provide here. It's nice IMHO. How much space will a stylesheet take? One block, sometimes 2 - not very much. Thanks for pointing this out. There is the per file #+STYLE: setting. We should mention those alternatives in the tutorial.

Re: [Orgmode] Org-publish wishlist

2008-10-29 Thread Sebastian Rose
Hi Matt, [EMAIL PROTECTED] writes: > 3. Automatically generated backlinks. I use org-info.js for this. E.g., in 'Page one': #+LINK_UP: Emacs.html #+LINK_HOME: /index.html > 4. Automatically generated most page creation date and recent changes > list. If `org-publish-use-timestamps-flag' is

Re: [Orgmode] org-publish

2008-08-20 Thread Sebastian Rose
Hi David, here are some solutions I could come up with. Maybe one of them is helpful. * Customize org M-x customize-variable org-export-html-extension and set it to 'php'? * Apache: use mod_mime or add-handler You could also use the add-handler directive in your apache config file

Re: [Orgmode] org-publish

2008-07-07 Thread Carsten Dominik
On Jul 5, 2008, at 8:42 AM, Richard G Riley wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: On Jul 4, 2008, at 8:28 AM, Richard G Riley wrote: I would like to suggest that C-c C-e P "Publish the project containing the current file." also publishes any projects which contain that proje

Re: [Orgmode] org-publish

2008-07-07 Thread Carsten Dominik
On Jul 7, 2008, at 7:24 AM, Rick Moynihan wrote: I have similar settings but I still do not get any output. Any ideas what I can check or what other debug information can I provide? Any thoughts appreciated. Just the other day I ran into this problem with org-publish, and it took me qui

Re: [Orgmode] org-publish

2008-07-07 Thread Rick Moynihan
I have similar settings but I still do not get any output. Any ideas what I can check or what other debug information can I provide? Any thoughts appreciated. Just the other day I ran into this problem with org-publish, and it took me quite a while to realise that I needed to create an org

Re: [Orgmode] org-publish

2008-07-05 Thread Richard G Riley
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jul 4, 2008, at 8:28 AM, Richard G Riley wrote: > >> >> I would like to suggest that >> >> C-c C-e P "Publish the project containing the current file." also >> publishes any projects which contain that project. e.g I have a >> "container project" >

Re: [Orgmode] org-publish

2008-07-05 Thread Carsten Dominik
On Jul 4, 2008, at 8:28 AM, Richard G Riley wrote: I would like to suggest that C-c C-e P "Publish the project containing the current file." also publishes any projects which contain that project. e.g I have a "container project" ("cv" :components ("cv-html" "cv-raw")

Re: [Orgmode] org-publish

2008-06-23 Thread Carsten Dominik
On Jun 23, 2008, at 12:39 PM, Richard G Riley wrote: Carsten Dominik <[EMAIL PROTECTED]> writes: Have you tried (setq org-publish-use-timestamps-flag nil) ? Maybe you have not changed the input files for a while, and Org thinks they have already been published.. That fixed it. I ha

Re: [Orgmode] org-publish

2008-06-23 Thread Carsten Dominik
On Jun 23, 2008, at 12:41 PM, Richard G Riley wrote: Could I request that this directory is moved to org-directory? You can move it wherever you like by customizing `org-publish-timestamp-directory'. I don't want to change the default because people might be switching from one org-directory

Re: [Orgmode] org-publish

2008-06-23 Thread Richard G Riley
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jun 22, 2008, at 5:27 PM, Manish wrote: > >> Nick>>> I have a minimal setup that works fine for me. Here is the >> relevant >> Nick>>> section from my org initialization file, which gets loaded >> from .emacs: >> Nick>>> >> Nick>>> ;;; org-publi

Re: [Orgmode] org-publish

2008-06-23 Thread Richard G Riley
Carsten Dominik <[EMAIL PROTECTED]> writes: > Have you tried > > (setq org-publish-use-timestamps-flag nil) > > > ? Maybe you have not changed the input files for a while, and Org > thinks they have already been published.. That fixed it. I had never published before and my first query of t

Re: [Orgmode] org-publish

2008-06-22 Thread Carsten Dominik
On Jun 22, 2008, at 5:27 PM, Manish wrote: Nick>>> I have a minimal setup that works fine for me. Here is the relevant Nick>>> section from my org initialization file, which gets loaded from .emacs: Nick>>> Nick>>> ;;; org-publish Nick>>> (setq org-publish-project-alist Nick>>>'(("s

Re: [Orgmode] org-publish

2008-06-22 Thread Manish
Nick>>> I have a minimal setup that works fine for me. Here is the relevant Nick>>> section from my org initialization file, which gets loaded from .emacs: Nick>>> Nick>>> ;;; org-publish Nick>>> (setq org-publish-project-alist Nick>>>'(("status" Nick>>> :base-directory "~/l

Re: [Orgmode] org-publish

2008-06-22 Thread Carsten Dominik
Have you tried (setq org-publish-use-timestamps-flag nil) ? Maybe you have not changed the input files for a while, and Org thinks they have already been published.. - Carsten On Jun 22, 2008, at 4:25 PM, Manish wrote: On Sun, Jun 22, 2008 at 9:57 AM, Nick Dokos wrote: [snip] I

Re: [Orgmode] org-publish

2008-06-22 Thread Manish
On Sun, Jun 22, 2008 at 9:57 AM, Nick Dokos wrote: [snip] > I have a minimal setup that works fine for me. Here is the relevant > section from my org initialization file, which gets loaded from .emacs: > > ;;; org-publish > (setq org-publish-project-alist > '(("status" >

Re: [Orgmode] org-publish

2008-06-21 Thread Nick Dokos
Richard G Riley <[EMAIL PROTECTED]> wrote: > >>> Not sure if this will help in your case but try adding: > >>> > >>>:publishing-function org-publish-org-to-html > >>> > Could someone who uses org-publish possibly post their setting for this > variable and possibly a subset (including header)

Re: [Orgmode] org-publish

2008-06-21 Thread Richard G Riley
Manish <[EMAIL PROTECTED]> writes: > On Sat, Jun 21, 2008 at 5:40 PM, Richard G Riley wrote: >> Manish writes: >> >>> On Sat, Jun 21, 2008 at 6:57 AM, Richard G Riley wrote: >>> > >>> > I am trying to use org-publish >>> > >>> > I have defined >>> > >>> > (setq org-publish-project-a

Re: [Orgmode] org-publish

2008-06-20 Thread Manish
On Sat, Jun 21, 2008 at 6:57 AM, Richard G Riley wrote: > > I am trying to use org-publish > > I have defined > > (setq org-publish-project-alist > '(("RgrBlog" > :base-directory "/home/rgr/.emacs.d/org-files/" > :publishing-directory "~/webs/rgr/public_html