[Haskell] ANNOUNCE: highlighting-kate 0.2.7

2010-07-15 Thread John MacFarlane
I'm pleased to announce a new release of highlighting-kate [1],
a syntax highlighting library based on syntax definitions from
the kate editor.

!! Important note !! The new release uses new, two-letter class names in
its HTML output. If you use highlighting-kate, you will need to
update your css files. Three sample css files can be found in the css
directory of the source.

This release also incorporates improvements to the kate syntax
definition for Haskell by Nicolas Wu.

There are two minor API changes:

1.  A new function, languagesByFilename, has been added.  This will
give better results than languagesByExtension for things like
"Makefile" or "CMake.txt".

2.  A new formatting option, OptDetailed, has been added.  Use this
only if you need access to detailed, language-specific lexical
information, and not generic styles.

[1]:  http://hackage.haskell.org/package/highlighting-kate

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: texmath 0.1.0.1 - conversion of LaTeX math to MathML

2009-07-08 Thread John MacFarlane
I'm pleased to announce an early release of texmath, a Haskell library
for converting LaTeX math formulas to MathML.

Hackage: http://hackage.haskell.org/package/texmath-0.1.0.1
Github: http://github.com/jgm/texmath/tree/master

The package includes a standalone test program, testTeXMathML,
and a CGI script, texmath-cgi, that can be used in web apps. This
script is used in the demos at

http://johnmacfarlane.net/texmath.xhtml
http://johnmacfarlane.net/texmath.html

texmath supports most of basic LaTeX and AMS extensions, but I'm sure
some things have been left out, so let me know if you try a formula that
should work but doesn't.

John
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: pandoc 1.2

2009-03-01 Thread John MacFarlane
I'm pleased to announce the release of pandoc version 1.2
(uploaded today to HackageDB).

The most significant new feature is support for literate Haskell.
You can now use pandoc directly on literate Haskell source files
to produce syntax-highlighted HTML output:

pandoc -s MyProg.lhs > MyProg.html

Pandoc will interpret text sections as (extended) markdown.  If
you prefer to write literate Haskell using reStructuredText
or LaTeX, pandoc supports that too:

pandoc -s --from rst+lhs MyProg.lhs > MyProg.html
pandoc -s --from latex+lhs MyProg.lhs > MyProg.html

You can even convert from one style to another:

pandoc -s --from markdown+lhs --to latex+lhs MyProg.hs

This release also adds an '--email-obfuscation' option, so
the user can select an email obfuscation method (or disable
obfuscation), and support for citations using the latest version
of Andrea Rossato's citeproc-hs.

In addition, many bugs have been fixed.  Thanks to everyone
who filed bug reports.

John

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] ANN: gitit 0.5.1

2009-02-01 Thread John MacFarlane
I've just uploaded gitit 0.5.1 to HackageDb. Gitit is a wiki program
that uses git or darcs as a filestore and HAppS as a server.

Changes:

* Major code reorganization, making gitit more modular.
* Gitit can now optionally be built using Happstack instead of HAppS
  (just use -fhappstack when cabal installing).
* Fixed bug with directories that had the same names as pages.
* Added code from HAppS-Extra to fix cookie parsing problems.
* New command-line options for --port, --debug.
* New debug feature prints the date, the raw request, and
  the processed request data to standard output on each request.
* Files with ".page" extension can no longer be uploaded.
* Apostrophes and quotation marks now allowed in page names.

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] possible bug in pretty-1.0.1.0

2008-12-15 Thread John MacFarlane
I noticed a difference in how "hang" works between pretty-1.0.0.0 and
pretty-1.0.1.0. I think it's a bug. If this isn't the right place to
report it, please let me know where I should.  (Maintainer is listed
as librar...@haskell.org, but that is a closed mailing list.  Perhaps
Cabal should include a report-bugs-at field?)

John

GHCi, version 6.8.3: http://www.haskell.org/ghc/  :? for help
...
Prelude Text.PrettyPrint>  putStrLn $ render $ hang (char '*') 4 (text "hi" $$ 
text "there")
Loading package pretty-1.0.0.0 ... linking ... done.
*   hi
there

GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
...
Prelude Text.PrettyPrint>  putStrLn $ render $ hang (char '*') 4 (text "hi" $$ 
text "there")
Loading package pretty-1.0.1.0 ... linking ... done.
*
hi
there

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell