Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-06-11 | Support for \faCheck and \faClose (#3727) | schrieveslaach | 1 | -0/+3 | |
2017-06-10 | Changed all readers to take Text instead of String. | John MacFarlane | 1 | -2/+3 | |
Readers: Renamed StringReader -> TextReader. Updated tests. API change. | |||||
2017-06-01 | LaTeX reader: handle some width specifiers on table columns. | John MacFarlane | 1 | -3/+13 | |
Currently we only handle the form `0.9\linewidth`. Anything else would have to be converted to a percentage, using some kind arbitrary assumptions about line widths. See #3709. | |||||
2017-06-01 | LaTeX reader: more table refactoring. | John MacFarlane | 1 | -12/+13 | |
2017-06-01 | LaTeX reader: Small refactoring of table parsing code. | John MacFarlane | 1 | -16/+18 | |
This makes room for doing something with widths. | |||||
2017-06-01 | LaTeX reader: Handle block structure inside table cells. | John MacFarlane | 1 | -18/+18 | |
minipage is no longer required. Closes #3709. | |||||
2017-05-29 | LaTeX reader: handle escaped & inside table cell. | John MacFarlane | 1 | -3/+5 | |
Closes #3708. | |||||
2017-05-29 | LaTeX reader: don't crash on empty enumerate environment. | John MacFarlane | 1 | -1/+1 | |
Closes #3707. | |||||
2017-05-24 | LaTeX reader: Fixed failures on \ref{}, \label{} with `+raw_tex`. | John MacFarlane | 1 | -6/+9 | |
Now these commands are parsed as raw if `+raw_tex`; otherwise, their argument is parsed as a bracketed string. | |||||
2017-05-24 | Parsing: Provide parseFromString'. | John MacFarlane | 1 | -6/+6 | |
This is a verison of parseFromString specialied to ParserState, which resets stateLastStrPos at the end. This is almost always what we want. This fixes a bug where `_hi_` wasn't treated as emphasis in the following, because pandoc got confused about the position of the last word: - [o] _hi_ Closes #3690. | |||||
2017-05-24 | LaTeX reader: parse tikzpicture as raw verbatim environment... | John MacFarlane | 1 | -0/+14 | |
if `raw_tex` extension is selected. Otherwise skip with a warning. This is better than trying to parse it as text! Closes #3692. | |||||
2017-05-21 | Finished implemtation of `--resource-path`. | John MacFarlane | 1 | -2/+2 | |
* Default is just working directory. * Working directory must be explicitly specifide if `--resource-path` option is used. | |||||
2017-05-16 | Merge pull request #3671 from WUUUGI/horizont-spacing | John MacFarlane | 1 | -1/+1 | |
Added support for horizontal spacing in LaTeX | |||||
2017-05-15 | Added support for horizontal spacing in LaTeX: parse \, to \8198 (six-per-em ↵ | Henri Werth | 1 | -1/+1 | |
space) | |||||
2017-05-13 | Update dates in copyright notices | Albert Krewinkel | 1 | -2/+2 | |
This follows the suggestions given by the FSF for GPL licensed software. <https://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html> | |||||
2017-05-06 | LaTeX reader: Better handling of comments inside math environments. | John MacFarlane | 1 | -30/+43 | |
This solves a problem with commented out `\end{eqnarray}` inside an eqnarray (among other things). Closes #3113. | |||||
2017-05-06 | Fix keyval funtion: pandoc did not parse options in braces correctly.… (#3642) | schrieveslaach | 1 | -1/+1 | |
* Fix keyval funtion: pandoc did not parse options in braces correctly. Additionally, dot, dash, and colon were no valid characters * Add | as possible option value * Improved code | |||||
2017-05-03 | LaTeX reader: Add support for tabularx environment (#3632) | schrieveslaach | 1 | -1/+6 | |
2017-04-26 | LaTeX reader: Add basic support for hyphenat package (#3603) | schrieveslaach | 1 | -1/+13 | |
2017-04-26 | LaTeX reader: Add support for \vdots (#3607) | schrieveslaach | 1 | -0/+1 | |
2017-04-24 | LaTeX reader: better support for subfigure package. | John MacFarlane | 1 | -5/+11 | |
A figure with two subfigures turns into two pandoc figures; the subcaptions are used and the main caption ignored, unless there are no subcaptions. Closes #3577. | |||||
2017-04-22 | Add siunitx Support (#3588) | schrieveslaach | 1 | -0/+17 | |
For example: ```latex \SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm}. \SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro} ``` | |||||
2017-03-29 | lstinline with braces can be used (verb cannot be used with braces) (#3535) | schrieveslaach | 1 | -1/+8 | |
* Fix lstinline handling: lstinline with braces can be used (verb cannot be used with braces) * Use codeWith and determine the language from lstinline * Improve code * Add another test: convert lstinline without language option | |||||
2017-03-27 | LaTeX reader: add support for LaTeX subfiles package. | schrieveslaach | 1 | -0/+1 | |
Closes #3530. | |||||
2017-03-24 | Revert "LaTeX reader: be more picky about beamer angle arguments." | John MacFarlane | 1 | -1/+1 | |
This reverts commit b98a05d604ab4353c2e684beecf669b182d88906. | |||||
2017-03-24 | LaTeX reader: be more picky about beamer angle arguments. | John MacFarlane | 1 | -1/+1 | |
We now only allow them if they contain only numbers, spaces, `-`, and `,`. | |||||
2017-03-13 | Better handling of \part in LaTeX. | John MacFarlane | 1 | -8/+17 | |
Closes #1905. Removed stateChapters from ParserState. Now we parse chapters as level 0 headers, and parts as level -1 headers. After parsing, we check for the lowest header level, and if it's less than 1 we bump everything up so that 1 is the lowest header level. So `\part` will always produce a header; no command-line options are needed. | |||||
2017-03-10 | Expand \newenvironment macros. | John MacFarlane | 1 | -10/+12 | |
Closes #987. Depends on still unreleased texmath 0.9.3. | |||||
2017-03-09 | LaTeX reader: Treat `{{xxx}}` the same as `{xxx}`. | John MacFarlane | 1 | -9/+14 | |
Closes #2115. | |||||
2017-03-07 | Markdown reader: Treat certain environments as inline | John MacFarlane | 1 | -1/+3 | |
when they occur without space surrounding them. E.g. equation, math. This avoids incorrect vertical space around equations. Closes #3309. Closes #2171. See also rstudio/bookdown#358. | |||||
2017-03-06 | LaTeX reader: allow newpage, clearpage, pagebreak in inline contexts | John MacFarlane | 1 | -0/+5 | |
as well as block contexts. Closes #3494. | |||||
2017-03-05 | LaTeX reader: support all \textXX commands. | John MacFarlane | 1 | -1/+5 | |
where XX = rm, tt, up, md, sf, bf. Spans with a class are used when there is nothing better. Closes #3488. | |||||
2017-03-05 | LaTeX reader: small improvements in parsing arguments. | John MacFarlane | 1 | -10/+7 | |
2017-03-05 | LaTeX reader: Handle spaces before \cite arguments. | John MacFarlane | 1 | -3/+1 | |
2017-03-04 | Stylish-haskell automatic formatting changes. | John MacFarlane | 1 | -29/+29 | |
2017-03-01 | LaTeX reader: don't drop contents of \hypertarget. | John MacFarlane | 1 | -0/+3 | |
2017-02-27 | LaTeX reader: Handle komascript `\dedication`. | John MacFarlane | 1 | -0/+2 | |
It now adds a `dedication` field to metadata. It is up to the user to supply a template that uses this variable. Closes #1845. | |||||
2017-02-27 | Minor cleanups in LaTeX reader. | John MacFarlane | 1 | -5/+4 | |
2017-02-25 | LaTeX reader: allow hspace and vspace to count as raw block or inline. | John MacFarlane | 1 | -3/+5 | |
Previously we would refuse to parse anything as raw inline if it was in the blockCommands list. Now we allow exceptions if they're listed under ignoreInlines in inlineCommands. This should make it easier e.g. to include an \hspace between two side-by-side raw LaTeX tables. | |||||
2017-02-25 | Revert "LaTeX reader: don't treat `\vspace` and `\hspace` as block commands." | John MacFarlane | 1 | -0/+1 | |
This reverts commit 2873cd82886d1fa557bf3abde37b5ceb3cadf40c. | |||||
2017-02-24 | Implemented `\graphicspath` in LaTeX reader. | John MacFarlane | 1 | -1/+8 | |
Closes #736. | |||||
2017-02-22 | When parsing raw LaTeX commands, include trailing space. | John MacFarlane | 1 | -2/+2 | |
Otherwise things like `\noindent foo` break and turn into `\noindentfoo`. Affects `-f latex+raw_tex` and `-f markdown` (and other formats that allow `raw_tex`). Closes #1773. | |||||
2017-02-14 | LaTeX reader: include contents of `\parbox`. | John MacFarlane | 1 | -0/+1 | |
2017-02-14 | Removed unnecessary import. | John MacFarlane | 1 | -1/+1 | |
2017-02-13 | LaTeX reader: properly handle column prefixes/suffixes. | John MacFarlane | 1 | -12/+33 | |
For example, in \begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}} each cell will be interpreted as if it has a `$` before its content and a `$` after (math mode). | |||||
2017-02-11 | Use new warnings throughout the code base. | John MacFarlane | 1 | -6/+13 | |
2017-02-10 | LaTeX reader: Improved messages for skipped environments. | John MacFarlane | 1 | -5/+13 | |
2017-02-10 | LaTeX reader: Improved warning messages for unknown commands. | John MacFarlane | 1 | -19/+23 | |
2017-02-09 | LaTeX reader: Issue warnings when skipping unknown latex commands. | John MacFarlane | 1 | -4/+10 | |
See #3392. | |||||
2017-02-08 | LaTeX reader: support `\lstinputlisting`. | John MacFarlane | 1 | -11/+34 | |
Closes #2116. |