Vincent Driessen | 10 Aug 15:57 2010
Picon

Building an RPM from the distutils-0.6 source fails

When I use setup.py bdist_rpm straight from the docutils-0.6.tar.gz source, it
fails with the following message:

$ python setup.py bdist_rpm
...
running build_data
creating build/lib/docutils/parsers/rst/include
error: can't copy 'docutils/writers/html4css1/html4css1.css':
     doesn't exist or not a regular file
error: Bad exit status from
    /home/nvie/rpms/docutils-0.6/build/bdist.linux-x86_64/rpm/
    tmp/rpm-tmp.63855 (%build)
error: command 'rpmbuild' failed with exit status 1

I think not all build_data files are set up correctly. Anybody got a clue how
to fix this? Or a patch maybe?

Many thanks in advance!

Cheers,
Vincent

PS: I've also filed a bug report for this here: https://sourceforge.net/tracker/?
func=detail&aid=3042536&group_id=38414&atid=422030

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
(Continue reading)

Vincent Driessen | 11 Aug 12:59 2010
Picon

Re: Building an RPM from the distutils-0.6 source fails

This has been fixed in 0.7.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Alan G Isaac | 18 Aug 22:14 2010
Picon

rst2odt

1. The instructions at http://www.rexx.com/~dkuhlman/odtwriter.html refer to a
	--stylesheet-path
option, which does not seem to exist.  (But stylesheet works.)

2. Definition lists put an odd marker before the defintion
(I think it is a circle, but Writer displays it poorly).
Can this be eliminated? (Doesn't odt define a definition list?)

3. Footnote marks have add a leading space.

O/w, pretty damn nifty!

Alan Isaac

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Alan G Isaac | 19 Aug 00:07 2010
Picon

Re: rst2odt

On 8/18/2010 4:14 PM, Alan G Isaac wrote:
> 2. Definition lists put an odd marker before the definition
> (I think it is a circle, but Writer displays it poorly).
> Can this be eliminated? (Doesn't odt define a definition list?)

Please ignore this comment.
The rendering issue is real,
but I requested the marker ...

Alan Isaac

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Alan G Isaac | 19 Aug 05:11 2010
Picon

--strip-class=docutils

According to the documentation:

         --strip-class=<class>
             Remove all classes="<class>” attributes from elements in the
             document tree. Warning: potentially dangerous; use with caution.
             (Multiple-use option.)

This works for any classes I add, but does not work for the docutils class.
Bug or feature?

Thanks,
Alan Isaac

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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.
David Goodger | 19 Aug 05:50 2010

Re: --strip-class=docutils

On Wed, Aug 18, 2010 at 23:11, Alan G Isaac <aisaac <at> american.edu> wrote:
> According to the documentation:
>
>         --strip-class=<class>
>             Remove all classes="<class>” attributes from elements in the
>             document tree. Warning: potentially dangerous; use with caution.
>             (Multiple-use option.)
>
> This works for any classes I add, but does not work for the docutils class.
> Bug or feature?

Neither.
The filter only applies to parser-, reader-, and user-supplied classes.
The "docutils" class is added by the writer after the filtering takes place.

--

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
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.
(Continue reading)

Alan G Isaac | 19 Aug 05:54 2010
Picon

rst2html: endnotes?

Do I recall that an endnotes directive was in the works?
Is it available?

Alan Isaac

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
David Goodger | 19 Aug 06:10 2010

Re: rst2html: endnotes?

On Wed, Aug 18, 2010 at 23:54, Alan G Isaac <alan.isaac <at> gmail.com> wrote:
> Do I recall that an endnotes directive was in the works?
> Is it available?

It may be on the to-do list (don't know), but if it's not listed at
http://docutils.sourceforge.net/docs/ref/rst/directives.html, it's not
available. There's a "footnotes" directive listed as not implemented
yet (and it still isn't).

--

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
Dave Kuhlman | 19 Aug 05:43 2010
Picon

Re: rst2odt

> From: Alan G Isaac

> Sent: Wed, August 18, 2010 1:14:37 PM
> 

Alan -

> 
> 1. The instructions at http://www.rexx.com/~dkuhlman/odtwriter.html refer to a
>     --stylesheet-path
> option, which does not seem to exist.  (But stylesheet works.)

Thanks for letting me know about this.  I forgot that I had
documentation at my own Web site.  It was out-of-date.  I've
updated it and have made sure that I'll keep it up-to-date.

> 
> 2. Definition lists put an odd marker before the defintion
> (I think it is a circle, but Writer displays it poorly).
> Can this be eliminated? (Doesn't odt define a definition list?)

As you mentioned in your follow-up email, I'll ignore this.

> 
> 3. Footnote marks have add a leading space.

I'll try to look into this one tomorrow.

> 
> O/w, pretty damn nifty!
(Continue reading)

Alan G Isaac | 19 Aug 14:08 2010
Picon

Re: --strip-class=docutils

>>>  On 8/18/2010 11:50 PM, David Goodger wrote:
>>>>>  The filter only applies to parser-, reader-, and user-supplied classes.
>>>>>  The "docutils" class is added by the writer after the filtering takes
>>>>>  place.

>> On Wed, Aug 18, 2010 at 23:55, Alan G Isaac<aisaac <at> american.edu>  wrote:
>>>  In some circumstances (like supplying an HTML document to a journal)
>>>  it would be nice to suppress the docutils class.
>>>  Is there an easy way?

On 8/19/2010 12:15 AM, David Goodger wrote:
> No, it would take a lot of work. Easier to post-process the HTML yourself.

OK, thanks.
Alan

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

Gmane