I don't know that this is something we have - integrate just goes
through Maxima (or Sympy or whatever if you choose a different
algorithm). Pynac doesn't support integrate methods. I suppose if
one were sufficiently clever one could do this (_integrate_), but that
shouldn't hold up #3401, which should be much easier now that #11143
is ready to go in - that is, if Volker or someone can verify which
patches should actually be applied there ;-)
Also, how would the integral of Li be different from the integral of
li - by a linear term, presumably? If we send it to Maxima
appropriately, this would probably solve the issue (not because Maxima
has both Li and li, but because we could perhaps get around that).
Why don't you put up your code at #3401 and we'll see if there is a
way to massage this into shape!