asciidoctor-latex 1.5.0.7.dev → 1.5.0.8b.dev

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: eaac3749f658b667398d022af02a6af20145bb29
4
- data.tar.gz: 335c8e4450341a986ea28a2cdb30b6db3cff89c3
3
+ metadata.gz: db96834040ac3bd9acb4826824a72c1ee0cafeda
4
+ data.tar.gz: 93b633ccf454a98f6845a890468b05d25f143ddc
5
5
  SHA512:
6
- metadata.gz: d9cbc2f5f3f568c1caba201b105af1318c8179849033874ec4a593889ea75cb90f5a2b6df7f31012ab6921a8953ee8551f65024cb3afefb90a4f9bee96730e38
7
- data.tar.gz: b97f4c97bcd78f8dcb979954d7e81382685cd14ceafd22092a5a0c69f34d172e3f742170e29a99ba2d078633fc7eb96f1012b91f0c179ba9cb00b853e021a46e
6
+ metadata.gz: 27e77b54bf3071cc41423b89f312f4dfd6d72ee3fb6588212492883b3abe72edd6bf08f10c17ca366936fbc6508aafabcbdcfbdc727b14f984a347aeb44ef0c5
7
+ data.tar.gz: 636c51b8a2f5f664d2d283fc507e31d9af704863152f595faca31e80debd3f27bc7b01fa5cb2b1ae7cf3fe201692f48f989dbe41a54f60fa875c540e0d5c3300
@@ -1,6 +1,7 @@
1
1
  == Change Log
2
2
 
3
- NOTE: Released on RubyGems.org, plan to
3
+ ////
4
+ NOTE: Released on RubyGems.org, plan to
4
5
  release on GitHub in a few days to bring
5
6
  into sync.
6
7
 
@@ -14,12 +15,40 @@ To number an equation, do this:
14
15
  `[eq.equation%numbered]`. For equation
15
16
  alignments, do
16
17
  `[eq.equationalign%numbered]`. Better for
17
- better style!
18
+ better style!
18
19
  . Moreover, if an equation
19
20
  or equation alignment environment is labeled
20
21
  for cross-referencing, e.g.,
21
22
  `[env.equation#hohoho]`, then it is numbered.
23
+ ////
22
24
 
25
+ 1.5.0.8dev:: One can now say
26
+ ----
27
+ $ asciidoctor-latex -a preprocess=no -b html bar.adoc
28
+ ----
29
+ to suppress preprocessing for the mathematician's
30
+ much beloved $. This makes `asciidoctor-latex`
31
+ an almost faithful superset of `asciidoctor`.
32
+
33
+
34
+ 1.5.0.7dev:: Introduce the construct `env.include_latex`
35
+ as in the example below:
36
+ ----
37
+ [env.include_latex]
38
+ --
39
+ \include abc.tex
40
+ \usepackage{foobar}
41
+ --
42
+ ----
43
+ The presence of this block has no effect
44
+ on the HTML output. But when the file
45
+ is rendered as LaTeX, the indicated
46
+ commands are run. Thus one can specify
47
+ the style files etc. that one uses
48
+ almost exactly as in LaTeX.
49
+
50
+
51
+ 1.5.0.4-6dev:: Missing in action!
23
52
 
24
53
  1.5.0.3dev::
25
54
  Double exponents in display math are
@@ -22,6 +22,11 @@
22
22
 
23
23
  /* BOX */
24
24
 
25
+ .openblock {
26
+
27
+ margin-top: 1em;
28
+ }
29
+
25
30
  .openblock.box {
26
31
  margin-top:1em;
27
32
  margin-bottom: 1em;
@@ -472,7 +472,7 @@ module Asciidoctor::LaTeX
472
472
 
473
473
  Asciidoctor::Extensions.register do
474
474
  docinfo_processor CSSDocinfoProcessor
475
- preprocessor TeXPreprocessor
475
+ preprocessor TeXPreprocessor unless document.attributes['preprocess'] == 'no'
476
476
  preprocessor MacroPreprocessor
477
477
  preprocessor MacroInsert if (File.exist? 'macros.tex' and document.basebackend? 'html' and document.attributes['include_macros'] == 'yes')
478
478
  block EnvironmentBlock
@@ -481,7 +481,7 @@ module Asciidoctor::LaTeX
481
481
  inline_macro ChemInlineMacro
482
482
  inline_macro GlossInlineMacro
483
483
  inline_macro IndexTermInlineMacro
484
- # preprocessor ClickStyleInsert if document.attributes['click_extras'] == 'include2'
484
+ preprocessor ClickStyleInsert if document.attributes['css_extras'] == 'include'
485
485
  postprocessor InjectHTML unless document.attributes['inject_javascript'] == 'no'
486
486
  postprocessor EntToUni if document.basebackend? 'tex' unless document.attributes['unicode'] == 'no'
487
487
  postprocessor Chem if document.basebackend? 'html'
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module LaTeX
3
- VERSION = '1.5.0.7.dev'
3
+ VERSION = '1.5.0.8b.dev'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0.7.dev
4
+ version: 1.5.0.8b.dev
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Carlson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-05-04 00:00:00.000000000 Z
13
+ date: 2016-05-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: asciidoctor