Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-07 | Refactored some files formerly in LaTeX reader. | John MacFarlane | 4 | -37/+33 | |
* Export readFileFromDirs from Class. * Export insertIncludedFile from Parsing. Simplified code in LaTeX/RST readers. | |||||
2017-02-07 | Moved readFileFromDirs to Text.Pandoc.Class. | John MacFarlane | 3 | -32/+22 | |
This can be used in several different modules, not just LaTeX reader. | |||||
2017-02-07 | Refactored include file handling in LaTeX reader. | John MacFarlane | 1 | -14/+16 | |
2017-02-07 | Makefile: make version overridable. | John MacFarlane | 1 | -1/+1 | |
2017-02-07 | Use latest pandoc-citeproc dev in stack builds. | John MacFarlane | 3 | -3/+3 | |
2017-02-07 | Update dev version of pandoc-citeproc in stack.yaml. | John MacFarlane | 3 | -3/+3 | |
2017-02-07 | Use latest dev version of pandoc-citeproc. | John MacFarlane | 1 | -1/+1 | |
2017-02-06 | Removed --parse-raw and readerParseRaw. | John MacFarlane | 12 | -59/+66 | |
These were confusing. Now we rely on the +raw_tex or +raw_html extension with latex or html input. Thus, instead of --parse-raw -f latex we use -f latex+raw_tex and instead of --parse-raw -f html we use -f html+raw_html | |||||
2017-02-06 | default.beamer changes (Thomas Hodgson): | John MacFarlane | 2 | -7/+13 | |
- Use dvipsnames options when colorlinks specified (otherwise we get an error for 'maroon') - Added titegraphic and logo variables. | |||||
2017-02-06 | Fix import | John MacFarlane | 1 | -1/+1 | |
2017-02-06 | Changed year on copyright message. | John MacFarlane | 1 | -1/+1 | |
2017-02-06 | Consolidated file arguments into Opt. | John MacFarlane | 2 | -7/+8 | |
2017-02-06 | Further refactoring of App. | John MacFarlane | 2 | -750/+726 | |
Moved option parsing code into App. pandoc.hs is now a 2-liner. | |||||
2017-02-06 | Use unicode-math by default in default.latex template. | John MacFarlane | 6 | -39/+28 | |
mathspec will be used in xelatex if the `mathspec` variable is set; otherwise unicode-math will be used. Thanks to Václav Haisman. | |||||
2017-02-06 | Removed another redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-02-05 | Fix an unneeded import warning. | John MacFarlane | 1 | -1/+1 | |
2017-02-05 | Handle language in inline code with --listings. | John MacFarlane | 2 | -4/+18 | |
Closes #3422. | |||||
2017-02-05 | Split pandoc.hs into a module, Text.Pandoc.App, and a small program. | John MacFarlane | 4 | -777/+826 | |
The App module provides a function that does a pandoc conversion, based on option settings. The program (pandoc.hs) now does nothing more than parse options and pass them to this function, which can easily be used by other applications (e.g. a GUI wrapper). The Opt structure has been further simplified. API changes: * New exposed module Text.Pandoc.App * Text.Pandoc.Highlighting has been exposed. * highlightingStyles has been moved to Text.Pandoc.Highlighting. | |||||
2017-02-05 | pandoc.hs: make reader and writer Maybe values in Opt. | John MacFarlane | 1 | -13/+12 | |
2017-02-05 | Makefile: added BRANCH variable for winpkg | John MacFarlane | 1 | -1/+2 | |
2017-02-05 | Removed redundant import. | John MacFarlane | 1 | -1/+0 | |
2017-02-05 | Allow user to specify User-Agent (#3421) | Thenaesh Elango | 2 | -3/+16 | |
This commit enables users to specify the User-Agent header used when pandoc requests a document from a URL. This is done by setting an environment variable. For instance, one can do: USER_AGENT="..." ./pandoc -f html -t markdown http://example.com Signed-off-by: Thenaesh Elango <thenaeshelango@gmail.com> | |||||
2017-02-05 | More simplification of pandoc.hs. | John MacFarlane | 1 | -151/+130 | |
Opt is now set up to contain only the basic content passed through the options -- further processing (lookup of styles, insertion of file contents, etc.) is now done later. | |||||
2017-02-04 | More simplification of Opt in pandoc.hs. | John MacFarlane | 1 | -11/+15 | |
We defer file reading til after option parsing. | |||||
2017-02-04 | Changed writerEpubMetadata to a Maybe String. | John MacFarlane | 2 | -3/+3 | |
API change. | |||||
2017-02-04 | More simplification of Opt in pandoc.hs. | John MacFarlane | 1 | -9/+13 | |
2017-02-04 | More smart escaping tests. | John MacFarlane | 1 | -0/+20 | |
2017-02-04 | Improved escaping in RST writer with smart option. | John MacFarlane | 1 | -6/+20 | |
2017-02-04 | Consolidated some common functions in Tests.Helper. | John MacFarlane | 3 | -81/+52 | |
2017-02-04 | Added first command test to cabal metadata and repo. | John MacFarlane | 2 | -0/+26 | |
2017-02-04 | Org writer: reduce to two spaces after bullets | Albert Krewinkel | 2 | -86/+86 | |
The org writer was inserting two spaces after list bullets. Emacs Org-mode defaults to a single space, so behavior is changed to reflect this. Closes: #3417 | |||||
2017-02-04 | Added new test framework Tests.Command. | John MacFarlane | 2 | -19/+59 | |
Any files added under test/command will be treated as shell tests (see smart.md for an example). This makes it very easy to add regression tests etc. | |||||
2017-02-04 | Markdown writer: Better escaping when +smart. | John MacFarlane | 1 | -17/+21 | |
2017-02-04 | Expose setVerbosity in Text.Pandoc | John MacFarlane | 1 | -0/+1 | |
2017-02-04 | Added skeleton for Tests.Command. | John MacFarlane | 3 | -0/+94 | |
2017-02-04 | Moved tests/ -> test/. | John MacFarlane | 327 | -107/+107 | |
2017-02-04 | Implemented +/-smart in rst writer. | John MacFarlane | 3 | -15/+29 | |
Moved unsmartify to Writers.Shared. | |||||
2017-02-04 | Small revision to deprecation message for --old-dashes. | John MacFarlane | 1 | -1/+1 | |
2017-02-04 | Simplified Opt structure in cli option parsing. | John MacFarlane | 1 | -9/+10 | |
We should make this closer to the actual options, and do processing outside. | |||||
2017-02-04 | Better error messages for removed options. | John MacFarlane | 1 | -9/+25 | |
See #3416. | |||||
2017-02-04 | Added TODO comment. | John MacFarlane | 1 | -0/+4 | |
2017-02-03 | Docx reader: handle local namespace declarations. | John MacFarlane | 2 | -107/+127 | |
Previously we didn't recognize math, for example, when the xmlns declaration occured on the element and not the root. Now we recognize either. Closes #3365. This patch defines findChildByName, findChildrenByName, and findAttrByName in Util, and uses these in Parse. | |||||
2017-02-03 | Manual: Mention limitations of Literate Haskell Support (#3413) | Joachim Breitner | 1 | -0/+4 | |
This fixes #3410. | |||||
2017-02-03 | Docx reader: Don't drop smartTag contents. | John MacFarlane | 2 | -0/+8 | |
This just parses inside smartTags and yields their contents, ignoring the attributes of the smartTag. @jkr, you may want to adjust this, but I wanted to get a fix in as fast as possible for the dropped content. Closes #2242; see also #3412. | |||||
2017-02-03 | HTML and DocBook writers: fix internal links with writerIdentifierPrefix opt ↵ | Mauro Bieg | 3 | -8/+10 | |
(#3398) closes #3397 | |||||
2017-02-02 | Org.hs: remove misleading comment | Alexander Krotov | 1 | -1/+0 | |
This comment is likely copied from RST.hs where 'refs' variable indeed exists, but makes no sense here. | |||||
2017-02-01 | Added skeletons for docs on customizing pandoc and using pandoc API. | John MacFarlane | 2 | -0/+46 | |
See #3289 and #3288. | |||||
2017-02-01 | Added deb/.vagrant to gitignore | John MacFarlane | 1 | -0/+1 | |
2017-02-01 | Reduce state in Org writer (#3404) | Alexander Krotov | 1 | -8/+3 | |
2017-01-31 | make_macos_package.sh - install cpphs if not present. | John MacFarlane | 1 | -0/+1 | |