Age | Commit message (Collapse) | Author | Files | Lines |
|
Empty table rows should not be dropped from the output, so row-height is
always set to be at least 1.
|
|
The last fix for whitespace handling of inline LaTeX commands was
incorrect, preventing correct recognition of inline LaTeX commands which
contain spaces. This fix ensures that only trailing whitespace is cut
off.
|
|
Allow spaces before '!' in MediaWiki table header
|
|
|
|
Org reader: table parsing code refactoring and fixes
|
|
Org reader: fix spacing after LaTeX-style symbols
|
|
The org-reader was droping space after unescaped LaTeX-style symbol
commands: `\ForAll \Auml` resulted in `∀Ä` but should give `∀ Ä`
instead. This seems to be because the LaTeX-reader treats the
command-terminating space as part of the command. Dropping the trailing
space from the symbol-command fixes this issue.
|
|
This fixes Org mode parsing of some corner cases regarding empty cells
and rows. Empty cells weren't parsed correctly, e.g. `|||` should be
two empty cells, but would be parsed as a single cell containing a pipe
character. Empty rows where parsed as alignment rows and dropped from
the output.
This fixes #2616.
|
|
This refactores the codes conversing a list table lines to an org table
ADT. The old code was simplified and is now slightly less ugly.
|
|
Emacs Org-mode doesn't add any padding to table rows. The first
row (header or first body row) is used to determine the column count, no
other magic is performed.
The org reader was padding rows to the length of the longest table row.
This was done due to a misunderstanding of how Org handles tables. This
feature reflected how Org-mode handles tables when pressing <TAB>. The
Org exporter however, which is what the reader should implement, doesn't
do any of this. So this was a mis-feature that made the reader more
complex and reduced comparability. It was hence removed.
|
|
|
|
We need a minor version bump because of the addition
of `writerDocbook5` to `WriterOptions`.
|
|
|
|
|
|
Docbook5 write support
|
|
|
|
|
|
|
|
According to http://docutils.sourceforge.net/docs/ref/rst/directives.html#code,
the code directive supports the ":class:" option.
|
|
Commit 91dc3342 made `readDocx` throw PandocError if there was an
unarchiving error. This extends that fix to `readOdt` and `readEPUB`.
|
|
Closes #2892.
|
|
Previously, readDocx would error out if zip-archive failed. We change
the archive extraction step from `toArchive` to `toArchiveOrFail`, which
returns an Either value.
|
|
|
|
|
|
Previously if a document only had math in a footnote,
the MathJax link would not be added.
Closes #2881.
|
|
|
|
This reverts commit 4c684561ee0665b014e887ae559b7020e4e9f2d3.
See
https://groups.google.com/d/msg/pandoc-discuss/u6J-_aCProU/UufN3IYRAgAJ
This should fix uneven spacing issues in multiline tables.
|
|
LaTeX Writer: fix polyglossia to babel env mapping
|
|
LaTeX writer: Add missing languages.
|
|
Ignore leading space in org code blocks
|
|
Closes #2843.
|
|
Fixes #2862
Also fix up tab handling for leading whitespace in code blocks.
|
|
Closes several texmath-related bugs: #2775, #2310, #2310.
This fixes issues with sub/superscript positioning and
matrix column alignment in docx.
|
|
|
|
|
|
|
|
`moveTo` and `moveFrom` are track-changes tags that are used when a
block of text is moved in the document. We now recognize these tags and
treat them the same as `insert` and `delete`, respectively. So,
`--track-changes=accept` will show the moved version, while
`--track-changes=reject` will show the original version.
|
|
Closes #2799.
Also added -s to markdown-reader-more test.
|
|
We are now more forgiving about parsing invalid HTML with
unescaped `&` as raw HTML. (Previously any unescaped `&`
would cause pandoc not to recognize the string as raw HTML.)
Closes #2410.
|
|
|
|
Updates the list from the hyphenation files at <http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/loadhyph/>.
|
|
Recognize `la-x-classic` as Classical Latin.
|
|
This allows one to access the hyphenation patterns at <http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-la-x-classic.tex>, using its private language tag.
|
|
This fixes behavior of roots, e.g. `\sqrt[3]{x}`.
See #2824.
|
|
|
|
|
|
This allows templates to treat it differently.
|
|
|
|
This turns on -Wall, -Werror.
-Werror is already there for cabal builds, but for some reason
travis isn't failing when errors occur.
|
|
|