Pandoc

詳細情報

スクリーンショット

スクリーンショットはありません。

レビュー

レビューはありません。

スポンサーリンク

更新グラフ

バージョン履歴

2018/01/19 ver 2.1.1

pandoc 2.1.1 (18 January 2018)
pandoc 2.1.1 (18 January 2018)
Markdown reader:
Don’t coalesce adjacent raw LaTeX blocks if they are separated by a blank line. See lierdakil/pandoc-crossref#160.
Improved inlinesInBalancedBrackets (#4272, jgm/pandoc-citeproc#315). The change both improves performance and fixes a regression whereby normal citations inside inline notes and figure captions were not parsed correctly.
RST reader:
Better handling for headers with an anchor (#4240). Instead of creating a Div containing the header, we put the id directly on the header. This way header promotion will work properly.
Add aligned environment when needed in math (#4254). rst2latex.py uses an align* environment for math in .. math:: blocks, so this math may contain line breaks. If it does, we put the math in an aligned environment to simulate rst2latex.py’s behavior.
HTML reader:
Fix col width parsing for percentages < 10% (#4262, n3fariox).
LaTeX reader:
Advance source position at end of stream.
Fixed pos calculation in tokenizing escaped space.
Allow macro definitions inside macros (#4253). Previously we went into an infinite loop with
\newcommand{\noop}[1]{#1}
\noop{\newcommand{\foo}[1]{#1}}
\foo{hi}
Fix inconsistent column widths (#4238). This fixes a bug whereby column widths for the body were different from widths for the header in some tables.
Docx reader (Jesse Rosenthal):
(省略されました)

2018/01/08 ver 2.1

pandoc 2.1 ( 7 January 2018)
pandoc 2.1 ( 7 January 2018)
Text.Pandoc.Class: make FileTree opaque (don’t export FileTree constructor). This forces users to interact with it using insertInFileTree and getFileInfo, which normalize file names.
Markdown reader:
Rewrite inlinesInBalancedBrackets. The rewrite is much more direct, avoiding parseFromString. And it performs significantly better; unfortunately, parsing time still increases exponentially (see #1735).
Avoid parsing raw tex unless \ + letter seen. This seems to help with the performance problem, #4216.
LaTeX reader: Simplified a check for raw tex command.
Muse reader (Alexander Krotov):
Enable round trip test (#4107).
Automatically translate #cover into #cover-image. Amusewiki uses #cover directive to specify cover image.
Docx reader (Jesse Rosenthal):
Remove unused anchors (#3679). Docx produces a lot of anchors with nothing pointing to them—we now remove these to produce cleaner output. Note that this has to occur at the end of the process because it has to follow link/anchor rewriting.
Read multiple children of w:sdtContents.
Combine adjacent anchors. There isn’t any reason to have numerous anchors in the same place, since we can’t maintain docx’s non-nesting overlapping. So we reduce to a single anchor.
Improved tests.
Muse writer (Alexander Krotov): don’t escape URIs from AST
Docx writer:
Removed redundant subtitle in title (Sebastian Talmon).
Fix custom styles with spaces in the name (#3290).
(省略されました)

2017/12/29 ver 2.0.6

pandoc 2.0.6 (28 December 2017)
pandoc 2.0.6 (28 December 2017)
Added jats as an input format.
Add Text.Pandoc.Readers.JATS, exporting readJATS (API change) (Hamish Mackenzie).
Markdown reader:
Preserve original whitespace between blocks.
Recognize \placeformula as context.
Be pickier about table captions. A caption starts with a : which can’t be followed by punctuation. Otherwise we can falsely interpret the start of a fenced div, or even a table header line like :--:|:--:, as a caption.
Always use four space rule for example lists. It would be awkward to indent example list contents to the first non-space character after the label, since example list labels are often long. Thanks to Bernhard Fisseni for the suggestion.
Improve raw tex parsing. Note that the Markdown reader is also affected by the latex_macros extension changes described below under the LaTeX reader.
LaTeX reader:
Export tokenize, untokenize (API change).
Use applyMacros in rawLaTeXBlock, rawLaTeXInline.
Refactored inlineCommand.
Fix bug in tokenizer. Material following ^^ was dropped if it wasn’t a character escape. This only affected invalid LaTeX, so we didn’t see it in the wild, but it appeared in a QuickCheck test failure.
Fix regression in LateX tokenization (#4159). This mainly affects the Markdown reader when parsing raw LaTeX with escaped spaces.
Add tests of LaTeX tokenizer.
Support \foreignlanguage from babel.
Be more tolerant of & character (#4208). This allows us to parse unknown tabular environments as raw LaTeX.
(省略されました)

2017/12/13 ver 2.0.5

pandoc 2.0.5 (12 December 2017)
pandoc 2.0.5 (12 December 2017)
Fix a bug in 2.0.4, whereby pandoc could not read the theme files generated with --print-highlight-style (#4133). Improve JSON serialization of styles.
Fix CSS issues involving line numbers (#4128). Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class sourceCode.
--pdf-engine-opt: fix bug where option order was reversed (#4137).
Add PowerPoint (pptx) writer (Jesse Rosenthal). It works following the standard Pandoc conventions for making other sorts of slides. Caveats:
Syntax highlighting is not yet implemented. (This is difficult because there are no character classes in Powerpoint.)
Footnotes and Definition lists are not yet implemented. (Notes will usually take the form of a final slide.
Image placement and auto-resizing has a few glitches.
Reference powerpoint files don’t work dependably from the command line. This will be implemented, but at the moment users are advised to change themes from within Powerpoint.
Create shared Text.Pandoc.Writers.OOXML module (Jesse Rosenthal). This is for functions used by both Powerpoint and Docx writers.
Add default pptx data for Powerpoint writer (Jesse Rosenthal).
Add empty_paragraphs extension.
Deprecate --strip-empty-paragraphs option. Instead we now use an empty_paragraphs extension that can be enabled on the reader or writer. By default, disabled.
Add Ext_empty_paragraphs constructor to Extension.
Revert “Docx reader: don’t strip out empty paragraphs.” This reverts commit d6c58eb836f033a48955796de4d9ffb3b30e297b.
Implement empty_paragraphs extension in docx reader and writer, opendocument writer, html reader and writer.
Add tests for empty_paragraphs extension.
Markdown reader:
(省略されました)

2017/12/04 ver 2.0.4

pandoc 2.0.4 (03 December 2017)
pandoc 2.0.4 (03 December 2017)
Add --print-highlight-style option. This generates a JSON version of a highlighting style, which can be saved as a .theme file, modified, and used with --highlight-style (#4106, #4096).
Add --strip-empty-paragraphs option. This works for any input format. It is primarily intended for use with docx and odt documents where empty paragraphs have been used for inter-paragraph spaces.
Support --webtex for gfm output.
Recognize .muse file extension.
Support beamer \alert in LaTeX reader. Closes #4091.
Docx reader: don’t strip out empty paragraphs (#2252). Users who have a conversion pipeline from docx may want to consider adding --strip-empty-paragraphs to the command line.
Org reader (Albert Krewinkel): Allow empty list items (#4090).
Muse reader (Alexander Krotov):
Parse markup in definition list terms.
Allow definition to end with EOF.
Make code blocks round trip.
Drop common space prefix from list items.
Add partial round trip test.
Don’t interpret XML entities.
Remove nested.
Parse ~~ as non-breaking space in Emacs mode.
Correctly remove indentation from notes. Exactly one space is required and considered to be part of the marker.
(省略されました)

2017/11/21 ver 2.0.3

pandoc 2.0.3 (20 November 2017)
pandoc 2.0.3 (20 November 2017)
Lua filters: preload text module (Albert Krewinkel, #4077). The text module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.:
text = require 'text'
function Str (s)
s.text = text.upper(s.text)
return s
end
Introduce HasSyntaxExtensions typeclass (Alexander Krotov, #4074).
Added new HasSyntaxExtensions typeclass for ReaderOptions and WriterOptions.
Reimplemented isEnabled function from Options.hs to accept both ReaderOptions and WriterOptions.
Replaced enabled from CommonMark.hs with new isEnabled.
Add amuse extension (Alexander Krotov) to enable Amuse wiki behavior for muse. New Ext_amuse constructor for Extension. Note: this is switched on by default; for Emacs behavior, use muse-amuse.
Muse reader (Alexander Krotov):
Count only one space as part of list item marker.
Produce SoftBreaks on newlines. Now wrapping can be preserved with --wrap=preserve.
Add Text::Amuse footnote extensions. Footnote end is indicated by indentation, so footnotes can be placed anywhere in the text, not just at the end of it.
Accept Emacs Muse definition lists when -amuse. Emacs Muse does not require indentation.
HTML reader:
(省略されました)

2017/11/13 ver 2.0.2

pandoc 2.0.2 (12 November 2017)
pandoc 2.0.2 (12 November 2017)
Deprecated ancient HTML math methods: --latexmathml, --gladtex, --mimetex, --jsmath.
Fixed URIs in data/jats.csl. They were being rendered twice, leading to invalid XML in default JATS output with pandoc-citeproc.
lua-filters.md: use real-world man page filter as example.
Add lua filter functions walk_inline and walk_block in the pandoc module, to apply filters inside particular inline and block elements.
Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter.
Markdown reader:
Allow fenced code blocks to be indented 1-3 spaces (#4011). This brings our handling of them into alignment with CommonMark’s.
Fix YAML metadata with “chomp” (|-). Previously if a YAML block under |- contained a blank line, pandoc would not parse it as metadata.
Removed etc. from abbreviations file. Often etc. ends a sentence, and we want the period to be treated as a sentence-ending period.
Fix regression with --metadata (#4054). Values specified with --metadata should replace a metadata value set in the document itself, rather than creating a list including a new value.
EPUB writer:
Fix EPUB OCF structure. #3720 had been improperly implemented.
Fix modified paths for raw HTML tags (src, poster, etc.) (#4050, #4055). This had not been updated for the new EPUB container layout, with a separate text/ subdirectory.
Fix image paths with empty --epub-subdirectory.
Miscellaneous code cleanup (Alexander Krotov).
Use pandoc-types 1.17.3, which adds Walkable instances for [Block] Block and [Inline] Inline.
Remove obsolete stack.full.yaml (#4052).
(省略されました)

2017/11/05 ver 2.0.1.1

pandoc 2.0.1.1 (04 November 2017)
pandoc 2.0.1.1 (04 November 2017)
Improved fix to #3989 (parsing of HTML tags containing > in an attribute or comment). The previous fix (in 2.0.1) only worked in certain cases.
FB2 writer (Alexander Krotov):
Add unrecognised genre to <title-info> (Alexander Krotov). XML schema requires at least one genre.
Remove <annotation> from <body>.
CommonMark writer: fix strikethrough for gfm (#4038).
Use texmath 0.10, which adds support for a wider range of symbols and fixes default column alignments in MathML and OMML.
Highlighting fixes, using skylighting 0.4.3.2:
Fix invalid CSS.
Support lineAnchors (or line-anchors) in HTML code blocks.
Ensure that code lines don窶冲 get duplicate identifiers (#4031). The line identifiers are built using the code block窶冱 identifier as a prefix. If the code block has null identifier, we use cb1, cb2, etc.
Added a few abbreviations to data/abbreviations, and sorted the list (#3984, Wandmalfarbe).
Improved support for columns in HTML writer (#4028).
Remove width attribute from the div.
Remove space between <div class="column"> elements, since this prevents columns whose widths sum to 100% (the space takes up space).
Move as much as possible of the CSS to the template.
Ensure that all the HTML-based templates (including epub) contain the CSS for columns.
Columns default to 50% width unless they are given a width attribute. So if you want two equal-width columns, you can use a div with class column and no width attribute.
(省略されました)

2017/11/01 ver 2.0.1

pandoc 2.0.1 (31 October 2017)
pandoc 2.0.1 (31 October 2017)
Fixed regression in parsing of HTML comments in markdown and other non-HTML formats (Text.Pandoc.Readers.HTML.htmlTag) (#4019). The parser stopped at the first > character, even if it wasn’t the end of the comment.
Creole reader (Sascha Wilde):
Fix some minor typos and formatting.
Add additional test on nowiki-block after para.
Fix lists with trailing white space.
LaTeX reader: handle % comment right after command. For example, \emph%.
Markdown reader: make sure fenced div closers work in lists. Previously the following failed:
::: {.class}
1. one
2. two
:::
and you needed a blank line before the closing :::.
Make fenced_divs affect the Markdown writer. If fenced_divs is enabled, Divs will be rendered as fenced divs.
LaTeX/Beamer writer: support “blocks” inside columns and other Divs (#4016).
HTML Writer: consistently use dashed class-names (Mauro Bieg, #3556). Note: this change may require some changes in CSS rules. footnoteRef has become footnote-ref, titleslide has become title-slide, and footnoteBack has become footnote-back.
JATS writer: Properly pass through author metadata (#4020).
FB2 writer (Alexander Krotov):
(省略されました)

2017/10/31 ver 2.0.0.1

pandoc 2.0.0.1 (30 Oct 2017)
pandoc 2.0.0.1 (30 Oct 2017)
EPUB writer:
Fixed filepaths for nonstandard epub-subdirectory values.
Ensure that epub2 is recognized as a non-text format, so that a template is used.
Don’t include “prefix” attribute for ibooks for epub2. It doesn’t validate.
Fix stylesheet paths; previously we had an incorrect stylesheet path for the cover page and nav page.
LaTeX reader:
Insert space when needed in macro expansion (#4007). Sometimes we need to insert a space after a control sequence to prevent it merging with a following letter.
Allow unbraced arguments for macros (#4007).
Allow body of macro definition to be unbraced (#4007).
Linux package build: ensure that pandoc-citeproc is statically linked.
trypandoc: add native, ms.