-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | HaTeX User's Guide.
--
-- The HaTeX User's Guide is a manual explaining the HaTeX library
-- (http://hackage.haskell.org/package/HaTeX). This library can be
-- used to output the guide in different formats. A compiled pdf version
-- of the latex output can be found at
-- http://daniel-diaz.github.com/projects/hatex/hatex-guide.pdf.
-- See the README file
-- (https://github.com/Daniel-Diaz/hatex-guide/blob/master/README.md)
-- for more details.
@package hatex-guide
@version 1.1.0.0
-- | The HaTeX User's Guide.
--
-- This module generates the HaTeX User's Guides from its custom syntax
-- to any available format. This format is specified feeding the function
-- writeGuide with a value of type Backend.
--
-- More information about how this library works can be found at the code
-- repository on GitHub:
--
-- https://github.com/Daniel-Diaz/hatex-guide
module Text.LaTeX.Guide
-- | Available backends.
data Backend
LaTeX :: Backend
Wiki :: Backend
-- | Write in the current directory the LaTeX User's Guide using a
-- determined backend.
writeGuide :: Backend -> IO ()
-- | Ordered list of sections.
sectionList :: [String]
-- | Other resources (images).
--
-- Files stored under the res directory.
otherResources :: [String]
-- | List of contributors. Please, insert your name here if you have
-- contributed in some way to the guide.
contributors :: [String]
-- | The version of the guide. Based on the version of the package.
guideVersion :: Version
-- | Update files in the user hatex-guide directory, using the files
-- contained in a given FilePath.
--
-- More in detail, updateGuide fp sets the current directory to
-- fp, then it looks in the src and res
-- directories for the files specified by sectionList and
-- otherResources respectively. Then, it copies these files
-- overwriting those in the user hatex-guide directory. This way,
-- the next time that writeGuide is called it will use the
-- updated files.
updateGuide :: FilePath -> IO ()