Re: [O] Publishing using the new exporter

2012-10-15 Thread Robert Klein
Hallo, On 10/11/2012 11:55 PM, Nicolas Goaziou wrote: > Hello, > > Robert Klein writes: > >> I did some more tests and it seems the issue happens when Emacs is just >> started and nothing (much) done in it. >> >> Test description below. > > Thank you for the thorough testing. I was able to re

Re: [O] Publishing using the new exporter

2012-10-11 Thread Nicolas Goaziou
Hello, Robert Klein writes: > I did some more tests and it seems the issue happens when Emacs is just > started and nothing (much) done in it. > > Test description below. Thank you for the thorough testing. I was able to reproduce the bug and you're right: setting default-directory is the only

Re: [O] Publishing using the new exporter

2012-10-10 Thread Robert Klein
Hello, On 10/10/2012 06:59 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: I got i working with this patch: diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index 80b8ddb..2d4ad35 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -267

Re: [O] Publishing using the new exporter

2012-10-10 Thread Nicolas Goaziou
Hello, Robert Klein writes: > I got i working with this patch: > > diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el > index 80b8ddb..2d4ad35 100644 > --- a/contrib/lisp/org-e-latex.el > +++ b/contrib/lisp/org-e-latex.el > @@ -2670,6 +2670,7 @@ Return PDF file name or an err

Re: [O] Publishing using the new exporter

2012-10-09 Thread Robert Klein
Hello, On 10/08/2012 07:36 PM, Robert Klein wrote: Hallo, On 10/08/2012 06:49 PM, Nicolas Goaziou wrote: Hello, I don't think so, but I cannot reproduce your problem. Could you try again in a fresh emacs, once back-ends you need have been required? I re-installed the git-version of org

Re: [O] Publishing using the new exporter

2012-10-08 Thread Robert Klein
On 10/08/2012 07:46 PM, Suvayu Ali wrote: On Mon, Oct 08, 2012 at 07:36:43PM +0200, Robert Klein wrote: [...] I appended both a minimal .emacs and org file I used for the tests. [...] (add-to-list 'org-e-publish-project-alist '("example-pdf" :base-directory "~

Re: [O] Publishing using the new exporter

2012-10-08 Thread Suvayu Ali
On Mon, Oct 08, 2012 at 07:36:43PM +0200, Robert Klein wrote: [...] > > I appended both a minimal .emacs and org file I used for the tests. > [...] > (add-to-list 'org-e-publish-project-alist >'("example-pdf" > :base-directory "~/Documents/org/example" >

Re: [O] Publishing using the new exporter

2012-10-08 Thread Robert Klein
Hallo, On 10/08/2012 06:49 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: umm, no, it doesn't work. I even have more issues now. 1. At first, when calling org-e-publish I got an error message "void function org-e-html-publish-to-html" I go rid of the message by this patch (which mo

Re: [O] Publishing using the new exporter

2012-10-08 Thread Nicolas Goaziou
Hello, Robert Klein writes: > umm, no, it doesn't work. I even have more issues now. > > 1. At first, when calling org-e-publish I got an error message "void > function org-e-html-publish-to-html" > > I go rid of the message by this patch (which most probably is the > wrong thing to do): Just (

Re: [O] Publishing using the new exporter

2012-10-08 Thread Robert Klein
On 10/08/2012 02:55 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: There is still a small issue, though. I tried org-e-publish to pdf with one small difference: 1. I'm in a buffer, the visited file is in the base-directory. M-x org-e-publish... Publishing works Ok. 2. I'm in a buf

Re: [O] Publishing using the new exporter

2012-10-08 Thread Nicolas Goaziou
Hello, Robert Klein writes: > There is still a small issue, though. I tried org-e-publish to pdf > with one small difference: > > 1. I'm in a buffer, the visited file is in the base-directory. M-x > org-e-publish... Publishing works Ok. > > 2. I'm in a buffer, visiting a buffer /not/ in the b

Re: [O] Publishing using the new exporter

2012-10-07 Thread Robert Klein
On 10/06/2012 07:48 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: for pdf publishing I'd rather prefer the tex file also to be created in the base directory and only the pdf appearing in the publishing-directory, if there is a way. You're right: I'm over-engineering it. As a work

Re: [O] Publishing using the new exporter

2012-10-06 Thread Nicolas Goaziou
Hello, Robert Klein writes: > for pdf publishing I'd rather prefer the tex file also to be created > in the base directory and only the pdf appearing in the > publishing-directory, if there is a way. You're right: I'm over-engineering it. > As a workaround I currently use the base-directory as

Re: [O] Publishing using the new exporter

2012-10-06 Thread Robert Klein
On 10/06/2012 01:17 PM, Nicolas Goaziou wrote: Hello, Another issue I encountered, when publishing(!) to pdf, the resulting pdfs didn't have any images. This is probably caused by the images beind created in :base-directory and the pdf being created in :publishing-directory Indeed. Eric: Is

Re: [O] Publishing using the new exporter

2012-10-06 Thread Nicolas Goaziou
Hello, > Another issue I encountered, when publishing(!) to pdf, the resulting > pdfs didn't have any images. This is probably caused by the images > beind created in :base-directory and the pdf being created in > :publishing-directory Indeed. Eric: Is there any mechanism to force (automatic

Re: [O] Publishing using the new exporter

2012-09-25 Thread Nicolas Goaziou
Hello, Robert Klein writes: > when the :html-preamble function is just: > #+begin_src elisp > (defun s2-preamble () >"alpha-mark") > #+end_src > > the text "alpha-mark" also doesn't get inserted, though simply setting > #+begin_src elisp > :html-preamble "alpha-mark" > #+end_src > works

Re: [O] Publishing using the new exporter

2012-09-25 Thread Nicolas Goaziou
Hello, Robert Klein writes: > If i set :html-preable to either s2-preamble or 's2-preamble nothing > gets inserted. > > I studied the code in org-e-html (excerpt below), but i don't see what I > did wrong. > > #+begin_src elisp :file contrib/lisp/org-e-html.el :firstline 1329 > (defun org-e-ht

Re: [O] Publishing using the new exporter

2012-09-25 Thread Robert Klein
On 09/24/2012 07:27 PM, Robert Klein wrote: On 09/24/2012 12:25 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first?

Re: [O] Publishing using the new exporter

2012-09-24 Thread Robert Klein
On 09/24/2012 12:25 PM, Nicolas Goaziou wrote: Hello, Robert Klein writes: I'm trying to use the new exporter for publishing a project. For some reason all .org files get exported to zero length .html files. Did you (require 'org-e-html) first? Regards, Thanks, this helps. This is a

Re: [O] Publishing using the new exporter

2012-09-24 Thread Achim Gratz
Nick Dokos writes: >> Did you (require 'org-e-html) first? >> >> > > Not that I have tried it, but I would expect error messages rather > than zero-length files in that case. Is that expectation wrong? I think that if a backend hasn't registered callbacks, the defaults (doing nothing) will take

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nick Dokos
Nicolas Goaziou wrote: > Hello, > > Robert Klein writes: > > > I'm trying to use the new exporter for publishing a project. > > > > For some reason all .org files get exported to zero length .html > > files. > > Did you (require 'org-e-html) first? > > Not that I have tried it, but I would

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nicolas Goaziou
Hello, Robert Klein writes: > I'm trying to use the new exporter for publishing a project. > > For some reason all .org files get exported to zero length .html > files. Did you (require 'org-e-html) first? Regards, -- Nicolas Goaziou