Commit Graph
656 Commits
Author SHA1 Message Date
John MacFarlane d0c25880a9 Updated date in README. 2016-06-04 07:54:19 -07:00
John MacFarlane fff88600f5 Updated AUTHORS in README. 2016-06-04 07:53:56 -07:00
John MacFarlane 888a273c1b README: clarified documentation of implicit_header_references.
Closes #2904.
2016-05-09 13:04:12 -07:00
John MacFarlane 87dcceecbb README: Added docbook5 as output format. 2016-05-01 22:47:57 -07:00
John MacFarlane cb8b1c2655 README - improved documentation of --columns option. 2016-04-08 15:00:14 -07:00
John MacFarlane 2649a0d836 Improved documentation of templates.
Note that there's no docx template.
Closes #2797.
2016-03-21 15:34:09 -07:00
John MacFarlane 08c625cff0 Fixed link to TEI in README. 2016-03-20 15:23:33 -07:00
John MacFarlane 3aa7bd1b7c Added institute variable in LaTeX and Beamer templates. 2016-03-19 13:48:06 -07:00
John MacFarlane 8d1c01809e README: document that --toc works with docx.
Closes #2787.
2016-03-18 14:54:09 -07:00
Jesse Rosenthal c7c4ee46f8 README: Add description of --file-scope option. 2016-03-15 12:52:51 -04:00
ickc 846fa87046 Update README 2016-03-06 20:24:02 -08:00
Jesse Rosenthal f1c59b271f Update README to reflect 4112b32.
We don't infer `--chapters` if `article` document option is set. For
example: `\documentclass[article]{memoir}`.
2016-02-21 06:34:38 -05:00
Prayag Verma 8a114e9417 Fix typos in Readme
Remove extra `be`
`overriden` → `overridden`
2016-02-21 01:03:48 +05:30
John MacFarlane bbc67dee36 Removed tex_math_single_backslash from markdown_github options.
Closes #2707.
2016-02-09 22:30:52 -08:00
John MacFarlane 4d74a966c4 Added some entity tests in Markdown reader tests.
Change types of divs.

From Docbook "sect#" and "simplesect" to "level#" and
"section."

Add tests.

Add mention of TEI to README.

Small changes to TEI writer.
2016-01-19 14:03:57 -05:00
John MacFarlane ee09ee107b Updated README date. 2016-01-13 07:52:02 -08:00
John MacFarlane 37ac274c51 README - changed date. 2016-01-10 16:48:47 -08:00
John MacFarlane 3861df510c Updated README with margin and papersize variables. 2015-12-22 13:43:35 -08:00
John MacFarlane 0a768f1cc5 Added preliminary support for PDF creation via wkhtmltopdf.
To use this:

    pandoc -t html5 -o result.pdf

(and add `--mathjax` if you have math.)
2015-12-21 17:22:12 -08:00
Thomas Hodgson cab20a9e0c Removed hyphen 2015-12-20 04:03:48 +00:00
John MacFarlane 28b2d86b21 LaTeX/Beamer template changes (Thomas Hodgson):
* Added `thanks` variable
* Use `parskip.sty` when `indent` isn't set (fall
  back to using `setlength` as before if `parskip.sty`
  isn't available).
* Use `biblio-style` with biblatex.
* Added `biblatexoptions` variable.
* Added `section-titles` variable (defaults to true)
  to enable/suppress section title pages in beamer
  slide shows.
* Moved beamer themes after fonts, so that themes can
  change fonts.  (Previously the fonts set were being
  clobbered by lmodern.sty.)
2015-12-19 18:50:45 -08:00
John MacFarlane 4c103f67f9 Merge branch 'master' of https://github.com/AndreasLoow/pandoc into AndreasLoow-master 2015-12-19 00:07:28 -08:00
John MacFarlane ce21b2ca07 README: reflowed to avoid overly long lines. 2015-12-19 00:05:22 -08:00
John MacFarlane ad3ef55031 Explain how to get subtitle to work with latex article etc.
Thanks to Andrew Dunning.
2015-12-19 00:00:04 -08:00
Andrew Dunning eb8a758a77 Document change to subtitle in LaTeX.
One could also tell users to add this to header-includes if `subtitle` is desired for `article` and so forth, but I will leave it out for now for the sake of simplicity:

```tex
\providecommand{\subtitle}[1]{%
  \usepackage{titling}
  \posttitle{%
    \par\large#1\end{center}}
}
```
2015-12-17 16:47:00 -05:00
John MacFarlane c16efea983 Removed "compatibility mode" when called as hsmarkdown. 2015-12-14 11:21:54 -08:00
John MacFarlane 44120ea716 Implemented east_asian_line_breaks extension.
Text.Pandoc.Options: Added `Ext_east_asian_line_breaks` constructor to
`Extension` (API change).

This extension is like `ignore_line_breaks`, but smarter -- it
only ignores line breaks between two East Asian wide characters.
This makes it better suited for writing with a mix of East Asian
and non-East Asian scripts.

Closes #2586.
2015-12-12 17:28:52 -08:00
John MacFarlane b747243e8d Removed deprecated options --offline and --html5.
These have been deprecated forever.
2015-12-11 23:57:36 -08:00
John MacFarlane 536b6bf538 Implemented SoftBreak and new --wrap option.
Added threefold wrapping option.

* Command line option: deprecated `--no-wrap`, added
  `--wrap=[auto|none|preserve]`
* Added WrapOption, exported from Text.Pandoc.Options
* Changed type of writerWrapText in WriterOptions from
  Bool to WrapOption.
* Modified Text.Pandoc.Shared functions for SoftBreak.
* Supported SoftBreak in writers.
* Updated tests.
* Updated README.

Closes #1701.
2015-12-11 23:55:08 -08:00
John MacFarlane dd8df6cfbc Markdown reader: Improved pipe table relative widths.
Previously pipe table columns got relative widths (based
on the header underscore lines) when the source of one of the rows was
greater in width than the column width.  This gave bad results in some
cases where much of the width of the row was due to nonprinting
material (e.g. link URLs).  Now pandoc only looks at printable
width (the width of a plain string version of the source), which
should give better results.

Thanks to John Muccigrosso for bringing up the issue.
2015-12-03 11:02:45 -08:00
John MacFarlane 2df4f39db3 s/mb21/Mauro Bieg/ in README contributor list and changelog. 2015-11-24 22:55:03 -08:00
John MacFarlane e79fb6c3ff Updated README for new pipe table behavior. 2015-11-24 20:26:24 -08:00
John MacFarlane 4361dc0245 Define a meta-json variable for all writers.
This contains a JSON version of all the metadata, in the
format selected for the writer.

So, for example, to get just the YAML metadata, you can
run pandoc with the following custom template:

    $meta-json$

Closes #2019.  The intent is to make it easier for static
site generators and other tools to get at the metadata.
2015-11-23 20:40:27 -08:00
John MacFarlane 902c63ebea Document limitations of --self-contained.
See #2553.
2015-11-23 18:46:14 -08:00
John MacFarlane 39a92b23a3 Improved Citations section of README.
Added information about `link-citations` and a link
to the pandoc-citeproc man page.

Closes #2551.
2015-11-21 11:14:02 -08:00
John MacFarlane 73e2d7976c Renamed link attribute extensions.
* Old `link_attributes` -> `mmd_link_attributes`
* Recently added `common_link_attributes` -> `link_attributes`

Note: this change could break some existing workflows.
2015-11-19 23:17:50 -08:00
John MacFarlane 244cd5644b Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into mb21-new-image-attributes
* Bumped version to 1.16.
* Added Attr field to Link and Image.
* Added `common_link_attributes` extension.
* Updated readers for link attributes.
* Updated writers for link attributes.
* Updated tests
* Updated stack.yaml to build against unreleased versions of
  pandoc-types and texmath.
* Fixed various compiler warnings.

Closes #261.

TODO:

* Relative (percentage) image widths in docx writer.
* ODT/OpenDocument writer (untested, same issue about percentage widths).
* Update pandoc-citeproc.
2015-11-19 23:14:23 -08:00
John MacFarlane 3f095ad40b Merge pull request #2509 from adunning/patch-2
Update LaTeX/ConTeXt link colour usage in README.
2015-11-19 21:01:18 -08:00
John MacFarlane ed1173ace6 Rationalized behavior of --no-tex-ligatures and --smart.
This change makes `--no-tex-ligatures` affect the LaTeX reader
as well as the LaTeX and ConTeXt writers.  If it is used,
the LaTeX reader will parse characters `` ` ``, `'`, and `-`
literally, rather than parsing ligatures for quotation marks
and dashes.  And the LaTeX writer will print unicode quotation
mark and dash characters literally, rather than converting
them to the standard ASCII ligatures.

Note that `--smart` has no affect on the LaTeX reader.

`--smart` is still the default for all input formats when
LaTeX or ConTeXt is the output format, *unless* `--no-tex-ligatures`
is used.

Some examples to illustrate the logic:

```
% echo "'hi'" | pandoc -t latex
`hi'
% echo "'hi'" | pandoc -t latex --no-tex-ligatures
'hi'
% echo "'hi'" | pandoc -t latex --no-tex-ligatures --smart
‘hi’
% echo "'hi'" | pandoc -f latex --no-tex-ligatures
<p>'hi'</p>
% echo "'hi'" | pandoc -f latex
<p>’hi’</p>
```

Closes #2541.
2015-11-19 20:30:41 -08:00
John MacFarlane 1f2c37392c Added 'navigation' variable to beamer template.
Valid values are `empty` (the default), `horizontal`, `vertical`,
and `frame`.  Note that this changes the default behavior from
`horizontal` to `empty`.  Closes #2543.
2015-11-17 10:55:55 -08:00
John MacFarlane 6a226041ad Use generic example.com link in README and changelog. 2015-11-16 06:53:52 -08:00
Andrew Dunning 3026c8dc25 Fix math cross-reference. 2015-11-14 20:22:55 -05:00
Andrew Dunning 580a7fa38e Update LaTeX/ConTeXt link colour usage. 2015-11-14 20:17:31 -05:00
John MacFarlane 0f3a68a39d Added note about default for --email-obfuscation.
See #2528.
2015-11-14 13:57:07 -08:00
John MacFarlane 0a6aaf5e1b Added emoji extension to Markdown.
This is enabled by default in `markdown_github`.
Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change).

Closes #2523.
2015-11-13 12:14:24 -08:00
John MacFarlane 03743a3596 Added Arata Mizuki to contributor list. 2015-11-12 18:52:21 -08:00
John MacFarlane a4759d8fef Updated date on README. 2015-11-12 15:56:42 -08:00
John MacFarlane 562d051075 README: consistent capitalization for pandoc and Markdown. 2015-11-12 13:37:59 -08:00
John MacFarlane c80c0df1fe EPUB writer: don't download linked media when data-external attribute set.
By default pandoc downloads all linked media and includes it in the
EPUB container.  This can be disabled by setting `data-external`
on the tags linking to media that should not be downloaded.

Example:

    <audio controls="1">
     <source src="http://www.sixbarsjail.it/tmp/bach_toccata.mp3"
     type="audio/mpeg"></source>
    </audio>

Closes #2473.
2015-11-12 13:27:41 -08:00
John MacFarlane da05619118 Merge pull request #2472 from adunning/patch-1
Update LaTeX/ConTeXt variable usage in README.
2015-11-04 15:58:46 -08:00