Java is a general-purpose, concurrent, class-based, object-oriented programming language.

learn more… | top users | synonyms

1
vote
0answers
130 views

Open source Word to LaTeX converter

I'm building a brand new product mobile and web for people collaborating on complex documents and thinking of using latex format for internal document representation. I'd like to use an open source ...
1
vote
0answers
55 views

eps2pgf error: Error: Unable to access jarfile eps2pgf.jar

I downloaded and unzipped the eps2pgf.zip package, I downloaded JDK 8, but when I try to run eps2pgf it gives the following error: Error: Unable to access jarfile eps2pgf.jar This is what I put in my ...
7
votes
3answers
888 views

Why does Java have Eclipse and NetBeans, but TeX cannot?

I faced these questions when I was searching for an intelligent Windows TeX editor: Is there any way to get real-time compilation for LaTeX? Free, "compile and preview as you type" latex ...
0
votes
0answers
60 views

Error installing PDFBox library for pax package

On Ubuntu 14.04, I followed http://tex.stackexchange.com/a/44104/861. First install pax package. $ sudo tlmgr install pax Then run ...
0
votes
1answer
134 views

Starting LanguageTool from TeXstudio

I am trying to start LanguageTool grammar checker from TexStudio on OS X 10.10.2. This is done defining in Preferences/Grammar the path to Java. I have installed the recent JRE8 but I don't know how ...
2
votes
0answers
84 views

linewrap included Javafile with lstinputlisting

I've spent few days already trying to properly include a Java source file dynamically in a tex file. The text is included. However the lines don't wrap. The following is the "srinked" project ...
0
votes
0answers
42 views

Calling TeXstudio from Java

I have a Java program that writes out raw latex and then I load up TexXtudio, open up the files (one by one) and click the button to produce the PDF. I'd ike to automate this so that I call TeXstudio ...
0
votes
1answer
151 views

Including both XML code and Java code in a document using lstlisting package

I am writing a document which has both java and xml codes, I managed to highlight my java code but unfortunately I was unable to do the same with xml, so far I have tried more than one way either by ...
4
votes
1answer
55 views

Is it possible to get the location of individual components of a LaTeX image?

I'm writing an android app and I want to render math expressions in LaTeX then react to touches to individual parts of the rendered expression. I'm planning on using a library like jlatexmath. I ...
12
votes
2answers
2k views

How to write “Java” in LaTeX [closed]

How can I write "Java" in LaTeX so that the output looks as it is typeset on https://www.java.com/en/ (image below). For example \textsc{Java} doesn't look good. The image uses white text on red ...
4
votes
1answer
155 views

lstlistings works strangely

I have some Java source code and want to display it in LaTex: \lstset{language=Java} \begin{lstlisting} IntentFileter intentfilter = new IntentFilter(); ...
1
vote
0answers
295 views

No index is generated while using makeindex of latex [closed]

I have Java code and each time I run the pdflatex and makeindex, the following output is produced: The last output in the console is: I don't know why this happens. The .idx file looks okay and ...
4
votes
1answer
2k views

Source code description in LaTeX

I have a problem concerning the creation of the name below a "Source code" (Listing) in LaTeX. When I have a figure I use: \begin{figure}[t] \centering ...
4
votes
1answer
8k views

Listings Highlight Java Annotations

I am typesetting something that has a lot of Java code listings. Because the Java code has a lot of annotations, and that they are important to the reader, I'd like to have them highlighted, like ...
3
votes
1answer
2k views

Is there a LaTex java .jar?

I'm very interested in using the Java LaTeX Report library, but one of the requirements is an installed or portable LaTeX distribution. My software would be running on various servers and it would not ...
2
votes
1answer
2k views

Include java code to display text in latex

is it possible to do something like the following in texlipse? \documentclass{article} \usepackage{listings} \begin{document} \section{Title} import java \subsection{Subtitle} I want to display ...
4
votes
2answers
847 views

Is there any solution to include Java Applets in presentations/beamers?

I am preparing a presentation on the compiler Texmaker "documentclass" in "beamer". I was fascinated with the package "multimedia" which is a solution to include movies in the presentation. Question: ...
5
votes
1answer
427 views

Problem formatting java code in my latex document (overshooting the page)

My code is being formatted in a way that makes it drift off the page when it's too long rather than just jump to a new line. I have tried lots of different things, pasted all kinds of examples from ...
2
votes
1answer
342 views

Java Code in a paper

I am writing a paper and would like to include some of my "real-world" Java code. What is the best way to accomplish this? I would like to see two templates: My explanation to the right of my Java ...
1
vote
2answers
300 views

How can I highlight Java bytecode?

I usually use minted to display highlighted source code. But it seems as if minted would not support Java bytecode (see list of supported languages). How can I insert highlighted java bytecode? (Is ...
3
votes
0answers
326 views

pdflatex + java applet? [closed]

I am writing lecture notes in Euclidean/Noneuclidean geometry, see here. The lecture 10 is about geometric constructions, where I use some java applets for construction. So far I made a hyperlink ...
4
votes
1answer
580 views

utf8 math characters from source code file with minted in XeLaTeX

I want XeLaTeX/minted to display all my mathematical characters from my .java source file. More detailed: I file my programming homework in PDF documents in my university. I have been using LaTeX and ...
1
vote
0answers
148 views

Listings package and BigInteger Library Conflict? [closed]

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 ...
5
votes
1answer
614 views

How to render Android listings with syntax highlighting?

I need to include the source code of a bigger Android project in the documentation written with LaTeX. Do you recommend any particular package that is capable of highlighting Java code and which also ...
1
vote
1answer
963 views

Pointing to Java files not in root latex folder using listings

I am trying to use listings to point to a Java source code file. The file path is different from the Latex document. Below is an example of what I am trying to do, though it doesn't compile it says it ...
2
votes
1answer
826 views

What commands/environments are supported by jLatexMath?

Is there documentation on which commands are available? For example right now I cant even \\ to get linebreaks, however \textcolor{red}{\mathfrak{A}rea}A=\pi r^2 works perfectly...
11
votes
7answers
10k views

TeX rendering in a Java application

I want to render math formulas in my Java GUI application. I am looking for a library made for computer use, not web use, which can render TeX. I have already tried jLatexMath, but it's very slow when ...