Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panflute v2.1.3: Support pandoc 2.16 & upgrade dependencies #201

Merged
merged 8 commits into from
Nov 30, 2021
Merged

Conversation

ickc
Copy link
Collaborator

@ickc ickc commented Nov 25, 2021

Notes:

pandoc 2.16 release summary: Release pandoc 2.16 · jgm/pandoc

Running python tests/test_env.py,

 - Testing Doc() created by panflute:
 - No environment vars; as expected

 - Testing Doc() created by panflute.convert_text():
 - No environment vars; as expected

 - Testing Doc() as created by a filter:
  Pandoc version: (2, 16, 2)
  Pandoc reader options:
    extensions=['all_symbols_escapable', 'auto_identifiers', 'backtick_code_blocks', 'blank_before_blockquote', 'blank_before_header', 'bracketed_spans', 'citations', 'definition_lists', 'escaped_line_breaks', 'example_lists', 'fancy_lists', 'fenced_code_attributes', 'fenced_code_blocks', 'fenced_divs', 'footnotes', 'grid_tables', 'header_attributes', 'implicit_figures', 'implicit_header_references', 'inline_code_attributes', 'inline_notes', 'intraword_underscores', 'latex_macros', 'line_blocks', 'link_attributes', 'markdown_in_html_blocks', 'multiline_tables', 'native_divs', 'native_spans', 'pandoc_title_block', 'pipe_tables', 'raw_attribute', 'raw_html', 'raw_tex', 'shortcut_reference_links', 'simple_tables', 'smart', 'space_in_atx_header', 'startnum', 'strikeout', 'subscript', 'superscript', 'task_lists', 'table_captions', 'tex_math_dollars', 'yaml_metadata_block']
    standalone=False
    columns=72
    tab-stop=4
    indented-code-classes=[]
    abbreviations=['Apr.', 'Aug.', 'Bros.', 'Capt.', 'Co.', 'Corp.', 'Dec.', 'Dr.', 'Feb.', 'Fr.', 'Gen.', 'Gov.', 'Hon.', 'Inc.', 'Jan.', 'Jr.', 'Jul.', 'Jun.', 'Ltd.', 'M.A.', 'M.D.', 'Mar.', 'Mr.', 'Mrs.', 'Ms.', 'No.', 'Nov.', 'Oct.', 'Ph.D.', 'Pres.', 'Prof.', 'Rep.', 'Rev.', 'Sen.', 'Sep.', 'Sept.', 'Sgt.', 'Sr.', 'St.', 'aet.', 'aetat.', 'al.', 'bk.', 'c.', 'cf.', 'ch.', 'chap.', 'chs.', 'col.', 'cp.', 'd.', 'e.g.', 'ed.', 'eds.', 'esp.', 'f.', 'fasc.', 'ff.', 'fig.', 'fl.', 'fol.', 'fols.', 'i.e.', 'ill.', 'incl.', 'n.', 'n.b.', 'nn.', 'p.', 'pp.', 'pt.', 'q.v.', 's.v.', 's.vv.', 'saec.', 'sec.', 'univ.', 'viz.', 'vol.', 'vs.']
    default-image-extension=
    track-changes=accept-changes
    strip-comments=False

 - Found environment vars; as expected

Comparing to that of pandoc 2.15:

 - Testing Doc() created by panflute:
 - No environment vars; as expected

 - Testing Doc() created by panflute.convert_text():
 - No environment vars; as expected

 - Testing Doc() as created by a filter:
  Pandoc version: (2, 15)
  Pandoc reader options:
    readerExtensions=2559145596334764125609794
    readerStandalone=False
    readerColumns=72
    readerTabStop=4
    readerIndentedCodeClasses=[]
    readerAbbreviations=['Apr.', 'Aug.', 'Bros.', 'Capt.', 'Co.', 'Corp.', 'Dec.', 'Dr.', 'Feb.', 'Fr.', 'Gen.', 'Gov.', 'Hon.', 'Inc.', 'Jan.', 'Jr.', 'Jul.', 'Jun.', 'Ltd.', 'M.A.', 'M.D.', 'Mar.', 'Mr.', 'Mrs.', 'Ms.', 'No.', 'Nov.', 'Oct.', 'Ph.D.', 'Pres.', 'Prof.', 'Rep.', 'Rev.', 'Sen.', 'Sep.', 'Sept.', 'Sgt.', 'Sr.', 'St.', 'aet.', 'aetat.', 'al.', 'bk.', 'c.', 'cf.', 'ch.', 'chap.', 'chs.', 'col.', 'cp.', 'd.', 'e.g.', 'ed.', 'eds.', 'esp.', 'f.', 'fasc.', 'ff.', 'fig.', 'fl.', 'fol.', 'fols.', 'i.e.', 'ill.', 'incl.', 'n.', 'n.b.', 'nn.', 'p.', 'pp.', 'pt.', 'q.v.', 's.v.', 's.vv.', 'saec.', 'sec.', 'univ.', 'viz.', 'vol.', 'vs.']
    readerDefaultImageExtension=
    readerTrackChanges=accept-changes
    readerStripComments=False

 - Found environment vars; as expected

Most of the keys are changed, and the contents are more useful as is.

@ickc ickc changed the title upgrade dependencies Support pandoc 2.16 & upgrade dependencies Nov 25, 2021
@ickc ickc marked this pull request as ready for review November 25, 2021 04:02
@ickc ickc mentioned this pull request Nov 25, 2021
3 tasks
@ickc ickc changed the title Support pandoc 2.16 & upgrade dependencies panflute v2.1.3: Support pandoc 2.16 & upgrade dependencies Nov 25, 2021
@ickc ickc mentioned this pull request Nov 25, 2021
3 tasks
@sergiocorreia sergiocorreia merged commit a0fffbd into sergiocorreia:master Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants