From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-agenda-current-time-string partly fontified with emphasis Date: Fri, 08 Sep 2017 13:39:58 +0200 Message-ID: <87377xwh9t.fsf@nicolasgoaziou.fr> References: <87fubyzmvn.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqHdp-00078E-0d for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 07:40:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqHdl-0003Qp-CV for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 07:40:08 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41730) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqHdl-0003Q7-6N for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 07:40:05 -0400 In-Reply-To: (Samuel Wales's message of "Thu, 7 Sep 2017 16:01:20 -0700") 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" To: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: >> You may be able to tweak fontification to ignore this special case. See >> `org-font-lock-set-keywords-hook' to install a special rule for. > > are there examples of the usage of this? There is one in "contrib/lisp/org-wikinodes.el". >> It will work as long as you don't export the document. For that case, >> you could write a filter turning multiple "=" into "\equal". > > is there a filter that will change instances /before/ they get > converted by a backend? There are two of them: `org-export-before-processing-hook' and `org-export-before-parsing-hook'. > i don't want to use hyphens, and org's separator is page-wide. It depends on the export back-end. You can control the width of the separator in "latex" and "ascii" back-ends. Regards, -- Nicolas Goaziou