Commit graph

3140 commits

Author SHA1 Message Date
John MacFarlane
7495d970b7 Mardkown writer: escape < and $. 2012-04-15 11:03:52 -07:00
John MacFarlane
4b2287920a DocBook reader: Added comment with list of docbook tags. 2012-04-15 10:07:24 -07:00
Simon Hengel
16694e3134 Allow mtl-2.1.* 2012-04-15 16:31:36 +02:00
John MacFarlane
a0424d2f82 Merge branch 'master' into docbookreader 2012-04-14 22:53:08 -07:00
John MacFarlane
f40b2eb2e7 Fixed bug in fromEntities.
The previous version would turn "hi & low you know;" into "hi &".
2012-04-14 22:52:14 -07:00
John MacFarlane
e2c3a7b896 Implemented abstract, constant, type, etc. in docbook reader. 2012-04-14 22:16:20 -07:00
John MacFarlane
c77e0c5d77 Input files with .db extension treated as docbook by default. 2012-04-14 21:56:16 -07:00
John MacFarlane
f78801aa20 Implemented literal tag in docbook reader. 2012-04-14 21:55:14 -07:00
John MacFarlane
e5c4d7002e Implemented quoted in docbook reader. 2012-04-14 21:50:06 -07:00
John MacFarlane
f0a1760d41 Support orderedlist and ulink in docbook reader. 2012-04-14 21:43:07 -07:00
John MacFarlane
d556840fc8 Removed unneeded clause for "title" in docbook reader. 2012-04-14 21:33:23 -07:00
John MacFarlane
c747665ad7 Rudimentary support for programlisting in docbook reader. 2012-04-14 18:35:43 -07:00
John MacFarlane
7c3e2670a8 Implemented itemizedlist in docbook reader. 2012-04-14 18:31:28 -07:00
John MacFarlane
0fdb310425 Got metadata working in docbook reader. 2012-04-14 18:27:46 -07:00
John MacFarlane
3e062b5a21 Support superscript, subscript tags in docbook reader. 2012-04-14 17:59:40 -07:00
John MacFarlane
fe5704bebc Handle blockquote tag in docbook reader. 2012-04-14 17:51:29 -07:00
John MacFarlane
2198ac080b Got footnote working in docbook reader. 2012-04-14 17:46:17 -07:00
John MacFarlane
d7e8252ba6 Got section and sectN tags working in docbook reader. 2012-04-14 17:41:04 -07:00
John MacFarlane
9ecb9b5def DocBook reader improvements. 2012-04-14 17:33:56 -07:00
John MacFarlane
d339b29967 Added skeleton of basic docbook reader. 2012-04-14 16:44:21 -07:00
John MacFarlane
e37c4526b2 Markdown reader: Allow lists as list items.
So, for example:

1.  * x
    * y
2.  * z
    * w
2012-04-13 11:12:18 -07:00
John MacFarlane
d28ad2b0f1 Markdown: don't recognize references inside delimited code blocks.
Previously pandoc would produce incorrect results on this:

    ~~~
    [not a link]: /url
    ~~~

    [not a link]

because it would recognize "not a link" as a reference link
definition on the first pass.  This fix causes the first pass
to skip delimited code blocks.
2012-04-12 09:52:28 -07:00
John MacFarlane
dbbc932f24 Markdown writer: don't force delimited code blocks to be flush left.
Fixes bug with delimited code blocks inside lists etc.
2012-04-11 09:02:32 -07:00
John MacFarlane
a388024a57 Small simplification of blank parser in LaTeX reader. 2012-04-11 08:52:16 -07:00
John MacFarlane
a4388279de LaTeX reader: Parse 'dimension' arguments to unknown commands.
e.g. `\parindent0pt`
2012-04-10 18:56:08 -07:00
John MacFarlane
54c9d4348a LaTeX reader: Control sequences can't be followed by a letter.
This fixes a bug where `\begingroup` was parsed as `\begin`
followed by `group`.
2012-04-10 18:25:18 -07:00
John MacFarlane
66f8dc14b7 Docx writer: Fixed multi-paragraph list items.
Previously they each got a list marker.
Closes #457.
2012-04-07 17:08:52 -07:00
John MacFarlane
4fce1a63b1 LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup. 2012-04-07 16:16:43 -07:00
John MacFarlane
998c0c6ad0 Updated texinfo test to reflect template change. 2012-04-06 16:54:39 -07:00
John MacFarlane
f3fc190403 Fixed document encoding in texinfo template.
Resolves Debian Bug #667816.
2012-04-06 12:54:44 -07:00
John MacFarlane
ecbe9f763c Textile reader: Implemented literal escapes with == and <notextile>.
Closes #473.
2012-04-05 13:52:12 -07:00
John MacFarlane
55833fd4a7 Updated changelog. 2012-04-03 19:31:11 -07:00
John MacFarlane
f25dcacedf LaTeX writer: don't use eurosym package unless document has a €. 2012-04-03 18:49:05 -07:00
John MacFarlane
0afd33e4c5 Markdown writer: don't replace empty alt in image with "image".
Previously `<img src="empty.png" alt=""/>` would be translated as
`![image](empty.png)`; now it becomes `![](empty.png)` as one might
naturally expect.
2012-04-03 18:28:08 -07:00
John MacFarlane
30a99ecb7c Updated changelog. 2012-04-01 21:51:14 -07:00
John MacFarlane
f22a2d72e5 Bumped version in windows installer. 2012-04-01 21:17:45 -07:00
John MacFarlane
c05a390c67 Version bump to 1.9.2. 2012-04-01 21:14:25 -07:00
John MacFarlane
6882346ce2 Fixed comment on MakeManPage. 2012-04-01 21:09:10 -07:00
John MacFarlane
2f535ceda3 Avoid repeated id in section and header in HTML slides.
Previously pandoc would use the same id attribute for the
div or section and the header inside it; now the id is omitted
from the header if the div or section has it.
2012-03-29 11:10:10 -04:00
John MacFarlane
b50d01aa32 Fixed issue with q in dzslides template. 2012-03-28 13:35:25 -04:00
John MacFarlane
6b46c2dfd1 Properly handle citations nested in other inline elements.
Closes #460.

Note:  processBiblio is a mess.  It should be rewritten for
clarity and efficiency.
2012-03-27 12:16:02 -04:00
John MacFarlane
7bc4dc37b2 Added PDF metadata (title,author) in LaTeX standalone + PDF output.
Closes #459.
2012-03-25 12:10:43 -07:00
John MacFarlane
a2e5de1d11 Merge pull request #456 from gmaslov/master
Implement the RST default-role directive
2012-03-25 11:19:57 -07:00
Greg Maslov
4a1ba8ce49 Oops! Forgot to munch whitespace / ignore body after directive. 2012-03-25 05:03:35 -04:00
Greg Maslov
618dc294f9 Add parsing support for the rST default-role directive. 2012-03-24 21:48:54 -04:00
John MacFarlane
3c4e1ff063 RST reader: allow :math:... even when not followed by blank or \.
This does not implement the complex rule described at
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules,
but it should be good enough for most purposes.

Closes #453.
2012-03-24 16:11:56 -07:00
John MacFarlane
d7f2b5d0f5 RST reader: '\ ' is null, not escaped space. 2012-03-24 16:03:46 -07:00
John MacFarlane
9352750cb2 RST writer: Better handling of inline formatting.
* `hi*there*hi` now gets rendered properly as `hi\ *there*\ hi`
* Unnecessary '\ ' are avoided around :math:, :sub:, :sup:
* Implemented most of the rules in
  http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules,
  though some unnecessary '\ ' may be inserted when unicode quotes
  are used.
2012-03-24 15:53:57 -07:00
John MacFarlane
4c2249ea89 dzslides: Updated template.html and styles in default template.
Closes #454.
2012-03-23 11:37:09 -07:00
John MacFarlane
b1bf8babae Merge pull request #452 from wangp/master
Texinfo writer: retain directories in image paths.
2012-03-20 15:54:01 -07:00