Re: [xwiki-users] Issues with 2.0 syntax code macro (colibri, XWE 2.1.1)

2010-02-10 Thread Thomas Mortagne
On Tue, Feb 9, 2010 at 18:24, Rieken, Joshua joshua_rie...@reyrey.com wrote:
 Hello all,

 I'm using the code macro as follows:

 This statement, {{code language=c++}}int number = 0;{{/code}}, is some 
 example C++ code illustrating inline use of the code macro.

 There are a couple of issues:

 1.) This sentence renders with an extra newline after the code macro. 
 However, when language=none or no language attribute is used, no newline is 
 inserted. Is this a bug and, if not, is there any way around it?

Could you report it on http://jira.xwiki.org ? But i'm afraid that's a
Pygments bug (we could still do something about that).


 2.) The code macro when using language=c++ does not use a monospace font in 
 some places, and this causes problems with alignment.

Could you report it on http://jira.xwiki.org (a different issue) ? I
guess one of the style generated by Pygments for some keywords
overwrite the general .code CSS class configuration some way.


 Any help is greatly appreciated. Don't worry, I do plan to contribute back to 
 this wonderful project once I clear my plate a bit. :-)

 Thanks,
 Joshua

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issues with 2.0 syntax code macro (colibri, XWE 2.1.1)

2010-02-10 Thread Rieken, Joshua
Thanks for the reply, Thomas. I've created 3 issues for this:

http://jira.xwiki.org/jira/browse/XWIKI-4878
http://jira.xwiki.org/jira/browse/XWIKI-4879
http://jira.xwiki.org/jira/browse/XWIKI-4880

-Joshua


 -Original Message-
 From: users-boun...@xwiki.org
 [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
 Sent: Wednesday, February 10, 2010 2:42 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Issues with 2.0 syntax code macro
 (colibri, XWE 2.1.1)

 On Tue, Feb 9, 2010 at 18:24, Rieken, Joshua
 joshua_rie...@reyrey.com wrote:
  Hello all,
 
  I'm using the code macro as follows:
 
  This statement, {{code language=c++}}int number =
 0;{{/code}}, is some example C++ code illustrating inline use
 of the code macro.
 
  There are a couple of issues:
 
  1.) This sentence renders with an extra newline after the
 code macro. However, when language=none or no language
 attribute is used, no newline is inserted. Is this a bug and,
 if not, is there any way around it?

 Could you report it on http://jira.xwiki.org ? But i'm afraid
 that's a Pygments bug (we could still do something about that).

 
  2.) The code macro when using language=c++ does not use a
 monospace font in some places, and this causes problems with
 alignment.

 Could you report it on http://jira.xwiki.org (a different
 issue) ? I guess one of the style generated by Pygments for
 some keywords overwrite the general .code CSS class
 configuration some way.

 
  Any help is greatly appreciated. Don't worry, I do plan to
 contribute
  back to this wonderful project once I clear my plate a bit. :-)
 
  Thanks,
  Joshua
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 



 --
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users