Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
|
|
This is important primarily for things like `--option`.
Em and En dashes will produce '---' and '--' in LaTeX, but
hyphens should not otherwise combine into dashes.
|
|
Moved characterReference parser to Text.Pandoc.Parsing.
decodeCharacterReferences is now replaced by fromEntities
in Text.Pandoc.XML.
|
|
|
|
Previously we got bad results with -t markdown --reference-links
if the input contained autolinks like <http://yahoo.com>.
|
|
mathml is supposed to be supported in HTML5.
|
|
|
|
* This can be repeated for multiple fonts.
* Added parameter for fonts to embed to writeEPUB.
* Added ttf, otf to Mime types in Text.Pandoc.MIME.
|
|
|
|
Added normalizeDate to Text.Pandoc.Shared.
|
|
|
|
|
|
|
|
|
|
This allows users to select a slide level below the first
header level with content.
Note that content under sections above the slide level will not appear
in slides (either in beamer or in HTML slide shows).
This is primarily useful for creating documents that can be made
into both slides and handouts (which contain additional content
outside the slides).
|
|
|
|
This uses styleToCss instead of styleToHtml.
|
|
|
|
|
|
|
|
This will work better with the HTML slideshows.
|
|
Closes #385.
|
|
|
|
|
|
Previously a footnote in a list item would be a list item, etc.!
|
|
|
|
|
|
|
|
Numbered lists were being numbered continuously, instead
of having new lists start again with 1.
|
|
|
|
Print warning if file doesn't exist.
|
|
* New module `Text.Pandoc.Docx`.
* New output format `docx`.
* Added reference.docx.
* New option `--reference-docx`.
The writer includes support for highlighted code blocks
and math (which is converted from TeX to OMML using
texmath's new OMML module).
|
|
* ImageSize record now includes dpiX, dpiY, pxX, pxY.
* New functions sizeInPixels and sizeInPoints.
|
|
OpenDocument writer: a title like "123x467" is interpreted
as size in *points*.
ODT writer: while adding images to the archive, computes their
sizes and inserts a title attribute with the size before
calling opendocument writer.
Size is computed as follows:
size in points = size in pixels * 96 / 72
|
|
Later we'll modify the ODT writer to insert such titles, so image
sizes will be correct in the ODT.
|
|
|
|
|
|
Defaults to locale language if `lang` is not set.
|
|
Inline math uses the :math:`...` construct.
Display math uses
.. math:: ...
or if multilin
.. math::
...
These seem to be supported now by rst2latex.py.
|
|
http://sphinx.pocoo.org/latest/ext/math.html
|
|
This was a regression introduced by the recent internal
links changes.
|
|
|
|
Based on a patch by B. Scott Michel.
Also simplified use of \hyphenateurl. We no longer try to go within
an Inline list to find URLs. This is resource-heavy, and the main
use case is autolinks, which can be readily recognized.
|
|
Based on a patch by B. Scott Michel.
|
|
Add the ability to refer to internal links to the ConTeXt writer, just
like the HTML writer can. The 'hierarchicalize' function generates
unique names for sections, which can be used for references in ConTeXt,
just as they can be in HTML.
The ConTeXt writer adds these unique identifiers to each \section and
does special processing of the Link target to see if it starts with a
'#' (hash symbol), which is the tip-off that the link is an internal
link.
|
|
Footnotes and email addresses now come out in a more pleasing
way.
Modified from a patch by B. Scott Michel.
|
|
|
|
Use isURI instead of isAbsoluteURI, as it also matches
absolute URIs with '#...' at the end.
|