Commit graph

662 commits

Author SHA1 Message Date
John MacFarlane
1d268876f8 Merge pull request #1726 from AlexanderS/twiki-parser
TWiki Reader: add new new twiki reader
2014-10-31 12:02:14 -07:00
Alexander Sulfrian
2cf09aad55 TWiki Reader: update documentation 2014-10-30 20:02:17 +01:00
John MacFarlane
93b82e8ea6 Clarified need for -s to get character encoding info.
Closes #1724, #1725.
2014-10-28 10:21:44 -07:00
Kristof Bastiaensen
0198e95071 Use '=' instead of '#' for atx-style headers in markdown+lhs. 2014-10-14 13:28:28 +02:00
John MacFarlane
067f2e640f Updated description of heuristic for math $. 2014-09-29 14:55:03 -07:00
Artyom
9d3504dd4d README: Add an -email address link- example.
Fixes #1631.
2014-09-26 13:49:08 +04:00
mpickering
85cff719f6 Updated README to include information about KaTeX switches 2014-09-25 18:32:50 +01:00
John MacFarlane
5459b22d50 Use real copyright symbol in README epub metadata example. 2014-08-31 14:46:51 -07:00
John MacFarlane
6cf9ab7855 README: escape (c) in epub metadata example 2014-08-31 12:31:36 -07:00
John MacFarlane
78da4d7bd8 Updated README date 2014-08-30 14:15:22 -07:00
John MacFarlane
ee28dfb502 Updated README on --self-contained.
Removed outdated claim that pandoc will look in the user data
directory if a relative path is specified and the file is not
found locally.  Closes #1572.
2014-08-30 11:09:15 -07:00
John MacFarlane
0ef1f787c7 Docx writer: Bibliography entries get Bibliography style.
Closes #1559.
2014-08-23 20:52:09 -07:00
John MacFarlane
16f8a59f8c Small documentation tweak 2014-08-14 09:56:24 -07:00
John MacFarlane
a67e5e877d README: Added needed blanklines in definition list.
Thanks @mpickering for noticing this.
2014-08-11 08:18:37 -07:00
Matthew Pickering
ed7315449f Updated README with information about EPUB meta element 2014-08-11 11:29:30 +01:00
John MacFarlane
19daf6cf0a Added native_divs and native_spans extensions.
This allows users to turn off the default pandoc behavior of
parsing contents of div and span tags in markdown and HTML
as native pandoc Div blocks and Span inlines.

Setting of default epub extensions has been moved from the EPUB
reader to Text.Pandoc.
2014-08-08 21:05:34 -07:00
John MacFarlane
2fabdf9d93 README: Removed duplicate ref of [EPUB]. 2014-08-04 12:43:13 -07:00
John MacFarlane
4630cff2a6 Merge branch 'epubend' of https://github.com/mpickering/pandoc into mpickering-epubend
Conflicts:
	pandoc.cabal
2014-08-04 07:36:18 -07:00
John MacFarlane
81335df9a5 Merge pull request #1461 from cben/readme-linkable-extensions
README: linkable extensions
2014-08-03 11:50:07 -07:00
Beni Cherniavsky-Paskin
4919b1b568 README: make all extension headers H4 2014-07-31 23:56:40 +03:00
Matthew Pickering
d6717c7aba README: Updated with EPUB information 2014-07-31 21:39:50 +01:00
Beni Cherniavsky-Paskin
dc799507e1 README: blank line after headers 2014-07-31 23:11:56 +03:00
John MacFarlane
fcafcaa8e6 Added note in README about pipe tables not wrapping in LaTeX/PDF.
See
http://stackoverflow.com/questions/25037357/pandoc-long-tablerows-in-markdown-pdf-documents-do-not-get-linewrap/25050474#25050474
2014-07-31 07:48:14 -07:00
John MacFarlane
b5210bc175 Added --extract-media option.
This has been documented to affect the epub and docx readers, so
we should either add the epub reader before the next release or
change the documentation.
2014-07-30 11:44:25 -07:00
John MacFarlane
33a051d00d Docx writer: Print subtitle from metadata if present.
Use Subtitle style.

See #1451.
2014-07-29 20:46:55 -07:00
Beni Cherniavsky-Paskin
f84a25e1aa README: reduce 1:1 Topic -> Extension nesting
Reorganize some sections whose only purpose was containing a single Extension subsection.
2014-07-28 18:19:50 +03:00
John MacFarlane
2610de0159 Docx writer: include abstract with Abstract style.
Addresses docx part of #1451.
2014-07-26 22:55:45 -07:00
John MacFarlane
74690b191e Added t2t to -f in README documentation. 2014-07-26 18:49:19 -07:00
Matthew Pickering
00cb9836b8 Txt2Tags Reader: Updated README and package description 2014-07-27 00:12:57 +01:00
Beni Cherniavsky-Paskin
28debcd9dd README: turn all extensions into headers for direct linking
Change all `**Extension: ...**` lines into headers to allow permalinking to a specific extension.
2014-07-23 22:50:46 +03:00
John MacFarlane
64c7a0ab76 Include lot and lof variables in latex template.
These can be set to get `\listoftables` and `\listoffigures`.
Closes #1407.

At this point we won't add a command line argument, because
this only affects one writer.  But the variables can be set
at the command line with

    -Vlof -Vlot

or in YAML metadata.
2014-07-20 21:58:16 -07:00
John MacFarlane
4af8eed764 Markdown reader: revised definition list syntax (closes #1429).
* This change brings pandoc's definition list syntax into alignment
  with that used in PHP markdown extra and multimarkdown (with the
  exception that pandoc is more flexible about the definition markers,
  allowing tildes as well as colons).

* Lazily wrapped definitions are now allowed; blank space is required
  between list items; and the space before definition is used to
  determine whether it is a paragraph or a "plain" element.

* For backwards compatibility, a new extension,
  `compact_definition_lists`, has been added that restores the behavior
  of pandoc 1.12.x, allowing tight definition lists with no blank space
  between items, and disallowing lazy wrapping.
2014-07-20 16:33:59 -07:00
John MacFarlane
fe6b4e532d Fixed typo in link 2014-07-17 19:40:01 -07:00
John MacFarlane
9d10df7ff4 Clarified documentation on small caps. (#1360) 2014-07-13 15:21:32 -07:00
Caleb McDaniel
a9f00ee0d6 document fenced_code_attributes extension
Adds explanation of this extension to the README, using
description provided in 7654db9df1.
2014-07-12 15:48:54 -05:00
John MacFarlane
7654db9df1 Markdown writer: don't use braced attributes for fenced code.
Removed `Ext_fenced_code_attributes` from `markdown_github`
extensions.

If this extension is not set, the first class attribute will
be printed after the opening fence as a bare word.

Closes #1416.
2014-07-11 15:54:21 -07:00
John MacFarlane
ca159de30a Documented fact that you can put YAML metadata in a separate file.
See #1412.
2014-07-10 13:49:40 -07:00
John MacFarlane
7560f99167 Document DokuWiki writer in README. 2014-07-07 16:20:28 -06:00
Jesse Rosenthal
74676df75f Fix typo in README. 2014-06-25 16:19:27 -04:00
Jesse Rosenthal
58da1cd3bd Updated README to include "--track-changes" option. 2014-06-25 16:01:52 -04:00
John MacFarlane
5d0103606f Markdown reader: Support smallcaps through span.
`<span style="font-variant:small-caps;">foo</span>` will be
parsed as a `SmallCaps` inline, and will work in all output
formats that support small caps.

Closes #1360.
2014-06-20 15:26:45 -07:00
John MacFarlane
35e57db5c2 Finished first draft of Haddock writer. 2014-06-18 17:09:36 -07:00
Jesse Rosenthal
c709cec0bd Updated README to reflect docx reader. 2014-06-16 07:18:52 -04:00
John MacFarlane
ff25cf079c Reformatted nocite example in README. 2014-06-04 08:18:24 -07:00
John MacFarlane
455072bdf2 Updated README on reference.docx. 2014-06-01 23:38:27 -07:00
John MacFarlane
265f0e3da1 Fixed documentation of attributes. Closes #1315. 2014-05-27 10:39:13 -07:00
John MacFarlane
f1cd6af5ec Updated date on README. 2014-05-27 10:32:46 -07:00
Phillip Alday
cb6879cd2f fixed escape for literal paragraph 2014-05-16 17:36:01 +02:00
John MacFarlane
0048b8c68c README: Updated Authors. 2014-05-07 09:32:25 -07:00
John MacFarlane
d508c554f7 LaTeX template: Added linestretch variable.
Documented this and fontfamily.
2014-05-06 10:48:31 -07:00
John MacFarlane
ddb47ef6e8 Added fontfamily variable to latex template. (tlvince) 2014-05-06 09:55:43 -07:00
John MacFarlane
9fe669976c README: Clarified citation key syntax. 2014-05-04 12:21:34 -07:00
John MacFarlane
26dc79cdd1 Clarified use of --natbib and --biblatex.
Not for use with pandoc-citeproc.
2014-05-04 12:18:44 -07:00
John MacFarlane
9625cf6f40 README: Note about unnumbered being added to final 'References' sect. 2014-05-03 22:05:24 -07:00
Albert Krewinkel
a76869ced5 README: Update variable defaults documentation
The documented default values of variables now agree with their true
default values as defined in Writer/HTML.hs.
2014-04-27 21:21:20 +02:00
John MacFarlane
dc82d222e5 README: Added note to --bibtex/--natbib: not for use in making PDF.
Closes #1194. Thanks to nahoj.
2014-04-05 16:01:46 -07:00
John MacFarlane
e3097172b1 Fixed typo in README 2014-03-24 10:16:06 -07:00
John MacFarlane
64a571775d Updated README and pandoc.cabal with icml writer. 2014-03-04 10:29:13 -08:00
Albert Krewinkel
8909229671 Update README to include info on Org-mode reader 2014-03-04 10:40:52 +01:00
John MacFarlane
0f1fa1b586 Added explanation of 'nocite' trick. 2014-02-13 10:33:18 -08:00
John MacFarlane
68b438b1b8 Removed obsolete README note about mmd title blocks. 2014-01-13 00:13:46 -08:00
John MacFarlane
8ef758fa68 Added README comment on line breaks in cells 2014-01-08 08:11:49 -08:00
John MacFarlane
93eac71383 Documented biblio-files variable 2014-01-03 10:05:56 -08:00
Nicolas Kaiser
a738153941 fix typos in README 2013-12-23 17:00:14 +01:00
John MacFarlane
02e3b2afca Updated README (since abstract will work, at least with default latex). 2013-12-11 22:09:49 -08:00
John MacFarlane
2c886935e6 Added more explanation of metadata in README. 2013-12-11 10:46:36 -08:00
John MacFarlane
7929099a7d Fixed documentation bug. 2013-12-10 10:24:14 -08:00
John MacFarlane
6ba51165b0 Documented use of extensions with non-markdown input formats. 2013-12-06 17:40:11 -08:00
John MacFarlane
e3d19bf1cd Merge pull request #1076 from jlduran/booktabs
Add booktabs package for LaTeX tables
2013-12-03 20:55:14 -08:00
Jose Luis Duran
fdaeec0c48 Add booktabs package for LaTeX tables
[ci skip]
2013-12-04 04:26:22 +00:00
John MacFarlane
bd96f2bdcc EPUB writer: Allow 'stylesheet' in metadata.
The value is a path to the stylesheet.
2013-12-03 10:32:25 -08:00
John MacFarlane
17ef39d157 Fixed cover-image in EPUB YAML metadata. 2013-11-30 15:25:28 -08:00
John MacFarlane
96b678d823 Allow specification of epub-cover-image in YAML metadata. 2013-11-30 15:17:38 -08:00
John MacFarlane
2f4bf9dfa4 README: minor reformatting. 2013-11-30 15:08:09 -08:00
John MacFarlane
6e17070be1 Documented use of YAML metadata for EPUB. 2013-11-30 15:06:19 -08:00
John MacFarlane
0df7cce37d Treat div with class "notes" as speaker notes in slide formats.
Currently beamer goes to `\note{}`, revealjs to `<aside class="notes">`,
and the notes are simply suppressed in other formats.

Closes #925.
2013-10-13 15:37:25 -07:00
John MacFarlane
df313b859f Added small explanation of difference btw -M and -V. 2013-09-19 21:04:58 -07:00
John MacFarlane
87def47e87 Documented --metadata change. 2013-09-19 21:01:17 -07:00
John MacFarlane
c92d9db7f0 README: Added link to lua. 2013-09-13 22:40:00 -07:00
John MacFarlane
873a21170e Updated README on pandocfilters python module. 2013-09-11 22:17:00 -07:00
John MacFarlane
6a5d7cfcbe Changed pandocfilters repository URL. 2013-09-11 19:43:13 -07:00
John MacFarlane
d47eadaf56 --bibliography again implies -F pandoc-citeproc.
But only if pandoc-citeproc isn't already specified as a filter.
2013-09-10 20:23:03 -07:00
John MacFarlane
4381c37b10 --bibliography no longer implies -F pandoc-citeproc.
This could lead to double filtering if the user specifies `-F`
too.
2013-09-08 22:46:30 -07:00
John MacFarlane
81e2df32c9 Made . . . for pause work in all slide show formats except slideous. 2013-09-08 15:47:50 -07:00
John MacFarlane
5afd373ae4 Added lists_without_preceding_blankline extension.
* Added `Ext_lists_without_preceding_blankline` to
  `Extension` in `Options`.  Added this option to
  `githubMarkdownExtensions`.
* Made markdown reader sensitive to this.
* Closes #972.
2013-09-07 09:36:37 -07:00
John MacFarlane
6fb9e82281 Fixed typo. 2013-09-05 19:55:19 -07:00
John MacFarlane
9ca89ec673 Documented --bibliography, --csl, --citation-abbreviations. 2013-09-01 16:26:08 -07:00
John MacFarlane
8977b2aaed Changed --metadata to return Boolean True if no value.
Also documented in README.
2013-09-01 16:22:40 -07:00
John MacFarlane
8e61a6214f Document fact that --toc doesn't do anything for docx or odt output.
See #458.
2013-09-01 09:45:48 -07:00
John MacFarlane
deb59b6235 Removed dependency on citeproc-hs.
Going forward we'll use pandoc-citeproc, as an external filter.

The `--bibliography`, `--csl`, and `--citation-abbreviation` fields
have been removed.  Instead one must include `bibliography`, `csl`,
or `csl-abbrevs` fields in the document's YAML metadata.  The filter
can then be used as follows:

    pandoc --filter pandoc-citeproc

The `Text.Pandoc.Biblio` module has been removed.  Henceforth,
`Text.CSL.Pandoc` from pandoc-citations can be used by library users.

The Markdown and LaTeX readers now longer format bibliographies and
citations.  That must be done using `processCites` or `processCites'`
from Text.CSL.Pandoc.

All bibliography-related fields have been removed from `ReaderOptions`
and `WriterOptions`: `writerBiblioFiles`, `readerReferences`,
`readerCitationStyle`.

API change.
2013-08-24 22:33:01 -07:00
John MacFarlane
0e2605ffdf Allow multiple YAML metadata blocks in document. 2013-08-18 18:39:04 -07:00
John MacFarlane
05cc3a5c21 Improved --filter documentation. 2013-08-18 15:58:08 -07:00
John MacFarlane
89a7703260 Shared: Changed stringify so it ignores notes.
Also documented this in README.
2013-08-16 13:22:27 -07:00
John MacFarlane
bd73d73a28 Removed --print-sample-lua-writer, added --print-default-data-file.
Closes #943.
2013-08-13 18:29:57 -07:00
John MacFarlane
2677e84663 Revert "Revert "Added --filter option.""
This reverts commit 2e5edbb278.
2013-08-08 11:09:00 -07:00
John MacFarlane
208a9e076d Beamer template: Added fonttheme variable. 2013-08-06 18:08:38 -07:00
John MacFarlane
1dde96e418 Document that fancy_lists turns on # as list marker. 2013-07-29 08:38:29 -07:00
John MacFarlane
a97f39c12e Beamer: add allowframebreaks to slide if set in header classes.
It's recommended that your bibliography slide have this
attribute:

    # References {.allowframebreaks}

This causes multiple slides to be created if necessary, depending
on the length of the bibliography.
2013-07-26 12:40:56 -07:00
John MacFarlane
2e5edbb278 Revert "Added --filter option."
This reverts commit 85dacbb282.
2013-07-23 23:17:07 -07:00
John MacFarlane
85dacbb282 Added --filter option.
This makes it easier to use JSON filters.  Instead of
doing

    pandoc -t json | ./filter | pandoc -f json

you can just do

    pandoc --filter ./filter
2013-07-23 23:02:47 -07:00
John MacFarlane
a5df042e28 LaTeX template: Added biblio-style variable.
Closes #920.
2013-07-20 10:53:11 -07:00
David Röthlisberger
df3546068e README: Fix minor typo 2013-07-20 13:02:35 +01:00
John MacFarlane
6c2e76ac61 Added ignore_line_breaks markdown extension.
This causes intra-paragraph line breaks to be ignored,
rather than being treated as hard line breaks or spaces.
This is useful for some East Asian languages, where spaces
aren't used between words, but text is separated into lines
for readability.
2013-07-17 15:38:56 -07:00
John MacFarlane
7d75b913bd LaTeX/Beamer template: Added classoption variable.
This is intended for class options like `oneside`; it may
be repeated with different options.  Thanks to Oliver Matthews.
2013-07-17 15:06:43 -07:00
John MacFarlane
595149a9bc Fixed YAML code block in README. 2013-07-15 19:32:08 -07:00
John MacFarlane
22699a979d Updated authors in README. 2013-07-14 16:12:06 -07:00
John MacFarlane
1de55ecbbd --toc-level no longer implies --toc.
Reason: EPUB users who don't want a visible TOC may still want
to set the TOC level for in the book navigation.
2013-07-03 12:47:35 -07:00
John MacFarlane
3deab5d8e3 Document YAML metadata blocks. 2013-07-02 22:54:36 -07:00
John MacFarlane
3cd62d7c35 Rename Ext_yaml_title_block -> Ext_yaml_metadata_block. 2013-07-02 20:54:30 -07:00
John MacFarlane
dd96213c05 Man writer: give more fine-grained control in template.
Now the `title`, `section`, `header`, and `footer` can all be set
individually in metadata.  The `description` variable has been
removed.

Quotes have been added so that spaces are allowed in the title.

If you have a title that begins

    COMMAND(1) footer here | header here

pandoc will parse it as before into a title, section, header, and
footer.  But you can also specify these elements explicitly.

Closes #885.
2013-06-27 19:32:28 -07:00
Aaron Wolen
1364fb3f00 Documented citecolor variable 2013-06-24 17:49:06 -03:00
John MacFarlane
768ddc3d56 README: Note that --atx-headers affects asciidoc as well as markdown. 2013-05-30 17:01:34 -07:00
John MacFarlane
68272fad66 README: Noted that --self-contained doesn't work with --mathjax. 2013-04-25 19:30:09 -07:00
John MacFarlane
fd36acf439 README: Documented markdown variants (which extensions they have). 2013-04-23 20:41:25 -07:00
John MacFarlane
d0ab30f632 README: Documented ascii_identifiers extension 2013-04-23 20:41:10 -07:00
John MacFarlane
4fa2a94759 Added Text.Pandoc.Writers.Custom, --print-custom-lua-writer.
pandoc -t data/sample.lua

will load the script sample.lua and use it as a custom writer.
data/sample.lua is provided as an example.

Added `--print-custom-lua-writer` option to print the sample
script.
2013-04-14 00:31:39 -05:00
John MacFarlane
72020f1773 Docx writer: Use Compact style for Plain block elements.
This differentiates between tight and loose lists.
Closes #775.
2013-03-30 22:11:00 -07:00
John MacFarlane
05bc6a5af1 Documented haddock reader in README. 2013-03-28 15:31:33 -07:00
John MacFarlane
7286ef1fc3 Fixed typo. Closes #798. 2013-03-24 21:13:02 -07:00
John MacFarlane
134f478e04 Added note on nesting of section levels in revealjs. 2013-03-24 21:07:17 -07:00
John MacFarlane
6217623d0a Added syntax for "pauses" in beamer or reaveljs slide shows.
This gives

    . . .

    a pause.
2013-03-24 21:03:04 -07:00
John MacFarlane
572457f8a9 Documented revealjs in README and pandoc.cabal description. 2013-03-23 21:48:39 -04:00
John MacFarlane
366c20a425 Documented OPML writer in README. 2013-03-20 09:04:41 -07:00
John MacFarlane
74d53f4347 Added Text.Pandoc.Readers.OPML, exporting readOPML.
The _note attribute is supported.  This is unofficial, but
used e.g. in OmniOutliner and supported by multimarkdown.
We treat the contents as markdown blocks under a section
header.

Added to documentation and tests.
2013-03-19 20:22:14 -07:00
John MacFarlane
2a707b8171 README: Documented 'unnumbered' class and '-' shortcut. 2013-03-02 21:12:00 -08:00
John MacFarlane
a19971d358 Updated README on docx styles. 2013-02-27 18:58:26 -08:00
Douglas F. Calvert
a4f31b102a Fix example header identifier. Very minor. 2013-02-26 23:48:56 -05:00
John MacFarlane
ec2a51e40b Updated copyright year in README 2013-02-25 19:04:05 -08:00
John MacFarlane
5afe5218b7 Added examples in README for --number-offset. 2013-02-23 18:39:21 -08:00
John MacFarlane
756c8d492a --number-from -> --number-offset
Also `writerNumberFrom` -> `writeNumberOffset`.
The offset is a list of numbers (0 by default).
These are added to the section, subsection, etc.
numbers that would have been generated automatically.
2013-02-23 18:11:05 -08:00
John MacFarlane
4d54c6368b Clarify that --number-from only works in HTML. 2013-02-22 20:03:48 -08:00
John MacFarlane
4c106993b5 Documented --number-from. 2013-02-22 19:42:22 -08:00
John MacFarlane
ec5dc431de Changes to --version.
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
2013-02-07 20:06:30 -08:00
John MacFarlane
7f6eff3b3b README: List proper default data directory for Windows 7. 2013-02-07 19:48:23 -08:00
John MacFarlane
8dfbe3bbe8 Implement --default-image-extension for LaTeX reader. 2013-02-06 08:36:29 -08:00
John MacFarlane
c5f1a8ad2d Added --default-image-extension and readerDefaultImageExtension.
Note: Currently this only affects the markdown reader.
2013-02-05 20:08:00 -08:00
John MacFarlane
8448b8a386 README: Split up documentation of table extensions. 2013-01-22 19:31:03 -08:00
John MacFarlane
ddfbcae782 Corrected name of blank_before_blockquote in README.
Closes #718.
2013-01-22 07:53:32 -08:00
John MacFarlane
d9c996d37a Change date on README. 2013-01-19 11:11:24 -08:00
John MacFarlane
efcf19e5a4 Slight modification of lhs instructions. 2013-01-17 11:24:21 -08:00
John MacFarlane
19aa163904 Updated extensions in README. 2013-01-16 19:07:21 -08:00
John MacFarlane
517c4b5f31 README clarification. 2013-01-16 09:25:12 -08:00
John MacFarlane
a3381331f8 README on docx styles: Image Caption, not Picture Caption. 2013-01-15 20:17:43 -08:00
John MacFarlane
eebed6bc48 Added writerHtmlQTags and --html-q-tags option.
The previous default was to use `<q>` tags in HTML5.
But `<q>` tags are also valid HTML4, and they are not very
robust in HTML5.  Some user agents don't support them,
and some CSS resets prevent pandoc's quotes CSS from working
properly (e.g. bootstrap).  It seems a better default just
to insert quote characters, but the option is provided  for
those who have gotten used to using `<q>` tags.
2013-01-15 18:50:36 -08:00
John MacFarlane
93b373d4eb Added Brent Yorgey to Authors. 2013-01-15 13:43:36 -08:00
John MacFarlane
ffbe7cc10d Added Denis Laxalde to Authors. 2013-01-15 13:32:23 -08:00
John MacFarlane
011c1cf4c9 ADded Arlo O'Keeffe to Authors. 2013-01-15 13:04:54 -08:00
John MacFarlane
bf3a911a1c Changed Ext_autolink_urls -> Ext_autolink_bare_uris.
Added tests.
2013-01-15 12:44:50 -08:00
John MacFarlane
0ef24d1518 Added Ext_implicit_figures.
No code to hook this in yet.
2013-01-14 17:08:56 -08:00
John MacFarlane
cc9fb46fa6 README: Cosmetic change in headerless table example.
Closes #696.
2013-01-13 19:00:46 -08:00
John MacFarlane
88b678f00e Documented line blocks in README. 2013-01-13 18:18:07 -08:00
John MacFarlane
97a3cb2e86 Options: Added githubMarkdownExtensions.
Added github_markdown as input/output option.
2013-01-11 10:11:53 -08:00
John MacFarlane
f8db21fa16 Options: Added phpMarkdownExtraExtensions.
And added markdown_phpextra input/output format.
2013-01-10 22:39:47 -08:00
John MacFarlane
23ab5ffcb0 Implemented Ext_header_attributes.
This allows explicit attributes to be put on headers, using
a syntax like that for code blocks:

  {#id .class .class k=v k=v}
2013-01-10 20:32:53 -08:00
John MacFarlane
fabb843c9a README: Changed description of markdown_attribute extension. 2013-01-06 16:56:20 -08:00
John MacFarlane
c45ae571cc Changed --toc-level to --toc-depth. 2013-01-05 12:03:05 -08:00
John MacFarlane
7c10e57997 Changed --epub-toc-level to --toc-level.
Also writerEpubTOCLevel -> writerTOCLevel.
So far this is only implemented in the EPUB writer.
2013-01-05 11:36:55 -08:00
John MacFarlane
30361308e7 Added --epub-chapter-level and --epub-toc-level options.
Also added writerEpubChapterLevel and writerEpubTOCLevel fields
to WriterOptions.
2013-01-04 22:29:41 -08:00
John MacFarlane
1d16349f38 Fixed duplicate link reference in README. 2013-01-04 21:56:26 -08:00
John MacFarlane
c435e9cda7 Implemented Ext_header_identifiers, Ext_implicit_header_references.
Now by default pandoc will act as if link references have been defined
for all headers.  So, you can do this:

    # My header

    Link to [My header].
    Another link to [it][My header].

Closes #691.
2013-01-03 20:35:01 -08:00
John MacFarlane
579d645f23 Documented .bibtex extension for BibTeX.
Closes #662.
2012-12-19 11:58:18 -08:00
John MacFarlane
5914be88a8 EPUB writer: Rationalized templates.
* Previously there were three different templates involved in
  epub production. There is now just one template, default.epub
  or default.epub3.
* It can now be overridden using `--template`, just like other
  templates.
2012-11-04 21:21:57 -08:00
John MacFarlane
83b326b005 EPUB: removed need for separate epub-titlepage template.
The titlepage stuff is now folded into the epub-page template.
A titlepage variable selects it.
2012-11-04 21:08:40 -08:00
John MacFarlane
a7b8351d43 EPUB writer: Removed need for separate epub-coverpage template.
The standard epub-page template is now used.
2012-11-04 20:53:41 -08:00
John MacFarlane
43448d7d53 Preliminary changes for epub3 format.
* EPUB writer now exports writeEPUB2 and writeEPUB3.
* 'epub' output format is epub v2, while 'epub3'
  is v3.
2012-11-02 17:46:22 -07:00
John MacFarlane
b1dafe8750 Fixed typo. 2012-10-04 09:24:28 -07:00
John MacFarlane
606b5e8ed4 Removed Ext_monospace_autolinks. 2012-09-27 15:01:00 -07:00
John MacFarlane
bae39e77a8 Added Ext_autolink_urls. 2012-09-27 13:43:48 -07:00
John MacFarlane
15a8192b84 Renamed Ext_autolink_code_spans to Ext_monospace_autolinks. 2012-09-27 13:33:14 -07:00
John MacFarlane
885ef2072f Make --id-prefix affect footnote IDs in markdown writer.
Closes #614.
2012-09-25 20:26:38 -07:00
John MacFarlane
1e7599cf6a README: Removed claim that 'enumerate' library is needed in LaTeX.
It isn't any longer.
2012-09-16 22:34:06 -07:00
John MacFarlane
62225599c9 Updated README to mention longtable package 2012-09-15 18:02:39 -04:00
John MacFarlane
0311ca8145 Updated README to include mediawiki reader 2012-09-15 18:02:08 -04:00
John MacFarlane
9bd371acd1 README: Properly escape $ characters.
Otherwise they mess up the LaTeX benchmark, which uses a version
of README converted to LaTeX.
2012-09-08 22:13:48 -07:00
John MacFarlane
c544f20d6f Made --id-prefix work in DocBook as well as HTML.
Closes #607.
2012-09-06 09:25:52 -07:00
John MacFarlane
b985d33406 Changed nomenclature, delimited -> fenced code blocks. 2012-08-21 19:21:51 -07:00
John MacFarlane
7b34dd8dd1 Added Ext_abbrevations for PHP markdown style abbreviation keys.
Note:  pandoc does not have an abbreviation element (yet) and
so currently when this extension is enabled, it just causes
pandoc to skip the abbrevation keys.
2012-08-19 11:15:32 -07:00
John MacFarlane
27304513f6 Added Ext_raw_html extension.
Closes #556 -- you can now specify markdown-raw_html as your
input format.  (Read: markdown minus raw_html.)
2012-08-12 22:04:23 -07:00
John MacFarlane
6f24fdb658 Added note to README on positioning of reference link defs. 2012-08-12 19:32:40 -07:00
John MacFarlane
e8e8468d69 Implemented Ext_mmd_title_block in markdown reader & writer. 2012-08-12 19:27:13 -07:00
John MacFarlane
c681ddcd7b Documented markdown_attribute extension in README. 2012-08-11 19:45:33 -07:00
John MacFarlane
872fd2fb9c Revert "Implemented Ext_markdown_attribute."
This reverts commit 78d3a0fb9d.
2012-08-11 16:36:54 -07:00
John MacFarlane
78d3a0fb9d Implemented Ext_markdown_attribute.
This adds markdown=1 to block tags.
2012-08-11 15:04:12 -07:00
John MacFarlane
eb4d522a56 Options and documentation for backslash tex math options.
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash.
Still need to code in reader.
2012-08-10 21:57:54 -07:00
John MacFarlane
417cde38af Changed Ext_tex_math to Ext_tex_math_dollars. 2012-08-10 21:52:18 -07:00
John MacFarlane
be37ec510e Documented org-like pipe tables. 2012-08-10 13:37:59 -07:00
John MacFarlane
5a2e601c32 Documented new system for enabling/disabling extensions. 2012-08-10 11:29:44 -07:00
John MacFarlane
8d65651309 Changed strict to markdown_strict. 2012-08-09 22:32:22 -07:00
John MacFarlane
0cb7362f62 Removed --strict, added extensions to writer/reader names.
* The `--strict` option has been removed.
* Instead of using `--strict`, one can now use `strict` instead of
  `markdown` as an input or output format name.
* The `--enable` and `--disable` optinos have been removed.
* It is now possible to enable or disable specific extensions
  by appending them (with '+' or '-') to the writer or reader
  name.  For example `pandoc -f markdown-footnotes+hard_line_breaks`.
* The lhs extensions are now implemented this way, too; you can
  use either `+lhs` or `+literate_haskell`.
2012-08-09 20:24:05 -07:00
John MacFarlane
41e0075789 Removed --enable, --disable options. 2012-08-09 18:38:02 -07:00
John MacFarlane
1f940ee395 Changed heading in README so we don't have two "Citations" sections. 2012-08-08 15:36:33 -07:00
John MacFarlane
8a101cffe3 Support hard_line_breaks markdown extension.
* Added Ext_hard_line_breaks.
* Added section in README on non-pandoc extensions.
* Exported pandocExtensions and strictExtensions in Text.Pandoc.Options.

Closes #514.
2012-08-06 22:14:35 -07:00
John MacFarlane
81125e8f4e Documented styles used in reference docx 2012-08-05 09:18:56 -07:00
John MacFarlane
0380aa63d5 Updated extension labels in README. 2012-07-27 19:04:27 -07:00
John MacFarlane
ec7c1631a5 More documentation of extensions 2012-07-27 16:00:22 -07:00
John MacFarlane
6e548b8a8f Started documenting individual syntax extensions in README. 2012-07-27 15:45:30 -07:00
John MacFarlane
ed4039c3d7 Added README description of pipe tables. 2012-07-22 19:29:18 -07:00
Sergey Astanin
b39597a910 Added a new FictionBook2 (FB2) writer. 2012-07-22 11:13:14 -07:00
John MacFarlane
0e97e22672 Added note on --preserve-tabs in README. 2012-07-22 10:42:14 -07:00
John MacFarlane
70a2301876 Updated link to gladTeX. Closes #559. 2012-07-12 10:40:29 -07:00