Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during latex code generation - but all files are generated #35

Open
donatoaz opened this issue Jul 10, 2024 · 0 comments
Open

Error during latex code generation - but all files are generated #35

donatoaz opened this issue Jul 10, 2024 · 0 comments

Comments

@donatoaz
Copy link

donatoaz commented Jul 10, 2024

I am running into an issue where the rendered pdf contains the line Error during latex code generation.

The logs show:

java -Djava.awt.headless=true -jar /Users/donatoaz/Downloads/plantuml-1.2024.6.j
ar -charset UTF-8 -tlatex:nopreamble report-plantuml.txt
PlantUML did not generate anything. (./report-plantuml.latex)) [12]
(./sections/artifacts.tex [13]

When I run the java command manually no error comes up and I also do have all support files created:

> prototype-report git:(main) ✗ ls *-plantuml*                                                                                                                                                                                                                                                                   
report-plantuml.latex report-plantuml.tex   report-plantuml.txt

And If I create a simple tex file with just

\documentclass{report}
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{plantuml}

\begin{document}

\chapter{Example UML Diagram}

Here is an example UML diagram generated by PlantUML:

\begin{figure}[h!]
    \centering
    \input{report-plantuml.tex}
    \caption{Example UML Diagram}
    \label{fig:uml}
\end{figure}

\end{document}

it does render:

image

How can I troubleshoot it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant