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

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

Re: [emacs-wiki-discuss] Re: Anchors and Lists and fileextensiondefaults


From: Allen Halsey
Subject: Re: [emacs-wiki-discuss] Re: Anchors and Lists and fileextensiondefaults---migrating from html and emacs-wiki
Date: Tue, 25 Oct 2005 14:00:52 -1000
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Phillip Lord wrote:
> Allen Halsey wrote:
> 
>>Phillip Lord wrote:
>>
>>>It's basically a python "style sheet" engine. The obvious thing to
>>>do, of course, we be to re-write the end functionality directly
>>>into a muse publishing engine, but I haven't really got time
>>>to do that at the moment. It's basically just a small extension to
>>>the html mode. 
>>>
>>>
>>>Cheers
>>>
>>>Phil
>>>
>>
>>I'd be interesting in seeing your ".ht" publishing style too.
>>
> 
> 
> 
> It's attached. I've also included a small hack that I wrote last
> night which implements nested lists for muse. It only works on 
> unordered lists at the moment, and only for html (or derived)
> styles. 
> 
> Phil
> 
> 

Cool, thx.

Btw, for nested lists I currently do this:

  - Beatles
    <ul>
    - Yesterday
    - Revolution
    - Come Together
    </ul>

  - Who
    <ul>
    - The Real Me
    - Pure and Easy
    - Bargain
    </ul>

  - Police
    <ul>
    - Secret Journey
    - Too Much Information
    </ul>

Works pretty good, except only for publishing to html.

Also, I find it handy to nest examples within unordered lists like this:

  - C
    <example>
    #include <stdio.h>
    main() {
      printf( "Hello, world.\n" );
    }
    </example>

  - Java
    <example>
    static public void main(String[] args) {
      System.out.println("Hello, world.");
    }
    </example>

  - Ruby
    <example>
    puts "Hello, world."
    </example>

I have a little hack (from the mailing list) that removes the leading
indent from the examples.

Only thing is: a blank line within the example will terminate the
list item.  So, if I need a blank line within an example I put a
<nop> on it.

Allen





reply via email to

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