From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: Buffer-specific export filter? Date: Wed, 21 Aug 2013 17:45:29 +0800 Message-ID: References: <8738q4si0o.wl%jamshark70@dewdrop-world.net> <20130820130202.GC19436@kuru.dyndns-at-home.com> <8761uza3tl.fsf@gmail.com> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b472868b27ac804e472080b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC4yq-0006Hn-Eo for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 05:45:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VC4yp-0007kL-42 for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 05:45:32 -0400 Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:55035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VC4yo-0007kC-PP for Emacs-orgmode@gnu.org; Wed, 21 Aug 2013 05:45:30 -0400 Received: by mail-ob0-f173.google.com with SMTP id ta17so287369obb.18 for ; Wed, 21 Aug 2013 02:45:30 -0700 (PDT) In-Reply-To: <8761uza3tl.fsf@gmail.com> 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: Nicolas Goaziou , Emacs-orgmode@gnu.org --047d7b472868b27ac804e472080b Content-Type: text/plain; charset=ISO-8859-1 On Aug 21, 2013 3:41 PM, "Nicolas Goaziou" wrote: > In that case, you should disable smart quotes, which are not smart > enough for your use case. Note that they are not enabled by default. That's reasonable, but irritating while I'm still editing. I'm certain I'll leave some ASCII double quotes in there by mistake. Should be easy enough to handle as the last thing, using regexp replace. > > Related question: If I wanted to force a non-breaking space in LaTeX export, > > how would I do that without a filter? ~ exports, reasonably, as > > \textasciitilde. > > Use \nbsp{} macro. Ok, thanks. And thanks also for the hint on the filter. I'm fairly new to lisp (obviously). I know about functions' return values, just forgot here... hjh --047d7b472868b27ac804e472080b Content-Type: text/html; charset=ISO-8859-1

On Aug 21, 2013 3:41 PM, "Nicolas Goaziou" <n.goaziou@gmail.com> wrote:
> In that case, you should disable smart quotes, which are not smart
> enough for your use case. Note that they are not enabled by default.

That's reasonable, but irritating while I'm still editing. I'm certain I'll leave some ASCII double quotes in there by mistake. Should be easy enough to handle as the last thing, using regexp replace.

> > Related question: If I wanted to force a non-breaking space in LaTeX export,
> > how would I do that without a filter? ~ exports, reasonably, as
> > \textasciitilde.
>
> Use \nbsp{} macro.

Ok, thanks. And thanks also for the hint on the filter. I'm fairly new to lisp (obviously). I know about functions' return values, just forgot here...

hjh

--047d7b472868b27ac804e472080b--