Hello folks,
I'm using Sphinx + Pygments + pdflatex on Windows. I see one issue in the
generated PDF around code blocks. Consider the following example::
A code snippet::
Hello world!
Another ``C`` snippet::
int main(int argc, char *argv)
{
return 0;
}
Yet another snip ``abcdefghijklmnopqrstuvwxyz``::
int main(int argc, char *argv)
{
return 0;
}
Blahblah blah.
Yet another snip ``ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz``::
int main(int argc, char *argv)
{
return 0;
}
In PDF, the code snippets have a box around them, like so:
+--------------------------------------------------+
| |
| int main(int argc, char *argv[]) |
| { |
| return 0; |
| } |
| |
+--------------------------------------------------+
But in some cases, the top-line is either completely missing or is much
thinner than expected
| |
| int main(int argc, char *argv[]) |
| { |
| return 0; |
| } |
| |
+--------------------------------------------------+
I have also attached a snapshot (of the document in a PDF viewer) - could
explain the issue better. As you can see, the top-line in the second and
the last snippets is very thin. In this simple example, I couldn't
reproduce the case where the line is completely missing.
I have searched this forum, couldn't find anything useful to debug the
problem better.
Any help would be appreciated.
Regards,
Karthick
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.