limarka 20.6.8.pre.350 → 20.6.8.pre.351
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/bin/instalador.sh +23 -7
- data/bin/instaladores/tinytex_install.sh +9 -2
- data/lib/limarka/conversor.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f65d72a53174f30db8e5e57221dab617b6b7d521e5c1451b15981ce42b08827
|
4
|
+
data.tar.gz: eb985af704f309b924e7d6fb9e88440c8fb22e579c4facbea569f35bb62c53cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e06ebfb8f02daa6def659de28e77e630b07b17cc9da1c2831019da366975017379c0e8f272c034c8f0ae79819b7fa51cfe6a0650511dcb8daced950ee07bc52
|
7
|
+
data.tar.gz: 88bb3615d254ca791ff3097fa05adc5bff6b3a9340ebc80e40f12f0dc0d179c53d2aded9ac21eb7d0e5007275da17f1d02eb34f8d566d9b104d3af77e0e0aa3e
|
data/.travis.yml
CHANGED
@@ -16,7 +16,7 @@ jobs:
|
|
16
16
|
- bin/instalador.sh -dp
|
17
17
|
before_script:
|
18
18
|
- pandoc -v
|
19
|
-
- git clone https://github.com/abntex/trabalho-academico-limarka.git modelo-oficial
|
19
|
+
- git clone --depth=1 https://github.com/abntex/trabalho-academico-limarka.git modelo-oficial
|
20
20
|
script:
|
21
21
|
- bundle exec rake spec:ruby
|
22
22
|
- bundle exec rake cucumber:ruby
|
@@ -26,14 +26,14 @@ jobs:
|
|
26
26
|
- $HOME/.TinyTeX
|
27
27
|
before_install:
|
28
28
|
- sudo apt-get update -qq
|
29
|
-
- export PATH=$PATH:~/.
|
29
|
+
- export PATH=$PATH:~/.TinyTeX/bin/x86_64-linux
|
30
30
|
- bin/instalador.sh -dptc
|
31
31
|
before_script:
|
32
32
|
- latexmk -v
|
33
33
|
- xelatex -v
|
34
34
|
- pdftotext -v
|
35
35
|
- pandoc -v
|
36
|
-
- git clone https://github.com/abntex/trabalho-academico-limarka.git modelo-oficial
|
36
|
+
- git clone --depth=1 https://github.com/abntex/trabalho-academico-limarka.git modelo-oficial
|
37
37
|
script:
|
38
38
|
- bundle exec rspec spec/dependencias/latex_spec.rb
|
39
39
|
- bundle exec rspec spec/simples_spec.rb
|
data/bin/instalador.sh
CHANGED
@@ -52,14 +52,21 @@ done
|
|
52
52
|
if [ "$codename" = "bionic" ]; then
|
53
53
|
|
54
54
|
if [ -n "$dependencias" ]; then
|
55
|
-
$dry sudo apt-get install -y -qq \
|
55
|
+
$dry sudo apt-get install -y -qq --no-install-recommends \
|
56
56
|
language-pack-pt \
|
57
57
|
locales \
|
58
58
|
pdfgrep \
|
59
59
|
poppler-utils \
|
60
|
-
ruby-
|
60
|
+
ruby-bundler \
|
61
|
+
ruby-json \
|
62
|
+
ruby-ffi \
|
63
|
+
libffi-dev \
|
61
64
|
unzip \
|
62
|
-
xclip
|
65
|
+
xclip \
|
66
|
+
wget \
|
67
|
+
perl \
|
68
|
+
luajit \
|
69
|
+
python
|
63
70
|
fi
|
64
71
|
|
65
72
|
if [ -n "$tex" ]; then
|
@@ -80,33 +87,42 @@ if [ "$codename" = "bionic" ]; then
|
|
80
87
|
abntex2 \
|
81
88
|
babel-portuges \
|
82
89
|
bookmark \
|
90
|
+
caption \
|
83
91
|
enumitem \
|
84
92
|
epstopdf-pkg \
|
85
|
-
ifetex \
|
86
93
|
lastpage \
|
87
94
|
lipsum \
|
88
95
|
listings \
|
89
|
-
ltcaption \
|
90
96
|
memoir \
|
91
97
|
microtype \
|
92
98
|
pdflscape \
|
93
99
|
pdfpages \
|
100
|
+
psnfss \
|
101
|
+
shipunov \
|
102
|
+
texliveonfly \
|
94
103
|
textcase \
|
95
104
|
xcolor
|
96
105
|
|
97
106
|
tlmgr option -- autobackup 0
|
98
107
|
else
|
99
108
|
$dry wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" \| sh
|
100
|
-
$dry tlmgr install
|
109
|
+
$dry tlmgr install \
|
110
|
+
abntex2 \
|
101
111
|
babel-portuges \
|
112
|
+
bookmark \
|
113
|
+
caption \
|
102
114
|
enumitem \
|
103
|
-
|
115
|
+
epstopdf-pkg \
|
104
116
|
lastpage \
|
105
117
|
lipsum \
|
106
118
|
listings \
|
107
119
|
memoir \
|
108
120
|
microtype \
|
121
|
+
pdflscape \
|
109
122
|
pdfpages \
|
123
|
+
psnfss \
|
124
|
+
shipunov \
|
125
|
+
texliveonfly \
|
110
126
|
textcase \
|
111
127
|
xcolor
|
112
128
|
$dry tlmgr option -- autobackup 0
|
@@ -9,16 +9,23 @@ if [ $tex_em_cache -eq 1 ]; then
|
|
9
9
|
: #echo TinyTeX não será instalado.
|
10
10
|
else
|
11
11
|
wget -qO- "https://yihui.name/gh/tinytex/tools/install-unx.sh" | sh
|
12
|
-
tlmgr install
|
12
|
+
tlmgr install \
|
13
|
+
abntex2 \
|
13
14
|
babel-portuges \
|
15
|
+
bookmark \
|
16
|
+
caption \
|
14
17
|
enumitem \
|
15
|
-
|
18
|
+
epstopdf-pkg \
|
16
19
|
lastpage \
|
17
20
|
lipsum \
|
18
21
|
listings \
|
19
22
|
memoir \
|
20
23
|
microtype \
|
24
|
+
pdflscape \
|
21
25
|
pdfpages \
|
26
|
+
psnfss \
|
27
|
+
shipunov \
|
28
|
+
texliveonfly \
|
22
29
|
textcase \
|
23
30
|
xcolor
|
24
31
|
tlmgr option -- autobackup 0
|
data/lib/limarka/conversor.rb
CHANGED
@@ -58,6 +58,9 @@ module Limarka
|
|
58
58
|
def compila
|
59
59
|
Dir.chdir(options[:output_dir]) do
|
60
60
|
basename = File.basename(texto_tex_file, '.tex')
|
61
|
+
if system ("whereis texliveonfly")
|
62
|
+
system "texliveonfly -c xelatex -f #{basename}", :out=>'xxx-texliveonfly-std.txt'
|
63
|
+
end
|
61
64
|
system "latexmk --quiet --xelatex -f #{basename}", :out=>'xxx-latexmk-std.txt', :err=>'xxx-latexmk-erros.txt'
|
62
65
|
if (usa_pdftotext) then
|
63
66
|
system "pdftotext -enc UTF-8 #{basename}.pdf"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: limarka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 20.6.8.pre.
|
4
|
+
version: 20.6.8.pre.351
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo de Santana Medeiros Alexandre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|