emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: Non-breaking space in muse?


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: Non-breaking space in muse?
Date: Mon, 26 Dec 2005 17:29:00 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Ken Brown <address@hidden> writes:

> On 12/26/2005 2:22 AM, Michael Olson wrote:
>>That's convincing.  I'd like to implement non-breaking space in
>>Muse.  What sort of syntax would work well for that?  The first
>>thing that comes to mind for me is "~~", as in Math~~106.
>>
> That would work for me.  As a tex user, I instinctively use "~", so
> it would be very easy to just double it.

I've tried to implement this.

2005-12-26 22:26:56 GMT Michael Olson <address@hidden>  patch-323

    Summary:
      Add markup for non-breaking space.
    Revision:
      muse--main--1.0--patch-323

    * lisp/muse-docbook.el (muse-docbook-markup-strings): Add markup string
      for 'no-break-space.
    
    * lisp/muse-groff.el (muse-groff-markup-strings): Ditto.
    
    * lisp/muse-html.el (muse-html-markup-strings): Ditto.
    
    * lisp/muse-latex.el (muse-latex-markup-strings): Ditto.
    
    * lisp/muse-texinfo.el (muse-texinfo-markup-strings): Ditto.
    
    * lisp/muse-xml.el (muse-xml-markup-strings): Ditto.
    
    * lisp/muse-publish.el (muse-publish-markup-regexps)
      (muse-publish-markup-functions): Interpret "~~" as a non-breaking
      space.  Thanks to Ken Brown for the suggestion.
      (muse-publish-markup-no-break-space): New function that publishes a
      non-breaking space.

    modified files:
     ChangeLog lisp/muse-docbook.el lisp/muse-groff.el
     lisp/muse-html.el lisp/muse-latex.el lisp/muse-publish.el
     lisp/muse-texinfo.el lisp/muse-xml.el

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpjusfFMPutk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]