Puneeth Chaganti
4d48abcb12
Added tests.
...
+ Added tables.org and writer.org to tests.
+ Added org.template to templates.
+ Changed RunTests.hs as required.
+ Minor changes to Org writer.
2010-12-04 23:49:53 +05:30
John MacFarlane
357b965b44
Merge branch 'citeproc' into master.
...
Conflicts:
src/Text/Pandoc/Definition.hs
2010-12-03 23:43:47 -08:00
John MacFarlane
d4e512776d
Textile reader: added hrule parser.
2010-12-03 23:10:52 -08:00
John MacFarlane
0356ad4de6
Textile reader: drop leading, trailing newline in pre block.
...
This is consistent with how the other readers work.
2010-12-03 23:10:52 -08:00
John MacFarlane
968748dec1
Textile reader: updated test suite to include raw HTML.
2010-12-03 23:10:52 -08:00
John MacFarlane
f415e9e119
Textile reader: parse raw by default.
...
It's part of the textile spec to allow raw HTML,
just as with markdown.
-R is no longer needed in test suite.
2010-12-03 23:10:52 -08:00
paul.rivier
c3866f3c66
punctuation handling, and more html-specific handling
2010-12-03 23:10:52 -08:00
Paul Rivier
d724c6b568
html inlines and html blocks handling in textile reader
2010-12-03 23:10:51 -08:00
Paul Rivier
fa0866886b
textile reader now ignores html/css attributes
2010-12-03 23:10:51 -08:00
Paul Rivier
593b4f6c94
fix autolink by promoting it in the parser list, fix table parabreak
2010-12-03 23:10:51 -08:00
Paul Rivier
a7da0672dc
more support for Textile reader (explicit links, images), tests and cabal entries
2010-12-03 23:10:51 -08:00
John MacFarlane
68d38db194
Revamped tests, using markdown output instead of HTML.
...
This is easier to inspect.
2010-11-28 10:03:05 -08:00
John MacFarlane
61b16116ce
Citation tests: removed spurious double-spaces.
2010-11-28 08:12:32 -08:00
John MacFarlane
b2e9f64984
Updated citation tests to use en-dash between ranges.
2010-11-28 08:10:01 -08:00
John MacFarlane
b10e82c9fa
Fixed spacing bug for reference-style citations.
2010-11-28 07:55:33 -08:00
John MacFarlane
e2e107cbed
Fixed spacing in ieee citation test.
...
(Test now fails pending citeproc update.)
2010-11-27 19:20:06 -08:00
John MacFarlane
f64983f879
Merge branch 'master' into citeproc
2010-11-27 14:58:23 -08:00
John MacFarlane
e9cfbd5adc
OpenDocument writer: don't print raw TeX.
2010-11-27 14:57:48 -08:00
John MacFarlane
8f1aed168b
Removed extra line break from citation test output.
2010-11-27 11:27:52 -08:00
John MacFarlane
54397a9e99
Merge branch 'master' into citeproc
2010-11-27 10:58:05 -08:00
John MacFarlane
1ffbb59823
Minor adjustment in textile test suite.
2010-11-27 10:56:46 -08:00
John MacFarlane
c989bf028f
Merge branch 'textile'
...
Conflicts:
README
man/man1/pandoc.1.md
pandoc.cabal
2010-11-27 10:52:44 -08:00
John MacFarlane
71c9316a59
Use [] for superscripts and subscripts in textile writer.
2010-11-27 10:44:58 -08:00
John MacFarlane
cae3f8edba
Fixed spacing problems in textile nested lists.
2010-11-27 10:44:35 -08:00
John MacFarlane
e8516ff337
Set HOME in RunTests.
...
Patch from Nathan Gass.
2010-11-26 11:48:22 -08:00
John MacFarlane
be909d2bfc
Fixed eol mistake in test.
2010-11-22 23:10:00 -08:00
John MacFarlane
3c7c1d8574
Changed markdown citation tests.
...
Now the tests are produced in HTML format (so we can see all
formatting). Also, we produce them in three different style,
chicago-author-date, ieee, and mhra.
2010-11-22 22:54:40 -08:00
John MacFarlane
8e71b5b279
Updated markdown-citations test for new citeproc changes.
2010-11-21 09:30:32 -08:00
John MacFarlane
f3bb3c1ff1
Markdown citation parser improvements and test updates.
...
Now we handle a suffix after a bare locator, e.g.
@item1 [p. 30, suffix]
The suffix now includes any punctuation that introduces it.
A few tests fail because of problems with citeproc (extra space
before the suffix, missing space after comma separating multiple
page ranges in the locator).
2010-11-18 13:22:20 -08:00
John MacFarlane
aaf7de0dda
Markdown reader: Revised parser for new citation syntax.
...
Suffixes and prefixes are now [Inline]. The locator is separated
from the citation key by a blank space. The locator consists of
one introductory word and any number of words containing at
least one digit. The suffix, if any, is separated from the locator
by a comma, and continues til the end of the citation.
2010-11-18 12:38:45 -08:00
John MacFarlane
7aecddd0f7
Replaced --biblio-file with --bibliography, removed --biblio-format.
...
Bibliography format is guessed from the file extension of the
bibliography.
Also, the bibliography entries are now read during option parsing.
2010-11-13 08:42:09 -08:00
John MacFarlane
1fa2973da6
Repairs to citation parser + citation test suite.
2010-11-12 19:30:59 -08:00
John MacFarlane
bf4d919989
Improvements to test suite for citations.
2010-11-12 18:46:34 -08:00
John MacFarlane
f272b81f85
Set LANG in test runner.
2010-11-12 18:40:16 -08:00
John MacFarlane
c44ff4c555
Added material for citation tests.
...
Currently they fail with a multibyte error from citeproc-hs
when it tries to read locale.
2010-11-12 00:38:31 -08:00
John MacFarlane
ca51bbbf16
HTML reader: don't parse raw HTML inside <code> tag.
...
Previously '<code><a>x</a></code>' would be parsed as
Code "<a>x</a>", which is not what you want.
2010-11-11 20:02:37 -08:00
John MacFarlane
21556e37f4
Allow HTML comments as inline elements in markdown.
...
So,
aaa <!-- comment --> bbb
can be a single paragraph.
2010-11-09 22:51:02 -08:00
John MacFarlane
905d194db5
Added test for macros.
2010-10-26 20:03:02 -07:00
John MacFarlane
7e9e959548
LaTeX & ConTeXt writers: escape [ and ] as {[} and {]}.
...
This avoids unwanted interpretation as optional arguments
in some contexts, which caused the brackets to silently
disappear!
2010-10-24 19:38:16 -07:00
John MacFarlane
6f75034bb9
Updated s5 tests.
2010-07-22 23:24:22 -07:00
John MacFarlane
da52412455
Extended --offline to s5.
...
S5 default is now to include links, rather than a full copy
of scripts and stylesheets.
2010-07-22 22:23:43 -07:00
John MacFarlane
fb9866c70f
Added amssymb to default latex template.
...
Resolves github Issue 1.
2010-07-20 21:06:32 -07:00
John MacFarlane
feb70b6e93
Made spacing at end of output more consistent.
...
Previously some of the writers added spurious whitespace.
This has been removed, resolving Issue #232 .
NOTE: If your application combines pandoc's output with other
text, for example in a template, you may need to add spacing.
For example, a pandoc-generated markdown file will not have
a blank line after the final block element. If you are inserting
it into another markdown file, you will need to make sure there
is a blank line between it and the next block element.
2010-07-20 12:42:12 -07:00
John MacFarlane
85f8c51b64
Use default highlighting CSS rather than embedding CSS in templates.
2010-07-16 00:23:13 -07:00
John MacFarlane
3adacdb04e
Updated pandoc to use css for highlighting-kate 0.2.7.
...
Note: Update any custom CSS or templates accordingly.
2010-07-15 23:02:29 -07:00
John MacFarlane
9be9bccfcf
Added --section-divs option.
...
+ Header identifiers now get attached to the headers, unless
--section-divs is specified, in which case they are added to
enclosing divs. By default, the divs are not added.
+ Resolves Issue #230 , #239 .
2010-07-15 22:26:45 -07:00
John MacFarlane
57a91f3b6a
Added --webtex option for HTML math.
...
+ Added --webtex command-line option, with optional parameter.
(Defaults to using google charts API.)
+ Added WebTeX HTMLMathMethod.
+ Removed MimeTeX HTMLMathMethod. (WebTeX is generic and subsumes it.)
+ Modified --mimetex option to use WebTeX.
+ Thanks to lpeterse for the idea and some of the code.
2010-07-15 19:01:00 -07:00
John MacFarlane
8757da76b0
Improved handling of code in man writer.
...
+ Inline code is now in monoscpace, not bold.
+ Code blocks now use .nf (no fill) and .IP (indented paragraph).
+ Resolves Issue #247 .
2010-07-14 10:58:34 -07:00
John MacFarlane
a59a141906
Put insert-before text before the title h1 in HTML.
...
+ This is the documented behavior; the insert-before text
comes after the <body> tag.
+ Resolves Issue #241 .
2010-07-13 19:30:10 -07:00
John MacFarlane
be58768522
Added tests for example lists.
2010-07-12 23:07:00 -07:00