-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 21.02.2010 13:59, schrieb Kevin Dunn: > On Sat, Feb 20, 2010 at 20:14, Chris <[email protected]> wrote: >> >> My document contains some Java source code with annotations in the >> format: >> >> List<Apple> apples = (List<Apple>) tree.pickApples() >> >> After I run Sphinx, my final PDF renders this as: >> >> l...@textless[]apple@textgreater[] apples = >> (l...@textless[]apple@textgreater) tree.Apples() >> >> I found a post on this group from 2002 that said this could be >> addressed by adding one of the following to the Preamble: >> >> \usepackage{t1enc} >> or >> \usepackage[T1]{fontenc} >> >> But neither change made a difference. Any suggestions would be greatly >> appreciated.
This is a known incompatibility between Sphinx and Pygments >= 1.2. You'll need to merge in at least this changeset in your Sphinx repo http://bitbucket.org/birkenfeld/sphinx/changeset/22d6d6127e0a/ (and update Pygments to 1.2.2, if you've installed 1.2 or 1.2.1.) (Yes, I am sorry for these incompatibilities.) >> I'm using the latest version of tetex on Ubuntu and my version of >> Sphinx is from here: >> >> http://bitbucket.org/chrism/sphinx/ > > I had the same problem with the current (0.6.4) and earlier versions. > Upgrading to the 1.0 development version fixed it: > http://bitbucket.org/birkenfeld/sphinx/ Actually, 0.6.4 has fixed that bug, in conjunction with Pygments 1.2.2. (< 1.2 is fine too.) cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkuBPuYACgkQN9GcIYhpnLCq2gCgrCdD7JzU9prEpaJvZWkbhdrQ 3rMAn3arizQF32lzqE98qR4i+dTmFSrv =mJS/ -----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.
