Coder Social home page Coder Social logo

Comments (5)

fracpete avatar fracpete commented on September 26, 2024

You don't seem to have pdflatex on your system PATH. This executable is used to turn the LaTeX documentation into PDFs. On my Linux Mint 18.2, I use texlive (http://tug.org/texlive/), but you should be able to use MikTeX on Windows as well (https://miktex.org/). Once you have installed your LaTeX distribution, make sure that the pdflatex is accessible via the PATH environment variable.

from meka.

gb-git avatar gb-git commented on September 26, 2024

Thank you fracpete. I installed miktex-2.9.6850 and configured the path as suggested. When I tried to build again (mvn clean install), It processed several files with pdflatex.exe, but failed with the following error:

! LaTeX Error: File `epsf.sty' not found.

I found a different way to get it to work:

Need to add this plugin to get the JARs in local directory.

<plugin> 
<groupId>org.apache.maven.plugins</groupId> 
<artifactId>maven-dependency-plugin</artifactId> 
<configuration> 
<outputDirectory> ${project.build.directory} </outputDirectory> 
</configuration> 
</plugin>

Then run

  • mvn clean install -DskipTests
  • mvn dependency:copy-dependencies
  • Move ./target/dependency directory to ./lib
  • Copy ./target/meka-1.9.2.jar to ./lib
  • Added run.bat file
@ECHO OFF
SET MEMORY=512m
SET MAIN=meka.gui.guichooser.GUIChooser
java -Xmx%MEMORY% -cp ".\lib\*" %MAIN% %1

Then execute the run.bat file which launches Meka. I hope this workaround is useful for someone else.

from meka.

fracpete avatar fracpete commented on September 26, 2024

The reason that pdflatex fails is that you are missing (at least) one LaTex package: epsf (https://miktex.org/packages/epsf)

from meka.

fracpete avatar fracpete commented on September 26, 2024

Also, to turn off the LaTeX generation, try using this flag on the commandline: -Dlatex.dummyBuild=true

from meka.

gb-git avatar gb-git commented on September 26, 2024

Thank you!

from meka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.