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 klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-10-11 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-10-10 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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 klein...@mpip-mainz.mpg.de 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 +++

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

Re: [O] Publishing using the new exporter

2012-10-08 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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 klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-10-08 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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 klein...@mpip-mainz.mpg.de 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

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
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-07 Thread Robert Klein
On 10/06/2012 07:48 PM, Nicolas Goaziou wrote: Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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

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:

Re: [O] Publishing using the new exporter

2012-10-06 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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 klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-09-25 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-09-25 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nicolas Goaziou
Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

Re: [O] Publishing using the new exporter

2012-09-24 Thread Nick Dokos
Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Robert Klein klein...@mpip-mainz.mpg.de 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

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 over. I

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 klein...@mpip-mainz.mpg.de 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,