Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-08-22 | Write id for code block to label attr in latex when listing is used | Florian Eitel | 2 | -3/+8 | |
The code: ~~~{#test} asdf ~~~ gets compiled to html: <pre id="test"> asdf </pre> So it is possible to link to the identifier `test` But this doesn't happen on latex When using the listings package (`--listings`) it is possible to set the identifier using the `label=test` property: \begin{lstlisting}[label=id] hi \end{lstlisting} And this is exactly what this patch is doing. Modified LaTeX Reader/Writer and added tests for this. | |||||
2013-08-21 | Merge pull request #960 from semorrison/master | John MacFarlane | 1 | -0/+6 | |
Processing some additional cedilla accents while reading LaTeX | |||||
2013-08-21 | cedilla-o breaks the compile, removing again | Scott Morrison | 1 | -2/+0 | |
2013-08-21 | adding some cedilla characters to the LaTeX reader | Scott Morrison | 1 | -0/+8 | |
2013-08-20 | Merge branch 'altcite' | John MacFarlane | 3 | -24/+37 | |
2013-08-20 | Create Cite element even if no matching reference in the biblio. | John MacFarlane | 3 | -24/+37 | |
* Add ??? as fallback text for non-resolved citations. * Biblio: Put references (including a header at the end of the document, if one exists) inside a Div with class "references". This gives some control over styling of references, and allows scripts to manipulate them. * Markdown writer: Print markdown citation codes, and disable printing of references, if `citations` extension is enabled. NOTE: It would be good to improve what citeproc-hs does for a nonexistent key. | |||||
2013-08-19 | Scale LaTeX tables so they don't exceed columnwidth. | John MacFarlane | 1 | -1/+5 | |
2013-08-18 | Allow multiple YAML metadata blocks in document. | John MacFarlane | 1 | -51/+56 | |
2013-08-18 | Parsing: Added stateMeta' to ParserState. | John MacFarlane | 1 | -0/+2 | |
2013-08-18 | Adjusted writers and tests for change in parsing of div/span. | John MacFarlane | 7 | -14/+58 | |
Textile, MediaWiki, Markdown, Org, RST will emit raw HTML div tags for divs. Otherwise Div and Span are "transparent" block containers. | |||||
2013-08-17 | Markdown reader: Parse span, div tags as Span, Div elements. | John MacFarlane | 1 | -0/+22 | |
Assuming markdown_in_html extension is set. | |||||
2013-08-17 | Markdown reader: Don't generate blank title, author, date elements. | John MacFarlane | 1 | -3/+3 | |
2013-08-16 | Shared: Changed stringify so it ignores notes. | John MacFarlane | 1 | -1/+5 | |
Also documented this in README. | |||||
2013-08-16 | Revert "Shared: stringify now skips over footnotes." | John MacFarlane | 1 | -1/+0 | |
This reverts commit 19591df739a6c50a3d0a9af55ba90b883264b21d. This change didn't work; query has already written the contents of the note by the time it gets to Note. | |||||
2013-08-16 | Shared: stringify now skips over footnotes. | John MacFarlane | 1 | -0/+1 | |
That is usually the right thing to do for section labels, etc. | |||||
2013-08-16 | LaTeX writer: Avoid problem with footnotes in unnumbered headers. | John MacFarlane | 1 | -6/+7 | |
Closes #940. Added test case. | |||||
2013-08-16 | LaTeX reader: parse label after section command and set id. | John MacFarlane | 1 | -2/+4 | |
Closes #951. | |||||
2013-08-15 | Merge pull request #950 from semorrison/master | John MacFarlane | 1 | -0/+2 | |
LaTeX reader missing \oe and \OE characters | |||||
2013-08-16 | LaTeX reader missing \oe and \OE characters | Scott Morrison | 1 | -0/+2 | |
2013-08-15 | Merge branch 'master' of https://github.com/semorrison/pandoc | John MacFarlane | 1 | -0/+16 | |
2013-08-15 | Shared: Better error message when default data file not found. | John MacFarlane | 1 | -3/+7 | |
Listing the full path can confuse people who are using `--self-contained`: they might have intended the file to be found locally. So now we just list the data file name. | |||||
2013-08-16 | adding support for breve accents via \u{} while reading LaTeX | Scott Morrison | 1 | -0/+16 | |
2013-08-14 | Updated for removed unMeta, unFormat in pandoc-types. | John MacFarlane | 1 | -2/+2 | |
2013-08-12 | Text.Pandoc.Compat.Monoid: Small improvements to the (<>) definition. | John MacFarlane | 1 | -0/+4 | |
2013-08-11 | ODT/OpenDocument writer: Minor changes for ODF 1.2 conformance. | John MacFarlane | 2 | -7/+16 | |
See #939. We leave the nonconforming contextual-spacing attribute, which is provided by LibreOffice itself and seems to be supported. | |||||
2013-08-11 | PDF: Add suggestion to use --latex-engine=xelatex on encoding error. | John MacFarlane | 1 | -2/+8 | |
2013-08-11 | Options: Changed `writerSourceDir` to `writerSourceURL` (now a Maybe). | John MacFarlane | 6 | -36/+27 | |
Previously we used to store the directory of the first input file, even if it was local, and used this as a base directory for finding images in ODT, EPUB, Docx, and PDF. This has been confusing to many users. It seems better to look for images relative to the current working directory, even if the first file argument is in another directory. writerSourceURL is set to 'Just url' when the first command-line argument is an absolute URL. (So, relative links will be resolved in relation to the first page.) Otherwise, 'Nothing'. The ODT, EPUB, Docx, and PDF writers have been modified accordingly. Note that this change may break some existing workflows. If you have been assuming that relative links will be interpreted relative to the directory of the first file argument, you'll need to make that the current directory before running pandoc. Closes #942. | |||||
2013-08-10 | Use walk, walkM in place of bottomUp, bottomUpM when possible. | John MacFarlane | 11 | -27/+31 | |
They are significantly faster. | |||||
2013-08-10 | Use query instead of queryWith. | John MacFarlane | 4 | -9/+36 | |
2013-08-10 | Adjustments for new Format newtype. | John MacFarlane | 18 | -72/+102 | |
2013-08-08 | Preliminary support for new Div and Span elements in writers. | John MacFarlane | 17 | -0/+56 | |
Currently these are "transparent" containers, except in HTML, where they produce div and span elements with attributes. | |||||
2013-08-08 | Pass writename as argument to filters. | John MacFarlane | 1 | -4/+1 | |
This way filters can figure out what the target format is and react appropriately. Example: #!/usr/bin/env runghc import Text.Pandoc.JSON import Data.Char main = toJSONFilter cap where cap (Just "html") (Str xs) = Str $ map toUpper xs cap _ x = x This capitalizes text only for html output. | |||||
2013-08-08 | Use pipeProcess in Text.Pandoc.PDF. | John MacFarlane | 1 | -36/+3 | |
2013-08-08 | Added Text.Pandoc.Process (pipeProcess). | John MacFarlane | 1 | -0/+105 | |
A souped up version of readProcessWithErrorCode that uses lazy bytestrings and allows setting environment. | |||||
2013-08-08 | Revert "Textile reader: Removed raw LaTeX parsing." | John MacFarlane | 1 | -0/+16 | |
This reverts commit bb61624bb2bba416e1992ecdf101f9660a3edcae. Apparently someone put this there for a reason, since it's in the test suite. | |||||
2013-08-08 | Added Text.Pandoc.Compat.TagSoupEntity. | John MacFarlane | 5 | -4/+19 | |
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch. | |||||
2013-08-08 | Added Text.Pandoc.Compat.Monoid. | John MacFarlane | 3 | -2/+18 | |
This allows pandoc to compile with base < 4.5, where Data.Monoid doesn't export `<>`. Thanks to Dirk Ullirch for the patch. | |||||
2013-08-07 | Textile reader: Removed raw LaTeX parsing. | John MacFarlane | 1 | -16/+0 | |
This isn't part of Textile. | |||||
2013-08-07 | Allow YAML title blocks to contain only comments. | John MacFarlane | 1 | -1/+4 | |
2013-08-06 | Added support for MetaBool. | John MacFarlane | 3 | -1/+4 | |
2013-08-06 | Biblio: Capitalize citation note only if it has a prefix. | John MacFarlane | 1 | -7/+10 | |
So, author names or titles that aren't capitalized will stay uncapitalized. | |||||
2013-08-04 | Remove CPP from default-extensions; add pragmas to modules as needed. | John MacFarlane | 3 | -6/+3 | |
2013-08-03 | Removed comment that chokes recent cpp. | John MacFarlane | 1 | -1/+0 | |
Closes #933. | |||||
2013-08-03 | MediaWiki writer: Use native mediawiki tables instead of HTML. | John MacFarlane | 1 | -44/+39 | |
Closes #720. | |||||
2013-08-03 | Text.Pandoc: Don't reexport ToJSONFilter. | John MacFarlane | 1 | -2/+2 | |
It's better just to import this from Text.Pandoc.JSON. That way, compiled filters will be smaller in size. | |||||
2013-08-03 | Text.Pandoc.JSON: Use To/FromJSON instances from pandoc-types. | John MacFarlane | 1 | -62/+12 | |
* These use GHC generics rather than syb, and are faster. * toJsonFilter is now a deprecated synonym of toJSONFilter from Text.Pandoc.JSON. * The deprecated jsonFilter function has been removed. | |||||
2013-08-02 | Biblio: Don't interfere with Notes that aren't citation notes. | John MacFarlane | 1 | -2/+3 | |
Closes #898: notes not generated from citations were being adjusted (first letter capitalized, for example, against author's intentions). | |||||
2013-08-02 | Biblio: Override citeproc-hs's endWithPunct. | John MacFarlane | 1 | -1/+14 | |
The new version correctly sees a sentence ending in '.)' as ending with punctuation. This fixes a bug which led such sentences to receive an extra period at the end: '.).'. Thanks to Steve Petersen for reporting. | |||||
2013-07-30 | Fixed compilation with http-conduit flag False. | John MacFarlane | 1 | -2/+2 | |
2013-07-29 | Markdown atx headers: Allow `.` or `)` after `#` if no `fancy_lists`. | John MacFarlane | 1 | -1/+2 | |