On Tue, Aug 28, 2012 at 7:03 AM,  <sphinx-dev@googlegroups.com> wrote:
>   Today's Topic Summary
>
> Group: http://groups.google.com/group/sphinx-dev/topics
>
> Align figure center and bottom? [2 Updates]
> Figure caption? [1 Update]
> Feature request :nowrap:/:pre-wrap: code-block directive options [2 Updates]
> Underline inline markup? [2 Updates]
> Symbols like "local accents or tildes" [1 Update]
> Problems with get-start in Sphinx. [1 Update]
> Github and Sphinx 2012 [1 Update]
>
>  Align figure center and bottom?
>
> Guenter Milde <mi...@users.sf.net> Aug 27 01:40PM
>
> On 2012-08-27, Boris Kheyfets wrote:
>
>> /home/boris/pst/wordy/edu/HighestProgramming/00_-_intro.rst:484: ERROR:
>> Error in "image" directive: "bottom" is not a valid value for the "align"
>> option. Valid values for "align" are: "left", "center", "right".
>
> You still use block-level images.
>
>>> which means you need to define your images as inline,
>
> *outside of the table*, via a substitution definition
> http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#substitution-definitions
> e.g.
>
>>> |left-image| |right-image|
>
>>> left caption right caption
>>> =================== ================
>
> (this is a simple table syntax, the | are not table lines but
> mark substitutions).
>
> Günter
>
>
>
> Boris Kheyfets <kheyfbo...@gmail.com> Aug 28 02:19AM -0700
>
> Doesn't work:
>
> .. |left-image| image:: _static/SuperCompArch.jpg
> :width: 80%
> :alt: Supercomputer archeticture
> :align: bottom
>
> .. |right-image| image:: _static/ClustArch.jpg
> :width: 80%
> :alt: Cluster archeticture
> :align: bottom
>
> ============ =============
> |left-image| |right-image|
>
> left caption right caption
> ============ =============
>
> screenshot <http://farm9.staticflickr.com/8434/7879097568_94e652749f_s.jpg>
>
>
> Boris.
>
> On Monday, August 27, 2012 5:40:43 PM UTC+4, Guenter Milde wrote:
>
>
>
>  Figure caption?
>
> Boris Kheyfets <kheyfbo...@gmail.com> Aug 28 02:08AM -0700
>
> Oh I found it:
>
> See :ref:`link title <figure>`.
>
> .. _figure:
>
> .. figure:: _static/UnixFileSystem.jpg
> :width: 50%
> :alt: Unix file system
> :align: center
> :name: test name
>
> Figure caption
>
>
>
> On Monday, August 20, 2012 3:18:52 PM UTC+4, Boris Kheyfets wrote:
>
>
>
>  Feature request :nowrap:/:pre-wrap: code-block directive options
>
> Guenter Milde <mi...@users.sf.net> Aug 27 01:31PM
>
> On 2012-08-27, Boris Kheyfets wrote:
>
>
>> Do You think I can currently emulate this option -- that is to have pre
>> wrapped at one parts of rst file, and no-wraped in other parts? (while
>> both
>> in code-block)
>
> You can always add a class argument, either via::
>
> .. code:: <language>
> :class: wrapped
>
> code that wraps in language <language>
>
> The "class" directive option can also be given to the "include" directive
> (e.g. for included cvs files)::
>
> .. include myfile.cvs
> :code: text
> :class: nowrap
>
> A literal block, can be preceded with a "class" directive::
>
> Now some literal block:
>
> .. class:: wrapped
>
> ::
>
> literal block with the "wrapped" class
>
> See http://docutils.sourceforge.net/docs/ref/rst/directives.html especially
> http://docutils.sourceforge.net/docs/ref/rst/directives.html#class
> for details.
>
> I'd style the default to use the more often required wrapping mode and
> use either "wrap" or "nowrap" class argument (with another rule in the
> custom CSS sheet) for the exceptions.
>
> Günter
>
>
>
> Boris Kheyfets <kheyfbo...@gmail.com> Aug 28 02:00AM -0700
>
> Doesn't work:
>
> rst file:
>
> .. code:: python
> :class: nowrap
>
> for i in range(5): test test test test test test test test test test
> test test test test
>
> css file:
> I tried:
>
> pre.nowrap {
> white-space: nowrap;
> }
>
> div.nowrap {
> white-space: nowrap;
> }
>
> span.nowrap {
> white-space: nowrap;
> }
>
> none wraps the code.
>
> On Monday, August 27, 2012 5:31:40 PM UTC+4, Guenter Milde wrote:
>
>
>
>  Underline inline markup?
>
> Guenter Milde <mi...@users.sf.net> Aug 27 01:34PM
>
> On 2012-08-27, Boris Kheyfets wrote:
>
>
>> .. role:: underlined(raw)
>> :format: html
>> :style: text-decoration: underline;
>
> This creates a role based on the raw role, i.e. it expects the content to be
> raw html.
>
> Instead, write
>
> .. role:: underlined
>
> and a CSS rule to style ``span.underlined`` in a custom style sheet.
>
>
> Suggestions/patches improving
>>>
>>> http://docutils.sourceforge.net/docs/ref/rst/directives.html#custom-interpreted-text-roles
> to make this more clear are welcome.
>
> Günter
>
>
>
> Boris Kheyfets <kheyfbo...@gmail.com> Aug 28 01:48AM -0700
>
> It works!
>
> I've added
>
> span.underlined {
> text-decoration: underline;
> }
>
> to default.css
>
> and
>
> .. role:: underlined
>
> :underlined:`test underlined`
>
> to the test.rst and it is underlined!
>
> Thank You!
>
>
> On Monday, August 27, 2012 5:34:51 PM UTC+4, Guenter Milde wrote:
>
>
>
>  Symbols like "local accents or tildes"
>
> e-friend-partner <fca...@gmail.com> Aug 27 03:34PM -0700
>
> Hello community!
> Now I have one litle problem :
>
> 1. Install Sphinx 1.1.3 on a Windows-7 Professional and generate the doc
> with
> test sources in Python, but my source codes have characters that the browser
> shows me the wrong (eg accents, like "Programación" dont show "ó"... ). As I
> can achieve that respects the original character of the source code...?
>
> Any idea what is wrong with it ??
>
> Regards,
>
> e-friend-partner
>
>
>
>  Problems with get-start in Sphinx.
>
> e-friend_partner <fca...@gmail.com> Aug 27 05:19PM -0500
>
> Thanks Tawez, and it worked fine.
>
>
> I tell them what I did: It was actually simpler than I thought: I was
> playing the command "easy_install-U Sphinx" was necessary to run under
> the Python
> promp !!t!. It was just run it from the Windows console (cmd) and go!
>
> Regards
> e-friend-partner.
>
>
> 2012/8/25 Tawez <tawe...@gmail.com>
>
>
> --
> Saludos,
>
> Fabio Celis A.
>
>
>
>  Github and Sphinx 2012
>
> Adam Hughes <hughesada...@gmail.com> Aug 27 12:56PM -0400
>
> Thanks man, I'll try it out.
>
>
>
>
> You received this message because you are subscribed to the Google Group
> sphinx-dev.
> You can post via email.
> To unsubscribe from this group, send an empty message.
> For more options, visit this group.
>
> --
> 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
> sphinx-dev+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sphinx-dev?hl=en.

-- 
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 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to