[Radiant] RedCloth SVN Repository Access Restored
Emailed _why with this issue: rectified. RedCloth SVN Repository Access Restored cheers, Ben. -- B.D.Minton Brisbane QLD AU [EMAIL PROTECTED] -- Mapping the World, One Gridsquare at a Time. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Paul Stadig wrote: > I for one would rather not insert tags all over my mark > up. If I was gonna do that I'd just do everything in > straight HTML. I like the simplicity of Textile. I like to have wrapped text (which contains inherent newlines) in page textareas so that it is more readable while editing. All those newlines shouldn't be converted to s. If you look at the impetus for Markdown, Textile, et al, it's to make composing HTML as easy as writing a mail message. Needing specifically placed line breaks is the exception in prose, not the rule. Special formatting is going to be more difficult with any software. -Drew ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: > Keith Bingman wrote: >> I meant to include this, but forgot: >> >> http://redhanded.hobix.com/inspect/usingRedcloth3.html >> >> He states that you can switch hard breaks on, but when I try >> this, it disables paragraphs. Oh well... > > I think I'm going to side with _why for now. In the meantime > you can just use tags between lines. You can also insert one (or more) spaces right before the newline. RedCloth will convert /\s+$/ to a . This is also ``standard'' Textile. Try it out: http://textism.com/tools/textile/ -Drew ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
MarsHall wrote: > RedCloth is focused on Textile formatting (with Markdown practically > as an aside). > > I suggest using BlueCloth for Markdown: >http://www.deveiate.org/projects/BlueCloth Radiant does use BlueCloth for Markdown. We were discussing some differences between the way RedCloth formats Textile and the way it works with the original Textile library. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
RedCloth is focused on Textile formatting (with Markdown practically as an aside). I suggest using BlueCloth for Markdown: http://www.deveiate.org/projects/BlueCloth In my experience, it works much better, including a fix for this line break problem: Two spaces at the end of a line create a , otherwise single carriage returns are ignored. Two carriage returns still delimit paragraphs. *Mars On Aug 17, 2006, at 07:11, Keith Bingman wrote: > As far as I can tell, Radiant seems to have the line break bug in > Redcloth. Is this true? Can it be fixed? > > -- > Posted via http://www.ruby-forum.com/. > ___ > Radiant mailing list > Radiant@lists.radiantcms.org > http://lists.radiantcms.org/mailman/listinfo/radiant > ( <> .. <> ) ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: > Keith Bingman wrote: >> I meant to include this, but forgot: >> >> http://redhanded.hobix.com/inspect/usingRedcloth3.html >> >> He states that you can switch hard breaks on, but when I try this, it >> disables paragraphs. Oh well... > > I think I'm going to side with _why for now. In the meantime you can > just use tags between lines. > > -- > John Long > http://wiseheartdesign.com I assumed this one be the response. Unfortunately, this is not a site for me... one of the pesky customers who doesn't want to learn...! I have a solution though. Thanks for looking into it. Keith Bingman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
On Aug 18, 2006, at 10:33 AM, Paul Stadig wrote:I for one would rather not insert tags all over my mark up. If Iwas gonna do that I'd just do everything in straight HTML. I like thesimplicity of Textile.I'm with Paul. _why might be wrong in this case.Maybe we could relax the gem spec dependency to >= 3.0? -- Daniel Lyons[EMAIL PROTECTED] ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
The hard_breaks bug is even worse than this, I think. When you turn on hard_breaks it totally ignores all block specifiers except the first one (http://rubyforge.org/pipermail/redcloth-upwards/2006-June/49.html). When hard_breaks is on this: p. 703.289.3820 *tel* 703.359.0952 *fax* p. "[EMAIL PROTECTED]":mailto:[EMAIL PROTECTED] Becomes: 703.289.3820 tel703.359.0952 fax p. mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] This happens with hn. marks and everything (yikes!). Downgrading RedCloth to 3.0.3 seems to fix it, and with hard_breaks you get: 703.289.3820 tel703.359.0952 fax mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] I haven't tried downgrading RedCloth with Radiant, but as far as I can tell it should work??? The 0.5.2 gem spec depends on RedCloth >= 3.0.3. I for one would rather not insert tags all over my mark up. If I was gonna do that I'd just do everything in straight HTML. I like the simplicity of Textile. Paul > -- > > Message: 2 > Date: Thu, 17 Aug 2006 18:59:05 +0200 > From: Keith Bingman <[EMAIL PROTECTED]> > Subject: Re: [Radiant] Redcloth > To: radiant@lists.radiantcms.org > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=utf-8 > > John W. Long wrote: >> Keith Bingman wrote: >>> Does that make sense? >> >> So to clarify, you give it the following: >> >>MI 31.08. digi lounging >>DO 01.09. rive gauche opening party >>FR 02.09. csaba, crying soul production >>SA 03.09. l'un est l'autre, deep'n sexy house >> >> And expect: >> >>MI 31.08. digi lounging >>DO 01.09. rive gauche opening party >>FR 02.09. csaba, crying soul production >>SA 03.09. l'un est l'autre, deep'n sexy house >> >> But instead get: >> >>MI 31.08. digi lounging >>DO 01.09. rive gauche opening party >>FR 02.09. csaba, crying soul production >>SA 03.09. l'un est l'autre, deep'n sexy house >> >> ? >> >> -- >> John Long >> http://wiseheartdesign.com > > Yes, this is how it usually works in Textile, at least in Textpattern. > As Dean Allen wrote both, one would expect that that is the way it was > inteneded to work. > > _why seems to have other feelings, but this is how it would ideally work > for me. > > > Keith Bingman > > > -- > Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: > I meant to include this, but forgot: > > http://redhanded.hobix.com/inspect/usingRedcloth3.html > > He states that you can switch hard breaks on, but when I try this, it > disables paragraphs. Oh well... I think I'm going to side with _why for now. In the meantime you can just use tags between lines. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: > Keith Bingman wrote: >> _why seems to have other feelings, but this is how it would ideally work >> for me. > > Could you point me to a url about this? > > -- > John Long > http://wiseheartdesign.com I meant to include this, but forgot: http://redhanded.hobix.com/inspect/usingRedcloth3.html He states that you can switch hard breaks on, but when I try this, it disables paragraphs. Oh well... Keith BIngman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: > _why seems to have other feelings, but this is how it would ideally work > for me. Could you point me to a url about this? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: > Keith Bingman wrote: >> Does that make sense? > > So to clarify, you give it the following: > >MI 31.08. digi lounging >DO 01.09. rive gauche opening party >FR 02.09. csaba, crying soul production >SA 03.09. l'un est l'autre, deep'n sexy house > > And expect: > >MI 31.08. digi lounging >DO 01.09. rive gauche opening party >FR 02.09. csaba, crying soul production >SA 03.09. l'un est l'autre, deep'n sexy house > > But instead get: > >MI 31.08. digi lounging >DO 01.09. rive gauche opening party >FR 02.09. csaba, crying soul production >SA 03.09. l'un est l'autre, deep'n sexy house > > ? > > -- > John Long > http://wiseheartdesign.com Yes, this is how it usually works in Textile, at least in Textpattern. As Dean Allen wrote both, one would expect that that is the way it was inteneded to work. _why seems to have other feelings, but this is how it would ideally work for me. Keith Bingman -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: > Does that make sense? So to clarify, you give it the following: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house And expect: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house But instead get: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house ? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
John W. Long wrote: > > Could you give me an example of text that is being interpreted > incorrectly and the output? > John, the text is very simple, just a list that should be given out as a block: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house In Textile, it isn't recognizing the breaks, as is usually the case with (non-Rails) Textile. It comes out like this: MI 31.08. digi lounging DO 01.09. rive gauche opening party FR 02.09. csaba, crying soul production SA 03.09. l'un est l'autre, deep'n sexy house This is an on going problem in Rails, I have read about it before, but rarely used Textile in a rails setting. I tried switching to hard breaks and and while it did give me the break elements, it did give any p elements, except for one big one around the text. Does that make sense? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: > After googling (like I should have done in the first place) I see that > -why has made it like this on purpose, unlike the textile I am used to. > Turning hard breaks on, at least as far as I can tell, makes everything > one big paragraph, with breaks in between. I need blocks of paragraphs, > with line breaks. I got it to work in Markdown, but one really prefer > Textile. > > I know this has been a probem in Rails generally, but never have > personally found a good solution. Could you give me an example of text that is being interpreted incorrectly and the output? -- John Long http://wiseheartdesign.com ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Redcloth
Keith Bingman wrote: > As far as I can tell, Radiant seems to have the line break bug in > Redcloth. Is this true? Can it be fixed? After googling (like I should have done in the first place) I see that -why has made it like this on purpose, unlike the textile I am used to. Turning hard breaks on, at least as far as I can tell, makes everything one big paragraph, with breaks in between. I need blocks of paragraphs, with line breaks. I got it to work in Markdown, but one really prefer Textile. I know this has been a probem in Rails generally, but never have personally found a good solution. Any ideas? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Redcloth
As far as I can tell, Radiant seems to have the line break bug in Redcloth. Is this true? Can it be fixed? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Radiant@lists.radiantcms.org http://lists.radiantcms.org/mailman/listinfo/radiant