rb_latex 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rb_latex/version.rb +1 -1
- data/templates/book.tex.erb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68e78dee39057843926677845afc84a77626f587aeb883c9f923d651b2e21bb6
|
4
|
+
data.tar.gz: d2b6bff0548a4d712617bc64d650b8cba60a85f8dabdfc67084dcfe9ae2e6099
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ea551436822a1b702300eed6765711ed06458bcf7dccf81b0d6d7f5811a2996b0a697e214670184dc7c2e72a9b9c4d9be455d4dd940a94a8fb5f8a515ea202
|
7
|
+
data.tar.gz: a72625bb40c802e325f0841ab5600f752fb76c268cb455741348d88e91c7e35dc4a3e1cff2a56b41f5ba35e1bc9c02b53341c13050fe1205dab350131f1fd4a8
|
data/lib/rb_latex/version.rb
CHANGED
data/templates/book.tex.erb
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
\usepackage{longtable}
|
14
14
|
\usepackage{graphicx}
|
15
15
|
\usepackage{pxrubrica}
|
16
|
+
\newcommand{\rblatexNewpage}{\newpage}
|
16
17
|
|
17
18
|
%%\usepackage{acronym}
|
18
19
|
|
@@ -21,7 +22,10 @@
|
|
21
22
|
\hypersetup{colorlinks=true,urlcolor=blue}
|
22
23
|
|
23
24
|
\begin{document}
|
24
|
-
<% @item_list.filenames.
|
25
|
+
<% @item_list.filenames.each_with_index do |filename, idx| %>
|
25
26
|
\input{<%= filename %>}
|
27
|
+
<% if @item_list.filenames.size > idx + 1 %>
|
28
|
+
\rblatexNewpage
|
29
|
+
<% end %>
|
26
30
|
<% end %>
|
27
31
|
\end{document}
|