Re: latex error

2008-11-09 Thread Yarko T
I installed cygwin, and ran make from that. For latex, I use MikTeX, and have good (great, broad) success using WinEdt to control MikTex There were some latex fixes in the trunk, so I would go to http://www.bitbucket.org/birkenfeld/sphinx/ and download an archive of the current trunk (or if you

Re: Implementation of a ToDo directive

2008-11-09 Thread Georg Brandl
[EMAIL PROTECTED] schrieb: Thanks for your quick help. I managed to make todos show up as 'Todo: content of todo'. It did not work by simply putting 'Todo' in the argument list. It showed up then as 'Note: Todo:'. I needed to create a new node type 'todoNode' and add appropriate visitors.

Re: Implementation of a ToDo directive

2008-11-09 Thread dbn
Thanks for the resolve_references() in environment.py hint. I followed that code and inserted my own references. Unfortunately the docutils/ writers/html4css1/__init__.py chokes on that. The assertion below fails: def visit_reference(self, node): atts = {'class': 'reference'}

Re: seealso

2008-11-09 Thread Georg Brandl
I don't think this fits with the intention of the seealso directive. It is meant as an admonition, like .. note:: or .. warning:: Georg Bruce Eckel schrieb: Pretty much just like any other level-2 header (that is, right below chapter level). On Sat, Nov 8, 2008 at 4:32 AM, Georg Brandl

Re: latex error

2008-11-09 Thread Georg Brandl
Roie Black (SKcon) schrieb: I have set up a virtualenv to test Sphinx and installed everything in that environment with easy_install. On my Windows box, the default Makefile does not work since the Windows mkdir fails. I installed mkdir.exe from UnxUtils and added a new MKDIR definition at

Re: seealso

2008-11-09 Thread Bruce Eckel
Not the way I've seen it used, for example, in the python docs it's used to tell people other resources to look at. On Sun, Nov 9, 2008 at 3:31 AM, Georg Brandl [EMAIL PROTECTED] wrote: I don't think this fits with the intention of the seealso directive. It is meant as an admonition, like ..

Re: seealso

2008-11-09 Thread Georg Brandl
That's right; however I don't see a problem with keeping it an admonition. If you want a See also entry to show up in the TOC, it's not much more work to insert a real heading :) cheers, Georg Bruce Eckel schrieb: Not the way I've seen it used, for example, in the python docs it's used to

Re: Implementation of a ToDo directive

2008-11-09 Thread dbn
Great! Thanks, Daniel On Nov 9, 6:40 pm, Georg Brandl [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] schrieb: Yes. That did the trick. I have cleaned up the code and have put a new version here: http://pastebin.com/f71ba7373 It works quite well. And I think it is nearly finished.

Re: autoprogram::?

2008-11-09 Thread Georg Brandl
sandro dentella schrieb: Hi, I started using with great pleasure automodule/autoclass. I have many scripts in my packege and I'd like to use the same mechanism with script. I'd like sphinx could get the docrting from the script. Is that possible? How would you like to use this

Re: Another apparent search anomaly

2008-11-09 Thread Roger Binns
Georg Brandl wrote: It finds one occurrence per file, and already finds one for comments in the primer file. Ah, so it is showing the first match per file. This is of course not the optimum. I should add some way to find text in headings first. Ideally the results should be in a quality

RE: Implementation of a ToDo directive

2008-11-09 Thread Yarko
Thanks for all your effort on this. I will put it to use immediately on our project. Yarko -Original Message- From: [EMAIL PROTECTED] Sent: Sunday, November 09, 2008 8:24 AM To: sphinx-dev sphinx-dev@googlegroups.com Subject: Re: Implementation of a ToDo directive Yes. That did the

Re: Implementation of a ToDo directive

2008-11-09 Thread Georg Brandl
Yarko schrieb: Thanks for all your effort on this. I will put it to use immediately on our project. Sphinx itself uses it too; see e.g. http://sphinx.pocoo.org/ext/coverage.html. Georg --~--~-~--~~~---~--~~ You received this message because you are

Re: Sphinx for general use

2008-11-09 Thread Sebastian Wiesner
Sunday 09 November 2008 20:32:58 Georg Brandl Hans Fangohr schrieb: Dear all, Alaric Haag schrieb: Hello, The Sphinx page bills it as a tool for documenting Python projects. I perceive it to be more of a document management tool that uses ReST. I've barely scratched the surface

Re: Multiple columns

2008-11-09 Thread Georg Brandl
Roger Binns schrieb: I am trying to figure out how to get two or more columns. For example see the Documentation section of http://sphinx.pocoo.org/index.html or the page at http://docs.python.org/dev/ Curiously neither of those have a Show source although other pages do. This is because

Re: Class members listed in sidebar

2008-11-09 Thread Roger Binns
In my generated doc, I detect the class:: and insert a new section that does show up, but I'd really like the members listed as well (in this case one, two, three). Somebody would have to write an extension for that. :) Before each method I can put in a section (ie underline with method