From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: publish to ascii/utf8 dosent work anymore? Date: Sun, 17 Aug 2014 14:12:22 +0300 Message-ID: References: <87tx5b8ixd.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0149cf601d0c700500d1542a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIyNs-0001CT-N1 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 07:12:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIyNr-0000qf-J8 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 07:12:24 -0400 Received: from mail-oa0-x22b.google.com ([2607:f8b0:4003:c02::22b]:41679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIyNr-0000qX-C2 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 07:12:23 -0400 Received: by mail-oa0-f43.google.com with SMTP id i7so3277684oag.16 for ; Sun, 17 Aug 2014 04:12:23 -0700 (PDT) In-Reply-To: <87tx5b8ixd.fsf@gmx.us> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rasmus Cc: org mode --089e0149cf601d0c700500d1542a Content-Type: text/plain; charset=UTF-8 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 ""))) #+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 wrote: > Xebar Saram 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 > > > --089e0149cf601d0c700500d1542a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx rasmus

since im very = bad with lisp

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

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

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

z


<= br>
On Sun, Aug 17, 2014 at 2:17 PM, Rasmus <rasmus@= gmx.us> wrote:
Xeba= r Saram <zeltakc@gmail.com> = writes:

> Hi list
>
> i manage to export using the publish function for html. i really want<= br> > 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'.

=C2=A0 =C2=A0 (org-publish-org-to BACKEND FILENAME EXTENSION PLIST &opt= ional
=C2=A0 =C2=A0 PUB-DIR)

=C2=A0 =C2=A0 Publish an Org file to a specified back-end.

Hope it helps,
Rasmus

--
Dung makes an excellent fertilizer



--089e0149cf601d0c700500d1542a--