aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-25Documented OpenDocument writer and markdown2odt in freebsd pkg-descr.fiddlosopher1-4/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1269 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25Documented OpenDocument writer and markdown2odt in debian/control.fiddlosopher1-6/+6
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1268 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25Documented OpenDocument writer and markdown2odt in README.fiddlosopher1-45/+48
Folded "Requirements" section into description of shell scripts. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1267 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25Changed name of output file in web demo #21.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1266 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-22The '--sanitize-html' option now examines URIs in markdown linksfiddlosopher5-19/+39
and images, and in HTML href and src attributes. If the URI scheme is not on a whitelist of safe schemes, it is rejected. The main point is to prevent cross-site scripting attacks using 'javascript:' URIs. See http://www.mail-archive.com/markdown-discuss@six.pairlist.net/msg01186.html and http://ha.ckers.org/xss.html. Resolves Issue #62. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1262 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-21Fixed handling of Quoted inline elements to use unicode left & right quotes.fiddlosopher1-2/+6
Added inQuotes auxiliary function. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1261 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Added demos for opendocument XML and markdown2odt.fiddlosopher1-0/+8
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1260 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Added preliminary version of markdown2odt wrapper.fiddlosopher5-10/+134
Added man page. Modified Makefile to create markdown2odt from template. Modified Makefile to create reference.odt file from files in odt-styles. Modified Makefile to install reference.odt into PACKAGEDATAPATH. Modified macports Portfile. Modified freebsd Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1259 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Added odt-styles directory with default ODT styles.fiddlosopher9-0/+1482
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1258 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Acknowledge contributors in README.fiddlosopher1-4/+3
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1257 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19OpenDocument: use the new Definition_20_Term andfiddlosopher1-6/+6
Definition_20_Definition styles and some other minor cleanup. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1256 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Code cleanup only.fiddlosopher1-32/+35
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1255 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19OpenDocument writer: Don't print raw HTML.fiddlosopher1-2/+2
(Note: For the DocBook writer, it makes sense to pass through HTML raw, since the "HTML" might be DocBook XML. But this isn't desirable for the OpenDocument writer, it seems to me.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1254 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Moved XML-formatting functions to new unexported module Text.Pandoc.XML.fiddlosopher4-116/+91
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1253 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Andrea Rossato's patch for OpenDocument support.fiddlosopher6-11/+539
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1252 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Small fix to markdown2pdf man page:fiddlosopher1-3/+3
only input needs to be piped through iconv. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1251 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19Added .gitignore.fiddlosopher1-0/+12
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1250 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-09Added amsmath package to default LaTeX header. Resolves Issue #48.fiddlosopher2-0/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1249 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-06Require parsec < 3.fiddlosopher1-1/+1
The compatibility module in parsec 3.0.0 gives far worse performance than parsec 2.1. Eventually pandoc will be upgraded to use the new bytestring version of parsec, and then we'll go to parsec 3.0.0. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1248 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Added Texinfo writer to exported modules in pandoc.cabal.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1247 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Modified disallowedInNode in Texinfo writer to correct list of disallowed ↵fiddlosopher1-4/+2
characters. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1246 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Use style attributes rather than css classes for strikethrough and ordered ↵fiddlosopher2-37/+21
list styles. This works better when fragments, rather than standalone documents, are generated. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1245 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Changes to Texinfo writer:fiddlosopher11-101/+124
+ No space between paragraph and following @verbatim (provides more pleasing appearance in text formats) + Blank line consistently after list environments. + Removed deVerb. + Use @code instead of @verb for inline code (this solves the character escaping problem for texi2dvi and texi2pdf). + Modified test suite accordingly. + Added Peter Wang to copyright statement (for Texinfo.hs). + Added news of Texinfo writer to README. + Added Texinfo to list of formats in man page, and removed extra 'groff'. + Updated macports with Texinfo format. + Updated FreeBSD pkg-descr with Texinfo format. + Updated web page with Texinfo writer. + Added demos for Texinfo writer. + Added Texinfo to package description in debian/control. + Added texi & texinfo extensions to Main.hs, and fixed bug in determining default output extension. + Changed from texinfo to texi extension in web demo. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1244 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Committed novalazy's initial patch for texinfo output,fiddlosopher7-1/+1541
including tests for texinfo writer. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1243 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Moved BlockWrapper and wrappedBlocksToDoc from ConTeXt writer to Shared.fiddlosopher2-9/+13
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1242 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Fixed path for library documentation in website.fiddlosopher1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1241 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Updated package URL for pandoc.cabal and pandoc.cabal.ghc66.fiddlosopher2-4/+5
Updated pandoc.cabal.ghc66 with highlighting modules and new location for DefaultWriters. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1240 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24Removed font-size 110% on code in web css.fiddlosopher1-1/+0
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1239 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10Renamed web/code.txt -> code.text.fiddlosopher1-45/+0
Deleted code.text from top-level directory. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1236 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10Minor changes due to changes in highlighting-kate API.fiddlosopher3-26/+8
defaultHighlightingCss now imported rather than duplicated. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1235 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10Makefile: Add files in templates directory as dependencies for $(BUILDCONF).fiddlosopher1-1/+2
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1234 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10Added note about syntax highlighting to "Features" on web page.fiddlosopher1-0/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1233 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10Support for startFrom="nn" to select starting line number in syntax ↵fiddlosopher3-9/+13
highlighting. Changed argument of highlightHtml to Attr, not [String], for generality. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1232 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Remove build dependencies on libghc6-regex-compat-dev, libghc6-uulib-dev androktas1-2/+2
perl. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1231 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Renamed default headers with .header extension; have Setup.hs look for these.fiddlosopher7-6/+6
(This fixes a bug where Setup.hs would find .svn directories.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1230 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Mark the package as UNRELEASED.roktas1-1/+1
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1229 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Moved code.txt -> code.text.fiddlosopher2-1/+46
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1228 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Revert "Added note in INSTALL about doing 'make templates' if installing ↵fiddlosopher1-1/+1
using Cabal from svn." This reverts commit 76c49ebc6361875d97825bab25e173742f0a90ab. 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-09Have --version print a list of supported languages for syntax highlighting.fiddlosopher1-3/+12
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1226 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Updated README's instructions on delimited code blocks to includefiddlosopher1-7/+8
information about syntax highlighting. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1225 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Added website demo for code highlighting.fiddlosopher1-0/+4
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1224 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Updated INSTALL with instructions for compiling in syntax highlighting support.fiddlosopher1-31/+43
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1223 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09CABALOPTS may now be specified with 'make'.fiddlosopher1-1/+1
For example: CABALOPTS=-fhighlighting make git-svn-id: https://pandoc.googlecode.com/svn/trunk@1222 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Added build option for syntax highlighting, with *optional* dependency on ↵fiddlosopher6-16/+118
highlighting-kate. + pandoc.cabal includes a flag, 'highlighting', that causes a dependency on highlighting-kate. + if Setup.hs detects this dependency, it copies templates/Highlighting.yes.hs to Text/Pandoc/Highlighting.hs. Otherwise, it copies templates/Highlighting.no.hs. + The HTML writer imports this new module instead of Text.Highlighting.Kate. The new module exports highlightHtml, which either uses highlighting-kate to perform syntax highlighting or automatically returns a failure code, depending on whether highlighting support was selected. + --version now prints information about whether syntax highlighting support is compiled in. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1221 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Modified Setup.hs with new location for DefaultHeaders.hs.fiddlosopher1-2/+4
Print template notice on top of autogenerated source files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1220 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Removed Text.Regex dependencies by rewriting using plain Haskell:fiddlosopher4-54/+59
+ from Text.Pandoc.Writers.RTF + from Text.Pandoc.Writers.HTML + from Main + from pandoc.cabal git-svn-id: https://pandoc.googlecode.com/svn/trunk@1219 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.fiddlosopher4-12/+12
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1218 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Makefile: only use --with-hc-pkg if GHC_PKG is defined.fiddlosopher1-2/+6
Note that Cabal will automatically choose the ghc-pkg appropriate for the compiler selected, so normally specifying GHC by itself is sufficient. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1217 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Incorporated templates phase into Setup.hs and improved templates.fiddlosopher14-4499/+1079
+ Removed templates/Makefile and fillTemplates.pl. + Removed 'templates' Makefile target. + Added postConf hook to Setup.hs that fills the templates. + Use compressed javascripts for S5 and ASCIIMathML templates. + Revised test suite. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1216 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09Add default CSS to document header if syntax highlighting used.fiddlosopher1-5/+27
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1215 788f1e2b-df1e-0410-8736-df70ead52e1b