TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my java code, I have extensively used the variables and methods from the BigInteger library. In LaTeX, in order to display my code neatly, I have used listings package. So between the \begin{lstlisting} and \end{lstlisting} I paste the aforementioned java code. But I am not able to compile it in TexStudio because anywhere I've used the methods from the BigInteger library, i get an error.

However, if I have a java code that doesn't use the BigInteger library, it gets compiled properly in TexStudio without any errors.

I have TexStudio for creating my LaTeX documents. Is there anyway to circumvent this issue?


migration rejected from stackoverflow.com Mar 2 '14 at 16:48

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as unclear what you're asking by Jubobs, Martin Schröder, Jesse, T. Verron, Sean Allred Mar 2 '14 at 16:48

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. Can you also add a small example of code that gives the error? – egreg Oct 18 '12 at 10:56