[fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Jos Groot Lipman
Minor Wiki-problem: paragraphs are create automatically for empty lines.
However with the following text it leads to unexpected termination of the
first p marker and the last line of text is left-aligned. When you remove
the empty line it works as expected.
 
p align=right
Next line is empty
 
Previous line is empty
/p
 
A similar problem with the pre tag: when you remove the empty line or
insert an extra line before the pre it works 'better'
 
Line before pre
pre
Next line is empty
 
Previous line is empty
/pre
 
Or is this a case of: 'it is a simple wike, play by its rules'?
 
All tested in the sandbox Fossil version [df9da91ba8] 2011-07-13 23:03:41
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Remigiusz Modrzejewski

On Aug 18, 2011, at 6:44 PM, Jos Groot Lipman wrote:

 Minor Wiki-problem: paragraphs are create automatically for empty lines.
 However with the following text it leads to unexpected termination of the
 first p marker and the last line of text is left-aligned. When you remove
 the empty line it works as expected.
 
 p align=right
 Next line is empty
 
 Previous line is empty
 /p

It is not expected. Wiki help explicitly specifies that paragraphs are 
delimited using empty lines.

 Or is this a case of: 'it is a simple wike, play by its rules'?


Well, it's a simple wiki...


Kind regards,
Remigiusz Modrzejewski



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Tomek Kott
you could turn off the wiki behavior by going to the UI, going to Admin 
Configuration, and then selecting the checkbox that says Use HTML... that
will turn off all the wiki formatting except url (i.e. []) syntax.

Tomek

On Thu, Aug 18, 2011 at 1:07 PM, Remigiusz Modrzejewski
l...@maxnet.org.plwrote:


 On Aug 18, 2011, at 6:44 PM, Jos Groot Lipman wrote:

  Minor Wiki-problem: paragraphs are create automatically for empty lines.
  However with the following text it leads to unexpected termination of the
  first p marker and the last line of text is left-aligned. When you
 remove
  the empty line it works as expected.
 
  p align=right
  Next line is empty
 
  Previous line is empty
  /p

 It is not expected. Wiki help explicitly specifies that paragraphs are
 delimited using empty lines.

  Or is this a case of: 'it is a simple wike, play by its rules'?


 Well, it's a simple wiki...


 Kind regards,
 Remigiusz Modrzejewski



 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread LluĂ­s Batlle i Rossell
On Thu, Aug 18, 2011 at 01:24:38PM -0400, Tomek Kott wrote:
 you could turn off the wiki behavior by going to the UI, going to Admin 
 Configuration, and then selecting the checkbox that says Use HTML... that
 will turn off all the wiki formatting except url (i.e. []) syntax.

I think you can use
nowiki
whatever you need
/nowiki

instead of disabling the wiki syntax everywhere.

 On Thu, Aug 18, 2011 at 1:07 PM, Remigiusz Modrzejewski
 l...@maxnet.org.plwrote:
 
 
  On Aug 18, 2011, at 6:44 PM, Jos Groot Lipman wrote:
 
   Minor Wiki-problem: paragraphs are create automatically for empty lines.
   However with the following text it leads to unexpected termination of the
   first p marker and the last line of text is left-aligned. When you
  remove
   the empty line it works as expected.
  
   p align=right
   Next line is empty
  
   Previous line is empty
   /p
 
  It is not expected. Wiki help explicitly specifies that paragraphs are
  delimited using empty lines.
 
   Or is this a case of: 'it is a simple wike, play by its rules'?
 
 
  Well, it's a simple wiki...
 
 
  Kind regards,
  Remigiusz Modrzejewski
 
 
 
  ___
  fossil-users mailing list
  fossil-users@lists.fossil-scm.org
  http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
 

 ___
 fossil-users mailing list
 fossil-users@lists.fossil-scm.org
 http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Mike Meyer
Jos Groot Lipman donts...@home.nl wrote:

I also found out about this
http://www.fossil-scm.org/index.html/wiki_rules 

The verbatim tag works like pre with the addition that it also
disables
all wiki and HTML markup through the matching /verbatim.

But why this special tag? Is this not something the pre should do
under
all circumstances? When would you ever want wiki or HTML markup inside
a
pre? That contradicts the primary reason of existance for the pre
tag.

No, it doesn't. The pre tag preseves layout, but not other formatting. It's 
valid and common to change fonts inside of a pre tag. And I'm anal enough about 
my html to run an editor that does on-the-fly validation.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Jos Groot Lipman

The verbatim tag works like pre with the addition that it also 
disables all wiki and HTML markup through the matching /verbatim.

But why this special tag? Is this not something the pre should do 
under all circumstances? When would you ever want wiki or HTML markup 
inside a pre? That contradicts the primary reason of existance for 
the pre tag.

No, it doesn't. The pre tag preseves layout, but not other formatting.
It's valid and common to change fonts inside of a pre tag.
And I'm anal enough about my html to run an editor that does on-the-fly
validation.

Thanks, I did not realize that. I believe I got pre mixed up with xmp
(deprecated in HTML 4.0 and rightfully not supported by Fossil Wiki)

So verbatim is more like the combination nowikixmp. I will start using
verbatim

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Wiki formatting with empty lines

2011-08-18 Thread Mike Meyer
On Thu, Aug 18, 2011 at 1:44 PM, Jos Groot Lipman donts...@home.nl wrote:

 
 The verbatim tag works like pre with the addition that it also
 disables all wiki and HTML markup through the matching /verbatim.
 
 But why this special tag? Is this not something the pre should do
 under all circumstances? When would you ever want wiki or HTML markup
 inside a pre? That contradicts the primary reason of existance for
 the pre tag.
 
 No, it doesn't. The pre tag preseves layout, but not other formatting.
 It's valid and common to change fonts inside of a pre tag.
 And I'm anal enough about my html to run an editor that does on-the-fly
 validation.


Which causes me to ask - does any have a schema for fossil wiki/html
combination?


 Thanks, I did not realize that. I believe I got pre mixed up with xmp
 (deprecated in HTML 4.0 and rightfully not supported by Fossil Wiki)

 So verbatim is more like the combination nowikixmp. I will start
 using
 verbatim


I think of it more as pre!CDATA[ section, but that's the idea.

mike



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users