asciidoctor-latex 1.5.0.7.dev → 1.5.0.8b.dev
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +31 -2
- data/data/extras.css +5 -0
- data/lib/asciidoctor/latex/converter.rb +2 -2
- data/lib/asciidoctor/latex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db96834040ac3bd9acb4826824a72c1ee0cafeda
|
4
|
+
data.tar.gz: 93b633ccf454a98f6845a890468b05d25f143ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27e77b54bf3071cc41423b89f312f4dfd6d72ee3fb6588212492883b3abe72edd6bf08f10c17ca366936fbc6508aafabcbdcfbdc727b14f984a347aeb44ef0c5
|
7
|
+
data.tar.gz: 636c51b8a2f5f664d2d283fc507e31d9af704863152f595faca31e80debd3f27bc7b01fa5cb2b1ae7cf3fe201692f48f989dbe41a54f60fa875c540e0d5c3300
|
data/CHANGELOG.adoc
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
== Change Log
|
2
2
|
|
3
|
-
|
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
|
data/data/extras.css
CHANGED
@@ -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
|
-
|
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'
|
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.
|
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-
|
13
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: asciidoctor
|