Commit graph

3817 commits

Author SHA1 Message Date
John MacFarlane
0e03962615 LaTeX reader: Parse \hrule as HorizontalRule.
Closes #746.
2013-02-11 17:39:52 -08:00
John MacFarlane
18d490bd38 Added markdown_github as input format. 2013-02-11 17:27:06 -08:00
John MacFarlane
e20e8ba4df Updated changelog. 2013-02-10 16:38:00 -08:00
John MacFarlane
f4429e4de6 Windows installer improvements.
* Handle upgrades better:  the old version will be removed
  automatically.
* Detect version in batch file, so pandoc.wxs need not be modified
  when the version number changes.
* Create pandoc-VERSION.msi.
2013-02-10 16:25:58 -08:00
John MacFarlane
038af8a1b9 COPYING: Fixed sublist indentation. 2013-02-10 14:09:38 -08:00
John MacFarlane
295486fb71 COPYING - use setext style headers. 2013-02-10 13:59:50 -08:00
John MacFarlane
a7470dd1fb Use rtf version of license in osx package. 2013-02-10 13:56:24 -08:00
John MacFarlane
68e7ae101c windows installer: Add start menu entry with link to documentation. 2013-02-10 11:45:43 -08:00
John MacFarlane
b86bdb90f7 windows installer: UI with license, etc. 2013-02-09 23:19:55 -08:00
John MacFarlane
b0c0ccdb0f Converted COPYING to markdown. 2013-02-09 23:19:06 -08:00
John MacFarlane
eb6e8b5c88 Fixed make-windows-installer to use double quotes for path. 2013-02-09 23:01:21 -08:00
John MacFarlane
bbfba90980 Removed Inno setup config files. 2013-02-09 21:55:40 -08:00
John MacFarlane
1cb12d42a5 make-windows-installer.bat: Use WiX instead of Inno. 2013-02-09 21:54:29 -08:00
John MacFarlane
ddc4287d27 Added pandoc.wxs: definition file for WiX msi generator. 2013-02-09 21:49:50 -08:00
John MacFarlane
c6f9d00be2 make_osx_package.sh: Added step to check validity of signature. 2013-02-09 19:35:12 -08:00
John MacFarlane
df58bc8212 Added needed sudo to osx package signing. 2013-02-09 19:22:58 -08:00
John MacFarlane
55fed3ca9c Version to 1.10.1.1 since we no longer have API change. 2013-02-09 19:07:27 -08:00
John MacFarlane
78759cfd42 Revert "Hide module Text.Pandoc.Parsing."
This reverts commit 18a5c9a8bf.

We want to do this eventually, but as it requires a major version
bump, let's wait til later.
2013-02-09 19:04:55 -08:00
John MacFarlane
8cbaa0b6f7 Added code signing to make_oxs_package.sh. 2013-02-09 13:44:44 -08:00
John MacFarlane
598fe37a36 Updated RELEASE-CHECKLIST. 2013-02-09 11:51:51 -08:00
John MacFarlane
3465ba2f61 UTF8: Strip off BOM if present.
Closes #743.
2013-02-08 09:45:25 -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
7f4e1075be Changes to --version.
Print default user data directory.
Put language names in lowercase and omit 'alert' and 'alert_indent'.
2013-02-07 19:58:28 -08:00
John MacFarlane
7f6eff3b3b README: List proper default data directory for Windows 7. 2013-02-07 19:48:23 -08:00
John MacFarlane
57e4f5644f Revert "Citation changes."
This reverts commit d46f434d4b.
2013-02-06 13:14:37 -08:00
John MacFarlane
8dfbe3bbe8 Implement --default-image-extension for LaTeX reader. 2013-02-06 08:36:29 -08:00
John MacFarlane
1a2eea23a1 Merge branch 'citations' 2013-02-05 22:04:53 -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
1aa74199cf Revert "Hide module Text.Pandoc.Highlighting."
This reverts commit 01753ead71.

We need it after all in pandoc.hs.
2013-02-05 19:34:08 -08:00
John MacFarlane
4cff7ba817 Version bump to 1.11 due to API changes. 2013-02-05 19:27:55 -08:00
John MacFarlane
01753ead71 Hide module Text.Pandoc.Highlighting.
This is really an auxiliary module.
2013-02-05 19:07:59 -08:00
John MacFarlane
18a5c9a8bf Hide module Text.Pandoc.Parsing. 2013-02-05 19:06:33 -08:00
John MacFarlane
111ce7ec87 Beamer template: Lines to fix captions with longtable.
Thanks to Joost Kremers.
2013-02-03 10:42:52 -08:00
John MacFarlane
d46f434d4b Citation changes.
* Citations will work in markdown even if `--biblio` isn't
  specified.  Note:  this may cause unexpected behavior for people
  who use strings of the form `@foo` that are not citations!
* If `--biblio` isn't used, the markdown writer will write markdown
  citations rather than CSL-rendered citations.
* This means, for example, that you can do `pandoc -f latex -t markdown`
  and convert biblatex or natbib citations into pandoc citations.
2013-02-03 10:30:48 -08:00
John MacFarlane
e148fd7547 Removed unneeded blanklines in pipeTable parser. 2013-02-02 19:07:11 -08:00
John MacFarlane
a6c167125f Optimized oneOfStringsCI.
The call to toLower in ciMatch was very expensive (and very often
used), because toLower from Data.Char calls a fully unicode
aware function.  This optimization avoids the call to toLower
for the most common, ASCII cases.  This dramatically reduces the
speed penalty that comes from enabling the `autolink_bare_uris`
extension.  The penalty is still substantial (in one test, from 0.33s
to 0.44s), but nowhere near what it used to be.
2013-02-02 18:46:10 -08:00
John MacFarlane
92acb24486 HTML reader: Handle colgroup tag. 2013-01-30 10:05:53 -08:00
John MacFarlane
db41078dd3 Updated changelog. 2013-01-28 11:19:36 -08:00
John MacFarlane
f53e0a44ce DocBook writer: for linebreak, but newline in literallayout.
Closes #725.
2013-01-28 11:18:05 -08:00
John MacFarlane
2e00ca20de Updated changelog. 2013-01-28 11:07:06 -08:00
John MacFarlane
f3b1b8e720 Version bump to 1.10.1. 2013-01-28 10:54:34 -08:00
John MacFarlane
8c55023d18 Fixed latex macro parsing.
Now latex macro definitions are preserved when output is latex,
and applied when it is another format, as originally intended.

Partially addresses #730.
\providecommand is still not supported.  For this we need changes
to texmath.
2013-01-28 10:50:58 -08:00
John MacFarlane
cc17c794a1 Updated latex table tests. 2013-01-28 10:49:18 -08:00
John MacFarlane
229c22582f LaTeX writer: Avoid extra space at start/end of table cell.
Thanks to Nick Bart for the suggestion of using @{}.
2013-01-28 10:21:18 -08:00
John MacFarlane
c50af7341e Markdown writer: Set title, author, date variables as before.
These are no longer used in the default template, since we use
titleblock, but we set them anyway for nondefault template users.
2013-01-28 10:10:23 -08:00
John MacFarlane
29a17b1767 Merge pull request #733 from jrunningen/master
Mediawiki reader: Don't require blanklines after tables.
2013-01-28 09:42:59 -08:00
John MacFarlane
72d11ad20b Markdown/RST reader: Skip blank lines.
This fixes a subtle regression involving grid tables with
empty cells.  Closes #732.

Also added test for grid table with empty cells.
2013-01-27 22:13:05 -08:00
Jeff Runningen
efddb85d46 Mediawiki reader: Don't require blanklines after tables. 2013-01-27 23:15:46 -05:00
John MacFarlane
9d549ab683 RST writer: Use .. code:: language for code blocks with language.
Closes #721.
Also fixed whitespace in lhs tests.
2013-01-26 16:12:11 -08:00
John MacFarlane
2f50406c7f Markdown writer: Use autolink when link text matches url.
Previously we also checked for a null title, but this
test fails for links produced by citeproc-hs in bibliographies.

So, if the link has a title, it will be lost on conversion
to an autolink, but that seems okay.
2013-01-26 14:01:50 -08:00