Commit graph

292 commits

Author SHA1 Message Date
John MacFarlane
0dfd427b6b README - fixed documentation on Smart Punctuation.
Closes #415.
2012-02-12 10:18:10 -08:00
John MacFarlane
5c498b36ef Doc fix: 'fontsize' is the template variable, not 'font-size'.
Closes pandoc-types#4.
2012-02-12 10:14:41 -08:00
John MacFarlane
c0ddee2b5b Merge pull request #411 from dfc/patch-1
"be is in" -> "be in"
2012-02-09 07:24:44 -08:00
John MacFarlane
04627b17ac Changed a README example.
The old one was bad, because the HTML comment is no longer
needed for that case in pandoc.
2012-02-09 07:20:03 -08:00
Douglas Calvert
0d1cf3c526 "be is in" -> "be in" 2012-02-08 22:50:18 -05:00
John MacFarlane
630c9f81ff Fixed lhs+markdown instructions.
Classes 'literate' and 'haskell' are needed for bird tracks.
Closes #395.
2012-02-06 12:38:45 -08:00
John MacFarlane
bec9485d93 Re-added the --ascii option.
Now it is implemented in pandoc.hs, not in the HTML writer.
2012-02-05 14:58:55 -08:00
John MacFarlane
e9a270d03b Don't include mathml javascript for html5 output.
mathml is supposed to be supported in HTML5.
2012-01-31 10:47:48 -08:00
John MacFarlane
3880828415 Support --mathml flag in docbook. 2012-01-31 10:32:40 -08:00
John MacFarlane
8f1bfec7b9 Added --epub-embed-font option.
* This can be repeated for multiple fonts.
* Added parameter for fonts to embed to writeEPUB.
* Added ttf, otf to Mime types in Text.Pandoc.MIME.
2012-01-30 13:09:52 -08:00
John MacFarlane
e7a94829b7 Updated README author list. 2012-01-29 19:33:34 -08:00
John MacFarlane
2a84abd210 Changed date in README. 2012-01-28 16:12:41 -08:00
John MacFarlane
d1ded4b026 Support github syntax for fenced code blocks.
You can now write

    ```ruby
    x = 2
    ```

instead of

    ~~~ {.ruby}
    x = 2
    ~~~~
2012-01-28 12:25:24 -08:00
John MacFarlane
8abe08d6d4 Made beamer an output format, removed pdf as output format.
Removed `--beamer` option; instead, use `beamer` as output format.
There is no longer a `pdf` output format; instead, pandoc tries
to produce a pdf if the output file has a `.pdf` extension.
(The output format can be latex -- the default for pdf output,
latex+lhs, or beamer.)

This seems more consistent with the way pandoc currently works
(e.g. we have an `html5` output format, not an `--html5` option).
2012-01-28 11:41:26 -08:00
John MacFarlane
259dda2c56 Fixed link in README. 2012-01-27 11:30:14 -08:00
John MacFarlane
5fc6669be6 Added --atx-headers option. 2012-01-26 23:55:37 -08:00
John MacFarlane
47bb165a65 Reorganized documentation of options, grouping into categories. 2012-01-25 22:34:16 -08:00
John MacFarlane
60bf741d68 Added --slide-level option to override default.
This allows users to select a slide level below the first
header level with content.

Note that content under sections above the slide level will not appear
in slides (either in beamer or in HTML slide shows).

This is primarily useful for creating documents that can be made
into both slides and handouts (which contain additional content
outside the slides).
2012-01-25 17:51:52 -08:00
John MacFarlane
2c4a55d160 FIxed typo in README. Closes #390. 2012-01-25 15:13:06 -08:00
John MacFarlane
b1a2f02082 Improved README on slides. 2012-01-25 11:51:36 -08:00
John MacFarlane
31629cb992 Updated README on --chapters with --beamer. 2012-01-25 10:48:25 -08:00
John MacFarlane
74100cf371 README: More on slide shows. 2012-01-24 20:52:09 -08:00
John MacFarlane
0f60e0cf76 README: New instructions for slide shows. 2012-01-24 20:48:45 -08:00
John MacFarlane
e57fb8d59d README: More information on what is needed to produce PDFs. 2012-01-21 14:59:25 -08:00
John MacFarlane
e721c7428e Removed beamer output format; added --beamer option. 2012-01-21 14:49:26 -08:00
John MacFarlane
2703162424 README tweak on equivalent to markdown2pdf. 2012-01-21 14:24:02 -08:00
John MacFarlane
1d615908c2 Removed markdown2pdf and documentation. 2012-01-20 21:22:51 -08:00
John MacFarlane
75a2b2fda1 Documented docx reader in README. 2012-01-19 23:26:45 -08:00
John MacFarlane
9001506f33 README: Added note on proper date format. 2012-01-01 14:54:41 -08:00
John MacFarlane
4e30f24974 EPUB writer: Allow lang variable to set language in metadata.
Defaults to locale language if `lang` is not set.
2012-01-01 14:32:27 -08:00
John MacFarlane
da8425598a New treatment of dashes in --smart mode.
* `---` is always em-dash, `--` is always en-dash.
* pandoc no longer tries to guess when `-` should be en-dash.
* A new option, `--old-dashes`, is provided for legacy documents.

Rationale: The rules for en-dash are too complex and
language-dependent for a guesser to work reliably.  This
change gives users greater control.  The alternative of
using unicode isn't very good, since unicode em- and en-
dashes are barely distinguishable in a monospace font.
2012-01-01 13:48:28 -08:00
John MacFarlane
a561135386 README: header identifiers now work in LaTeX, ConTeXt as well as HTML.
Patch from B. Scott Michel.
2011-12-30 14:34:54 -08:00
B. Scott Michel
a5ee02c659 ConTeXt writer: Add section labels and internal links as in HTML.
Add the ability to refer to internal links to the ConTeXt writer, just
like the HTML writer can. The 'hierarchicalize' function generates
unique names for sections, which can be used for references in ConTeXt,
just as they can be in HTML.

The ConTeXt writer adds these unique identifiers to each \section and
does special processing of the Link target to see if it starts with a
'#' (hash symbol), which is the tip-off that the link is an internal
link.
2011-12-30 13:10:15 -08:00
John MacFarlane
c5c7aa653a README: Added link for HTML 5. 2011-12-30 11:27:28 -08:00
John MacFarlane
cdb01e6d54 Made html5 and html5+lhs output formats.
Deprecated the `--html5`/`-5` flag. Use the output format
instead.
2011-12-29 13:39:03 -08:00
John MacFarlane
ea39a607ed Added 'beamer' as an output format.
Beamer output uses the default LaTeX template, with some
customizations via variables.

Added `writerBeamer` to `WriterOptions`.

Added `--beamer` option to `markdown2pdf`.
2011-12-29 13:26:04 -08:00
John MacFarlane
16629bf1ce Added --highlight-style and --no-highlight options. 2011-12-27 23:46:47 -08:00
John MacFarlane
fca95bf43c Removed highlighting flag. Highlighting support is now standard. 2011-12-22 13:24:43 -08:00
John MacFarlane
89c962a18c Use blaze-html instead of xhtml for HTML generation.
* This is a breaking API change for `writeHtml`.
* It introduces a new dependency on blaze-html.
* Pandoc now depends on highlighting-kate >= 0.4, which
  also uses blaze-html.
* The --ascii option has been removed, because of differences
  in blaze-html's and xhtml's escaping.
* Pandoc will no longer transform leading newlines in code
  blocks to `<br/>` tags.
2011-12-17 22:46:03 -08:00
John MacFarlane
318d136881 Added 'lang' variable to LaTeX template.
Thanks to Magnus Therning for the suggestion.
2011-11-27 20:38:05 -08:00
John MacFarlane
f027fd0eff --self-contained now works with <video> as well as <img>. 2011-11-24 10:04:25 -08:00
John MacFarlane
2f3d76844a Slight modification of --self-contained documentation. 2011-11-21 15:55:05 -08:00
John MacFarlane
00d811d986 Documented --self-contained and modified documentation for --offline. 2011-11-21 15:36:36 -08:00
John MacFarlane
d01c632055 Added asciidoc output to README. 2011-11-18 19:56:58 -08:00
John MacFarlane
9a46d75506 Implemented --citation-abbreviations option.
Mostly due to Andrea Rossato.
2011-11-11 17:54:34 -08:00
John MacFarlane
14620579c0 Changed misleading documentation on markdown2pdf.
markdown2pdf used to create a backup file if the output file
exists; it doesn't any longer, but the documentation still said
it does.
2011-11-10 15:37:52 -08:00
John MacFarlane
195f9045a4 Clarified rule for first line of definition lists.
Closes #310.
2011-10-28 13:24:39 -07:00
John MacFarlane
f68e29aeb8 Fixed typo. 2011-10-26 15:49:52 -07:00
John MacFarlane
1b81981c5f HTML reader now recognizes DocBook block and inline tags.
It was always possible to include raw DocBook tags in a markdown
document, but now pandoc will be able to distinguish block from
inline tags and behave accordingly. Thus, for example,

    <sidebar>
    hello
    </sidebar>

will not be wrapped in `<para>` tags.
2011-10-25 12:44:20 -07:00
John MacFarlane
8da83ff3c5 Updated README to remove mention of .bbx for bibliographies. 2011-10-04 11:52:25 -07:00