Age | Commit message (Collapse) | Author | Files | Lines |
|
Previously `<img src="empty.png" alt=""/>` would be translated as
`![image](empty.png)`; now it becomes `![](empty.png)` as one might
naturally expect.
|
|
Previously pandoc would use the same id attribute for the
div or section and the header inside it; now the id is omitted
from the header if the div or section has it.
|
|
Closes #460.
Note: processBiblio is a mess. It should be rewritten for
clarity and efficiency.
|
|
Closes #459.
|
|
|
|
|
|
This does not implement the complex rule described at
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules,
but it should be good enough for most purposes.
Closes #453.
|
|
|
|
* `hi*there*hi` now gets rendered properly as `hi\ *there*\ hi`
* Unnecessary '\ ' are avoided around :math:, :sub:, :sup:
* Implemented most of the rules in
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules,
though some unnecessary '\ ' may be inserted when unicode quotes
are used.
|
|
|
|
This ensures that the PDFs will have hyperlinked bookmarks
(PDF table of contents that can be displayed in the sidebar).
|
|
Thanks to Steven Solie for finding the bug.
|
|
|
|
$ cabal configure --haddock-option=-v3
$ cabal haddock -v3
Creating interface...
100% ( 2 / 2) in 'Text.Pandoc.Readers.Native'
Checking module Text.Pandoc.Readers.HTML...
Creating interface...
50% ( 4 / 8) in 'Text.Pandoc.Readers.HTML'
Checking module Text.Pandoc.Readers.Textile...
Creating interface...
haddock: internal error: lexical error
/usr/bin/haddock returned ExitFailure 1
Patch changes UTF-8 spaces to ASCII spaces.
It's a known haddock issue:
http://www.haskell.org/pipermail/haskell-cafe/2012-March/099870.html
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
Closes #443.
|
|
Previously it assumed that inlines weren't normalized.
|
|
Such keys get the value `true`.
|
|
|
|
|
|
Fix initial `Str "."` after `LineBreak` as well?
|
|
escape initial dot in code lines
|
|
This parallels behavior of latex writer. Mainlang is the last
of a comma-separated list of languages in lang.
|
|
|
|
|
|
\setmainlanguage will now just use the last of a comma-separated
list of languages.
|
|
The quote style can be changed by modifying the template
or including a css file. A default quote style is included.
|
|
|
|
|
|
|
|
Closes #431.
|
|
|
|
\~{a}, \c{c}.
|
|
This fixes a regression from 1.8.x. Closes #428.
|
|
`aligned` is now used instead of the nonexistent `aligned*`.
`multline` instead of the nonexistent `multiline`.
|
|
Closes #424.
|
|
Closes #422: highlighting lost using `--self-contained`.
|
|
Needs testing with Word.
|
|
|
|
Closes #414.
Previously, if you edited the reference.docx with Word, then
created a new docx using the edited reference.docx, Word would complain
about the file being corrupt. The problem seems to be that Word
changes _rels/.rels, changing the Type of the Relationship to
docProps/core.xml from
"http://schemas.openxmlformats.org/officedocument/2006/relationships/metadata/core-properties"
to
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties".
As far as I can see, this is a bug in Word, since the latter is not
valid. (See
http://idippedut.dk/post/2010/04/22/Correct-according-to-spec-or-implementation.aspx.)
This change simply does a global replace on _rels/.rels that reverts
the change Word makes. And now producing docx files with Word-modified
reference.docx seems to work.
|
|
if it doesn't start w space or punctuation. Otherwise we
get no space between the year and the suffix in author-date styles.
|
|
|
|
+ Skip options after block commands.
+ Correctly handle {\\} in braced.
+ Added a needed 'try'.
|
|
Now
\begin{equation}
a_1
\end{equation}
turns into a raw latex block as expected.
|
|
(1) Attributes can contain line breaks.
(2) Values in key-value attributes can be surrounded by either
double or single quotes, or left unquoted if they contain no spaces.
|
|
|
|
|
|
|
|
This avoids exponential lookahead in parasitic cases, like
a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**.
Added stateMaxNestingLevel to ParserState.
We set this to 6, so you can still have Emph inside Emph, just not
indefinitely.
|
|
Note: This will pick up on \tableofcontents even if it's
in a verbatim environment. But the worst that can happen is
that the document takes a bit longer to build.
|
|
|