fiddlosopher
2fdcd1701a
Fixed haddock documentation error
...
(affects latest version of haddock only).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1275 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-31 20:20:02 +00:00
fiddlosopher
447efa0f9f
Fixed bug in RTF writer:
...
Extra spaces were being printed after emphasized, boldface, and
other inline elements. Resolves Issue #64 .
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1274 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-26 21:46:12 +00:00
fiddlosopher
5f5fb2e503
Additional README changes for OpenDocument writer.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1273 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 03:07:23 +00:00
fiddlosopher
5593b85860
Added link to OpenDocument XML in web page.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1272 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 02:48:14 +00:00
fiddlosopher
429b666ce5
Documented OpenDocument writer and markdown2odt in website.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1271 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 02:47:03 +00:00
fiddlosopher
1975b32697
Documented OpenDocument writer in macports Portfile.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1270 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 02:46:57 +00:00
fiddlosopher
965cce08e2
Documented OpenDocument writer and markdown2odt in freebsd pkg-descr.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1269 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 02:46:51 +00:00
fiddlosopher
4b2a1fcd30
Documented OpenDocument writer and markdown2odt in debian/control.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1268 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 02:46:45 +00:00
fiddlosopher
9420982b1a
Documented OpenDocument writer and markdown2odt in README.
...
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-25 02:46:39 +00:00
fiddlosopher
b8cdc13a92
Changed name of output file in web demo #21 .
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1266 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-25 01:37:42 +00:00
fiddlosopher
8624ed9bd3
The '--sanitize-html' option now examines URIs in markdown links
...
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-22 20:41:56 +00:00
fiddlosopher
4988441f3c
Fixed handling of Quoted inline elements to use unicode left & right quotes.
...
Added inQuotes auxiliary function.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1261 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-21 15:45:54 +00:00
fiddlosopher
c2e207a1f6
Added demos for opendocument XML and markdown2odt.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1260 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:47:04 +00:00
fiddlosopher
91d9fffe9e
Added preliminary version of markdown2odt wrapper.
...
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-19 18:46:57 +00:00
fiddlosopher
1cbcaa8802
Added odt-styles directory with default ODT styles.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1258 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:46:44 +00:00
fiddlosopher
83fe5ed66c
Acknowledge contributors in README.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1257 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:46:32 +00:00
fiddlosopher
97a3b2234a
OpenDocument: use the new Definition_20_Term and
...
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-19 18:46:27 +00:00
fiddlosopher
d2643c25e2
Code cleanup only.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1255 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:46:18 +00:00
fiddlosopher
ee644ddda0
OpenDocument writer: Don't print raw HTML.
...
(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-19 18:46:09 +00:00
fiddlosopher
dcb37d32d1
Moved XML-formatting functions to new unexported module Text.Pandoc.XML.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1253 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:46:01 +00:00
fiddlosopher
2baf6d09ee
Andrea Rossato's patch for OpenDocument support.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1252 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:45:51 +00:00
fiddlosopher
74e8085631
Small fix to markdown2pdf man page:
...
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-19 18:41:07 +00:00
fiddlosopher
71f12408bc
Added .gitignore.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1250 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-19 18:41:01 +00:00
fiddlosopher
213d30fdf6
Added amsmath package to default LaTeX header. Resolves Issue #48 .
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1249 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-03-09 03:05:54 +00:00
fiddlosopher
42e932da6d
Require parsec < 3.
...
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-03-06 18:35:55 +00:00
fiddlosopher
74189c97b0
Added Texinfo writer to exported modules in pandoc.cabal.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1247 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 20:40:17 +00:00
fiddlosopher
94dcbab55f
Modified disallowedInNode in Texinfo writer to correct list of disallowed characters.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1246 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 18:21:19 +00:00
fiddlosopher
839f77d81e
Use style attributes rather than css classes for strikethrough and ordered 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-24 18:15:36 +00:00
fiddlosopher
858269dd20
Changes to Texinfo writer:
...
+ 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-24 05:48:59 +00:00
fiddlosopher
49e0e507b7
Committed novalazy's initial patch for texinfo output,
...
including tests for texinfo writer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1243 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 05:48:41 +00:00
fiddlosopher
270eb7bed4
Moved BlockWrapper and wrappedBlocksToDoc from ConTeXt writer to Shared.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1242 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 05:48:31 +00:00
fiddlosopher
3d4d897a67
Fixed path for library documentation in website.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1241 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 05:48:26 +00:00
fiddlosopher
609a953a83
Updated package URL for pandoc.cabal and pandoc.cabal.ghc66.
...
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-24 05:48:22 +00:00
fiddlosopher
50e660d346
Removed font-size 110% on code in web css.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1239 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-24 05:48:18 +00:00
fiddlosopher
48d5919331
Renamed web/code.txt -> code.text.
...
Deleted code.text from top-level directory.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1236 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10 19:00:00 +00:00
fiddlosopher
9a7ca4d9aa
Minor changes due to changes in highlighting-kate API.
...
defaultHighlightingCss now imported rather than duplicated.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1235 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10 18:59:54 +00:00
fiddlosopher
9c9b41e8c6
Makefile: Add files in templates directory as dependencies for $(BUILDCONF).
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1234 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10 18:59:44 +00:00
fiddlosopher
0a48cb7de8
Added note about syntax highlighting to "Features" on web page.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1233 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-10 18:59:40 +00:00
fiddlosopher
742a465980
Support for startFrom="nn" to select starting line number in syntax 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-10 18:59:34 +00:00
roktas
250a3e4dda
Remove build dependencies on libghc6-regex-compat-dev, libghc6-uulib-dev and
...
perl.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1231 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 16:39:51 +00:00
fiddlosopher
868aeace2d
Renamed default headers with .header extension; have Setup.hs look for these.
...
(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-09 03:30:59 +00:00
roktas
968b34a96b
Mark the package as UNRELEASED.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1229 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:30:17 +00:00
fiddlosopher
a2acc54014
Moved code.txt -> code.text.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1228 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:22:22 +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
d4d905f8a8
Have --version print a list of supported languages for syntax highlighting.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1226 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:22:01 +00:00
fiddlosopher
f6ea504b83
Updated README's instructions on delimited code blocks to include
...
information about syntax highlighting.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1225 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:21:57 +00:00
fiddlosopher
f8d16817c9
Added website demo for code highlighting.
...
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1224 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:21:52 +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
c55ac7cd84
CABALOPTS may now be specified with 'make'.
...
For example: CABALOPTS=-fhighlighting make
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1222 788f1e2b-df1e-0410-8736-df70ead52e1b
2008-02-09 03:21:39 +00:00
fiddlosopher
04b32451be
Added build option for syntax highlighting, with *optional* dependency on 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-09 03:21:19 +00:00