[sphinx-dev] pyparsing performance

2010-08-18 Thread Paul McGuire
Please post a link to the pyparsing wiki, I would be interested in seeing if there are some pyparsing optimizations that might help. (I downloaded the project source, but did not find any pyparsing code in it.) -- Paul -- You received this message because you are subscribed to the Google Group

[sphinx-dev] menuselection

2010-08-18 Thread David
All, The output of this command doesn't seem to be very good. Here is :menuselection:`File-->Save` D. -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this gro

Re: [sphinx-dev] Re: :download: versus :doc:

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.08.2010 00:20, schrieb David: > Kevin, > > That's the page I am currently reading, where nothing is said in > the :doc: description that it has to be a Sphinx document. Does that > mean something like filename.rst? Yes, just without the .rst.

[sphinx-dev] Re: :download: versus :doc:

2010-08-18 Thread David
Nope. But I get it now, as I got this to work: View :doc:`index`. Where index.rst is in the same directory as the calling file. D. On Aug 18, 3:14 pm, Kevin Horn wrote: > On Wed, Aug 18, 2010 at 5:09 PM, David wrote: > > All, > > > I'm not sure of the purpose of :doc:. I got this to work: >

[sphinx-dev] Re: :download: versus :doc:

2010-08-18 Thread David
Kevin, That's the page I am currently reading, where nothing is said in the :doc: description that it has to be a Sphinx document. Does that mean something like filename.rst? D. On Aug 18, 3:14 pm, Kevin Horn wrote: > On Wed, Aug 18, 2010 at 5:09 PM, David wrote: > > All, > > > I'm not sure of

[sphinx-dev] Re: Figure captions

2010-08-18 Thread David
It's curious that this ability does not exist, especially in light of the fact that it seems to exist for labeling equations. D. On Aug 18, 2:52 pm, Kevin Horn wrote: > The ability to have Sphinx auto-generate an index/list of figures or an > index/list of tables would be really nice.  I haven't

Re: [sphinx-dev] :download: versus :doc:

2010-08-18 Thread Kevin Horn
On Wed, Aug 18, 2010 at 5:09 PM, David wrote: > All, > > I'm not sure of the purpose of :doc:. I got this to work: > > You can download :download:`junk.m`. > > But this: > > You can view :doc:`junk.m`. > > Gave this warning when compile with "make html". > > /Users/darnold/Documents/temp/Sphinx/i

Re: [sphinx-dev] Re: :numbered:

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.08.2010 00:11, schrieb David: > Can an option be passed to "make html" ? You can just say "make clean html", which does a full rebuild. Georg -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkxsWyUACgkQN9GcIYhpnLDJ

Re: [sphinx-dev] :download: versus :doc:

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.08.2010 00:09, schrieb David: > All, > > I'm not sure of the purpose of :doc:. I got this to work: > > You can download :download:`junk.m`. > > But this: > > You can view :doc:`junk.m`. > > Gave this warning when compile with "make html". >

Re: [sphinx-dev] Indexing

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 19.08.2010 00:05, schrieb Kevin Horn: > On Wed, Aug 18, 2010 at 3:42 PM, David > wrote: > > Hi, > > Not sure about indexing. In Latex, I'm used to inserting and index > reference in the body of a para

[sphinx-dev] Re: Indexing

2010-08-18 Thread David
Yep, That's the way I'm used to doing it in Latex, though as long as the containing paragraph is not too long, the current way seems fine. D. On Aug 18, 3:05 pm, Kevin Horn wrote: > On Wed, Aug 18, 2010 at 3:42 PM, David wrote: > > Hi, > > > Not sure about indexing. In Latex, I'm used to inser

[sphinx-dev] Re: :numbered:

2010-08-18 Thread David
Can an option be passed to "make html" ? David On Aug 18, 3:04 pm, Georg Brandl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 18.08.2010 21:56, schrieb David: > > > > > > > All, > > > I have index.rst and intro.rst. In index.rst, I have: > > > .. toctree:: > >    :maxdepth: 2 >

[sphinx-dev] :download: versus :doc:

2010-08-18 Thread David
All, I'm not sure of the purpose of :doc:. I got this to work: You can download :download:`junk.m`. But this: You can view :doc:`junk.m`. Gave this warning when compile with "make html". /Users/darnold/Documents/temp/Sphinx/intro.rst:95: WARNING: unknown document: junk.m Bug? Or am I missing

Re: [sphinx-dev] Indexing

2010-08-18 Thread Kevin Horn
On Wed, Aug 18, 2010 at 3:42 PM, David wrote: > Hi, > > Not sure about indexing. In Latex, I'm used to inserting and index > reference in the body of a paragraph next to the word I am indexing > (maybe I should not have been doing it that way over the years), but > with Sphinx it seems that philo

Re: [sphinx-dev] :numbered:

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 18.08.2010 21:56, schrieb David: > All, > > I have index.rst and intro.rst. In index.rst, I have: > > > .. toctree:: > :maxdepth: 2 > > intro > > If I change this to: > > > .. toctree:: > :numbered: > > intro > > The

Re: [sphinx-dev] Re: .. function example in documentation doesn't work for me

2010-08-18 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, that is a general description, unfortunately using an existing directive. I've fixed that now online. Thanks, Georg Am 18.08.2010 20:38, schrieb David: > Ah, > > Maybe that is because it is not an example, but just a general > description of h

Re: [sphinx-dev] Figure captions

2010-08-18 Thread Kevin Horn
The ability to have Sphinx auto-generate an index/list of figures or an index/list of tables would be really nice. I haven't found a way to do it so far (though admittedly it's not high on my priority list). Kevin Horn On Wed, Aug 18, 2010 at 4:31 PM, David wrote: > All, > > Is there a way to

[sphinx-dev] Figure captions

2010-08-18 Thread David
All, Is there a way to label Figures with automatic numbering, as in Figure 1, Figure 2, Figure 3, etc.? So that if later I decide to insert another figure between Figure 2 and Figure 3, they will be automatically renumbered? David -- You received this message because you are subscribed to the

[sphinx-dev] Indexing

2010-08-18 Thread David
Hi, Not sure about indexing. In Latex, I'm used to inserting and index reference in the body of a paragraph next to the word I am indexing (maybe I should not have been doing it that way over the years), but with Sphinx it seems that philosophy is to insert the index in front of the paragraph cont

[sphinx-dev] :numbered:

2010-08-18 Thread David
All, I have index.rst and intro.rst. In index.rst, I have: .. toctree:: :maxdepth: 2 intro If I change this to: .. toctree:: :numbered: intro Then I get numbered sections and subsections. However, if I change this back to: .. toctree:: :maxdepth: 2

Re: [sphinx-dev] [SOLVED] Re: ReST Formatting Problem.

2010-08-18 Thread Kevin Horn
you might also be able to use "escaped spaces", ie '\ ' (backslash followed by a space), though I haven't tried it It's possible that docutils uses char 160 "under the covers" when it sees this in the markup, I'm not sure Kevin Horn On Wed, Aug 18, 2010 at 4:06 AM, sffjunkie wrote: > If anyone

[sphinx-dev] Re: .. function example in documentation doesn't work for me

2010-08-18 Thread David
Ah, Maybe that is because it is not an example, but just a general description of how to use a directive? D. On Aug 18, 11:35 am, David wrote: > All, > > On:http://sphinx.pocoo.org/latest/rest.html#images > > This example: > > .. function:: foo(x) >               foo(y, z) >    :bar: no > >  

[sphinx-dev] .. function example in documentation doesn't work for me

2010-08-18 Thread David
All, On: http://sphinx.pocoo.org/latest/rest.html#images This example: .. function:: foo(x) foo(y, z) :bar: no Return a line of text input from the user. Produces this warning and doesn't render on my Macbook Pro in Safari. /Users/darnold/Documents/temp/Sphinx/index.rst:7

Re: [sphinx-dev] Re: MathJax

2010-08-18 Thread Kevin Dunn
> I say keep it. It doesn't hurt and is helpful if people want to style > "math" generated stuff differently from other things. One of the > things that Sphinx 1.0 changed was adding the "type" of the node to > the HTML "class" attribute just so elements could be separately > styled. For example: >

Re: [sphinx-dev] Re: MathJax

2010-08-18 Thread TP
On Tue, Aug 17, 2010 at 2:25 PM, David wrote: > Kevin, > > I think developers might be following our posts. I updated (svn) > MathJax and easy_install -U Sphinx, started anew, and the green font > is now gone, both in Safari and Firefox. > > Your quote: > > "You are correct that the minimal settin

[sphinx-dev] [SOLVED] Re: ReST Formatting Problem.

2010-08-18 Thread sffjunkie
If anyone wants to know the answer is to use non-breakable spaces character code 160 On Aug 17, 10:52 am, sffjunkie wrote: > I'm not sure where else to ask but does anyone know how to include a > literal which ends in a space character? > > More specifically I want to add 2 literals '* ' (asteris