Commit graph

1170 commits

Author SHA1 Message Date
fiddlosopher
1aed6a9ee4 Modified modpath.iss to modify HKCU path if user lacks admin privileges.
Also fixed case where oldpath is empty (previously this led to the new
path beginning with a semicolon).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1464 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-18 18:48:23 +00:00
fiddlosopher
51a58987b3 Bump version to 1.0.0.2.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1463 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:59 +00:00
fiddlosopher
f08ebf5a9b Added colons to protocols in unsanitaryURI in HTML reader.
Closes Issue #88.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1462 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:51 +00:00
fiddlosopher
d0fe8dcae0 Add BUGS to files in tarball.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1461 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-16 01:00:42 +00:00
fiddlosopher
d318c0e376 Removed empty Codec and System directories.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1460 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-10-08 17:03:47 +00:00
fiddlosopher
c4c77517e9 Have the '-v' option print syntax highlighting languages separated by commas,
and wrapped in lines, instead of in five columns as before.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1459 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-30 20:16:03 +00:00
fiddlosopher
3b58456673 Moved odt-styles/ to data/. Removed unneeded variable in Makefile.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1458 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23 15:55:30 +00:00
fiddlosopher
fcb220a7a4 Removed debian directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1457 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-23 15:49:05 +00:00
fiddlosopher
d1d614b8ef Have "runhaskell Setup test" return an error status if tests fail.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1456 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-22 21:26:54 +00:00
fiddlosopher
caadac70cd Adjusted s5.fancy.html in tests/ to conform to new LaTeXMathML policy
(span class="LaTeX").


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1455 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-16 01:39:13 +00:00
fiddlosopher
7ad17fe5cf Markdown reader: Ignore blank line after ~~~~~~~~ in delimited code blocks.
Rationale:  these are useful for literate haskell, but lhs requires
a blank line before the haskell code, and we don't want spurious
 blank lines in the output.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1454 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-16 01:39:05 +00:00
fiddlosopher
4d5c71e183 HTML writer: Enclose all LaTeXMathML bits in <span class="LaTeX">.
This prevents parts of the document that are not math from being
interpreted as math by LaTeXMathML.js.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1453 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-15 22:43:21 +00:00
fiddlosopher
4681b4a54c Fixed minor cut-and-paste error in README.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1452 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-15 22:16:45 +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
2483d5ff5b Bumped version to 1.0.0.1.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1449 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 03:15:59 +00:00
fiddlosopher
ed6ad322a7 Small changes to website index.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1447 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 00:39:55 +00:00
fiddlosopher
d00b52a4ed Removed spurious reference to a pdf output format in the pandoc(1) man page.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1446 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-14 00:11:17 +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
d9e7bc279c Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1441 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 06:12:27 +00:00
fiddlosopher
aaf6d72b17 Added scripts for Windows Inno Setup installer in windows/.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1440 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:43 +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
943c2f353d Changed list parser so that only the starting list marker matters:
1. one
  -  two
  (b) three

produces an ordered list with 1., 2., 3.  This is the behavior of
Markdown.pl.

Modified README to document the new behavior.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1438 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-12 00:05:32 +00:00
fiddlosopher
c39a3fe7c4 Updated website index.txt.in.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1437 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 22:40:45 +00:00
fiddlosopher
087e4457d2 pandoc.cabal: Removed most upper-bounds on dependency versions.
Reason:  Upper bounds may cause problems for package managers, since
many package management systems do not (like Cabal) allow multiple
versions of libraries to be installed simultaneously.  At this point
very few packages in HackageDB use upper bounds.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1436 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:57:45 +00:00
fiddlosopher
8c182d4d99 Use versioned dependencies in pandoc.cabal, following guidelines in
<http://www.haskell.org/haskellwiki/Package_versioning_policy>.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1435 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:39:58 +00:00
fiddlosopher
e7cc9b26db Version bump to 1.0.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1434 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 21:39:50 +00:00
fiddlosopher
ad91687034 Removed debian-specific formatting from changelog heading.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1433 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-10 14:52:23 +00:00
fiddlosopher
fa25d95a90 Updated changelog.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1432 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 23:12:55 +00:00
fiddlosopher
08ba270027 pandoc.cabal: removed COPYING from Extra-Source-Files;
it is already included under License-File.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1431 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 23:12:45 +00:00
fiddlosopher
efd2b07757 Removed README.Debian.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1430 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-09 05:00:19 +00:00
fiddlosopher
7ad1ec0892 --tabstop -> --tab-stop in README documentation.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1429 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-08 20:01:08 +00:00
fiddlosopher
000b89c718 Use Data.List's 'intercalate' instead of custom 'joinWithSep'.
+ Removed joinWithSep definition from Text.Pandoc.Shared.
+ Replaced joinWithSep with intercalate
+ Depend on base >= 3, since in base < 3 intercalate is not included.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1428 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-08 06:36:28 +00:00
fiddlosopher
2e893b43c4 Fixed haddock bug in Text/Pandoc/LaTexMathML.hs.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1427 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-08 02:54:17 +00:00
fiddlosopher
5c02959483 LaTeX reader: Refactored math parsers, limited support for eqnarray.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1426 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 21:24:33 +00:00
fiddlosopher
87aa458446 LaTeX reader: Removed specialEnvironment parser.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1425 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 21:24:24 +00:00
fiddlosopher
b422711451 LaTeX reader: minor improvements.
+ parse '{}', if present, after \textless, \textgreater,
  \textbar, \textbackslash, \ldots.
+ Parse unescaped special characters verbatim rather than
  changing them to spaces.  This way arguments of unknown
  commands will appear in braces.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1424 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 20:45:53 +00:00
fiddlosopher
ae30b5ae37 LaTeX reader: Fixed regression in list parsing
(introduced by recent changes to unknownCommand).


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1423 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 20:45:42 +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
fc24c79db6 LaTeX reader: improvements in raw LaTeX parsing.
+ "loose punctuation" (like {}) parsed as Space
+ Para elements must contain more than Str "" and Space elements
+ Added parser for "\ignore" command used in literate haskell.
+ Reworked unknownCommand and rawLaTeXInline: when not in "parse raw"
  mode, these parsers simply strip off the command part and allow
  the arguments to be parsed normally.  So, for example,
  \blorg{\emph{hi}} will be parsed as Emph "hi" rather than
  Str "{\\emph{hi}}".


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1420 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 18:05:18 +00:00
fiddlosopher
ee2dee238d MediaWiki writer: print class attributes in <pre> for code blocks, if any.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1419 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 18:05:08 +00:00
fiddlosopher
2127b7d513 Changed Float to Double in definition of Table element.
(Double is more efficient in GHC.)
Truncate width in opendocument output to 2 decimal places.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1418 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-06 02:51:44 +00:00
fiddlosopher
4dca8f6e75 Reworked Text.Pandoc.ODT to use zip-archive instead of calling external 'zip'.
+ Removed utf8-string and xml-light modules, and unneeded content.xml.
+ Removed code for building reference.odt from Setup.hs.
  The ODT is now built using template haskell in Text.Pandoc.ODT.
+ Removed copyright statements for utf8-string and xml modules,
  since they are no longer included in the source.
+ README: Removed claim that 'zip' is needed for ODT production.
+ Removed dependency on 'zip' from debian/control.
+ Text.Pandoc.Shared: Removed withTempDir, added inDirectory.
+ Added makeZip to Text.Pandoc.TH.
+ pandoc.cabal: Added dependencies on old-time, zip-archive, and utf8-string.
  Added markdown2pdf files to extra-sources list.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1417 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-04 02:51:28 +00:00
fiddlosopher
9b7ec2d366 Modified Text.Pandoc.Biblio to fit new citeproc API.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1416 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-09-02 02:54:00 +00:00
fiddlosopher
3d2ff3d0a8 Removed PDF writer from core pandoc, restored markdown2pdf.
+ Added markdown2pdf.
+ Removed Text/Pandoc/PDF.hs.
+ Removed references to PDF writer from Main.hs.
+ Removed references to PDF writer from pandoc.cabal.
+ Added markdown2pdf.1 to list of man pages in Setup.hs.
+ Added markdown2pdf.1.md man page source.
+ Added reference to markdown2pdf(1) in pandoc man page.
+ Added markdown2pdf to WRAPPERS in Makefile.
+ Removed mention of pdf writer from README; added markdown2pdf.
+ Added remarks on markdown2pdf dependencies to README.Debian.
+ Added markdown2pdf to web/index.txt.in.
+ Use markdown2pdf for pdf web demos.
+ Put markdown2pdf back into debian control and rules.
+ Added markdown2pdf to macports Portfile.
+ Added markdown2pdf to freebsd package.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1415 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-27 05:50:26 +00:00
fiddlosopher
4f14802831 LaTeX reader: Parse "code" environments as verbatim (lhs).
Refactored parsers for verbatim environments.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1414 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-26 20:36:06 +00:00
fiddlosopher
a23f8ba5bd Bugs fixed in RunTests.hs:
+ 'r' -> '\r'
+ use a strict version of readFile to make sure file is closed
  and can be removed


git-svn-id: https://pandoc.googlecode.com/svn/trunk@1413 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-23 18:55:08 +00:00