Commit graph

73 commits

Author SHA1 Message Date
John MacFarlane
fe625e053d New method for producing man pages.
This change adds `--man1` and `--man5` options to pandoc, so
pandoc can generate its own man pages.

It removes the old overly complex method of building a separate
executable (but not installing it) just to create the man pages.

The man pages are no longer automatically created in the build
process.

The man/ directory has been removed.  The man page templates
have been moved to data/.

New unexported module:  Text.Pandoc.ManPages.

Text.Pandoc.Data now exports readmeFile, and `readDataFile`
knows how to find README.

Closes #2190.
2015-06-28 14:39:17 -07:00
John MacFarlane
e0aed52c07 Updated INSTALL. 2015-05-28 20:36:04 -07:00
John MacFarlane
009bee687f Updated INSTALL on embed_data_files. 2015-05-28 11:32:51 -07:00
John MacFarlane
f45daf932c Improved INSTALL instructions. 2015-04-02 20:47:41 -07:00
John MacFarlane
333eafb886 Added INSTALL instructions about older cabal versions.
IT may be necessary to update cabal, since older versions
don't take into account the (new) possibility of changed
metadata on Hackage.
2015-04-02 20:45:26 -07:00
John MacFarlane
3f20fb3f9f Always build man pages. Removed make-pandoc-man-pages flag.
Updated INSTALL instructions.

Makefile:  removed man target, now that we generate man pages by default.
2015-03-28 15:40:50 -07:00
John MacFarlane
1a130fa48e Updated INSTALL on building man pages.
Closes #1788.
2014-12-07 09:42:25 -08:00
John MacFarlane
ab390a10ec Removed old haddock reader code. Add dependency on haddock-library.
This also removes the dependency on alex and happy.
2014-06-18 11:33:09 -07:00
John MacFarlane
ee8c8da8cc Removed dependency on conduit.
* http-conduit flag is now https.
* Instead of http-conduit, we depend on http-client and http-client-tls.
2014-05-18 22:07:00 -07:00
John MacFarlane
8df53506c7 Added something on unicode_collation to INSTALL. 2013-09-19 21:11:05 -07:00
John MacFarlane
ebd2eb30d2 INSTALL: Added instructions for pandoc-citeproc. 2013-08-31 09:41:59 -07:00
John MacFarlane
fdbbbfc9a4 Improved INSTALL instructions:
* Note binary package for OSX.
* Added URL of github wiki page on installing the dev version.
2013-08-15 20:06:26 -07:00
John MacFarlane
b0143bfad6 Improved INSTALL instructions. 2013-08-08 14:05:46 -07:00
John MacFarlane
93877e5a22 Added info about CABALDIR.
Modified from a patch by achalddave.
2013-07-20 11:06:58 -07:00
Jamie F. Olson
375c53869d Updated instructions for submodules to avoid confusion. 2013-03-20 11:34:32 -07:00
John MacFarlane
fe337b07f7 Use hsb2hs preprocessor instead of TH for embed_data_files.
This should work on Windows, unlike the TH solution with
file-embed.
2013-01-23 19:26:39 -08:00
John MacFarlane
9aba0bdb4a Updated INSTALL with new flags. 2012-12-29 19:27:48 -08:00
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