Hi,

When I try to `make latex`, I get the following error.

Exception occurred:
  File "C:\Python26\lib\site-packages\docutils\nodes.py", line 695, in
replace_self
    'Losing "%s" attribute: %s' % (att, self[att])
AssertionError: Losing "ids" attribute: ['index-120']

After a long series of tries, I nailed down the root of the issue as
being the sequence of .. index and .. only directive.

So the following does not work:

.. index::
   single: Menu Design; IMAGE

.. only:: html

   :UserHelp: `IMAGE/EN <../../../../user/en/html/usage/image/
image.html>`_

while the following does:

.. index::
   single: Menu Design; IMAGE

.. a line of comment to separate the 2

.. only:: html

   :UserHelp: `IMAGE/EN <../../../../user/en/html/usage/image/
image.html>`_

Knowing this, both latex and rst2pdf work fine now.

fgpy

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to