-----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 <dwarnol...@suddenlink.net
> <mailto:dwarnol...@suddenlink.net>> 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 philosophy is to insert the index in front
>     of the paragraph containing the word you want to appear in the index.
>     For example,
> 
> 
>     .. index:: good men
> 
>     Now is the time for all good men to come to the aid of their
>     countrymen. Now is the time for all good men to come to the aid of
>     their countrymen. Now is the time for all good men to come to the aid
>     of their countrymen. Now is the time for all good men to come to the
>     aid of their countrymen. Now is the time for all good men to come to
>     the aid of their countrymen. Now is the time for all good men to come
>     to the aid of their countrymen. Now is the time for all good men to
>     come to the aid of their countrymen. Now is the time for all good men
>     to come to the aid of their countrymen.
> 
>     Do I have this idea right?
> 
>     David
> 
> 
> For the moment I think this is the right way to do it, but I recall seeing a
> ticket for adding an index role (as opposed to a directive), which I presume
> (guessing) would allow you to do something like:
> 
>     This :index:`term` is in the index.
> 
> I don't think this has been implemented yet, though.

Correct on both counts :)

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAkxsWu8ACgkQN9GcIYhpnLCbmQCgkycRELzQhMVBFiz9gKBXDqXm
f1kAoISSomaPg2JoDn5ba6yTMDQteYbq
=/fq9
-----END PGP SIGNATURE-----

-- 
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 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