Class LatexHelper


  • public class LatexHelper
    extends Object
    Helper class for LaTeX setup.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • LatexHelper

        public LatexHelper()
    • Method Detail

      • getProperties

        public static adams.core.Properties getProperties()
        Returns the underlying properties.
        Returns:
        the properties
      • writeProperties

        public static boolean writeProperties()
        Writes the specified properties to disk.
        Returns:
        true if successfully stored
      • writeProperties

        public static boolean writeProperties​(adams.core.Properties props)
        Writes the specified properties to disk.
        Parameters:
        props - the properties to write to disk
        Returns:
        true if successfully stored
      • getBinariesDir

        public static adams.core.io.PlaceholderDirectory getBinariesDir()
        Returns the binaries dir.
        Returns:
        the binaries dir
      • getExecutable

        public static String getExecutable()
        Returns the executable, eg pdflatex.
        Returns:
        the executable (no path)
      • getExecutableOptions

        public static String getExecutableOptions()
        Returns the executable options, eg "-halt-on-error".
        Returns:
        the executable options
      • getBibtex

        public static String getBibtex()
        Returns the bibtex executable.
        Returns:
        the bibtex executable (no path)