Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread Hans
Friday, March 16, 2007, 2:13:12 AM, the wrote: I missing how Site.PageActions was updated to work with LiteralWhiteSpace... The latest version should work well with PageActions. No need to change anything in PageActions. Please download and install the latest version.

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread the Other michael
Hrm. still a vertical list http://www.xradiograph.com/wrottings/PrantedMutter/PrantedMutter I'm also using MarkupExtenstions - http://www.pmwiki.org/wiki/Cookbook/MarkupExtensions - could that lead to any conflicts? The PageList directives were horizontal with the extensions, and only became

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread The Editor
On 3/16/07, the Other michael [EMAIL PROTECTED] wrote: Hrm. still a vertical list http://www.xradiograph.com/wrottings/PrantedMutter/PrantedMutter I'm also using MarkupExtenstions - http://www.pmwiki.org/wiki/Cookbook/MarkupExtensions - could that lead to any conflicts? The PageList

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread Hans
Friday, March 16, 2007, 1:24:48 PM, the wrote: Hrm. still a vertical list Try to change Site.PageActions so that all links are written on one line, or each action link is a list item: * %item * %item. Generally whitespace.php will insert br / line break tags for each line (honouring

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread Hans
Friday, March 16, 2007, 2:15:17 PM, Hans wrote: I will try if I can redefine (:nolinebreaks:) markup to work with whitespace.php Just updated the recipe with support for (:nolinebreaks:) and (:linebreaks:) markup Hans ___ pmwiki-users mailing

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-16 Thread the Other michael
That is most excellent, thank you! I preferred using the middots instead of a list finicky! On 3/16/07, Hans [EMAIL PROTECTED] wrote: Just updated the recipe with support for (:nolinebreaks:) and (:linebreaks:) markup -- -the Other michael http://www.xradiograph.com/interference

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread DaveG
as someone who uses the $HTMLPNewline = 'br /'; I think this cookbook is a great idea! I'll try it to see how well it works in practice. * empty spaces at the beginning of lines are treated as such, not as a change to preformatted text. Good riddance to that mark-up :) What markup should

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Hans
Thursday, March 15, 2007, 3:17:30 PM, DaveG wrote: * empty spaces at the beginning of lines are treated as such, not as a change to preformatted text. Good riddance to that mark-up :) What markup should be used for pre-formatted text in now that this is removed? Markup [@ ... @] always

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread marc
Hans said... See http://www.pmwiki.org/wiki/Cookbook/IntuitiveSpacing PmWiki has a number of markup rules which enforce a standardised layout of content, by removing empty spaces, empty lines and line breaks. Intuitive spacing offers an alternative by preserving spaces tabs and empty lines.

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Hans
Thursday, March 15, 2007, 5:09:13 PM, Dr wrote: Nice sounding enhancement.  FYI, about 25 years ago in pre-HTML days, Iworked on a wiki like project whose display code was parsed somewhatsimilar to that this cookbook addition offers.  Anyway, one of ourrules for text formatting was

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Patrick R. Michaud
On Thu, Mar 15, 2007 at 05:47:28PM +, Hans wrote: I put up a demo test page on my site here (editing locked) where you can see some effects of the script: http://softflow.co.uk/design/Test/WhiteSpaceTest I've also enabled the recipe on the Cookbook/LiteralWhiteSpace page on pmwiki.org.

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Ben Wilson
On 3/15/07, Hans [EMAIL PROTECTED] wrote: See http://www.pmwiki.org/wiki/Cookbook/IntuitiveSpacing I'm a bit of a format fanatic. I've started using TeX for writing documents, although TeX can be a little _too_ fanatic for me. :-) Anyway, I ran across a web site that describes the standard

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Dr Fred C
Hans wrote: Thursday, March 15, 2007, 5:09:13 PM, Dr wrote: Nice sounding enhancement. FYI, about 25 years ago in pre-HTML days, Iworked on a wiki like project whose display code was parsed somewhatsimilar to that this cookbook addition offers. Anyway, one of ourrules for text

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Hans
Thursday, March 15, 2007, 5:56:04 PM, Patrick wrote: I've also enabled the recipe on the Cookbook/LiteralWhiteSpace page on pmwiki.org. (Note that there seems to be an issue handling Site.PageActions when the recipe is included.) Also, the recipe sets $RecipeInfo['IntuitiveSpacing'] =

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Patrick R. Michaud
On Thu, Mar 15, 2007 at 07:15:30PM +, Hans wrote: Thursday, March 15, 2007, 5:56:40 PM, Ben wrote: To: Markup('spacing', '^ws', /(\\s{1,5})/e, str_replace(' ', 'nbsp;', '$1');); Thanks! I needed to change it slighly, otherwise it converts all spaces, and does not allow wrapping

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Hans
Thursday, March 15, 2007, 7:26:56 PM, Patrick wrote: Actually, you want to change only _leading_ spaces, so I think this should have a caret, as in: Markup('spacing', '^ws', /^(\\s{1,7})/e, str_replace(' ','nbsp;', '$1');); I think this is also the issue with Site.PageActions

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Patrick R. Michaud
On Thu, Mar 15, 2007 at 07:32:21PM +, Hans wrote: Thursday, March 15, 2007, 7:26:56 PM, Patrick wrote: Actually, you want to change only _leading_ spaces, so I think this should have a caret, as in: Markup('spacing', '^ws', /^(\\s{1,7})/e, str_replace(' ','nbsp;',

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Hans
Thursday, March 15, 2007, 7:40:28 PM, Patrick wrote: Ouch. You're likely to run into many problems with this, then, because any spaces that occur in the middle of HTML tags will also be converted. For example, suppose someone creates a markup function that somehow produces: div

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread marc
Ben Wilson said... On 3/15/07, Hans [EMAIL PROTECTED] wrote: See http://www.pmwiki.org/wiki/Cookbook/IntuitiveSpacing I'm a bit of a format fanatic. I've started using TeX for writing documents, although TeX can be a little _too_ fanatic for me. :-) Crikey! I'd move quickly to LaTeX and

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread Dr Fred C
Hans wrote: Thursday, March 15, 2007, 7:08:58 PM, Dr wrote: Don't you mean until another line break (not empty line) of some sort is encountered? (This would be one paragraph) In other words, if an indented line is encountered, as in this example, that is considered a line

Re: [pmwiki-users] New Recipe: IntuitiveSpacing

2007-03-15 Thread the Other michael
I missing how Site.PageActions was updated to work with LiteralWhiteSpace... mine own is %item rel=nofollow class=print accesskey='$[ak_print]'%[[{$FullName}?action=print | $[print] ]] (:if ! [ auth admin || authid ] :) middot; [[{$FullName}?action=login|$[login]]] (:if [ auth admin || authid