Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-10-22 | LaTeX reader: Initialize citationSuppressParens field. | John MacFarlane | 1 | -0/+1 | |
2012-10-21 | Revert "LaTeX reader: Use new suppressParens option for footnote citations." | John MacFarlane | 1 | -56/+55 | |
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2012-10-15 | LaTeX reader: Basic \enquote support. | John MacFarlane | 1 | -0/+9 | |
2012-10-15 | LaTeX reader: Use new suppressParens option for footnote citations. | John MacFarlane | 1 | -55/+56 | |
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation. | |||||
2012-10-14 | LaTeX reader: Use normal citations, not author-in-text, for fn cites. | John MacFarlane | 1 | -4/+4 | |
Eventually it would be nice to use a "suppress outer parens" variant, if citeproc-hs provides one. | |||||
2012-10-13 | Moved bibliography processing into readers. | John MacFarlane | 1 | -1/+5 | |
Previously this was done in src/pandoc.hs, which made it difficult for library users. * Removed readerCitations in ReaderOptions. * Added readerReferences and readerCitationStyle to ReaderOptions. * Moved use of processBiblio from main program to the markdown and LaTeX readers. | |||||
2012-10-11 | LaTeX reader: Made rawLaTeXInline more flexible. | John MacFarlane | 1 | -4/+2 | |
Now it will also try to parse block commands. This is usually what we want, given how rawLaTeXInline is used in the markdown and textile readers. If a block-level LaTeX command is used in the middle of a paragraph (e.g. `\subtitle` inside a title), we can treat it as raw inline LaTeX. | |||||
2012-10-11 | LaTeX reader: Make `\noindent` inline rather than block. | John MacFarlane | 1 | -2/+1 | |
2012-10-10 | LaTeX reader: Better support for citation commands. | John MacFarlane | 1 | -7/+11 | |
* Make `\cite` etc. an AuthorInText. * Make `\footcite` etc. into citations in notes. | |||||
2012-09-29 | Renamed removedLeadingTrailingSpace to trim. | John MacFarlane | 1 | -3/+0 | |
Also removeLeadingSpace to triml, removeTrailingSpace to trimr. | |||||
2012-09-22 | LaTeX reader: Added a 'try' in rawLaTeXBlock. | John MacFarlane | 1 | -1/+1 | |
This allows the markdown reader to treat '\begin' (not followed by an argument) as a raw string rather than erroring out when it doesn't find a '{'. Closes #622. | |||||
2012-09-09 | LaTeX reader: Better error messages for environments. | John MacFarlane | 1 | -1/+3 | |
Now it should tell you that it was looking for \end{env}, instead of giving "unknown parse error." | |||||
2012-09-09 | LaTeX reader: guard against "begin"/"end" in blockCommand. | John MacFarlane | 1 | -0/+1 | |
2012-09-09 | LaTeX reader: Guard against "begin", "end" in inlineCommand. | John MacFarlane | 1 | -2/+1 | |
Removed these from list of inline commands. | |||||
2012-09-06 | LaTeX reader: Support obeylines environment. | John MacFarlane | 1 | -0/+3 | |
Closes #604. | |||||
2012-09-06 | LaTeX reader: Use curly quotes for bare straight quotes. | John MacFarlane | 1 | -13/+9 | |
2012-09-06 | LaTeX reader: Fixed parsing of paragraphs beginning with a group. | John MacFarlane | 1 | -1/+1 | |
Previously a paragraph beginning ``` {``}hello{''} ``` would be parsed as two paragraphs. Closes #606. | |||||
2012-09-04 | LaTeX reader: Handle \slash command. | John MacFarlane | 1 | -0/+1 | |
Closes #605. | |||||
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -2/+2 | |
- Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix. | |||||
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
2012-07-25 | Moved ParseRaw from ParserState to ReaderOptions. | John MacFarlane | 1 | -5/+6 | |
2012-07-24 | Use catch from Control.Exception to avoid warnings. | John MacFarlane | 1 | -2/+4 | |
2012-07-20 | Use Parser as type synonym for Parsec. | John MacFarlane | 1 | -3/+3 | |
2012-07-20 | Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code. | John MacFarlane | 1 | -2/+1 | |
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to. | |||||
2012-07-20 | Use Text.Parsec instead of Text.ParserCombinators.Parsec. | John MacFarlane | 1 | -4/+4 | |
2012-05-22 | LaTeX reader: Support `\centerline`. | John MacFarlane | 1 | -0/+1 | |
2012-05-11 | LaTeX reader: Allow skipping of unknown block commands in `\author` section. | John MacFarlane | 1 | -1/+3 | |
Closes #505, which was a problem with `\vspace{10pt}` inside `\author`. | |||||
2012-04-15 | LaTeX reader: Make \label and \ref sensitive to --parse-raw. | John MacFarlane | 1 | -10/+13 | |
IF --parse-raw is selected, these will be parsed as raw latex inlines, rather than bracketed text. | |||||
2012-04-11 | Small simplification of blank parser in LaTeX reader. | John MacFarlane | 1 | -1/+1 | |
2012-04-10 | LaTeX reader: Parse 'dimension' arguments to unknown commands. | John MacFarlane | 1 | -6/+13 | |
e.g. `\parindent0pt` | |||||
2012-04-10 | LaTeX reader: Control sequences can't be followed by a letter. | John MacFarlane | 1 | -1/+1 | |
This fixes a bug where `\begingroup` was parsed as `\begin` followed by `group`. | |||||
2012-04-07 | LaTeX reader: Handle \bgroup, \egroup, \begingroup, \endgroup. | John MacFarlane | 1 | -3/+13 | |
2012-03-19 | Fixed bug parsing LaTeX tables with one column. | John MacFarlane | 1 | -10/+14 | |
Thanks to Steven Solie for finding the bug. | |||||
2012-03-10 | Fixed lstlisting environment in LaTeX reader. | John MacFarlane | 1 | -1/+1 | |
Closes #443. | |||||
2012-02-27 | Support "minted" as a LaTeX verbatim block. | John MacFarlane | 1 | -1/+3 | |
Closes #431. | |||||
2012-02-25 | LaTeX reader: correctly handle \^{}. | John MacFarlane | 1 | -8/+8 | |
2012-02-25 | LaTeX reader: Fixed accents. | John MacFarlane | 1 | -28/+67 | |
\~{a}, \c{c}. | |||||
2012-02-19 | LaTeX math environment fixes. Closes #423. | John MacFarlane | 1 | -8/+8 | |
`aligned` is now used instead of the nonexistent `aligned*`. `multline` instead of the nonexistent `multiline`. | |||||
2012-02-10 | LaTeX reader: Add ", " to suffix... | John MacFarlane | 1 | -9/+13 | |
if it doesn't start w space or punctuation. Otherwise we get no space between the year and the suffix in author-date styles. | |||||
2012-02-09 | Made LaTeX parser more robust. | John MacFarlane | 1 | -22/+26 | |
+ Skip options after block commands. + Correctly handle {\\} in braced. + Added a needed 'try'. | |||||
2012-02-09 | Better handling of raw latex environments in markdown. | John MacFarlane | 1 | -9/+1 | |
Now \begin{equation} a_1 \end{equation} turns into a raw latex block as expected. | |||||
2012-02-08 | Put LaTeX verse environments in blockquotes. | John MacFarlane | 1 | -0/+1 | |
2012-02-07 | Handle escaped $ in latex math. Closes #186. | John MacFarlane | 1 | -2/+8 | |
2012-02-06 | LaTeX reader: use raw latex as fallback for Cites. | John MacFarlane | 1 | -53/+57 | |
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. | |||||
2012-02-05 | Removed outdated comment in LaTeX reader. | John MacFarlane | 1 | -2/+0 | |
2012-02-05 | Support \frametitle, \framesubtitle. | John MacFarlane | 1 | -0/+5 | |
2012-02-05 | LaTeX reader: Fixed bug in authors. | John MacFarlane | 1 | -1/+3 | |
2012-02-05 | LaTeX reader: Support \TeX, \LaTeX. | John MacFarlane | 1 | -0/+2 | |
2012-02-05 | LaTeX reader: Skip everything after \end{document}. | John MacFarlane | 1 | -1/+1 | |
2012-02-04 | Added \vspace and \hspace to latex ignored block commands. | John MacFarlane | 1 | -0/+1 | |