summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #1344 from mpickering/masterJohn MacFarlane2014-06-16
|\ | | | | Moved extractSpaces to Shared.hs
| * Moved extractSpaces to Shared.hsmpickering2014-06-16
| | | | | | | | | | Generalised and move the extractSpaces function from `HTML.hs` to `Shared.hs` so that the docx reader can also use it.
* | Merge pull request #1339 from dfc/patch-1John MacFarlane2014-06-16
|\ \ | | | | | | input fmt is org-citations its plural not singular
| * | input fmt is org-citations its plural not singularDouglas Calvert2014-06-13
| |/
* / Org reader: fixed #1342.John MacFarlane2014-06-16
|/ | | | | | | | This change rewrites `inlineLaTeXCommand` so that parsec will know when input is being consumed. Previously a run-time error would be produced with some input involving raw latex. (I believe this does not affect the last release, as the inline latex reading was added recently.)
* Merge pull request #1336 from aspnes/masterJohn MacFarlane2014-06-12
|\ | | | | allow (and discard) optional argument for \caption
| * allow (and discard) optional argument for \captionJames Aspnes2014-06-12
|/
* Updated default latex template so `\subtitle` works properly.John MacFarlane2014-06-09
| | | | Closes #1327.
* Require aeson >= 0.7.0.5 to avoid build problems.John MacFarlane2014-06-06
|
* make_osx_package: don't cabal update at beginning.John MacFarlane2014-06-06
|
* Reformatted nocite example in README.John MacFarlane2014-06-04
|
* LaTeX reader: Handle comments at the end of tables.John MacFarlane2014-06-03
| | | | | This resolves the issue illustrated in http://stackoverflow.com/questions/24009489/comments-in-latex-break-pandoc-table.
* Markdown writer: Prettier pipe tables.John MacFarlane2014-06-03
| | | | Columns are now aligned. Closes #1323.
* Require texmath >= 0.6.6.3. Closes #1324.John MacFarlane2014-06-03
| | | | This fixes \tilde{E}, especially in docx.
* Docx writer: Section numbering carries over from reference.docx.John MacFarlane2014-06-03
| | | | Closes #1305.
* Docx writer: Combine reference.docx numbering with pandoc's.John MacFarlane2014-06-03
| | | | | | | This should have fixed #1305, allowing the reference.docx to define section numbering, but it doesn't. Now the headings appear with proper indentation, but the numbers don't appear. Unclear why. styles.xml and numbering.xml basically match the docx which has the expected result.
* Docx writer: pandoc uses only numIds >= 1000 for lists.John MacFarlane2014-06-03
| | | | | | This opens up the possiblity (with further code changes) of preserving some numbering from the reference.docx (e.g. header numbering.) See #1305.
* Docx writer: Changed abstractNumId numbering scheme.John MacFarlane2014-06-03
| | | | | | | Now the minimum id used by pandoc is 990. All ids start with "99". This gives some room for a reference.docx to define numbering styles. Note: this is not yet possible, since pandoc generates numbering.xml entirely on its own.
* Docx writer: Simplified abstractNumId numbering.John MacFarlane2014-06-03
| | | | | | Instead of sequential numbering, we assign numbers based on the list marker styles. This simplifies some of the code and should make it easier to modify numbering in the future.
* Version bump to 1.12.5.John MacFarlane2014-06-03
|
* Templates: use ordNum instead of ord.John MacFarlane2014-06-03
| | | | Closes #1022.
* Shared: Added ordNub.John MacFarlane2014-06-03
| | | | API change (adds export).
* Docx writer: Create overrides per-image for media/ in ref docx.John MacFarlane2014-06-02
| | | | | This should be somewhat more robust and cover more types of images.
* Docx writer: Improved entryFromArchive to avoid parse.John MacFarlane2014-06-02
| | | | | No need to parse the XML if we're just going to render it right away!
* Docx writer: Make images work in reference.docx headers/footers.John MacFarlane2014-06-02
| | | | | | | * All media from reference.docx are copied into result. * Added defaults for common image types to [Content Types]. * Avoided redundant XML parse + write for entries taken over from reference.docx, for better performance.
* Require latest texmath. Closes #1319.John MacFarlane2014-06-02
| | | | This allows `\left` to be used with `]`, `)`, etc.
* Templates: Fail informatively on template syntax errors.John MacFarlane2014-06-01
| | | | | | | With the move from parsec to attoparsec, we lost good error reporting. In fact, since we weren't testing for end of input, malformed templates would fail silently. Here we revert back to Parsec for better error messages.
* Updated tests for c8bc70a6bb12e0fbfadadb9480efafb3be4f11a5.John MacFarlane2014-06-01
|
* Updated README on reference.docx.John MacFarlane2014-06-01
|
* Docx writer: Improved handling of headers/footers.John MacFarlane2014-06-01
|
* Removed header1.xml, footer1.xml from reference.docx.John MacFarlane2014-06-01
|
* Docx writer: Header and footer are now carried over from reference.docx.John MacFarlane2014-06-01
|
* Minor code reformat.John MacFarlane2014-06-01
|
* LaTeX/Beamer templates: remove conditional around date.John MacFarlane2014-06-01
| | | | Closes #1321.
* Docx writer: Take over document formatting from reference.docx.John MacFarlane2014-05-31
| | | | This includes margins, page size, page orientation.
* Windows installer: Use one install command for pandoc, pandoc-citeproc.John MacFarlane2014-05-28
|
* PDF writer: Fixed treatment of data uris for images.John MacFarlane2014-05-28
| | | | Closes #1062.
* Windows install script: force install of pandoc-citeproc.John MacFarlane2014-05-28
|
* Merge pull request #1302 from tarleb/inline-latexJohn MacFarlane2014-05-28
|\ | | | | Org reader: support for inline LaTeX
| * Org reader: support for inline LaTeXAlbert Krewinkel2014-05-20
| | | | | | | | | | | | Inline LaTeX is now accepted and parsed by the org-mode reader. Both, math symbols (like \tau) and LaTeX commands (like \cite{Coffee}), can be used without any further escaping.
* | Markdown reader: Handle `c++` and `objective-c` as language identifiersJohn MacFarlane2014-05-27
| | | | | | | | | | | | | | in github-style fenced blocks. Closes #1318. Note: This is special-case handling of these two cases. It would be good to do something more systematic.
* | Require latest highlighting-kate. Fixes #1317.John MacFarlane2014-05-27
| |
* | Markdown reader: inline math must have nonspace before final `$`.John MacFarlane2014-05-27
| | | | | | | | Closes #1313.
* | Require latest zip-archive.John MacFarlane2014-05-27
| | | | | | | | | | | | This has fixes for unicode path names. Note that compiling pandoc against zip-archive 0.2.3 or 0.2.3.1 will lead to invalid zip containers, causing LibreOffice (e.g.) to regard ODTs as corrupt.
* | Fixed documentation of attributes. Closes #1315.John MacFarlane2014-05-27
| |
* | Updated date on README.John MacFarlane2014-05-27
| |
* | EPUB writer: Handle multiple dates with OPF `event` attributes.John MacFarlane2014-05-19
| | | | | | | | | | Note: in EPUB3 we can have only one dc:date, so only the first one is used.
* | Avoid `import Prelude hiding (catch)`.John MacFarlane2014-05-19
| | | | | | | | See #1309.
* | Merge pull request #1309 from michaelt/patch-1John MacFarlane2014-05-19
|\ \ | | | | | | no need to hide 'catch'
| * | no need to hide 'catch'Michael Thompson2014-05-17
| |/ | | | | This doesn't normally cause a problem because of some ghc workaround special to this case, but I was able to trigger an error with a complicated mixture of sandboxing, directing `cabal` to a locally installed ghc, and something else. `catch` isn't actually used in the file, so it seems it might as well go.