From paul at luon.net Tue Feb 9 08:49:42 2010
From: paul at luon.net (Paul van Tilburg)
Date: Tue, 9 Feb 2010 14:49:42 +0100
Subject: Weird underscore emphasize intepretation
Message-ID: <20100209134942.GB23437@conduit.luon.net>
Hi!
I am confused between the following two interpretations:
<< Input:
_foo_: bar baz_quux
>> HTML output:
foo_: bar bazquux
The first _ is combined with the third _, not what I intended obviously.
But I put a space in front of the colon (or leave the colon out), it
suddenly is fine?
<< Input:
_foo_ : bar baz_quux
>> HTML output:
foo : bar baz_quux
Any ideas/work-arounds?
Kind regards,
Paul
--
PhD Student @ Eindhoven | email: paul at luon.net
University of Technology, The Netherlands | JID: paul at luon.net
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
From jg at jasongarber.com Sat Feb 13 09:31:31 2010
From: jg at jasongarber.com (Jason Garber)
Date: Sat, 13 Feb 2010 09:31:31 -0500
Subject: Weird underscore emphasize intepretation
In-Reply-To: <20100209134942.GB23437@conduit.luon.net>
References: <20100209134942.GB23437@conduit.luon.net>
Message-ID: <75AB5F0E-D8F9-453B-9130-3F8B2199ABB7@jasongarber.com>
That is really weird. I have no idea.
On Feb 9, 2010, at 8:49 AM, Paul van Tilburg wrote:
> Hi!
>
> I am confused between the following two interpretations:
>
> << Input:
> _foo_: bar baz_quux
>
>>> HTML output:
> foo_: bar bazquux
>
> The first _ is combined with the third _, not what I intended obviously.
> But I put a space in front of the colon (or leave the colon out), it
> suddenly is fine?
>
> << Input:
> _foo_ : bar baz_quux
>
>>> HTML output:
> foo : bar baz_quux
>
> Any ideas/work-arounds?
> Kind regards,
> Paul
>
> --
> PhD Student @ Eindhoven | email: paul at luon.net
> University of Technology, The Netherlands | JID: paul at luon.net
>>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ctdd at ctdd.ro Thu Feb 18 17:05:26 2010
From: ctdd at ctdd.ro (W. Szabo Peter)
Date: Fri, 19 Feb 2010 00:05:26 +0200
Subject: RedCloth on Windows
Message-ID:
How to Install RedCloth on Windows?
The usual way fails:
>gem install RedCloth
Building native extensions. This could take a while...
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in C:/Ruby/lib/ruby/gems/1.8/gems/RedCloth-4.2.2
for inspection.
Results logged to C:/Ruby/lib/ruby/gems/1.8/gems/RedCloth-4.2.2/ext/redcloth_sca
n/gem_make.out
I tried with Cygwin, but I think I messed up the Cygwin install or setup, since
$ gem install RedCloth
Gives:
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/gem
I issued gem install RedCloth on Linux and it worked. I copied the files, but I can?t use them on windows. Since NetBeans IDE gives Missing these required gems: RedCloth
Other gems work. Only RedCloth does not.
Any idea what to do?
Thanks a lot,
Peter
c
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jon.forums at gmail.com Thu Feb 18 20:56:10 2010
From: jon.forums at gmail.com (Jon)
Date: Thu, 18 Feb 2010 20:56:10 -0500
Subject: RedCloth on Windows
In-Reply-To:
References:
Message-ID: <20100218205610.337345bd.jon.forums@gmail.com>
> How to Install RedCloth on Windows?
>
> The usual way fails:
>
> >gem install RedCloth
>
> Building native extensions. This could take a while...
>
> [...snip...]
>
> Any idea what to do?
>
I don't know what Windows version of Ruby you're using, but I'm able to successfully use RedCloth using the RubyInstaller from http://rubyinstaller.org/ in combination with the MSys/MinGW DevKit DevKit from http://wiki.github.com/oneclick/rubyinstaller/development-kit
In a nutshell, this combination enables Windows users to compile many of the native C-based extensions that either don't currently offer a mingw32 binary gem or no binary gems period. FYI, we maintain a list of the status of many of the native C-based gems that work or don't work with the above environment at http://wiki.github.com/oneclick/rubyinstaller/gem-list
My environment...
C:\Users\Jon\Documents>ruby --version
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
C:\Users\Jon\Documents>gem --version
1.3.5
C:\Users\Jon\Documents>gem list RedCloth -d
*** LOCAL GEMS ***
RedCloth (4.2.2)
Author: Jason Garber
Rubyforge: http://rubyforge.org/projects/redcloth
Homepage: http://redcloth.org
Installed at: C:/ruby191/lib/ruby/gems/1.9.1
RedCloth-4.2.2 - Textile parser for Ruby. http://redcloth.org/
From ctdd at ctdd.ro Thu Feb 18 21:23:09 2010
From: ctdd at ctdd.ro (W. Szabo Peter)
Date: Fri, 19 Feb 2010 04:23:09 +0200
Subject: RedCloth on Windows
In-Reply-To: <20100218205610.337345bd.jon.forums@gmail.com>
References:
<20100218205610.337345bd.jon.forums@gmail.com>
Message-ID:
Thanks a lot, I tried with Cygwin, but this is a lot easier, and work. Why I had to do the hard way?!
Thanks again,
Problem solved.
Peter
-----Original Message-----
From: redcloth-upwards-bounces at rubyforge.org [mailto:redcloth-upwards-bounces at rubyforge.org] On Behalf Of Jon
Sent: Friday, February 19, 2010 3:56 AM
To: redcloth-upwards at rubyforge.org
Subject: Re: RedCloth on Windows
> How to Install RedCloth on Windows?
>
> The usual way fails:
>
> >gem install RedCloth
>
> Building native extensions. This could take a while...
>
> [...snip...]
>
> Any idea what to do?
>
I don't know what Windows version of Ruby you're using, but I'm able to successfully use RedCloth using the RubyInstaller from http://rubyinstaller.org/ in combination with the MSys/MinGW DevKit DevKit from http://wiki.github.com/oneclick/rubyinstaller/development-kit
In a nutshell, this combination enables Windows users to compile many of the native C-based extensions that either don't currently offer a mingw32 binary gem or no binary gems period. FYI, we maintain a list of the status of many of the native C-based gems that work or don't work with the above environment at http://wiki.github.com/oneclick/rubyinstaller/gem-list
My environment...
C:\Users\Jon\Documents>ruby --version
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]
C:\Users\Jon\Documents>gem --version
1.3.5
C:\Users\Jon\Documents>gem list RedCloth -d
*** LOCAL GEMS ***
RedCloth (4.2.2)
Author: Jason Garber
Rubyforge: http://rubyforge.org/projects/redcloth
Homepage: http://redcloth.org
Installed at: C:/ruby191/lib/ruby/gems/1.9.1
RedCloth-4.2.2 - Textile parser for Ruby. http://redcloth.org/
_______________________________________________
Redcloth-upwards mailing list
Redcloth-upwards at rubyforge.org
http://rubyforge.org/mailman/listinfo/redcloth-upwards
From cn-re-redcloth-upwards-list.k4c5b.b7f8 at bitboost.com Fri Feb 19 23:27:11 2010
From: cn-re-redcloth-upwards-list.k4c5b.b7f8 at bitboost.com (Chris Niswander)
Date: Fri, 19 Feb 2010 21:27:11 -0700
Subject: RedCloth on Windows [I have seen it work ok.]
In-Reply-To:
References:
Message-ID: <4B7F649F.5080901@bitboost.com>
You might say something about the specific version(s)
you were using: of Windows, Ruby, anything else?
I installed the RedCloth gem *with no problems* a few months ago
- on a Windows 2000 system
- with Ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
Because I wanted to use webby, I installed the webby gem first:
gem install webby
gem install RedCloth
The version of RedCloth?
The directory in the gems/1.8 dir is named
RedCloth-4.2.2-x86-mswin32-60
The directories are dated 2009-09-19, files 2009-09-21
So, this is my non-bug report. :-)
W. Szabo Peter wrote:
>
>
> How to Install RedCloth on Windows?
>
> The usual way fails:
>
> >gem install RedCloth
>
> Building native extensions. This could take a while...
>
> ERROR: Error installing RedCloth:
>
> ERROR: Failed to build gem native extension.
>
>
>
> C:/Ruby/bin/ruby.exe extconf.rb
>
> creating Makefile
>
>
>
> make
>
> 'make' is not recognized as an internal or external command,
>
> operable program or batch file.
>
>
>
>
>
> Gem files will remain installed in
> C:/Ruby/lib/ruby/gems/1.8/gems/RedCloth-4.2.2
>
> for inspection.
>
> Results logged to
> C:/Ruby/lib/ruby/gems/1.8/gems/RedCloth-4.2.2/ext/redcloth_sca
>
> n/gem_make.out
>
>
>
>
>
> I tried with Cygwin, but I think I messed up the Cygwin install or
> setup, since
>
>
>
> $ gem install RedCloth
>
> Gives:
>
> C:\Ruby\bin\ruby.exe: No such file or directory --
> /cygdrive/c/Ruby/bin/gem
>
>
>
>
>
>
>
> I issued gem install RedCloth on Linux and it worked. I copied the
> files, but I can?t use them on windows. Since NetBeans IDE gives Missing
> these required gems: RedCloth
>
>
>
>
>
> Other gems work. Only RedCloth does not.
>
>
>
> Any idea what to do?
>
>
>
> Thanks a lot,
>
>
>
> Peter
>
> c
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Redcloth-upwards mailing list
> Redcloth-upwards at rubyforge.org
> http://rubyforge.org/mailman/listinfo/redcloth-upwards
From lists at ruby-forum.com Thu Feb 25 08:00:25 2010
From: lists at ruby-forum.com (Claus Folke Brobak)
Date: Thu, 25 Feb 2010 14:00:25 +0100
Subject: RedCloth, JRuby and national characters
Message-ID: <509710a18d5ae52efd21741542d5c89f@ruby-forum.com>
Am I doing something wrong or have I hit a bug in the JRuby version of
RedCloth?
RedCloth version 4.2.2
Program:
require 'rubygems'
require 'redcloth'
str = 'bl?b?rgr?d'
puts 'String : ' + str
puts 'HTML : ' + RedCloth.new(str).to_html()
In "ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]" the output is
String : bl?b?rgr?d
HTML : bl?b?rgr?d
In "jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java
HotSpot(TM) Client VM 1.6.0_17) [x86-java]" the output is
String : bl?b?rgr?d
HTML : bl
As you can see, when running i JRuby, parsing of the string seems to
have stopped, when the first Danish national character, "?", was met.
Claus
--
Posted via http://www.ruby-forum.com/.
From lists at ruby-forum.com Fri Feb 26 01:03:10 2010
From: lists at ruby-forum.com (Claus Folke Brobak)
Date: Fri, 26 Feb 2010 07:03:10 +0100
Subject: RedCloth, JRuby and national characters
In-Reply-To: <509710a18d5ae52efd21741542d5c89f@ruby-forum.com>
References: <509710a18d5ae52efd21741542d5c89f@ruby-forum.com>
Message-ID: <95d39a7c7ee75910d5b210d91855c89d@ruby-forum.com>
Claus Folke Brobak wrote:
> Am I doing something wrong or have I hit a bug in the JRuby version of
> RedCloth?
>
> RedCloth version 4.2.2
>
I should add that I am on Windows XP.
Claus
--
Posted via http://www.ruby-forum.com/.