Commit graph

56 commits

Author SHA1 Message Date
John MacFarlane
50f2641f63 Updated INSTALL for new test/benchmarks. 2012-07-26 10:01:23 -07:00
Jonas Smedegaard
61f8dd4da8 Add support for Slideous output. 2012-05-24 10:31:18 +02:00
John MacFarlane
5abf499dad Updated INSTALL instructions for tests. 2012-04-27 15:09:18 -07:00
paul.rivier
411d54ce98 Textile reader quick clean-up and added support for LaTeX blocks and inlines. 2012-04-17 13:14:05 +02:00
John MacFarlane
b307b647ff Added section in INSTALL on creating relocatable binary on windows. 2012-02-10 13:19:46 -08:00
John MacFarlane
275a5af61b Removed obsolete flag info in INSTALL. 2012-01-20 22:13:19 -08:00
John MacFarlane
fca95bf43c Removed highlighting flag. Highlighting support is now standard. 2011-12-22 13:24:43 -08:00
John MacFarlane
64f8bdf6f2 ADded note in INSTALL about a workaround for OSX. 2011-08-19 08:59:20 -07:00
John MacFarlane
1b1287e888 Removed citeproc flag and CPP conditionals. 2010-11-23 21:14:31 -08:00
John MacFarlane
5be880bd48 Reintroduced 'library' cabal flag.
It is needed for the Windows installer, since if a library
is produced, the binary can't be made relocatable.
See http://www.haskell.org/ghc/docs/6.12.2/html/Cabal/builders.html
section 4.1.2.3.
2010-07-21 11:26:13 -07:00
John MacFarlane
7d8c8c7880 Removed 'library' Cabal flag.
Reason: starting with Cabal 1.8, installing pandoc with '-library
+executable' did not work, since the build-depends in the Library
stanza were ignored. The problem could be solved by repeating the
build-depends in the Executable stanza, but this seems non-ideal
(and might lead to errors later on).  The '-library' option isn't
so useful anyway, since to compile pandoc in the first place, you
need a large number of Haskell libraries installed, and in this
case, why balk at another? It was chiefly intended for packagers,
but packagers will need to use a chroot environment anyway, and
they can then simply copy the executable and not the library.

Thanks to Jim Pryor for calling the problem to my attention
in connection with an arch linux package.
2010-04-10 11:16:48 -07:00
fiddlosopher
645d5d48b9 Tweaked INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1833 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-04 02:57:43 +00:00
fiddlosopher
012c569f06 Updated INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1832 788f1e2b-df1e-0410-8736-df70ead52e1b
2010-02-03 08:27:31 +00:00
fiddlosopher
27ad57e3ef INSTALL: Updated description of Arch linux packages.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1451 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 18:19:24 +00:00
fiddlosopher
2c5e17e779 INSTALL - added note on quick Mac OSX install method, using cabal install.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1450 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 18:11:00 +00:00
fiddlosopher
2d99c21ecc INSTALL: Documented citeproc-hs support.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1444 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-13 20:23:23 +00:00
fiddlosopher
1a7e181778 More minor changes to INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1443 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 23:10:28 +00:00
fiddlosopher
d528b5a06d Small updates to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1442 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 20:12:51 +00:00
fiddlosopher
d5ec1981a4 Added to INSTALL instructions on installing cabal-install w/ macports.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1439 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:37 +00:00
fiddlosopher
27b3146bce Pandoc is no longer a native debian package.
It is easier for releases if debian packaging is separate.

+ Removed debian directory and references to debian in Makefile and INSTALL.
+ Made COPYRIGHT and changelog standalone files rather than symlinks to
  debian directory.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1422 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 18:49:46 +00:00
fiddlosopher
2cecca73ea Updated INSTALL in light of new dependencies (utf8-string and zip-archive).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1421 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 18:33:39 +00:00
fiddlosopher
d00da31622 Simplified and improved UTF8 handling:
+ Removed utf8-string cabal configuration flag.
+ Instead, we just include System.IO.UTF8 and Codec.Binary.UTF8.String
  from utf8-string package in the source tree, avoiding a dependency
  on utf8-string and avoiding crufty custom UTF8 code. (The old
  Text.Pandoc.UTF8 had problems with the getContents function.)
+ Removed lots of CPP directives that are no longer needed.
+ In Setup.hs, use '-i..' in running RunTests.hs, so the local UTF8
  code will be found.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1411 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-14 01:32:54 +00:00
fiddlosopher
1cbc974e7e Removed markdown2pdf and all references to it.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1395 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-10 17:34:02 +00:00
fiddlosopher
80715bd126 Added Text.Pandoc.UTF8 as a backup for when utf8-string is not present.
+ Added Text.Pandoc.UTF8
+ Changed flag name from utf8 to utf8-string
+ Changed CPP MACRO from _UTF8 to _UTF8STRING
+ Import IO functions from Text.Pandoc.UTF8 when utf8-string not available.
+ Removed utf8-string dependency from debian/control.
+ Removed pandoc.cabal.ghc66; we no longer support GHC 6.6
+ Modified INSTALL instructions


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1383 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-08 00:11:58 +00:00
fiddlosopher
82fd635ac1 INSTALL: Included instructions on installing utf8-string.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1371 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02 21:21:11 +00:00
fiddlosopher
bf6db927d8 Added note on utf8-string dependency to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1353 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01 00:48:41 +00:00
fiddlosopher
774dc0776d Added 'library' and 'executable' configuration flags.
Cabal can now be told to build just the library or just the executable.
Updated INSTALL accordingly.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1346 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31 23:16:12 +00:00
fiddlosopher
275f9dc94c Added note to INSTALL that Cabal >= 1.2 is required for build.
Resolves Issue #74.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1296 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-10 23:26:18 +00:00
fiddlosopher
d4e89c3cbe Revert "Added note in INSTALL about doing 'make templates' if installing using Cabal from svn."
This reverts commit 76c49ebc63.
No longer needed, since we'll do templates in cabal configure step.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1227 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:22:07 +00:00
fiddlosopher
f8aa7a7be0 Updated INSTALL with instructions for compiling in syntax highlighting support.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1223 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:21:44 +00:00
fiddlosopher
76c49ebc63 Added note in INSTALL about doing 'make templates' if installing using Cabal from svn.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1196 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-01-24 23:05:23 +00:00
fiddlosopher
8f8888df2e Updated INSTALL with instructions for getting GHC + libraries using apt-get.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1190 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-01-16 18:22:18 +00:00
fiddlosopher
155ef838d7 Added Arch linux instructions to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1188 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-01-14 05:12:16 +00:00
fiddlosopher
99d8d45b74 + Makefile now checks GHC version. If GHC is 6.6, pandoc.cabal.ghc66
is copied to pandoc.cabal, and the old pandoc.cabal is copied to
  pandoc.cabal.orig.  Otherwise, pandoc.cabal is copied to pandoc.cabal.orig
  but otherwise unmodified.  This way, the Makefile will work properly
  with either GHC 6.6 or 6.8.
+ The changes in debian/rules from r1066 have been reverted, since they
  are no longer needed.  Also, debian/rules has been converted to UTF-8.
+ INSTALL instructions have been updated accordingly.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1095 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-25 01:51:36 +00:00
fiddlosopher
8a057e77af Modified build procedure to allow compilation with GHC 6.8:
+ pandoc.cabal now uses Cabal configurations and requires Cabal >=1.2.
+ An alternative pandoc.cabal.ghc66 is provided for those who have older
  versions of Cabal.
+ Debian build process has been modified to use pandoc.cabal.ghc66,
  as a temporary measure until GHC 6.8 gets into debian unstable.
+ INSTALL instructions have been updated.
+ Makefile has been updated to accommodate changes in pandoc.cabal.
+ pandoc.cabal.ghc68 has been removed, since the default version now
  works with GHC 6.8.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1066 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-06 00:07:17 +00:00
fiddlosopher
fe684764e6 Reverted back to state as of r1062. The template haskell changes
are more trouble than they're worth.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-03 23:27:58 +00:00
fiddlosopher
4a841bfc54 Use template haskell to avoid the need for templates:
+ Added library Text.Pandoc.Include, with a template haskell
  function $(includeStrFrom fname) to include a file as a string
  constant at compile time.
+ This removes the need for the 'templates' directory or Makefile
  target.  These have been removed.
+ The base source directory has been changed from src to .
+ A new 'data' directory has been added, containing the ASCIIMathML.js
  script, writer headers, and S5 files.
+ The src/wrappers directory has been moved to 'wrappers'.
+ The Text.Pandoc.ASCIIMathML library is no longer needed, since
  Text.Pandoc.Writers.HTML can use includeStrFrom to include the
  ASCIIMathML.js code directly.  It has been removed.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-11-03 22:14:03 +00:00
fiddlosopher
6bf82d8f29 Removed local references to Portfile, since pandoc is now in the
MacPorts repository.  Updated INSTALL instructions and website.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@919 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-27 22:18:36 +00:00
fiddlosopher
b51bea1540 Added note about 'yourusername' in MacPorts section.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@914 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 17:27:55 +00:00
fiddlosopher
e28fd72762 Added Cabal installation method to INSTALL.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@909 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 16:13:05 +00:00
fiddlosopher
bdb55edd18 Removed osx package targets in Makefile, and documentation for
them in INSTALL.  osx packaging was not working well, because of
the binary's dependency on a dynamic library GMP.  A MacPorts port
will be provided instead.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@905 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:43:44 +00:00
fiddlosopher
3bdce3cfb8 Updated INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@903 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-26 15:34:56 +00:00
fiddlosopher
06a6c5431e Minor change in INSTALL instructions.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@893 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:49:41 +00:00
fiddlosopher
64306faf7d Modifications in freebsd packaging:
+ Added freebsd target to Makefile, which creates Makefile from
  Makefile.in and creates distinfo.
+ Removed Makefile and distinfo from the repository.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@887 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 17:35:53 +00:00
fiddlosopher
631d3930af Added macport target to Makefile; Portfile is now built from
a template.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@886 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-25 16:52:42 +00:00
fiddlosopher
4b852dfd96 Put note in INSTALL about the extra xmlns attribute inserted by
later versions of the xhtml library (which causes some tests
to fail).  Thanks to Leif LeBaron for pointing this out.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@858 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-08-16 19:27:56 +00:00
fiddlosopher
94c6a1b250 Updated INSTALL instructions with some extra
clarifications and links.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@737 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-16 16:30:04 +00:00
fiddlosopher
98372ea277 Renamed Pandoc.cabal -> pandoc.cabal, for better compatibility
with HackageDB, which likes the cabal file to have the same name
as the tarball.  Modified references to Pandoc.cabal in INSTALL
and Makefile.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@631 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-07-07 05:25:44 +00:00
fiddlosopher
28a99707fd Changed documentation to indicate that GHC 6.6 is required.
We will no longer support GHC 6.4.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@603 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-06-17 16:13:36 +00:00
fiddlosopher
59065c103f Modified HTML writer to use the Text.XHtml library. This results
in cleaner, faster code, and it makes it easier to use Pandoc in
other projects, like wikis, that use Text.XHtml.  Two functions
are now provided, writeHtml and writeHtmlString:  the former outputs
an Html structure, the latter a rendered string.  The S5 writer is
also changed, in parallel ways (writeS5, writeS5String).  The Html
header is now written programmatically, so it has been removed from
the 'headers' directory.  The S5 header is still needed, but the
doctype and some of the meta declarations have been removed, since
they are written programatically.  The INSTALL file and cabalize
have been updated to reflect the new dependency on the xhtml package.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@549 788f1e2b-df1e-0410-8736-df70ead52e1b
2007-02-26 19:08:10 +00:00