John MacFarlane
ea0a09aef1
Fixed bug in slidy writer: unclosed div tag.
2011-07-06 17:24:40 -07:00
John MacFarlane
4b31e4f5cf
Updated slidy/ directory with Slidy2 js and css.
...
Note: This still needs to be run through jsmin.
2011-07-06 17:24:40 -07:00
John MacFarlane
5f0ed50ca8
Updated slidy template to use Slidy2.
2011-07-06 17:24:40 -07:00
John MacFarlane
201e680964
Merge pull request #270 from khightower/master
...
EPUB writer: Add a meta element specify the cover.
2011-07-05 13:46:29 -07:00
Kelsey Hightower
cf11673d83
EPUB writer: Add a meta element specify the cover.
...
Some EPUB e-readers, such as the Nook, require a meta element inside the
OPF metadata block to ensure the cover image is properly displayed.
When generating an EPUB using the `--epub-cover-image` option, this
patch adds the following meta element to the OPF metadata block in
`content.opf`:
<meta name="cover" content="cover-image" />
2011-07-04 23:39:50 -04:00
John MacFarlane
9b5f1cba21
Fixed test, added another markdown emph/strong test.
2011-06-22 20:37:57 -07:00
John MacFarlane
5611057e06
Added failing test case due to Perry Wagle.
2011-06-22 20:18:32 -07:00
John MacFarlane
9e71dc3f48
Support \dots and well as \ldots in LaTeX reader.
2011-06-22 20:06:29 -07:00
John MacFarlane
d324bcb0a9
Added Tests.Writers.Markdown.
2011-06-22 19:46:54 -07:00
John MacFarlane
39811e6d9f
Changed to github issue tracker.
2011-06-09 18:12:12 -07:00
John MacFarlane
da2301387f
Markdown writer: Insert HTML comment btw list and indented code block.
...
This prevents the code block from being interpreted as part of the list.
2011-06-06 05:56:59 -07:00
John MacFarlane
8d54e304c6
LaTeX writer: use deVerb on table and picture captions.
...
Otherwise LaTeX complains about \verb inside command argument.
Thanks to bbanier for reporting the bug.
2011-05-24 23:56:23 -07:00
John MacFarlane
6e59053d32
Forbid ()s in citation item keys.
...
Resolves Issue #304 : problems with
(@item1; @item2)
because the final paren was being parsed as part of
the item key.
2011-05-22 20:24:18 -07:00
John MacFarlane
9ff589359f
Revert "Parsing: Use new type aliases, PandocParser, GeneralParser."
...
This reverts commit ec5410bc4e
.
2011-04-29 11:34:36 -07:00
John MacFarlane
ec5410bc4e
Parsing: Use new type aliases, PandocParser, GeneralParser.
...
This should make it easier to change the types later.
2011-04-29 11:32:24 -07:00
John MacFarlane
b9ba3847be
Allow non-plain math methods in epub.
2011-04-29 10:49:45 -07:00
John MacFarlane
b42c48e919
Disallow notes within notes in reST and markdown.
...
These previously caused infinite looping and stack overflows.
For example:
[^1]
[^1]: See [^1]
Note references are allowed in reST notes, so this isn't a full
implementation of reST. That can come later. For now we need to
prevent the stack overflows.
Partially resolves Issue #297 .
2011-04-20 11:42:27 -07:00
John MacFarlane
4f526fc521
Added myself as participant in HCAR report.
2011-04-16 12:18:40 -07:00
John MacFarlane
cfaa9acd18
Fixed Slidy/S5 output to allow --section-divs.
...
This is also a cleaner way of inserting the slide divs.
Resolves Issue #296 .
2011-04-16 12:16:24 -07:00
John MacFarlane
8ddf7f5dc7
Whitespace cleanup.
2011-04-16 10:37:47 -07:00
John MacFarlane
220bd121d8
Allow --section-divs with slidy output.
2011-04-16 10:33:44 -07:00
John MacFarlane
b7a2772d62
Updated HCAR report.
2011-04-16 10:32:03 -07:00
John MacFarlane
679113ab02
Revert API change in EPUB writer.
...
Instead of passing the epub cover image as a parameter, we now pass
it in the list of variables. This avoids the API change introduced
in f5cbb68534
without losing the
new functionality.
2011-04-16 09:54:05 -07:00
John MacFarlane
4b90ffe1bd
Allow '|' followed by newline in RST line block.
2011-04-11 14:45:42 -07:00
John MacFarlane
6b282fda5b
Document --biblatex and --natbib options.
2011-04-04 19:42:12 -07:00
John MacFarlane
4ad9360a97
Fixed bug in footnote order in HTML.
...
CircleCode pointed out that the following markdown produces
out-of-order footnote markers in HTML:
-8<------------------------
some text^[with a footnote which will be #1 ]
issue
some other text^[with a footnote which will be #2 ]
-8<------------------------
This fixes the problem.
2011-03-28 16:54:37 -07:00
John MacFarlane
69b0c15030
Added FlexibleInstances pragma.
...
Thanks to Sivaram Gowkana for the patch.
2011-03-19 12:05:55 -07:00
John MacFarlane
6beba76f61
Changed uri parser so it doesn't include trailing punctuation.
...
So, in RST, 'http://google.com .' should be parsed as a link
to 'http://google.com ' followed by a period.
The parser is smart enough to recognize balanced parentheses,
as often occur in wikipedia links: 'http://foo.bar/baz_(bam) '.
Also added ()s to RST specialChars, so '(http://google.com )'
will be parsed as a link in parens.
Added test cases.
Resolves Issue #291 .
2011-03-18 11:30:20 -07:00
John MacFarlane
d1304e8356
OpenDocument writer: Use "First paragraph" style after most non-para blocks.
...
(Not just headers, as in the last patch.)
Patch from Andrea Rossato, slightly modified by JM.
2011-03-16 12:35:32 -07:00
John MacFarlane
f5cbb68534
Added --epub-cover-image option.
...
API change: Added a parameter for the cover image path to
writeEPUB.
Followed best practices outlined in
http://blog.threepress.org/2009/11/20/best-practices-in-epub-cover-images/
2011-03-13 12:42:16 -07:00
John MacFarlane
403bb521cd
Fixed bug in RST field list parser.
...
The bug affected field lists with multi-line items at the
end of the list.
2011-03-12 17:08:23 -08:00
John MacFarlane
e24ce1c11d
OpenDocument: Use special style for 1st para after heading.
...
"First paragraph" as opposed to "Text body." This allows
users to specify e.g. that only paragraphs after the first
paragraph of a section are to be indented.
Thanks to Andrea Rossato for the patch.
Closes github Issue #20 .
2011-03-12 13:38:04 -08:00
John MacFarlane
08797d1b3e
Fixed orgmode link.
2011-03-09 08:21:33 -08:00
John MacFarlane
21bd73ddaf
Fixed lhs-test.nohl tests.
...
A previous commit accidentally overwrote them with highlighted tests.
2011-03-04 11:11:01 -08:00
John MacFarlane
eebd77829c
Markdown+lhs reader: Require space after inverse bird tracks.
...
The point of the change is to allow html tags to be used freely
at the left margin of a markdown+lhs document.
Thanks to Conal Elliot for the suggestion.
2011-03-02 12:47:17 -08:00
John MacFarlane
1ee0640c52
Bump version to 1.8.1.1 & update changelog.
2011-02-13 08:56:45 -08:00
John MacFarlane
5c3d9488d2
markdown2pdf: Removed mistakenly included debugging lines.
...
With the lines, markdown2pdf creates a temporary directory in the
working directory. Original behavior now restored.
2011-02-13 08:53:48 -08:00
John MacFarlane
b1c19998ed
Updated changelog.
2011-02-13 08:46:04 -08:00
John MacFarlane
d9c824c2cc
Version bump to 1.8.1.
2011-02-13 08:35:02 -08:00
John MacFarlane
78cd41c597
markdown2pdf: Fixed filename encoding issues.
...
With help from Paulo Tanimoto.
Resolves Issue #286 .
2011-02-13 08:28:59 -08:00
John MacFarlane
84bf846503
LaTeX writer: Changed figure defaults to htbp.
...
This prevents "too many unprocessed floats." Resolves
Issue #285 .
2011-02-11 19:03:46 -08:00
John MacFarlane
37fa6df612
UTF8: Encode filenames.
...
(This is still needed, even with recent base.)
Partially resolves Issue #286 (though now there is a
new markdown2pdf problem).
2011-02-11 18:55:14 -08:00
John MacFarlane
459e460abb
pandoc.hs: Updated copyright notice.
2011-02-06 17:28:12 -08:00
John MacFarlane
47ba15f5a1
Revert "Use us-ascii charset in HTML template if --ascii option."
...
This reverts commit aec5489960
.
No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06 10:30:52 -08:00
John MacFarlane
fb5faaa91e
HTML writer: Fixed footnote backrefs in --ascii mode.
2011-02-06 09:46:59 -08:00
John MacFarlane
aec5489960
Use us-ascii charset in HTML template if --ascii option.
2011-02-06 09:38:44 -08:00
John MacFarlane
8f408e4b7b
Added --ascii option.
...
Currently supported only in HTML writer.
2011-02-06 09:27:03 -08:00
John MacFarlane
9b38b69c94
Make --toc work in epub output.
2011-02-06 08:59:51 -08:00
John MacFarlane
79a0fbe146
HTML writer: Put line breaks in section divs.
2011-02-05 11:27:25 -08:00
John MacFarlane
cbe162ecbe
Make writerSectionDivs default to False.
2011-02-05 11:21:10 -08:00