Commit Graph
3426 Commits
Author SHA1 Message Date
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
Peter Wang d74f3e1f28 Texinfo writer: retain directories in image paths. 2012-03-21 09:20:30 +11:00
John MacFarlane 29c8f1554b PDF: Run latex at least two times.
This ensures that the PDFs will have hyperlinked bookmarks
(PDF table of contents that can be displayed in the sidebar).
2012-03-19 09:25:33 -07:00
John MacFarlane 2894df7b76 Added test for one column table in LaTeX. 2012-03-19 08:29:19 -07:00
John MacFarlane 1db909e49b Fixed bug parsing LaTeX tables with one column.
Thanks to Steven Solie for finding the bug.
2012-03-19 08:18:32 -07:00
John MacFarlane 13eebc6cfb Added mathfont variable to latex template. 2012-03-15 14:39:03 -07:00
John MacFarlane 68503311cc Bumped version bound for test-framework. 2012-03-15 11:18:41 -07:00
John MacFarlane f29e67e161 LaTeX template tweaks:
- allow geometry variable to be repeated for multiple options
- use mainfont instead of romanfont
2012-03-15 10:49:36 -07:00
John MacFarlane 783cfdc0eb Updated latex template. 2012-03-14 19:06:33 -07:00
John MacFarlane 43b7dc0fdf Updated latex template. 2012-03-14 18:50:20 -07:00
John MacFarlane 8538b6764d Fixed travis-CI script to build tests. 2012-03-14 18:34:33 -07:00
John MacFarlane 9a664d7519 Added romanfont, sansfont, monofont variables to latex template. 2012-03-14 14:41:34 -07:00
John MacFarlane 772c0757c1 Added geometry variable to default LaTeX template. 2012-03-14 14:17:22 -07:00
John MacFarlane 965dcd3a00 Removed stripansi.sh. 2012-03-13 08:40:42 -07:00
John MacFarlane 4c0b6ad48e Added .travis.yml. 2012-03-13 08:39:26 -07:00