aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-05Added padding to table cells in ODT.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1378 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-05Added opendocument writer tests.fiddlosopher4-1/+2034
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1377 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-04Added support for Cite to Markdown reader, and conditional support for ↵fiddlosopher7-16/+197
citeproc module. + The citeproc cabal configuration option sets the _CITEPROC macro, which conditionally includes code for handling citations. + Added Text.Pandoc.Biblio module. + Made highlighting option default to False. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1376 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-04Added Cite element to definition and writers.fiddlosopher11-8/+41
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1375 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-03Improved configuration options and CPP macros.fiddlosopher6-15/+36
+ Now all macros that serve as flags start with a single _. + Added message to '-v' output about UTF-8 support. + Made highlighting the default. If the highlighting-kate library is not present, cabal will deselect the option (unless it was explicitly set). + Add UTF8 support to test function in Text.Pandoc.Shared. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1374 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-03Added 'utf8' configuration flag to pandoc.cabal.fiddlosopher3-9/+25
This makes it possible to compile pandoc without utf8, using '-f-utf8' at configuration time. Utf-8 support is still the default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1373 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-03Improvements to ODT writer (for windows compatibility):fiddlosopher1-18/+18
+ use Data.ByteString (not Data.ByteString.Char8, which writes in text mode) + use runProcess (with a working directory) instead of runCommand + only create Pictures directory if there are pictures git-svn-id: https://pandoc.googlecode.com/svn/trunk@1372 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02INSTALL: Included instructions on installing utf8-string.fiddlosopher1-3/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1371 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02Replaced markdown2odt with pandoc in web demos.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1370 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02Added information about `odt` to README and pandoc(1) man page.fiddlosopher2-35/+50
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1369 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-02Improved template handling:fiddlosopher7-20/+63
+ Split template haskell functions into new module, Text.Pandoc.TH + Distinguish contentsOf and binaryContentsOf; the former uses text mode in Windows, while the latter uses binary mode git-svn-id: https://pandoc.googlecode.com/svn/trunk@1368 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Removed superfluous copyFile from Text/Pandoc/ODT.hs.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1367 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Fixes to make haddock work with template haskell:fiddlosopher4-3/+30
+ Added CPP, TemplateHaskell, FlexibleInstances to cabal file "Extensions" field + Added #ifndef __HADDOCK__ cpp declarations in the files using template haskell. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1366 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Removed FlexibleInstances Extension line from pandoc.cabal; it isn't neededfiddlosopher1-2/+0
because the relevant files have pragmas. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1365 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Use </> with contentsOf to ensure that paths are portable.fiddlosopher2-3/+4
Do not use hardcoded '/' characters! git-svn-id: https://pandoc.googlecode.com/svn/trunk@1364 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01ODT writer: Don't use pathname in invoking "zip", as that causes problems ↵fiddlosopher1-7/+5
in windows. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1363 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added pragma to HTML writer to avoid deprecation warning for use of "start" ↵fiddlosopher1-0/+1
attribute. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1362 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added pragma to Text/Pandoc/Shared.hs to get rid of "orphan instance" warnings.fiddlosopher1-0/+1
(These are caused by the Lift instance for ByteString.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1361 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Removed 'CPP' from Extension in pandoc.cabal.fiddlosopher1-1/+1
It is not needed (since the relevant files have a pragma anyway), and it causes problems on windows (Cabal thinks pandoc.cabal has changed every time configure is run). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1360 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Don't use OverloadedStrings in ODT writer.fiddlosopher2-9/+4
Remove version dependency from bytestring. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1359 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Depend on bytestring-0.9.0.1 and provide a ByteString instance for IsString ↵fiddlosopher2-2/+8
manually, in Text/Pandoc/ODT.hs. Upgrading to 0.9.1.0 causes problems unless every package has been built with that version, so for now we stick with 0.9.0.1. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1358 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Simplified build process using template haskell.fiddlosopher29-121/+52
+ Text/Pandoc/ASCIIMathML.hs, Text/Pandoc/DefaultHeaders.hs, and Text/Pandoc/Writers/S5.hs are no longer built in Setup.hs from templates in the templates/ directory. + Instead, they use template haskell to read data at compile time from the relevant files in data/. + Setup.hs is back to the default simple configuration. + Removed old templates and Extra-Tmp-Files field from pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1357 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Use minimum-sized (blank) content.xml in odt-styles.fiddlosopher1-2/+17
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1356 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Use template haskell to store reference.odt as blob in pandoc.fiddlosopher3-7/+22
+ Added contentsOf to Text.Pandoc.Shared. + Use this to get contents of reference.odt at compile time in Text.Pandoc.ODT + Added bytestring and template-haskell dependencies to pandoc.cabal. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1355 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Makefile: build reference.odt before configure.fiddlosopher1-3/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1354 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added note on utf8-string dependency to INSTALL.fiddlosopher1-1/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1353 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added utf8-string library to depends in debian/control.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1352 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-08-01Added code for xml library (Text.XML.Light) to source tree,fiddlosopher8-4/+1116
since there is currently no debian package. Removed dependency on xml library. Added license to debian/copyright. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1351 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Compatibility fixes for CPP, Cabal, and haddock:fiddlosopher5-12/+13
+ Use CPP in "Extensions" field in pandoc.cabal. + Removed use of backslash string continuations in source files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1350 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Removed superfluous binary and bytestring dependencies in pandoc.cabal.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1349 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Setup.hs: Use simpleUserHooks rather than deprecated defaultUserHooks.fiddlosopher1-3/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1348 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Use utf8-string's System.IO.UTF8 to replace Text.Pandoc.UTF8.fiddlosopher6-101/+18
+ removed Text/Pandoc/UTF8.hs + removed UTF8.hs notice from debian/copyright + adjusted main.hs, Text/Pandoc.hs, and Text/Pandoc/ODT.hs to use System.IO.UTF8 instead of Text.Pandoc.UTF8 + Added dependency on utf8-string to pandoc.cabal git-svn-id: https://pandoc.googlecode.com/svn/trunk@1347 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Added 'library' and 'executable' configuration flags.fiddlosopher2-0/+23
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-31Added 'odt' output option to pandoc:fiddlosopher8-144/+210
Not a writer, but a module that inserts the output of the OpenDocument writer into an ODT archive. This replaces markdown2odt. + Added odt output option to Main.hs. + Added default for .odt output file. + Changed defaults so that .xml and .sgml aren't automatically DocBook. + Added odt writer to Text.Pandoc exports. + Added Text.Pandoc.ODT and included in pandoc.cabal. + Added reference.odt as data-file in pandoc.cabal. + Handle picture links in OpenDocument files using xml library. + Removed markdown2odt and references from Makefile, README, man. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1345 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31OpenDocument writer: don't print alt text with Image.fiddlosopher1-2/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1344 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Fixed typo in pandoc.cabal.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1343 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Simplified Setup.hs by removing PostClean hooks.fiddlosopher2-15/+4
Added Extra-Tmp-Files to pandoc.cabal; this does the same thing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1342 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Improved pandoc.cabal:fiddlosopher1-0/+21
+ Added Extra-Source-Files so sdist contains everything needed to build + Added "Build-Type" field to avoid warning. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1341 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Code cleanup in Text/Pandoc/Highlighting.hs.fiddlosopher1-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1340 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-31Use CPP to simplify build procedure for Highlighting.hs module.fiddlosopher4-53/+15
This is no longer built by Setup.hs in the pre-configure phase. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1339 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-27HTML writer: override Text.XHtml's stringToHtml function,fiddlosopher2-4/+18
so that characters below 0xff are not converted to numerical entity references. Also convert '\160' to "&nbsp;". This should aid readability and editability of the HTML source. It does presuppose that the HTML will be served as UTF-8. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1338 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-27Added MediaWiki writer.fiddlosopher15-30/+1172
+ Added Text/Pandoc/Writers/MediaWiki.hs + Added to pandoc.cabal + Added to Main.hs and Text/Pandoc.hs exports. + Added tests for mediawiki writer & table writer. + Added information on MediaWiki writer to README. + Added mediawiki markup to list of formats in pandoc(1) man page. + Updated debian/control with mediawiki output format. + Added mediawiki markup to description in macports portfile. + Updated freebsd package description to include mediawiki format. + Mention MediaWiki output format in web page index. + Added mediawiki demo to website. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1337 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-26Added mention of opendocument writer to pandoc man page.fiddlosopher1-3/+5
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1336 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-24Added OpenDocument format to cabal description.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1335 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-23Markdown reader: Parse setext headers before atx headers.fiddlosopher1-1/+1
Test case: # hi ==== parsed by Markdown.pl as an H1 header with contents "# hi". git-svn-id: https://pandoc.googlecode.com/svn/trunk@1334 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-23HTML writer test: use UTF-8 characters rather than entities.fiddlosopher1-8/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1333 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-23Fixed REFERENCEODT in markdown2odt to point to the right place in debian builds.fiddlosopher1-1/+1
Resolves Issue #79. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1332 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-18Added proper support for embedded images to opendocument writer.fiddlosopher1-1/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1331 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-18Style fixes in opendocument writer:fiddlosopher1-9/+16
+ tight definition lists + author/date styles + quotation spacing. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1330 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-07-18Modified content.xml and styles.xml for better appearance of ODT documents.fiddlosopher2-1455/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1329 788f1e2b-df1e-0410-8736-df70ead52e1b