emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] publish to ascii/utf8 dosent work anymore?


From: Xebar Saram
Subject: Re: [O] publish to ascii/utf8 dosent work anymore?
Date: Sun, 17 Aug 2014 14:12:22 +0300

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="">                      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 <address@hidden> wrote:
Xebar Saram <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]