-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 23.09.2011 09:31, schrieb Stefano David: > Hi, I started using sphinx around six months ago and find it easy to use > and powerful. I found, however, a problem when using :abbr:and I do not > know whether it is a bug or something I am missing. So, here's the point: > Whenever I write, say :abbr:`SSH (Secure SHell)`, no problem, it works > perfectly and creates a nice HTML tooltip. Problems start when e.g., the > terms between braces are split on two lines, i.e., > > :abbr:`SSH (Secure SHell)` > > In this case, indeed, no tooltip is generated, but the whole expression > (i.e., SSH (Secure SHell)) is printed as normal text, like I didn't use > :abbr: > > As I am using even rather long abbreviations, it is likely that expressions > are written on two lines, not generating the tooltip. I solved the problem > by putting all :abbr: in an external file and including it in the files, so > not a big problem, but wonder whether this is a bug or it is a problem with > my installation/package or whatever. > > I use sphinx 1.0.7 (but same happened with 0.6.6) on debian and ubuntu and > emacs 22, if this may help. The problem is reproducible even with two lines > of text in an otherwise empty index.rst file, while any other directive > works flawless, even e.g., :menuselection: which sometimes may become > pretty long and complex.
You're right, this was a bug in the regex I used. It's now fixed and will be released in 1.0.8 pretty soon. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk58RhUACgkQN9GcIYhpnLBmyQCgikUSC8OZBhdrBFVUTCgySCOc S/IAnA2NE3O7zUJb7XLexE6TpEb4ElVv =DZoV -----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 [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.
