emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Filters not working
Date: Fri, 09 Aug 2013 07:37:13 -1000	[thread overview]
Message-ID: <m1zjsq7ol2.fsf@tsdye.com> (raw)

Aloha all,

After an upgrade from 8.0.3 this morning I'm unable to export a large
writing project that has kept me from reading the ML regularly for the
last few months. It seems that filters that used to work, no longer do
so. For example,

  #+name: tsd-parencites
  #+BEGIN_SRC emacs-lisp 
  (defun tsd-latex-filter-parencites (text backend info)
    "Replace parencites placeholders in Beamer/LaTeX export."
    (when (memq backend '(beamer latex))
      (replace-regexp-in-string "π" "\\parencites" text nil t)))
  (add-to-list 'org-export-filter-plain-text-functions
               'tsd-latex-filter-parencites)
  #+END_SRC

now lets pi slip through into the LaTeX output, giving this error:

ERROR: Package inputenc Error: Unicode char \u8:π not set up for use with LaTeX.

My question, is whether this filter is obviously broken given recent
changes to Org-mode?  Any pointers greatly appreciated.

If not, I'll get on with it and try to track down the problem.

All the best,
Tom

-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

             reply	other threads:[~2013-08-09 17:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 17:37 Thomas S. Dye [this message]
2013-08-09 18:29 ` Filters not working Charles Berry
2013-08-09 19:39   ` Thomas S. Dye
2013-08-09 20:30     ` Aaron Ecay
2013-08-09 21:16       ` Thomas S. Dye
2013-08-09 20:52     ` Charles Berry
2013-08-09 21:18       ` Thomas S. Dye
2013-08-10  7:46         ` Nicolas Goaziou
2013-08-10 16:34           ` Thomas S. Dye

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=m1zjsq7ol2.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    /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).