aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-08-18Stop plain text // becoming an italic marker in dokuwiki writer (#386)claremacrae1-3/+2
When the original document had text containing //, this was previously included, unchanged, in the dokuwiki output, and this interacted badly with later, intended, formating text.
2013-08-18Treat inline code blocks like <code> instead of <tt> in dokuwiki writer (#386)claremacrae1-1/+10
Done because I noticed that in the Autolinks section of writer.dokuwiki, the URL in inlined code was getting auto-linked, when it wasn't supposed to. This also meant that any inline code examples that had text that looked like dokuwiki syntax could break the formatting of later text.
2013-08-17Nasty hack to stop C comments in inline code becoming italics in dokuwiki ↵claremacrae1-1/+6
writer (#386)
2013-08-17Fixed inlined code in dokuwiki writer (#386)claremacrae1-6/+1
2013-08-17Don't add entities in <code> blocks in dokuwiki writer (#386)claremacrae1-1/+1
2013-08-17Implement <code> blocks in dokuwiki writer (#386)claremacrae1-2/+1
2013-08-17Implement table headings in dokuwiki writer (#386)claremacrae1-2/+19
2013-08-11Initial implementation of tables in dokuwiki writer (#386)claremacrae1-22/+17
Todo: alignment, and headings
2013-08-06Implement strikeout in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-28Implement footnotes in dokuwiki writer (#386)claremacrae1-3/+3
2013-07-28Removed incorrect entity conversion in dokuwiki writer (#386)claremacrae1-4/+3
2013-07-28Implemented linebreaks in dokuwiki writer (#386)claremacrae1-1/+1
2013-07-26Added another todo - dokuwiki writer (#386)claremacrae1-0/+1
2013-07-26Added some todos to dokuwiki writer (#386)Clare Macrae1-0/+15
2013-07-26Convert bullet and numbered lists in dokuwiki writer (#386)Clare Macrae1-6/+25
2013-07-15Implement conversion of images in dokuwiki writer (#386)Clare Macrae1-4/+5
2013-07-15Weak implementation of hyperlinks for dokuwiki (#386)Clare Macrae1-1/+1
TODO Simplify the code
2013-07-14Implemented horizontal rule for dokuwiki (#386)Clare Macrae1-1/+1
2013-07-14Implemented Emphasis (italic) and Strong (bold) for dokuwiki (#386)Clare Macrae1-2/+2
2013-07-14Implemented correct output of dokuwiki (#386)Clare Macrae1-1/+1
2013-07-14Initial work to create dokuwiki writer (#386)Clare Macrae2-0/+410
In this first version, all dokuwiki files are straight copies of the media wiki counterparts.
2013-07-12Docx writer: Ignore most components of reference.docx.John MacFarlane1-24/+41
We take the word/styles.xml, docProps/app.xml, word/theme/theme1.xml, and word/fontTable.xml from reference.docx, ignoring everything else. Perhaps this will help with the corruption problems caused when different versions of Word resave the reference.docx and reorganize things.
2013-07-04cabal: Added http-conduit flag, which allows fetching https resources.John MacFarlane1-12/+28
It also brings in a large number of dependencies (http-conduit and its dependencies), which is why for now it is an optional flag. Closes #820.
2013-07-04Docx writer: Use w:br with w:type 'textWrapping' for linebreaks.John MacFarlane1-1/+1
Previously we used w:cr. I don't see a difference between these in my version of Word, but apparently some do. Closes #873.
2013-07-04Text.Pandoc.UTF8: Use strict bytestrings in reading.John MacFarlane1-1/+1
The use of lazy bytestrings seemed to cause problems using pandoc on Windows 7/8 64-bit machines. Closes #874.
2013-07-04LaTeX writer: Don't use ligatures in escaping inline code.John MacFarlane1-9/+15
2013-07-02Rename `Ext_yaml_title_block` -> `Ext_yaml_metadata_block`.John MacFarlane3-7/+7
2013-07-02Markdown writer: Changed condition for rendering title block.John MacFarlane1-4/+3
Previously it was only rendered if title, author, or date set. Now any metadata field can be set.
2013-07-02Markdown reader: Better error messages for yaml headers.John MacFarlane2-5/+20
2013-07-02Fixed bug retrieving default template for markdown variants.John MacFarlane1-3/+5
2013-07-02Write full metadata in MMD style title blocks.John MacFarlane1-7/+23
2013-07-01Markdown reader: Ignore fields ending with _ in YAML headers.John MacFarlane1-2/+2
2013-07-01Emit warning instead of failing on invalid YAML header.John MacFarlane1-4/+10
2013-07-01Markdown writer: Commas are okay in plain yaml scalars.John MacFarlane1-1/+1
It's just commas with brackets that can cause problems.
2013-07-01Markdown writer: Render yaml title block fields in alpha order.John MacFarlane1-2/+3
This makes the output predictable; previously it varied across implementations.
2013-07-01Added Text.Pandoc.Writers.Shared to repository.John MacFarlane1-0/+121
This should have been in last commit.
2013-07-01Created Text.Pandoc.Writers.Shared, improved metaToJSON.John MacFarlane16-120/+39
* Text.Pandoc.Writers.Shared contains shared functions used only in writers. * metaToJSON now takes a WriterOptions parameter, and will return an empty object if standalone is not specified.
2013-07-01Improvements to yaml title block writer.John MacFarlane1-24/+37
2013-07-01Shared: Export getField.John MacFarlane1-1/+14
2013-07-01Revert "Markdown writer: Don't include variables in metadata."John MacFarlane1-41/+35
This reverts commit 0ec8573347d53e0cba70552a50dba697f39216b6.
2013-07-01Markdown writer: Don't include variables in metadata.John MacFarlane1-35/+41
2013-06-30Markdown writer: Support yaml title block.John MacFarlane1-8/+30
2013-06-29Metadata changes: Variables now completely shadow metadata.John MacFarlane16-37/+41
Previously if you set a value both in metadata and with a variable, they'd be combined into a list. Now the variable replaces the value in document metadata. If many variables with the same name are set, a list is created. Shared: metaToJSON now has an argument for a variable list.
2013-06-28ConTeXt writer: Properly handle tables without captions.John MacFarlane1-2/+4
The old output only worked in MkII. This should work in MkIV as well. Closes #837.
2013-06-27Custom writer: Pass full metadata, not just tit/auth/date.John MacFarlane1-5/+15
2013-06-27Writers: Use defField for defaults.John MacFarlane15-83/+83
This way explicitly specified fields not overridden. Fixes a problem e.g. with specifying a documentclass via the command line using -V.
2013-06-27Shared: Added `defField`.John MacFarlane1-0/+14
`defField` is like `setField`, but does nothing if the field already has a value.
2013-06-27Man writer: give more fine-grained control in template.John MacFarlane1-10/+16
Now the `title`, `section`, `header`, and `footer` can all be set individually in metadata. The `description` variable has been removed. Quotes have been added so that spaces are allowed in the title. If you have a title that begins COMMAND(1) footer here | header here pandoc will parse it as before into a title, section, header, and footer. But you can also specify these elements explicitly. Closes #885.
2013-06-27LaTeX reader: Support alltt environment.John MacFarlane1-2/+12
Closes #892.
2013-06-26Stop escaping `|` in LaTeX math.John MacFarlane1-9/+2
This caused problems with array environments. Closes #891.