| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | | |
TODO Simplify the code
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
In this first version, all dokuwiki files are straight copies of the
media wiki counterparts.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- We no longer include trailing spaces and newlines in the
raw blocks.
- We look for closing tags for elements (but without backtracking).
- Each block-level tag is its own RawBlock; we no longer try to
consolidate them (though `--normalize` will do so).
Closes #1330.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is used to keep track of the ending tag we're waiting
for when we're parsing inside HTML block tags.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Added `audio` and `source` in `eitherBlockOrInline`.
- Moved `video`, `svg`, `progress`, `script`, `noscript`, `svg` from
`blockTags` to `eitherBlockOrInline`.
- `map` and `object` were mistakenly in both lists; they have been removed
from `blockTags`.
|
|\ \ \ \
| | | | |
| | | | | |
Docx Reader: Parse Docx OMML math/equations
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is a first stab at writing out equations in LaTeX based on
omml equations in Word. There are some glitches: unicode chars not known to
LaTeX are silently skipped, and functions (such as `\oiiint`) not in the
standard LaTeX packages are inserted, which can lead to pdf compilation
errors (depending, of course, on your preamble).
Adding, for example, `\usepackage[charter]{mathdesign}` to the preamble will
allow you to use most of the more esoteric functions.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will allow us to deal with unicode characters from word equations. This
part of the process will need to continue to be improved.
|
| | |_|/
| |/| | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Modad.Reader + HLint for MediaWiki writer
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
To avoid to pass opts explicitly around (as we
do not use it very much at the moment anyway)
|
| | |
| | |
| | |
| | | |
Closes #1389.
|
|\ \ \
| | | |
| | | | |
Docx reader: clean up parStyle processing.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This gets rid of `divAttrToContainers`: an internal convenience function
which had become pretty inconvenient. Rather than converting classes and
indentations to string lists and back, we deal with the `pPr` attribute
directly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Added normalizeInlines, normalizeBlocks.
* Type signature is now more narrow, `Pandoc -> Pandoc` instead of
`Data a :: a -> a`. Some users may need to change their uses of
`normalize` to the newly exported `normalizeInlines` or
`normalizeBlocks`.
|
|\ \ \
| | | |
| | | | |
Fix hanging indent behavior
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We want to treat it as a plain paragraph if the hanging amount is
greater to or equal to the left indent---i.e., if the first line has
zero indentation. But we still want it to be a block quote if it starts
to the right of the margin. Someone might format verse with wrapping
lines with a hanging indent, for example.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Here, when hanging indents are greater than or equal to left indents, we
don't set it to block quote. Such indents are frequently used in
academic bibliographies. (Thanks to Caleb McDaniel.)
|
| | |/
| |/|
| | |
| | |
| | | |
This lets us keep more information about the indentation, and act
accordingly in the reader.
|
|\ \ \
| | | |
| | | | |
Docx writer: insert bookmark tags inside <w:p> tag.
|
| |/ /
| | |
| | |
| | |
| | | |
This makes the header anchors in pandoc-generated ooxml match those
generated by word.
|
|\ \ \
| |/ /
|/| | |
Docx Reader: Update state properly
|
|/ /
| |
| |
| |
| |
| | |
Previously, a fresh state was created for the purpose of updating. In
the future, when there is more than one field in the state, this
obviously won't work.
|
|\ \
| | |
| | | |
Docx Reader: Extend auto id behavior to all headers
|
| | |
| | |
| | |
| | | |
Now doing auto ids for all headers, so tests should reflect that.
|
|/ /
| |
| |
| |
| | |
Previously, only those with an anchor got an auto id. Now, all do, which
puts it in line with pandoc's markdown extension.
|
|\ \
| | |
| | | |
New DocxContext Monad, and rewriting anchor ids
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Record relationship between original id and auto id, so we can fix links
after.
|
| | |
| | |
| | |
| | | |
In preparation for auto ids.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Using pattern guard, in preparation for doing some more complicated
stuff with it (recording header anchors, so we can change them to auto
ids.)
|