paru 0.3.0a8 → 0.3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfb62e841895598d6ee403719487470f82f8604f
4
- data.tar.gz: 711cb74b424e87a6cd6879a751b9a2ee2d16009e
3
+ metadata.gz: 3cb25b44055affcc695616ce593e015814091ceb
4
+ data.tar.gz: d4a8852aafcb1d4c7b818f4dfd8f480350123053
5
5
  SHA512:
6
- metadata.gz: 95a62b675732dc9fadd6b616acb49ec08a899f76412e39984612fa050812b433814cf5f3fec0e677f495c492a7f5e36a937561134276664d817979430dc0bb2e
7
- data.tar.gz: df08aa23b5e1ae0610f9b92cb73f504377fb46c5814063a576b393a76d00feff04608d9354bba546fcd9ee6572f6bc3352914b515dd5e2c3d1904186b35b45f2
6
+ metadata.gz: cc1900482b270f53ea88a9e63fb11470b30ec8d8037d971f474b8bd1bbeccf8feda2194604bae11073e38b3460f404d1f5cb34d95f8508c205013a32566c64e3
7
+ data.tar.gz: 7583df09bafe5d668a53885a7733d7e7d79ccac4016c34321e1acf6ca266ee8eeba8feb69a4eacc19aa3d525b8395367f362f3d51dbb61d12e3e418a455a5626
@@ -49,8 +49,8 @@ module Paru
49
49
  ]
50
50
  end
51
51
 
52
- undef_method :inner_markdown
53
- undef_method :inner_markdown=
52
+ #undef_method :inner_markdown
53
+ #undef_method :inner_markdown=
54
54
  end
55
55
  end
56
56
  end
@@ -36,7 +36,7 @@ module Paru
36
36
 
37
37
  # The current pandoc type version
38
38
  # @see https://hackage.haskell.org/package/pandoc-types
39
- CURRENT_PANDOC_VERSION = [1, 17, 1]
39
+ CURRENT_PANDOC_VERSION = [1, 17, 2]
40
40
 
41
41
  # Each file that is being filtered by pandoc is represented by a root
42
42
  # Document. It is the root node of the AST of the document in the file.
@@ -240,7 +240,7 @@ module Paru
240
240
  if not [1, 2].include? major_version
241
241
  throw Error.new "Unknown major pandoc version: '#{major_version}'. Expected the major version to be '1' or '2'. Please check the pandoc path: '#{@@pandoc_exec}'."
242
242
  # defaults to version 1
243
- major_version = 1
243
+ major_version = 2
244
244
  end
245
245
 
246
246
  # For each pandoc command line option a method is defined as follows:
@@ -17,36 +17,60 @@
17
17
  # along with Paru. If not, see <http://www.gnu.org/licenses/>.
18
18
  # See http://pandoc.org/README.html for an overview of all options
19
19
  #++
20
- # In order as listed in the output of `pandoc- h` for pandoc version 2.x
20
+ # In order as listed on http://pandoc.org/MANUAL.html (version 2)
21
+ #####
22
+ # General options:
23
+ #####
21
24
  from: ""
22
25
  read: ""
23
26
  to: ""
24
27
  write: ""
25
28
  output: ""
26
29
  data_dir: ""
30
+ verbose: true
31
+ quiet: true
32
+ fail_if_warnings: true
33
+ log: ""
34
+ bash_completion: true
35
+ list_input_formats: true
36
+ list_output_formats: true
37
+ list_extensions: true
38
+ list_highlight_languages: true
39
+ list_highlight_styles: true
40
+ version: true
41
+ help: true
42
+ #####
43
+ # General reader options:
44
+ #####
27
45
  base_header_level: 1
28
46
  indented_code_classes: ""
47
+ default_image_extension: ""
48
+ file_scope: true
29
49
  filter: [""]
30
50
  lua_filter: [""]
31
- preserver_tabs: true
51
+ metadata: [""]
52
+ preserve_tabs: true
32
53
  tab_stop: 4
33
54
  track_changes: "accept"
34
- file_scope: ""
35
55
  extract_media: ""
56
+ abbreviations: ""
57
+ #####
58
+ # General writing options:
59
+ #####
36
60
  standalone: true
37
61
  template: ""
38
- metadata: [""]
39
62
  variable: [""]
40
63
  print_default_template: ""
41
64
  print_default_data_file: ""
42
- dpi: 96
43
65
  eol: "native"
66
+ dpi: 96
44
67
  wrap: "auto"
45
68
  columns: 78
46
69
  strip-comments: true
47
70
  toc: true
48
71
  table_of_contents: true
49
72
  toc_depth: 3
73
+ strip_comments: true
50
74
  no_highlight: true
51
75
  highlight_style: ""
52
76
  syntax_definition: ""
@@ -54,6 +78,10 @@ include_in_header: [""]
54
78
  include_before_body: [""]
55
79
  include_after_body: [""]
56
80
  resource_path: ""
81
+ request_header: ""
82
+ #####
83
+ # Options affecting specific writers
84
+ #####
57
85
  self_contained: true
58
86
  html_q_tags: true
59
87
  ascii: true
@@ -73,41 +101,37 @@ id_prefix: ""
73
101
  title_prefix: ""
74
102
  css: [""]
75
103
  reference_doc: ""
76
- epub_subdirectory: ""
77
104
  epub_cover_image: ""
78
105
  epub_metadata: ""
79
106
  epub_embed_font: ""
80
107
  epub_chapter_level: 1
81
- pdf_engine: ""
108
+ epub_subdirectory: ""
109
+ pdf_engine: "pdflatex"
82
110
  pdf_engine_opt: ""
111
+ #####
112
+ # Citation rendering
113
+ #####
83
114
  bibliography: ""
84
115
  csl: ""
85
116
  citation_abbreviation: ""
86
117
  natbib: true
87
118
  biblatex: true
88
- latexmathml: ""
119
+ #####
120
+ # Math rendering in HTML
121
+ #####
89
122
  asciimathml: ""
123
+ latexmathml: ""
90
124
  mathml: true
91
- mimetex: ""
92
- webtex: ""
93
125
  jsmath: ""
94
126
  mathjax: ""
127
+ gladtex: true
128
+ mimetex: ""
129
+ webtex: ""
95
130
  katex: ""
96
131
  katex_stylesheet: ""
97
- gladtex: true
98
- abbreviations: ""
99
- trace: true
132
+ #####
133
+ # Options for wrapper scripts
134
+ #####
100
135
  dump_args: true
101
136
  ignore_args: true
102
- verbose: true
103
- quiet: true
104
- fail_if_warnings: true
105
- log: ""
106
- bash_completion: true
107
- list_input_formats: true
108
- list_output_formats: true
109
- list_extensions: true
110
- list_highlight_languages: true
111
- list_highlight_styles: true
112
- version: true
113
- help: true
137
+ trace: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0a8
4
+ version: 0.3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huub de Beer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-26 00:00:00.000000000 Z
11
+ date: 2017-11-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Use Pandoc (http://www.pandoc.org) with ruby
14
14
  email: Huub@heerdebeer.org
@@ -102,13 +102,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ">"
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: 1.3.1
107
+ version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
110
  rubygems_version: 2.5.2
111
111
  signing_key:
112
112
  specification_version: 4
113
- summary: Paru is a ruby wrapper around pandoc (pandoc 2)
113
+ summary: Paru is a ruby wrapper around pandoc
114
114
  test_files: []