Commit graph

1593 commits

Author SHA1 Message Date
John MacFarlane
4991852edb Markdown writer: Improved definition lists.
* Use `:` form instead of `~`, for better compatibility with other
  markdown implementations.

* Don't wrap the term, because it breaks definition lists.
2012-05-16 13:07:58 -07:00
John MacFarlane
4e35c67c23 LaTeX writer: More consistent interblock spacing. 2012-05-14 07:04:47 -07:00
John MacFarlane
428595469e LaTeX reader: ensure we don't have extra blank lines at ends of cells.
This can cause LaTeX errors, as they are interpreted as new paragraphs.
2012-05-13 14:59:02 -07:00
John MacFarlane
d0d101d840 Export readDocBook in Text.Pandoc. 2012-05-12 19:29:39 -07:00
John MacFarlane
a5f71e5fad DocBook: support segmentedlist. 2012-05-12 18:34:15 -07:00
John MacFarlane
6dfaf43f3e DocBook reader: Support simplelist, member. 2012-05-12 13:21:13 -07:00
John MacFarlane
0d3c7b5204 Don't include non-language classes for code blocks. 2012-05-12 12:33:51 -07:00
John MacFarlane
2c04d0b2bf DocBook reader: Recognize example as block element. 2012-05-12 12:33:49 -07:00
John MacFarlane
1c26f2c516 DocBook reader: Promote level 0 headers to 1 even if dbBook not set. 2012-05-12 12:24:26 -07:00
John MacFarlane
9d44dc3887 DocBook reader: Support bridgehead. 2012-05-12 12:17:36 -07:00
John MacFarlane
3d15d4c668 DocBook reader: only use language classes for inline code. 2012-05-12 11:35:20 -07:00
John MacFarlane
199c9de654 DocBook reader: Better handling tags that can have inline or block content. 2012-05-12 11:31:17 -07:00
John MacFarlane
89fa0e4a08 DocBook reader: computeroutput is an inline tag, not block. 2012-05-12 11:21:23 -07:00
John MacFarlane
5f889b9396 Added writerTeXLigatures to WriterOptions, --no-tex-ligatures option.
This is useful for those who want to use advanced OpenType features
with xelatex/lualatex.
2012-05-11 23:00:46 -07:00
John MacFarlane
206f261194 LaTeX reader: Allow skipping of unknown block commands in \author section.
Closes #505, which was a problem with `\vspace{10pt}` inside `\author`.
2012-05-11 20:50:00 -07:00
John MacFarlane
c844634757 DocBook reader: Support bibliomixed tag. 2012-05-11 20:35:19 -07:00
John MacFarlane
02fa1050b0 DocBook reader: Support link tag with no content. 2012-05-11 20:27:28 -07:00
John MacFarlane
e1e6505abe DocBook reader: print ? for xref tag. 2012-05-11 20:20:53 -07:00
John MacFarlane
d46d2000f4 DocBook reader: Support uri tag. 2012-05-11 20:16:39 -07:00
John MacFarlane
5dfcf004b4 DocBook reader: Use ALLCAPS for unknown entities. 2012-05-11 20:14:11 -07:00
John MacFarlane
de27dbc0f8 DocBook reader. Handle block elements inside paragraphs. 2012-05-11 20:08:26 -07:00
John MacFarlane
b4b5642ac7 DocBook reader: support more elements. 2012-05-10 23:58:13 -07:00
John MacFarlane
023bb2bb45 DocBook reader: Implemented glossary, simplified sect. 2012-05-10 21:27:16 -07:00
John MacFarlane
523acadd5b DocBook reader: Skip index. 2012-05-10 20:11:07 -07:00
John MacFarlane
84d213baff DocBook reader: Skip toc tags. 2012-05-10 19:56:08 -07:00
John MacFarlane
dab6a36585 DocBook reader: Supported bibliography, bibliodiv. 2012-05-10 19:50:51 -07:00
John MacFarlane
15ef1a1a48 DocBook reader: Support language attribute on inline code. 2012-05-10 10:24:07 -07:00
John MacFarlane
79e83749bf DocBook reader: Support language attribute in programlisting. 2012-05-10 10:10:24 -07:00
John MacFarlane
4d9a1324ae DocBook reader: areaspec, area, areaset 2012-05-10 10:10:20 -07:00
John MacFarlane
858bf197fe Revert "Removed blaze_html_05 flag -- require blaze >= 0.5 by default."
This reverts commit f67a80cea2.
2012-05-10 09:13:14 -07:00
John MacFarlane
d63bfb4bc5 DocBook reader: Support prompt, parameter. 2012-05-10 09:12:40 -07:00
John MacFarlane
bff02dd369 DocBook reader: Support 'optional' tag. 2012-05-10 09:10:25 -07:00
John MacFarlane
cb1096b75f DocBook reader: Support subtitle, simpara. 2012-05-10 09:01:38 -07:00
John MacFarlane
a408ce5fd7 DocBook reader: Add attribute for "option" code inline. 2012-05-09 11:01:10 -07:00
John MacFarlane
83d0e7e4bd DocBook reader: Support computeroutput, literallayout. 2012-05-09 10:46:34 -07:00
John MacFarlane
87de361cdc DocBook reader: More improvements, passes tests. 2012-05-09 10:34:37 -07:00
John MacFarlane
4f8c536de0 DocBook reader: More improvements, more tests pass. 2012-05-08 23:25:34 -07:00
John MacFarlane
8ba8a720ed DocBook reader: Improved def lists with multiple defs. 2012-05-08 22:18:24 -07:00
John MacFarlane
b1cba4ae8e DocBook reader: Fixed headers for headerless table. 2012-05-08 21:44:46 -07:00
John MacFarlane
ef5c7fb4b6 DocBook reader: Trim definition list terms. 2012-05-08 21:25:51 -07:00
John MacFarlane
6b783d38ea DocBook reader: Fixed some compiler warnings. 2012-05-08 21:02:17 -07:00
John MacFarlane
c20c139255 Added docbook reader tests (still failing). 2012-05-08 20:26:39 -07:00
John MacFarlane
b79df946d1 Treat four or more ~ or ^ in an inline context as regular text.
This avoids exponential parsing blowups with long strings
of these characters. Closes #507.
2012-05-08 13:31:27 -07:00
John MacFarlane
ffef28e860 DocBook reader: Skip chapterinfo. 2012-05-07 10:06:11 -07:00
John MacFarlane
8d6cc370d4 DocBook reader: Added epigraph, fixed entities in plain contexts. 2012-05-07 10:02:48 -07:00
John MacFarlane
233c71b6a9 DocBook reader: handle tables, entities. 2012-05-07 00:07:34 -07:00
John MacFarlane
6a3e60504e DocBook reader: Implemented important, note, caution, tip, warning. 2012-05-05 19:58:37 -07:00
John MacFarlane
d8dc57d91c DocBook reader: Support email tag. 2012-05-05 19:34:39 -07:00
John MacFarlane
4c825cf045 DocBook reader: Implemented refsectN, refsection. 2012-05-02 11:22:05 -07:00
John MacFarlane
2d29c94acf DocBook reader: Minor doc fix. 2012-05-01 22:37:34 -07:00