Albert Krewinkel
8fdbef841d
Update copyright notices for 2014, add missing notices
2014-05-09 00:46:08 +02:00
John MacFarlane
8afbd7e664
OSX package script: cabal init before update.
2014-05-07 20:12:46 -07:00
John MacFarlane
249c3e8c5a
Bumped version bound for mtl.
2014-05-07 11:21:04 -07:00
John MacFarlane
b71810d7e6
Require latest texmath.
2014-05-07 11:10:25 -07:00
John MacFarlane
985ba0b32b
Require latest highlighting-kate.
2014-05-07 11:09:45 -07:00
mpickering
f0f88111e6
Small improvement to textile reader fix. Removed 'try'.
2014-05-07 09:48:48 -07:00
mpickering
0050b50905
Fix textile reader hanging.
...
Textile reader hung on
pandoc -f textile http://johnmacfarlane.net/pandoc/demo/example25.textile
The reader no longer hangs.
2014-05-07 09:32:25 -07:00
John MacFarlane
0048b8c68c
README: Updated Authors.
2014-05-07 09:32:25 -07:00
John MacFarlane
84f2336a7d
Textile reader: Rearranged inline parsers for performance.
...
This is possible because of the rewrite of simpleInline.
Also removed a redundant parser for grouped inlines.
2014-05-06 23:41:56 -07:00
John MacFarlane
442eecc15c
Textile reader: Rewrote simpleInline for clarity and efficiency.
...
This way we only look once for the opening `[`.
2014-05-06 23:27:16 -07:00
John MacFarlane
ea4e947bd0
Textile reader: Disallow blank lines in inline contexts.
...
@hi
there@
should not be a single code span.
2014-05-06 23:16:47 -07:00
John MacFarlane
d6a9ba1cdc
Make --trace
work with textile reader.
2014-05-06 22:28:11 -07:00
John MacFarlane
10644607e3
Textile reader: Rewrote some inline parsing code for clarity.
...
(It seems clearer to put the whitespace parsing in the grouped
parser. This also uses stateLastStrPos to determine when the
border is adjacent to an alphanumeric.)
2014-05-06 22:14:35 -07:00
John MacFarlane
e7b42947bf
Updated tests for template changes.
2014-05-06 20:20:28 -07:00
John MacFarlane
152d5af751
Updated changelog.
2014-05-06 19:45:00 -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
250537532a
Updated templates: conditionalize author/date in latex template.
2014-05-06 09:49:13 -07:00
John MacFarlane
1744798d54
Updated changelog.
2014-05-06 09:07:32 -07:00
John MacFarlane
1134950858
Update latex/beamer templates: load upquote after fontenc.
2014-05-06 09:06:25 -07:00
John MacFarlane
5999a36f07
Merge pull request #1280 from tarleb/org-inline-blocks
...
Org reader: Read inline code blocks
2014-05-06 09:00:10 -07:00
John MacFarlane
ef8de35505
Windows installer: more typos from transition from cabal-dev.
2014-05-06 08:56:52 -07:00
John MacFarlane
7019069a32
Windows install script: Fixed typo in path.
2014-05-06 08:42:30 -07:00
John MacFarlane
5ff2adc08f
make_osx_package: install alex, happy, hsb2hs.
2014-05-06 07:25:05 -07:00
John MacFarlane
0e46173ae4
Windows install script: install alex, happy.
2014-05-06 07:22:40 -07:00
Albert Krewinkel
71bd4fb2b3
Org reader: Read inline code blocks
...
Org's inline code blocks take forms like `src_haskell(print "hi")` and
are frequently used to include results from computations called from
within the document. The blocks are read as inline code and marked with
the special class `rundoc-block`. Proper handling and execution of
these blocks is the subject of a separate library, rundoc, which is
work in progress.
This closes #1278 .
2014-05-06 13:21:26 +02:00
John MacFarlane
7524e8e1f0
Windows package script: use cabal sandbox, not cabal-dev.
2014-05-05 07:08:57 -07:00
John MacFarlane
f31e002726
make_osx_package: Use cpphs to avoid problems with clang cpp.
...
See https://github.com/jgm/pandoc/issues/1172
2014-05-04 18:48:38 -07:00
John MacFarlane
0edbb5597c
Updated changelog.
2014-05-04 16:34:36 -07:00
John MacFarlane
dbd6c1540f
Fixed the fix to #1154 .
...
We need to strip off up to 4 spaces, not up to 3.
2014-05-04 16:21:18 -07:00
John MacFarlane
51aa304834
LaTeX writer: Fixed inconsistencies with reference escaping.
...
- toLabel is now monadic, and it does the needed string escaping.
- Closes #1130 .
2014-05-04 14:43:05 -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
0c7e084342
Docx writer: Fall back on distribution reference.docx.
...
* Undid changes to parseXml in last commit.
* Instead of a string fallback, we have parseXml fall back
on the reference.docx that comes with pandoc if the user's
reference.docx does not contain a needed file.
* Closes #1185 .
2014-05-04 10:54:45 -07:00
John MacFarlane
d728715981
Docx writer: Added ability to give fallback in parseXml.
2014-05-04 10:45:20 -07:00
John MacFarlane
1e50424892
Added test for #1154 .
2014-05-04 08:19:48 -07:00
John MacFarlane
3e42f08e87
Markdown reader: Fixed bug with unwanted code in lists.
...
Closes #1154 .
When reading a raw list item, we now strip off nonindent
spaces.
2014-05-04 08:07:17 -07:00
John MacFarlane
6b532c2131
Added Tests.Writer.AsciiDoc to repository.
2014-05-03 22:33:36 -07:00
John MacFarlane
9625cf6f40
README: Note about unnumbered
being added to final 'References' sect.
2014-05-03 22:05:24 -07:00
John MacFarlane
96c0c950ca
AsciiDoc writer: Handle multiblock table cells.
...
Closes #1246 .
2014-05-03 21:31:53 -07:00
John MacFarlane
41c89d51c7
AsciiDoc writer: Added test for empty table cells.
2014-05-03 21:24:20 -07:00
John MacFarlane
fde52c25a6
AsciiDoc writer: Correctly handle empty table cells.
...
Closes #1245 .
2014-05-03 21:08:45 -07:00
John MacFarlane
abd3a039b9
DocBook writer: Small tweaks to last commit.
...
* Use isTightList from Shared.
* Adjust writer test, since isTightList is a bit different from what
was used before.
Closes #1250 .
2014-05-03 20:45:38 -07:00
Neil Mayhew
ccbf4fc9c2
Distinguish tight and loose lists in Docbook output
...
Determined by the first block of the first item being Plain.
2014-05-03 18:37:02 -07:00
John MacFarlane
2ba7873086
LaTeX reader: Fixed regression introduced with last commit.
...
Tests now pass again.
2014-05-03 18:34:23 -07:00
John MacFarlane
743dac493f
LaTeX reader: Better error messages with include files.
...
Closes #1274 .
Rewrote handleIncludes.
We now report the actual source file and position where the error
occurs, even if it is included. We do this by inserting special
commands, `\PandocStartInclude` and `\PandocEndInclude`, that encode
this information in the preprocessing phase.
Also generalized the types of a couple functions from
`Text.Pandoc.Parsing`.
2014-05-03 17:37:54 -07:00
John MacFarlane
4c43824203
Fixed empty reference links. Closes #1186 .
...
Includes test.
2014-05-02 22:58:47 -07:00
John MacFarlane
007eb96e06
Markdown reader: Make one-column pipe tables work.
...
Closes #1218 .
2014-05-01 09:23:21 -07:00
John MacFarlane
b306405caa
Merge pull request #1272 from tarleb/link-types
...
Org reader: add support for custom link types
2014-05-01 08:44:05 -07:00
Albert Krewinkel
8726eebcd3
Org reader: Add support for custom link types
...
Org allows users to define their own custom link types. E.g., in a
document with a lot of links to Wikipedia articles, one can define a
custom wikipedia link-type via
#+LINK: wp https://en.wikipedia.org/wiki/
This allows to write [[wp:Org_mode][Org-mode]] instead of the
equivallent [[https://en.wikipedia.org/wiki/Org_mode ][Org-mode]].
2014-05-01 11:50:32 +02:00