[sphinx-dev] inline code highlighting?

2011-10-27 Thread Tim Arnold
Hi, I'm learning sphinx now--great stuff! I'm using the code-block highlighting a lot--flipping between 'html', 'latex', and 'python' languages. For example, .. code-block:: latex Is there any directive for highlighting *inline *code? For now I'm just using markup like ``\section{my section

Re: [sphinx-dev] Re: parsed-literal problems

2011-10-27 Thread Andrea Crotti
On 10/27/2011 01:54 PM, Andrea Crotti wrote: It was quite simple, this is a simple failing example: .. parsed-literal:: class SampleCommand(AbstractCommand): def do(self): # var Uhm I thought that with code-block or at least "highlight" I could get some results but

Re: [sphinx-dev] Re: parsed-literal problems

2011-10-27 Thread Andrea Crotti
On 10/26/2011 04:57 PM, Guenter Milde wrote: What does the output look like? Is there an error message? Does a blank line between the directive start line and the content block help? Try to create a minimal working example: copy the "failing" block to a new document. Remove stepwise content and

Re: [sphinx-dev] Help for translation

2011-10-27 Thread werner
Wouldn't the gettext based translation in Sphinx 1.1 work for this? http://sphinx.pocoo.org/intl.html Never used it but I would think that is its purpose, no? Werner -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send em

Re: [sphinx-dev] Help for translation

2011-10-27 Thread bobo
Thank you ! Jan Ulrich Hasecke . For your so long and so helpful reply. -原始邮件- From: Jan Ulrich Hasecke Sent: Thursday, October 27, 2011 3:00 PM To: sphinx-dev@googlegroups.com Subject: Re: [sphinx-dev] Help for translation -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bobo, tra

Re: [sphinx-dev] Help for translation

2011-10-27 Thread Jan Ulrich Hasecke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Bobo, translating the official documentation from python.org is a great idea! Cool! But I am not sure whether your approach, if I understand it correctly, is the best way to do it. You want to copy the original documentation and make a line by li