Package org.scilab.forge.jlatexmath
Interface TeXResourceProvider
- All Known Implementing Classes:
JlatexmathResources,JlatexmathResourcesJs,TeXClassLoaderResources
public interface TeXResourceProvider
Supplies the resources of the library (the XML files of the font metrics, the
symbols and the macros, and the glyph outlines) when there is no class loader
to find them, for instance in a native executable. Install it with
TeXResources.setProvider(TeXResourceProvider).-
Method Summary
-
Method Details
-
open
- Parameters:
name- the resource name, without leading slash, for instanceorg/scilab/forge/jlatexmath/fonts/base/jlm_cmr10.xml- Returns:
- the content, or
nullif the resource is unknown - Throws:
IOException- on error
-