summaryrefslogtreecommitdiff
path: root/tests/latex-reader.native
Commit message (Collapse)AuthorAge
* Latex Reader: More tests for corner casesNikolay Yakimov2015-03-30
|
* Latex Reader: Test for para starting with latex macroNikolay Yakimov2015-03-30
|
* LaTeX Reader: check for block-level newcommand aliases in blockCommandNikolay Yakimov2015-03-30
|
* Update latex reader test for change in latex reader.John MacFarlane2014-04-26
| | | | We use 'author' for metadata, not 'authors'.
* LaTeX reader: Parse contents of curly quotes or matched `"` as quotes.John MacFarlane2013-11-18
|
* Use registerHeader in RST and LaTeX readers.John MacFarlane2013-09-01
| | | | | This will give automatic unique identifiers, unless `-auto_identifiers` is specified.
* Updated tests for latest pandoc-types changes.John MacFarlane2013-08-16
|
* Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane2013-08-14
|
* Updated tests for new Format.John MacFarlane2013-08-10
|
* LaTeX reader: Don't add spurious ", " to citation suffixes.John MacFarlane2013-07-21
| | | | This is added when needed in Text.Pandoc.Biblio anyway.
* Some test suite fixes for new metadata.John MacFarlane2013-06-25
|
* Revert "LaTeX reader: citation handling changes."John MacFarlane2013-03-17
| | | | This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
* LaTeX reader: citation handling changes.John MacFarlane2013-03-09
| | | | | | | | | | | | | | Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader.
* Fixed bug with escaped % in LaTeX reader.John MacFarlane2013-01-20
| | | | Also added tests. Closes #710.
* Added Attr field to Header.John MacFarlane2013-01-09
| | | | | | | | | | Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
* Don't put the text of an autolink in Code font.John MacFarlane2013-01-06
|
* Removed citationSuppressParens.John MacFarlane2012-10-28
| | | | Makefile: Use citeproc-0.3.6 release.
* LaTeX reader: Initialize citationSuppressParens field.John MacFarlane2012-10-22
|
* Revert "Adjust LaTeX reader test for last change."John MacFarlane2012-10-21
| | | | This reverts commit ea34087cde44bc941ef0280d10de775a8c7e5426.
* Adjust LaTeX reader test for last change.John MacFarlane2012-10-15
|
* LaTeX reader: Better support for citation commands.John MacFarlane2012-10-10
| | | | | * Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes.
* LaTeX reader: Support obeylines environment.John MacFarlane2012-09-06
| | | | Closes #604.
* LaTeX reader: Use curly quotes for bare straight quotes.John MacFarlane2012-09-06
|
* Added test for one column table in LaTeX.John MacFarlane2012-03-19
|
* LaTeX reader: Add ", " to suffix...John MacFarlane2012-02-10
| | | | | if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles.
* LaTeX reader: use raw latex as fallback for Cites.John MacFarlane2012-02-06
| | | | | | | This way you can still get the raw latex back, even if you don't process with citeproc. Previously, cites were not visible at all unless you specified --biblio on the command line and converted them using citeproc, or used --natbib or --biblatex.
* Improvements to LaTeX reader:John MacFarlane2012-02-04
| | | | | | | * Handle \ps * Ignore ignorable commands in a uniform way. * Handle \P * handleIncludes skips \verb commands.
* Complete rewrite of LaTeX reader.John MacFarlane2012-02-04
| | | | | | | | | | | | | | | | | | | | | | | * The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
* Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane2011-12-27
|
* Add support for attributes in inline Code.John MacFarlane2011-01-26
| | | | | | | | Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
* Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane2011-01-26
| | | | | | | The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
* Make sure native output ends in newline with --standalone.John MacFarlane2011-01-21
|
* Updated tests for new native format.John MacFarlane2011-01-20
|
* LaTeX reader: Support simple tables.John MacFarlane2011-01-07
|
* Added support for latex cite commands in latex reader.Nathan Gass2010-12-13
|
* Made spacing at end of output more consistent.John MacFarlane2010-07-20
| | | | | | | | | | | | Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
* Added accessors (docTitle, docAuthors, docDate) to Meta type.fiddlosopher2010-02-28
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1853 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed Meta author and date types to Inline lists instead of Strings.fiddlosopher2009-12-31
| | | | | | | | | | | | Meta [Inline] [[Inline]] [Inline] rather than Meta [Inline] [String] String. This is a breaking change for libraries that use pandoc and manipulate the metadata. Changed .native files in test suite for new Meta format. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1699 788f1e2b-df1e-0410-8736-df70ead52e1b
* Improved syntax for markdown definition lists.fiddlosopher2009-12-07
| | | | | | | | | | | | | | | | | | | Definition lists are now more compatible with PHP Markdown Extra. Resolves Issue #24. + You can have multiple definitions for a term (but still not multiple terms). + Multi-block definitions no longer need a column before each block (indeed, this will now cause multiple definitions). + The marker no longer needs to be flush with the left margin, but can be indented at or two spaces. Also, ~ as well as : can be used as the marker (this suggestion due to David Wheeler.) + There can now be a blank line between the term and the definitions. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1656 788f1e2b-df1e-0410-8736-df70ead52e1b
* LaTeX reader: minor improvements.fiddlosopher2008-09-06
| | | | | | | | | | | + parse '{}', if present, after \textless, \textgreater, \textbar, \textbackslash, \ldots. + Parse unescaped special characters verbatim rather than changing them to spaces. This way arguments of unknown commands will appear in braces. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1424 788f1e2b-df1e-0410-8736-df70ead52e1b
* Support for display math; changed ASCIIMathML -> LaTeXMathML:fiddlosopher2008-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Resolves Issue #47. + Added a DisplayMath/InlineMath selector to Math inlines. + Markdown parser yields DisplayMath for $$...$$. + LaTeX parser yields DisplayMath when appropriate. Removed mathBlock parsers, since the same effect is achieved by the math inline parsers, now that they handle display math. + Writers handle DisplayMath as appropriate for the format. + Changed -m option to use LaTeXMathML rather than ASCIIMathML. LaTeXMathML is closer to LaTeX in its display of math, and supports many non-math LaTeX environments. + Modified HTML writer to print raw TeX when LaTeXMathML is being used instead of suppressing it. + Removed ASCIIMathML files from data/ and added LaTeXMathML. + Replaced ASCIIMathML with LaTeXMathML in source files. + Modified README and pandoc man page source. + Modified web page. + Added --latexmathml option (kept --asciimathml as a synonym for backwards compatibility) + Modified tests accordingly; added new tests for display math. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1409 788f1e2b-df1e-0410-8736-df70ead52e1b
* Updated test suite to new baseline (but no tests yet for new code block syntax).fiddlosopher2008-02-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1210 788f1e2b-df1e-0410-8736-df70ead52e1b
* Modified tests for new argument in CodeBlock.fiddlosopher2008-02-09
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1201 788f1e2b-df1e-0410-8736-df70ead52e1b
* Changed tests to use new Math block element.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1111 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added separate latex reader and native reader tests;fiddlosopher2007-09-01
removed round-trip tests. git-svn-id: https://pandoc.googlecode.com/svn/trunk@986 788f1e2b-df1e-0410-8736-df70ead52e1b