m h | 6 Jun 2011 14:57
Picon

odtwriter putting code under a tip...

Hello-

I'm trying to insert code under the .. tip:: construct like so:

.. tip::

  Here's some code to show it::

    >>> foo = "test"

With the odtwriter, the embedded code is not indented relative to the
tip section but to the page. Any ideas on how to fix, or should I file
a bug?

cheers,
-matt

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
Dave Kuhlman | 28 Jun 2011 05:39

Re: odtwriter putting code under a tip...

> From: m h

> Sent: Mon, June 6, 2011 5:57:04 AM
> 
> 
> Hello-
> 
> I'm trying to insert code under the .. tip:: construct like  so:
> 
> .. tip::
> 
>   Here's some code to show it::
> 
>      >>> foo = "test"
> 
> With the odtwriter, the embedded code is  not indented relative to the
> tip section but to the page. Any ideas on how to  fix, or should I file
> a  bug?
> 

Matt -

Thanks for letting me know.  I believe I've fixed it.  I checked the
code into the SVN repository last night.  Please let me know
if it works the way you'd expect.

- Dave

 -- 

(Continue reading)


Gmane