From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: publish to ascii/utf8 dosent work anymore? Date: Sun, 17 Aug 2014 15:04:32 +0200 Message-ID: <87zjf3e07z.fsf@gmx.us> References: <87tx5b8ixd.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ010-0000XX-2h for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 08:57:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ00s-00043j-K0 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 08:56:54 -0400 Received: from mout.gmx.net ([212.227.15.18]:57343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ00s-00043f-AQ for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 08:56:46 -0400 In-Reply-To: (Xebar Saram's message of "Sun, 17 Aug 2014 14:12:22 +0300") 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: zeltakc@gmail.com Cc: emacs-orgmode@gnu.org Hi Xebar, Xebar Saram writes: > 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 " 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?) Right. The functions you are looking for are probably: org-ascii-publish-to-ascii Function: Publish an Org file to ASCII. org-ascii-publish-to-latin1 Function: Publish an Org file to Latin-1. org-ascii-publish-to-utf8 Function: Publish an org file to UTF-8. You just put it in place of your current publish function. I'm guessing you just upgraded to Org8 where Nicolas' ox became the default export framework. Cheers, Rasmus -- Governments should be afraid of their people