:-D Sorry, I forgot two things:
- mentioned that .. highlight:: python3 helped for the example I stated before. - translation with codes: http://python.gymdom.cz/dokumentace/errors.html Pavel Pavel Kosina napsal(a): > Georg Brandl napsal(a): >> You are quite right, I overlooked the "end=' '". >> >> Sphinx' default behavior is to parse Python snippets to determine if they're >> valid Python. If they aren't, they are not highlighted. This is done since >> code blocks are by default highlighted; and the parsing usually serves well >> determining if a snippet is really Python. >> >> Of course, this makes not much sense with Python 3 code highlighted by a >> Python 2-run Sphinx. If you use Pygments >= 0.10, you can set >> >> .. highlight:: python3 >> >> to use the Python 3 lexer and not parse code before highlighting. >> > > It seems to doesn't work either. > Look at this http://docs.python.org/dev/3.0/tutorial/errors.html - > first code is highlighted. > And this, translation - the first code is not highlighted, even if > there is .. highlight:: python3, what is in English original missing.... > > > ...we have: ./Pygments-0.11-py2.5.egg on Linux and 0.10 on Windows and > nothing works. > > Thank you for your help. > Pavel > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---