Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
/ ReTeX Public archive

Latex renderer for desktop, Android and GWT (fork of JLaTeXMath)

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

himamis/ReTeX

Repository files navigation

Development discontinued here

The project is maintained actively at the following repository. https://github.com/geogebra/geogebra/tree/master/retex

ReTeX

This project is a fork of the original JLaTeXMath (http://forge.scilab.org/index.php/p/jlatexmath/), refactored to be used through different platforms, such as desktop, android and web (using GWT).

##Include in your project ###Using gradle ####Desktop

dependencies {
    compile project(':renderer:desktop') 
}

####Android

dependencies {
    compile project(':renderer:android') // for android API 7 and up
}

####GWT Web application

dependencies {
    compile project(':renderer:web'),
        project(':renderer:share'),
        files(project(':renderer:web').sourceSets.main.allSource.srcDirs),
        files(project(':renderer:share').sourceSets.main.java.srcDirs)
}

{AppName}.gwt.xml

<module>
    ...
    <inherits name='com.himamis.retex.renderer.web.JLaTeXMathGWT'/>
    ...
</module>

####Web application Grab the folder from renderer/web/dist. For examples please see renderer/web/war ##Usage

Before using the API, set the platform dependent factory instance.

Android

	FactoryProvider.INSTANCE = new FactoryProviderAndroid(getAssets());

Desktop

	FactoryProvider.INSTANCE = new FactoryProviderDesktop();

GWT Web application

	FactoryProvider.INSTANCE = new FactoryProviderGWT();

For details of the original API please see http://forge.scilab.org/index.php/p/jlatexmath/.

Web application

    jlmlib.drawLatex(options)

For parameters, please see renderer/web/war/index.html

Screenshots

Alt text

Alt text

Alt text

FAQ

Regarding JLaTeXMath’s Classpath Exception and JavaScript: If you use the Google Web Toolkit (GWT) to compile JLaTeXMath to an “executable” (in JavaScript) you can then include/link this “executable” JavaScript library on a website or inside another program. In this case the rest of the website/program need not be licensed under the GPL.

About

Latex renderer for desktop, Android and GWT (fork of JLaTeXMath)

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages