Neal Becker schrieb:
> I am using mod_wsgi.  I restarted apache.  Don't know about 'touch 
> deployment script'.  Do I need to do something?
> 

no that's enought instead of restarting the apache process you could
also touch your moin.wsgi.

> R.Bauer wrote:
> 
>> Neal Becker schrieb:
>>> I'm using moin 1.8.5.  I have pygments-1.1.1.
>>>
>>> I tried copying moin-parser.py to mywiki/data/plugin/parser/code.py.

If I look for the highlighting parser I find
http://moinmo.in/ParserMarket/highlight

Where is yours from?

>>> I edited that file to set INLINESTYLES = True.  No other changes.
>> Do you have restarted the server process. Or if you run mod_wsgi do you
>> have touched your deployment script?
>>
>>
>>> I made a test page:
>>>
>>> Describe FrontEndDecimation here.
>>> {{{#!code python
>>> for i in range (10):
>>>   print 'hello'
>>> }}}
>>>
>>> No highlighting.  No error messages I could find.  (How could I debug
>>> this?)
>>>
>>> If I change this to:
>>> {{{#!python
>>> ...
>>>
>>> I get highlighting.  That's nice, but I want highlighting of my
>>> attachments, which I think means I need to use the code.py plugin.

hmm, no a python script should also hightlight on default if you view it
in the attachment dialog or if you use transclusion syntax
e.g. http://moinmo.in/WikiSandBox#old_1.8_code

{{attachment:my_python_script.py}}

does this work for you?

cheers
Reimar


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to