Hi, I have problems with structured text. I try to create hyperlinks within the document like so: .. [12] "some" text" to this link I refer like so: text [12] more text For both [12] a ../name#12 link is created. thanks for your tips Robert
The offical STXNG documentation (http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNGRules) does not mention inner links. But you can re-enable inner links by modifying the list "text_types" in DocumentClass.py (line 370) and add "doc_inner_link" and "doc_named_link". Andreas --------------------------------------------------------------------- - Andreas Jung Zope Corporation - - EMail: andreas@zope.com http://www.zope.com - - "Python Powered" http://www.python.org - - "Makers of Zope" http://www.zope.org - - "Endings are just Beginnings" - --------------------------------------------------------------------- ----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: <zope@zope.org> Sent: Wednesday, October 24, 2001 10:40 Subject: [Zope] structures.txt
Hi,
I have problems with structured text. I try to create hyperlinks within the document like so:
.. [12] "some" text"
to this link I refer like so:
text [12] more text
For both [12] a ../name#12 link is created.
thanks for your tips Robert
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
The only reason why the handling of inner links has been removed for STXNG is because of some interactions with Wikis (according to Jim Fulton). I am not sure if it still the case. If this is a neccessary feature we can consider to re-enable it for future releases. Andreas ----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: <zope@zope.org> Sent: Wednesday, October 24, 2001 10:40 Subject: [Zope] structures.txt
Hi,
I have problems with structured text. I try to create hyperlinks within the document like so:
.. [12] "some" text"
to this link I refer like so:
text [12] more text
For both [12] a ../name#12 link is created.
thanks for your tips Robert
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Andreas, I think it is an important feature. When you have a lengthy page, you want to organize it in a way that you have a list of topics at the beginning, which are such inner links. Each topic starts with a "top" witch is a link back to the top. Robert ----- Original Message ----- From: "Andreas Jung" <andreas@zope.com> To: "Robert Rottermann" <robert@redcor.ch>; <zope@zope.org> Sent: Wednesday, October 24, 2001 9:33 PM Subject: Re: [Zope] structures.txt
The only reason why the handling of inner links has been removed for STXNG is because of some interactions with Wikis (according to Jim Fulton). I am not sure if it still the case. If this is a neccessary feature we can consider to re-enable it for future releases.
Andreas
----- Original Message ----- From: "Robert Rottermann" <robert@redcor.ch> To: <zope@zope.org> Sent: Wednesday, October 24, 2001 10:40 Subject: [Zope] structures.txt
Hi,
I have problems with structured text. I try to create hyperlinks within the document like so:
.. [12] "some" text"
to this link I refer like so:
text [12] more text
For both [12] a ../name#12 link is created.
thanks for your tips Robert
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Andreas Jung -
Robert Rottermann