From: Rasmus <rasmus@gmx.us>
To: zeltakc@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: publish to ascii/utf8 dosent work anymore?
Date: Sun, 17 Aug 2014 15:04:32 +0200 [thread overview]
Message-ID: <87zjf3e07z.fsf@gmx.us> (raw)
In-Reply-To: <CAOQHXPrP_NOncXk2AFapNhLqzi8ztb0Vt7q6RtHN3-n_-39Ntw@mail.gmail.com> (Xebar Saram's message of "Sun, 17 Aug 2014 14:12:22 +0300")
Hi Xebar,
Xebar Saram <zeltakc@gmail.com> 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 "<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?)
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
next prev parent reply other threads:[~2014-08-17 12:57 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
2014-08-17 13:04 ` Rasmus [this message]
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=87zjf3e07z.fsf@gmx.us \
--to=rasmus@gmx.us \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.com \
/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).