thx rasmus

since im very bad with lisp

do i use this inside my org-publish code or independent. currently my code
is like this:

#+BEGIN_SRC emacs-lisp :results none
     (setq org-publish-project-alist
           '(("NNorg"
              :base-directory "~/org/files/help/"
              :publishing-directory "~/org/files/export/"
              :section-numbers nil
              :table-of-contents nil
              :publishing-function org-publish-org-to-ascii
              :style "<link rel=\"stylesheet\"
                     href=\"../other/mystyle.css\"
                     type=\"text/css\"/>")))
#+END_SRC

would you mind showing me an example of how i would use it (do i replace
the publishing function line?)

best

z



On Sun, Aug 17, 2014 at 2:17 PM, Rasmus <ras...@gmx.us> wrote:

> Xebar Saram <zelt...@gmail.com> writes:
>
> > Hi list
> >
> > i manage to export using the publish function for html. i really want
> > actually to publih to txt and found these function in the mailing list:
> >
> > org-publish-org-to-ascii
> > org-publish-org-to-latin1
> > org-publish-org-to-utf8
> >
> > i have tried using them instead of html but got this error:
> >
> > funcall: Symbol's function definition is void: org-publish-org-to-ascii
> >
> >
> > any ideas anyone?
>
> How about `org-publish-org-to' of
> `ox-publish.el'.
>
>     (org-publish-org-to BACKEND FILENAME EXTENSION PLIST &optional
>     PUB-DIR)
>
>     Publish an Org file to a specified back-end.
>
> Hope it helps,
> Rasmus
>
> --
> Dung makes an excellent fertilizer
>
>
>

Reply via email to