opmac2html 0.0.3 → 0.0.4

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: 5e3c2dee91c039b06c03e20ba5ea790a0abe46dd
4
- data.tar.gz: dfb240dc37c6e1ab218fda40a58d2f0c831a7a6c
3
+ metadata.gz: 0aa7b44361b075dd077be1de01a064a9b569a96b
4
+ data.tar.gz: 8175a1649256c48d9c1635c681e5fea6a652c4a2
5
5
  SHA512:
6
- metadata.gz: dc7a93b1834e4a9ada27c9e1459af889d5fb923b5cc19e7627e688220910fad80fd65921480ef4583b427866bcee1cf95bcd079fcb2f5b7e6000cf4987d9ec7a
7
- data.tar.gz: 97da490c1d78948d6b82dfcab0ca89647de13a45cca91b3f503b1319ddedcabe7eaea06047463bf9c58ee92b46d7cca9f483387e346f25019e571f83609eabde
6
+ metadata.gz: 930012ddaae55bf997493dba04fdcbb74bf917741718272287031f96326e69b1fd559936ecba5f92a63ff3ef7072ba50fa401be0d4b654f4dacdb56d9c40ec04
7
+ data.tar.gz: 0f94e11d87209d32dba0dd61d2f44006467db4ac207d783b647c6d0b4203dc36e5e8d493a44457a6e1f3218643f63b38c848f68199bb7634a54b8f1771b8e19e
@@ -1,7 +1,7 @@
1
1
  module Opmac2html
2
2
  # Mixin providing parsing of macro calls
3
3
  module MacroParser
4
- TITLES = %w(\\tit \\chap \\sec \\secc)
4
+ TITLES = %w(\\tit \\chap \\sec\ \\secc)
5
5
  IN_PAR_MACROS = %w(\\TeX \\LaTeX \\csplain \\url \\ulink)
6
6
 
7
7
  def parse_macro
@@ -101,6 +101,8 @@ module Opmac2html
101
101
  @input = part[2]
102
102
  elsif part_line[0].start_with?('\\noindent')
103
103
  err cut_at(/\s/)
104
+ elsif part_line[0].start_with?('\\nonum')
105
+ err cut_at(/\s/)
104
106
  elsif part_line[0].start_with? '\\label'
105
107
  parse_label
106
108
  elsif part_line[0].start_with? '\\centerline'
@@ -1,4 +1,4 @@
1
1
  # Converter from OPmac TeX markup to HTML5
2
2
  module Opmac2html
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opmac2html
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Kinčl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-20 00:00:00.000000000 Z
11
+ date: 2016-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler