[MacPorts] #62933: plantuml doesn't support latex

MacPorts noreply at macports.org
Wed May 19 22:52:19 UTC 2021


#62933: plantuml doesn't support latex
--------------------+--------------------
 Reporter:  catap   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:
--------------------+--------------------
 Any attempt to use plantum to render something with latex produces a error
 like that:


 {{{
 formula=x
 Latex=x
 java.lang.ClassNotFoundException: org.scilab.forge.jlatexmath.TeXFormula
         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:264)
         at
 net.sourceforge.plantuml.math.TeXIconBuilder.<init>(TeXIconBuilder.java:53)
         at
 net.sourceforge.plantuml.math.LatexBuilder.buildIcon(LatexBuilder.java:67)
         at
 net.sourceforge.plantuml.math.LatexBuilder.getImage(LatexBuilder.java:83)
         at
 net.sourceforge.plantuml.math.ScientificEquationSafe.getImage(ScientificEquationSafe.java:116)
         at
 net.sourceforge.plantuml.creole.atom.AtomMath.drawU(AtomMath.java:98)
         at
 net.sourceforge.plantuml.creole.SheetBlock1.drawU(SheetBlock1.java:174)
         at
 net.sourceforge.plantuml.creole.SheetBlock2.drawU(SheetBlock2.java:95)
         at
 net.sourceforge.plantuml.skin.rose.ComponentRoseDivider.drawInternalU(ComponentRoseDivider.java:115)
         at
 net.sourceforge.plantuml.skin.AbstractComponent.drawU(AbstractComponent.java:78)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.GraphicalDivider.drawInternalU(GraphicalDivider.java:62)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.GraphicalElement.drawU(GraphicalElement.java:60)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.DrawableSet.drawPlaygroundU(DrawableSet.java:362)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.DrawableSet.drawU22(DrawableSet.java:282)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.DrawableSet$1.drawU(DrawableSet.java:251)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.SequenceDiagramFileMakerPuma2$1.drawU(SequenceDiagramFileMakerPuma2.java:211)
         at
 net.sourceforge.plantuml.ugraphic.ImageBuilder.writeImageInternal(ImageBuilder.java:282)
         at
 net.sourceforge.plantuml.ugraphic.ImageBuilder.write(ImageBuilder.java:249)
         at
 net.sourceforge.plantuml.sequencediagram.graphic.SequenceDiagramFileMakerPuma2.createOne(SequenceDiagramFileMakerPuma2.java:222)
         at
 net.sourceforge.plantuml.sequencediagram.SequenceDiagram.exportDiagramInternal(SequenceDiagram.java:258)
         at
 net.sourceforge.plantuml.UmlDiagram.exportDiagramNow(UmlDiagram.java:144)
         at
 net.sourceforge.plantuml.AbstractPSystem.exportDiagram(AbstractPSystem.java:157)
         at
 net.sourceforge.plantuml.PSystemUtils.exportDiagramsSequence(PSystemUtils.java:201)
         at
 net.sourceforge.plantuml.PSystemUtils.exportDiagrams(PSystemUtils.java:86)
         at
 net.sourceforge.plantuml.SourceFileReaderAbstract.getGeneratedImages(SourceFileReaderAbstract.java:160)
         at
 net.sourceforge.plantuml.DirWatcher2$1.call(DirWatcher2.java:94)
         at
 net.sourceforge.plantuml.DirWatcher2$1.call(DirWatcher2.java:90)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run(Thread.java:748)
 }}}

 Looks like it has missed dependencies ;)

-- 
Ticket URL: <https://trac.macports.org/ticket/62933>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list