emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: Rasmus <rasmus@gmx.us>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: publish to ascii/utf8 dosent work anymore?
Date: Sun, 17 Aug 2014 14:12:22 +0300	[thread overview]
Message-ID: <CAOQHXPrP_NOncXk2AFapNhLqzi8ztb0Vt7q6RtHN3-n_-39Ntw@mail.gmail.com> (raw)
In-Reply-To: <87tx5b8ixd.fsf@gmx.us>

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

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 <rasmus@gmx.us> wrote:

> Xebar Saram <zeltakc@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
>
>
>

[-- Attachment #2: Type: text/html, Size: 2544 bytes --]

  reply	other threads:[~2014-08-17 11:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-17 10:57 publish to ascii/utf8 dosent work anymore? Xebar Saram
2014-08-17 11:17 ` Rasmus
2014-08-17 11:12   ` Xebar Saram [this message]
2014-08-17 13:04     ` Rasmus
2014-08-17 11:53 ` Nick Dokos
2014-08-17 12:09   ` Xebar Saram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOQHXPrP_NOncXk2AFapNhLqzi8ztb0Vt7q6RtHN3-n_-39Ntw@mail.gmail.com \
    --to=zeltakc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rasmus@gmx.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).