Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-13 | Checking options before applying syntax highlighting for HTML output | Alexander Kondratskiy | 1 | -3/+9 | |
2013-07-12 | Docx writer: Ignore most components of reference.docx. | John MacFarlane | 1 | -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-04 | cabal: Added http-conduit flag, which allows fetching https resources. | John MacFarlane | 2 | -12/+36 | |
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-04 | Docx writer: Use w:br with w:type 'textWrapping' for linebreaks. | John MacFarlane | 1 | -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-04 | Text.Pandoc.UTF8: Use strict bytestrings in reading. | John MacFarlane | 1 | -1/+1 | |
The use of lazy bytestrings seemed to cause problems using pandoc on Windows 7/8 64-bit machines. Closes #874. | |||||
2013-07-04 | LaTeX writer: Don't use ligatures in escaping inline code. | John MacFarlane | 1 | -9/+15 | |
2013-07-04 | default.latex: Use tex-ansi mapping for monofont. | John MacFarlane | 1 | -6/+7 | |
This ensures that straight quotes appear as straight, rather than being treated as curly. See #889. | |||||
2013-07-04 | make-windows-installer.bat: Removed explicit paths for executables. | John MacFarlane | 1 | -3/+3 | |
2013-07-03 | `--toc-level` no longer implies `--toc`. | John MacFarlane | 2 | -3/+2 | |
Reason: EPUB users who don't want a visible TOC may still want to set the TOC level for in the book navigation. | |||||
2013-07-02 | Document YAML metadata blocks. | John MacFarlane | 1 | -11/+45 | |
2013-07-02 | Rename `Ext_yaml_title_block` -> `Ext_yaml_metadata_block`. | John MacFarlane | 4 | -9/+15 | |
2013-07-02 | Markdown writer: Changed condition for rendering title block. | John MacFarlane | 1 | -4/+3 | |
Previously it was only rendered if title, author, or date set. Now any metadata field can be set. | |||||
2013-07-02 | Markdown reader: Better error messages for yaml headers. | John MacFarlane | 3 | -6/+21 | |
2013-07-02 | Fixed bug retrieving default template for markdown variants. | John MacFarlane | 1 | -3/+5 | |
2013-07-02 | Write full metadata in MMD style title blocks. | John MacFarlane | 1 | -7/+23 | |
2013-07-01 | Markdown reader: Ignore fields ending with _ in YAML headers. | John MacFarlane | 1 | -2/+2 | |
2013-07-01 | Emit warning instead of failing on invalid YAML header. | John MacFarlane | 1 | -4/+10 | |
2013-07-01 | Markdown writer: Commas are okay in plain yaml scalars. | John MacFarlane | 2 | -2/+2 | |
It's just commas with brackets that can cause problems. | |||||
2013-07-01 | Markdown writer: Render yaml title block fields in alpha order. | John MacFarlane | 2 | -3/+4 | |
This makes the output predictable; previously it varied across implementations. | |||||
2013-07-01 | Added Text.Pandoc.Writers.Shared to repository. | John MacFarlane | 1 | -0/+121 | |
This should have been in last commit. | |||||
2013-07-01 | Created Text.Pandoc.Writers.Shared, improved metaToJSON. | John MacFarlane | 18 | -120/+41 | |
* 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-01 | Improvements to yaml title block writer. | John MacFarlane | 2 | -27/+40 | |
2013-07-01 | Shared: Export getField. | John MacFarlane | 1 | -1/+14 | |
2013-07-01 | Switched order of fields in yaml header (writer test). | John MacFarlane | 1 | -2/+2 | |
2013-07-01 | Revert "Markdown writer: Don't include variables in metadata." | John MacFarlane | 2 | -42/+36 | |
This reverts commit 0ec8573347d53e0cba70552a50dba697f39216b6. | |||||
2013-07-01 | Markdown writer: Don't include variables in metadata. | John MacFarlane | 2 | -36/+42 | |
2013-06-30 | Markdown writer: Support yaml title block. | John MacFarlane | 2 | -12/+37 | |
2013-06-29 | Metadata changes: Variables now completely shadow metadata. | John MacFarlane | 16 | -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-28 | ConTeXt writer: Properly handle tables without captions. | John MacFarlane | 2 | -6/+8 | |
The old output only worked in MkII. This should work in MkIV as well. Closes #837. | |||||
2013-06-27 | Custom writer: Pass full metadata, not just tit/auth/date. | John MacFarlane | 2 | -12/+22 | |
2013-06-27 | Writers: Use defField for defaults. | John MacFarlane | 15 | -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-27 | Shared: Added `defField`. | John MacFarlane | 1 | -0/+14 | |
`defField` is like `setField`, but does nothing if the field already has a value. | |||||
2013-06-27 | Man writer: give more fine-grained control in template. | John MacFarlane | 4 | -18/+29 | |
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-27 | LaTeX reader: Support alltt environment. | John MacFarlane | 1 | -2/+12 | |
Closes #892. | |||||
2013-06-26 | Stop escaping `|` in LaTeX math. | John MacFarlane | 3 | -11/+4 | |
This caused problems with array environments. Closes #891. | |||||
2013-06-26 | Require highlighting-kate 0.5.4. | John MacFarlane | 1 | -3/+3 | |
2013-06-25 | Use latest chicago-author-date.csl. | John MacFarlane | 3 | -817/+889 | |
2013-06-25 | Fixed 'authors' metadata parsing in reST. | John MacFarlane | 3 | -8/+25 | |
Semicolons separate different authors. | |||||
2013-06-25 | Fixed regression with RTF table of contents. | John MacFarlane | 1 | -1/+4 | |
2013-06-25 | Some test suite fixes for new metadata. | John MacFarlane | 16 | -14/+16 | |
2013-06-25 | Revised benchmark for new metadata. | John MacFarlane | 1 | -2/+1 | |
2013-06-25 | Fixed merge bugs in Shared. | John MacFarlane | 1 | -10/+10 | |
2013-06-25 | Removed 'Functor' constraint. | John MacFarlane | 1 | -2/+2 | |
2013-06-25 | Merge pull request #886 from aaronwolen/master | John MacFarlane | 1 | -0/+2 | |
Document the `citecolor` variable added to the latex template | |||||
2013-06-25 | Updated Makefile. | John MacFarlane | 1 | -7/+7 | |
2013-06-24 | Use new flexible metadata type. | John MacFarlane | 40 | -552/+678 | |
* Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this. | |||||
2013-06-24 | Revised Text.Pandoc.Templates to accept JSON contexts. | John MacFarlane | 4 | -134/+240 | |
Currently the library is set up with a shim for association lists, for compatibility, but this can change when the writers are changed. New export: `varListToJSON`. Removed `Empty`. Simplified template type to a newtype. | |||||
2013-06-24 | Use aeson for json. | John MacFarlane | 3 | -24/+27 | |
Benchmarked: about twice as slow as json! | |||||
2013-06-24 | Parsing: Generalized state type on readWith. | John MacFarlane | 1 | -3/+3 | |
2013-06-24 | Documented `citecolor` variable | Aaron Wolen | 1 | -0/+2 | |