Commit Graph
10211 Commits
Author SHA1 Message Date
Andrew Dunning e7f2258c89 Always use $for$ to allow multiple options in LaTeX/ConTeXt/Beamer.
Also makes minor improvements to spacing. Adds indenting option to ConTeXt and multiple header/footer texts.
2015-10-23 08:55:45 -04:00
John MacFarlane a7150bb6b6 Fixed over-eager raw HTML inline parsing.
Tightened up the inline HTML parser so it disallows
TagWarnings.

This only affects the markdown reader when the `markdown_in_html_blocks`
option is disabled.

Closes #2469.
2015-10-22 21:18:06 -07:00
John MacFarlane a21833b638 Avoid compiler warning for unused identifier. 2015-10-22 21:05:52 -07:00
John MacFarlane 317d9eea17 Changed § to % in operators from Odt.Arrows.Utils.
This prevents problems building haddocks with "C" locale.

Closes #2457.
2015-10-22 17:54:58 -07:00
Andrew Dunning 400dadd444 Realign HTML templates.
Add lang, dir, quotes where not included previously; always make
display of author and date conditional.
2015-10-22 18:05:18 -04:00
Andrew Dunning f92d725b05 Add keywords to HTML templates. 2015-10-22 18:01:27 -04:00
Andrew Dunning 7733b15c8d Update dzslides template from source. 2015-10-22 17:13:25 -04:00
Andrew Dunning 5481fb0853 Fix author, date in AsciiDoc; add keywords, abstract.
AsciiDoctor did not parse previous output.
2015-10-22 16:03:09 -04:00
John MacFarlane 48b68aac43 Textile writer: support start number in ordered lists.
e.g. `#3`.

Partially addresses #2465.
TBD: reader support.
2015-10-22 12:37:40 -07:00
Andrew Dunning 52e03308b8 Update LaTeX/ConTeXt variable usage in README.
Accounts for changes in https://github.com/jgm/pandoc-templates/pull/141.
2015-10-22 14:22:28 -04:00
John MacFarlane 652b60f141 Updated tests for latex/context template changes. 2015-10-20 15:22:52 -07:00
John MacFarlane ece2a6c1a7 Merge pull request #2467 from adunning/patch-1
Add new variables for ConTeXt template to README.
2015-10-20 15:17:54 -07:00
Andrew Dunning 3ad6e586f8 Add new variables for ConTeXt template to README. 2015-10-20 18:07:45 -04:00
John MacFarlane 273853d5b8 LaTeX template: simplify hyperref usage.
Andrew Dunning.  #139.
2015-10-20 14:59:54 -07:00
John MacFarlane 06fe6706f1 Merge pull request #139 from adunning/patch-2
Simplify hyperref usage.
2015-10-20 14:59:38 -07:00
John MacFarlane eae24903ba ConTeXt template: link color to black, define all sections.
Andrew Dunning.
2015-10-20 13:39:01 -07:00
John MacFarlane d2ae8a577b Merge pull request #140 from adunning/patch-1
ConTeXt link colour to black; define all sections.
2015-10-20 13:37:41 -07:00
Andrew Dunning 8264f9f8f8 Write title block in ConTeXt using \title.
This prevents a page number from appearing on the first page.
2015-10-20 16:07:18 -04:00
Andrew Dunning d54b34cca6 ConTeXt link colour to black; define all sections.
Sets default link colour to black with normal style (default is bolded red/green links), per the discussion in #138. Provides heading styles for all section types applied by Pandoc.
2015-10-20 15:31:11 -04:00
Andrew Dunning a84f822c30 Change default LaTeX link colour to black.
This reflects the default behaviour of `hyperref` when `colorlinks` is not enabled (but instead sets the colour to black when it is not specified by the user, for the sake of simplicity).
2015-10-20 14:38:48 -04:00
John MacFarlane 69ccb94916 Merge pull request #138 from adunning/patch-1
Expand ConTeXt variables; drop MkII support.
2015-10-20 11:24:11 -07:00
John MacFarlane 9f4faa5ea5 Update date on README. 2015-10-20 10:17:57 -07:00
John MacFarlane 8193ebcd99 Allow use of ConTeXt to generate PDFs.
pandoc my.md -t context -o my.pdf

will now create a PDF using ConTeXt rather than LaTeX.

Closes #2463.
2015-10-20 08:16:17 -07:00
John MacFarlane 82d2719e68 Fixed one test case. 2015-10-19 23:06:33 -07:00
John MacFarlane 48aaf1bced Updated latex, beamer templates to support language divs/spans.
Mainly this adds a template variable that can be filled
by commands that make babel understand the polyglossia-style
language directives.

Thanks to mb21.
2015-10-19 23:03:26 -07:00
John MacFarlane b49ab06e96 Merge pull request #2458 from mb21/lang-inlines
LaTeX and ConTeXt writers: support lang attribute on divs and spans
2015-10-19 23:02:08 -07:00
John MacFarlane 5d0aaa0b39 Merge pull request #137 from mb21/lang-inlines
LaTeX template: add babel-otherlangs and babel-newcommands
2015-10-19 23:01:46 -07:00
Andrew Dunning 17f380f089 Simplify hyperref usage.
The different usage for `xetex` appears to have been a workaround for bugs fixed in 2009 (see my question on this at <http://tex.stackexchange.com/questions/273339/what-hyperref-options-should-be-used-for-correct-unicode-output>), meaning that the same options can be used for all engines. The `subtitle` is used to set the PDF subject, following ConTeXt. The `bookmarks` option is enabled by default and does not need to be repeated.
2015-10-19 18:21:58 -04:00
Andrew Dunning befc9e2e84 Expand ConTeXt variables; drop MkII support. 2015-10-19 17:55:56 -04:00
John MacFarlane 5062e03a40 Use MarLinn's real name in changelog. 2015-10-19 09:49:15 -07:00
John MacFarlane d028dcb8a9 Updated tests for template changes. 2015-10-18 21:58:10 -07:00
John MacFarlane b2bf8608db HTML-based templates: Use en dash between title prefix & title.
Instead of a hyphen.
(Andrew Dunning.)
2015-10-18 21:51:49 -07:00
John MacFarlane 60228b4005 Merge pull request #136 from adunning/title-prefix
Use en dash to separate title-prefix.
2015-10-18 21:50:58 -07:00
John MacFarlane 69609ded4e Merge pull request #135 from adunning/fontspec
Use Ligatures=TeX for fontspec.
2015-10-18 21:50:11 -07:00
John MacFarlane 88099bb59a Merge pull request #2461 from classeur/master
Fixed auto_identifiers examples
2015-10-18 21:25:35 -07:00
John MacFarlane 448f5b151e Tests: Unset pandoc-version so we don't get the comment...
in the man writer test.  Otherwise this needs updating
every version bump.
2015-10-18 11:52:32 -07:00
John MacFarlane 3b8793304e Man template: make "generated by" comment conditional.
This allows it to be disabled for automated tests, so
they needn't be updated every version bump.
2015-10-18 11:51:30 -07:00
John MacFarlane ea8da02cc7 stack.yaml : use 3.10 resolver. 2015-10-18 11:30:45 -07:00
John MacFarlane 879f793fac Man: insert "automatically generated" comment only if pandoc-version set.
This will make it possible to deactivate it for automatic tests,
so they don't need to be updated every time we bump a version.
2015-10-18 09:57:01 -07:00
mb21 fa2b26ddcb Added writers-lang-and-dir test, fixed ConTeXt writer test
The writers-lang-and-dir testGroup tests LaTeX and ConTeXt
writers' language and directionality output
2015-10-18 17:01:38 +02:00
mb21 9328f4cd3d LaTeX and ConTeXt writers: support lang attribute on divs and spans
For LaTeX, also collect lang and dir attributes on spans and divs to set the lang,
otherlangs and dir variables if they aren’t set already. See #895.
2015-10-18 17:01:37 +02:00
mb21 e3cfba2926 LaTeX and beamer templates: add babel-otherlangs and babel-newcommands 2015-10-18 16:48:55 +02:00
Benoit Schweblin 5f25cf7c9b Fixed auto_identifiers examples 2015-10-18 11:40:49 +01:00
John MacFarlane 7f5a677bbf Version bump to 1.15.1.1, updated changelog. 1.15.1.1 2015-10-17 22:23:37 -07:00
John MacFarlane 7f4b78c064 Text.Pandoc.Data: store paths in dataFiles using posix separators.
This way we have uniform separators, whether on Windows or Linux.

This should solve a problem where on some Windows versions
the data files weren't being found.

Closes #2459.
2015-10-17 22:04:02 -07:00
John MacFarlane 34d53aff6e Remove compiler warning with embed_data_files. 2015-10-17 21:21:52 -07:00
Andreas Lööw f0c47907ca Consider header files when determining whether to use csquotes. 2015-10-17 23:04:15 +02:00
John MacFarlane e08399a16b Man page update. 2015-10-16 10:52:00 -07:00
John MacFarlane cb8959516f Typo in changelog. 2015-10-16 10:09:20 -07:00
John MacFarlane 0a6a14376a Fixed typo in make_osx_package.sh. 1.15.1 2015-10-16 09:58:48 -07:00