anatoly techtonik | 2 Jul 2010 12:19
Picon
Gravatar

Broken link to SVN repository browser

I thought you might be interested to know that the link to docutils
repository browser is broken on the  page
http://docutils.sourceforge.net/docs/dev/repository.html

http://svn.berlios.de/viewcvs/docutils/
should probably be replaced with
http://svn.berlios.de/viewvc/docutils/

Please CC if you want to say something to me.
--

-- 
anatoly t.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
anatoly techtonik | 2 Jul 2010 12:49
Picon
Gravatar

Fwd: Issue 457 in sphinx: wrong line number reported on error

Hello again.

If you used Sphinx to generate docs you could probably notice it
misses to report correct line with an error in reST source. Georg said
it is the problem with doctools, so I forwarded the issue here. Can
anybody confirm this?

Please CC. Thanks.
-- 
anatoly t.

---------- Forwarded message ----------
From:  <issues-noreply <at> bitbucket.org>
Date: Fri, Jul 2, 2010 at 12:57 PM
Subject: Issue 457 in sphinx: wrong line number reported on error
To: techtonik <at> gmail.com

--- you can reply above this line ---

Issue 457: wrong line number reported on error
http://bitbucket.org/birkenfeld/sphinx/issue/457/wrong-line-number-reported-on-error

Georg Brandl / birkenfeld on Fri, 2 Jul 2010 11:56:59 +0200:

Comment:
 This is nothing I can fix; Sphinx uses the line numbers provided by
docutils, and in this case, the line number points to the start of the
paragraph since docutils doesn't resolve it further.

Please inquire with the docutils project about improvements.
(Continue reading)

David Goodger | 2 Jul 2010 18:10
Favicon

Re: Broken link to SVN repository browser

On Fri, Jul 2, 2010 at 06:19, anatoly techtonik <techtonik <at> gmail.com> wrote:
> I thought you might be interested to know that the link to docutils
> repository browser is broken on the  page
> http://docutils.sourceforge.net/docs/dev/repository.html
>
> http://svn.berlios.de/viewcvs/docutils/
> should probably be replaced with
> http://svn.berlios.de/viewvc/docutils/

Fixed in r6349, thanks!

--

-- 
David Goodger <http://python.net/~goodger>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
Ben Finney | 9 Jul 2010 02:47
Picon

Unwanted extra blank line in HTML PRE element

Howdy all,

When I include a text file as a literal block, the input is parsed
correctly as shown by the pseudo-XML output. But the HTML writer inserts
an unwanted extra blank line, which affects the formatting since a PRE
element preserves blanks.

=====
$ incfile=$(mktemp -t)
$ printf "foo\nbar\n" > $incfile

$ rstfile=$(mktemp -t)
$ printf "..  include:: $incfile\n    :literal:\n\nNormal\n" > $rstfile

$ rst2pseudoxml < $rstfile
<document source="<stdin>">
    <literal_block source="/tmp/tmp.6sT8XqY6oP" xml:space="preserve">
        foo
        bar
    <paragraph>
        Normal
$ rst2html < $rstfile | tail -n 20
  font-size: 100% }

ul.auto-toc {
  list-style-type: none }

</style>
</head>
<body>
(Continue reading)

James | 15 Jul 2010 00:39
Picon

subsections

  I'm trying to make a subsection but 1.1 looks like a title when I 
generate HTML.

big title
=========

bigger Section 1
----------------

big Section 1.1
^^^^^^^^^^^^^^^^

I want:

big title
=========

smaller Section 1
-----------------

smallest Section 1.1
^^^^^^^^^^^^^^^^^^^^

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
David Goodger | 15 Jul 2010 00:50
Favicon

Re: subsections

On Wed, Jul 14, 2010 at 18:39, James <bjlockie <at> lockie.ca> wrote:
>  I'm trying to make a subsection but 1.1 looks like a title when I
> generate HTML.

Does this answer your question?
http://docutils.sourceforge.net/FAQ.html#unexpected-results-from-tools-rst2html-py-h1-h1-instead-of-h1-h2-why
If not, please re-state the question.

--

-- 
David Goodger <http://python.net/~goodger>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Docutils-users mailing list
Docutils-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
KLEIN Stéphane | 16 Jul 2010 20:46
Gravatar

I put a title after a container directive, I've this error : "test.txt:10: (SEVERE/4) Unexpected section title". Why ?

Hi, I've this ReST document :

"""

A paragraph

Another paragraph

----

.. container:: translation

     A title
     =======

     Para

     A sub title
     -----------

     Para

     Another sub title
     -----------------

     Para

----

Para
(Continue reading)

David Goodger | 16 Jul 2010 21:40
Favicon

Re: I put a title after a container directive, I've this error : "test.txt:10: (SEVERE/4) Unexpected section title". Why ?

You can't put section structure inside a directive (or inside anything
else). Section titles & transitions cannot be indented.

-- David Goodger

On Fri, Jul 16, 2010 at 14:46, KLEIN Stéphane <stephane <at> harobed.org> wrote:
> Hi, I've this ReST document :
>
> """
>
> A paragraph
>
> Another paragraph
>
> ----
>
> .. container:: translation
>
>     A title
>     =======
>
>     Para
>
>     A sub title
>     -----------
>
>     Para
>
>     Another sub title
>     -----------------
(Continue reading)

KLEIN Stéphane | 16 Jul 2010 22:25
Gravatar

Re: I put a title after a container directive, I've this error : "test.txt:10: (SEVERE/4) Unexpected section title". Why ?

Le 16/07/2010 21:40, David Goodger a écrit :
> You can't put section structure inside a directive (or inside anything
> else). Section titles&  transitions cannot be indented.

Ok, thanks for your answer.

Well, how can I do generate this document with ReST :

"""
<p>foobar</p>

<div class="translation">
    <h1>my title</h1>

    <p>foobar</p>
</div>

<p>foobar</p>
"""

Thanks for your help.

Regards,
Stephane
--

-- 
Stéphane Klein <stephane <at> harobed.org>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com

(Continue reading)

David Goodger | 16 Jul 2010 22:29
Favicon

Re: I put a title after a container directive, I've this error : "test.txt:10: (SEVERE/4) Unexpected section title". Why ?

On Fri, Jul 16, 2010 at 16:25, KLEIN Stéphane <stephane <at> harobed.org> wrote:
> Well, how can I do generate this document with ReST :
>
> """
> <p>foobar</p>
>
> <div class="translation">
>    <h1>my title</h1>
>
>    <p>foobar</p>
> </div>
>
> <p>foobar</p>
> """

"""
.. class:: translation

My Title
========

foobar
"""

Modulo, of course:
http://docutils.sourceforge.net/FAQ.html#unexpected-results-from-tools-rst2html-py-h1-h1-instead-of-h1-h2-why

--

-- 
David Goodger <http://python.net/~goodger>

(Continue reading)


Gmane