Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
ff9ef2a1
Commit
ff9ef2a1
authored
Jan 13, 2014
by
Adam Vogt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ihaskell-hatex
parent
dade16b7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
0 deletions
+62
-0
Hatex.hs
ihaskell-display/ihaskell-hatex/IHaskell/Display/Hatex.hs
+14
-0
LICENSE
ihaskell-display/ihaskell-hatex/LICENSE
+20
-0
README.md
ihaskell-display/ihaskell-hatex/README.md
+4
-0
Setup.hs
ihaskell-display/ihaskell-hatex/Setup.hs
+2
-0
ihaskell-hatex.cabal
ihaskell-display/ihaskell-hatex/ihaskell-hatex.cabal
+22
-0
No files found.
ihaskell-display/ihaskell-hatex/IHaskell/Display/Hatex.hs
0 → 100644
View file @
ff9ef2a1
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE FlexibleInstances #-}
-- | Provides 'IHaskellDisplay' instances for 'LaTeX' and 'LaTeXT'.
module
IHaskell.Display.Hatex
()
where
import
IHaskell.Display
import
Text.LaTeX
import
qualified
Data.Text
as
T
instance
IHaskellDisplay
LaTeX
where
display
=
display
.
IHaskell
.
Display
.
latex
.
T
.
unpack
.
render
instance
(
a
~
()
,
IO
~
io
)
=>
IHaskellDisplay
(
LaTeXT
io
a
)
where
display
ma
=
display
=<<
execLaTeXT
ma
ihaskell-display/ihaskell-hatex/LICENSE
0 → 100644
View file @
ff9ef2a1
The MIT License (MIT)
Copyright (c) 2013 Andrew Gibiansky
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ihaskell-display/ihaskell-hatex/README.md
0 → 100644
View file @
ff9ef2a1
IHaskell-HaTeX
================
Instances to work with
[
HaTeX
](
http://hackage.haskell.org/package/HaTeX
)
ihaskell-display/ihaskell-hatex/Setup.hs
0 → 100644
View file @
ff9ef2a1
import
Distribution.Simple
main
=
defaultMain
ihaskell-display/ihaskell-hatex/ihaskell-hatex.cabal
0 → 100644
View file @
ff9ef2a1
name: ihaskell-hatex
version: 0.1.0.0
synopsis: IHaskell display instances for hatex
-- description:
homepage: http://www.github.com/gibiansky/IHaskell
license: MIT
license-file: LICENSE
author: Adam Vogt
maintainer: andrew.gibiansky@gmail.com
category: Development
build-type: Simple
cabal-version: >=1.16
library
exposed-modules: IHaskell.Display.Hatex
build-depends: base ==4.6.*,
text,
HaTeX >= 3.9,
ihaskell >= 0.3
default-language: Haskell2010
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment