| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
|
|
|
| |
Closes #1609.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This fixes a regression (not in any released version) on
things like
hi
: - there
Closes #2098.
|
|\
| |
| | |
Custom Writer: Set foreign encoding to UTF-8
|
| |
| |
| |
| |
| |
| |
| | |
Closes #2101, #1634
Also factored out ByteString, since it's only used as an intermediate
representation.
|
|/ |
|
|
|
|
| |
This way we can set -j2 only for GHC > 7.4.
|
| |
|
|\
| |
| | |
Use the new Travis sudo-less syntax for APT dependencies
|
|/
|
|
| |
New syntax is specified here: http://docs.travis-ci.com/user/apt/
|
|
|
|
|
|
|
|
| |
Instead, use a forward-slash to join paths, regardless of the
platform. This matches the way MediaBag now works.
See
https://github.com/jgm/pandoc/commit/56e4ecab20613d86a6660547ed87e7ff4b80d632#commitcomment-10858449
|
| |
|
|
|
|
| |
This might help with #2101.
|
|\
| |
| | |
Bump zlib upper version bounds
|
|/ |
|
|\
| |
| | |
Fixed typo in URL for dzslides
|
| | |
|
|/
|
|
| |
Closes #2096.
|
|
|
|
|
|
| |
This version should be a bit more efficient.
This doesn't help with #1735, however.
|
|\
| |
| | |
Fix for #2083 (citation suffix clashes with links and footnotes)
|
| |
| |
| |
| |
| |
| | |
Footnotes: check if '^' follows '['
Links: check if '[' or '(' follows ']'
Shorthand links: attempt to lazily parse suffix as referenceLink
|
|/
|
|
| |
In-text citation suffix clashes with links and footnotes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #2062.
This reverts commit c302bdcdbe97b38721015fe82403b2a8f488a702, reversing
changes made to b983adf0d0cbc98d2da1e2751f46ae1f93352be6.
Conflicts:
src/Text/Pandoc/Parsing.hs
src/Text/Pandoc/Readers/Markdown.hs
src/Text/Pandoc/Readers/Org.hs
src/Text/Pandoc/Readers/RST.hs
|
| |
|
|
|
|
|
|
|
|
| |
`<` should not be escaped as `\<`, for compatibility with
original Markdown. We now escape `<` and `>` with entities.
Also, we now backslash-escape square brackets.
Closes #2086.
|
|\
| |
| | |
Typo on Text.Pandoc.Generic
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the body of the definition (after the `:` or `~` marker)
needed to be in column 4. This commit relaxes that requirement,
to better match the behavior of PHP Markdown Extra. So, now
this is a valid definition list:
foo
: bar
This patch also helps resolve a potentially ambiguity with table
captions:
foo
: bar
-----
table
-----
Is "bar" a definition, or the caption for the table? We'll count
it as a caption for the table.
Closes #2087.
|
|
|
|
|
|
|
|
| |
If the tag parses as a comment, we check to see if the
input starts with `<!--`. If not, it's bogus comment mode
and we fail htmlTag.
Includes test case. Closes #1820.
|
|\ |
|
|/|
| |
| |
| |
| |
| |
| | |
jlduran-latex-tightlist
Conflicts:
data/templates
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, pandoc has hard-coded the following in order to make tight lists in
LaTeX:
```hs
text "\\itemsep1pt\\parskip0pt\\parsep0pt"
```
Which is fine, but does not allow customizations. For example, the `memoir`
class already has a `\tightlist` declaration for this purpose:
```tex
\newcommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
```
I'm proposing to use a similar solution:
```diff
@@ In Writers/LaTeX.hs:
-then text "\\itemsep1pt\\parskip0pt\\parsep0pt"
+then text "\\tightlist"
@@ In templates/default.latex:
+\newcommand{\tightlist}{%
+ \setlength{\itemsep}{1pt}\setlength{\parskip}{0pt}\setlength{\parsep}{0pt}}
```
This allows us to customize the tightness to our needs.
Backward Compatibility
If a person is using a custom LaTeX template (not based upon the `memoir`
class), the `\tightlist` declaration must be added.
|
|\ \
| | |
| | | |
Allow digit as first character of a citation key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Update parser to recognize citation keys starting with a digit.
* Update documentation accordingly.
* Test case added.
See https://github.com/jgm/pandoc-citeproc/issues/97
|
|\ \ \
| | | |
| | | | |
RST Writer: Normalize headings to sequential levels
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
This is pretty much required by docutils.
|
|\ \ \ \
| | | | |
| | | | | |
Various minor formatting and consistency fixes for the README
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
MD Reader: Smart apostrophe after inline math
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Closes #1909.
Adds new parser combinator to Parsing.hs
`a <+?> b`
: if a succeeds, applies b and mappends
output (if any) to result of a. If b fails,
it's just a, if a fails, whole expression fails.
|
| | | | | | |
|