texstyles 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/texstyles/style.rb +21 -10
  3. data/meta/acs.yml +2 -1
  4. data/meta/biogeosciences.yml +2 -1
  5. data/meta/dfgproposal.yml +1 -0
  6. data/meta/egu.yml +2 -1
  7. data/meta/hess.yml +2 -1
  8. data/styles/a0poster-landscape.tex.erb +1 -1
  9. data/styles/a0poster-portrait.tex.erb +1 -1
  10. data/styles/aa.tex.erb +1 -1
  11. data/styles/aa_onecolumn.tex.erb +1 -1
  12. data/styles/aa_twocolumn.tex.erb +1 -1
  13. data/styles/aaai.tex.erb +1 -1
  14. data/styles/abnt.tex.erb +1 -1
  15. data/styles/acl.tex.erb +1 -1
  16. data/styles/acm.tex.erb +2 -2
  17. data/styles/acm_large.tex.erb +1 -1
  18. data/styles/acm_sig_alternate.tex.erb +1 -1
  19. data/styles/acm_sig_strict.tex.erb +1 -1
  20. data/styles/acs.tex.erb +1 -1
  21. data/styles/agu.tex.erb +1 -1
  22. data/styles/aiaa.tex.erb +1 -1
  23. data/styles/aip_preprint.tex.erb +1 -1
  24. data/styles/aip_reprint.tex.erb +1 -1
  25. data/styles/aisb2008.tex.erb +1 -1
  26. data/styles/aj_manuscript.tex.erb +2 -2
  27. data/styles/aj_preprint.tex.erb +2 -2
  28. data/styles/ajps.tex.erb +1 -1
  29. data/styles/alma.tex.erb +1 -1
  30. data/styles/ams_one.tex.erb +1 -1
  31. data/styles/ams_two.tex.erb +1 -1
  32. data/styles/apa_doc.tex.erb +1 -1
  33. data/styles/apj_emulate.tex.erb +2 -2
  34. data/styles/apj_manuscript.tex.erb +2 -2
  35. data/styles/aps.tex.erb +1 -1
  36. data/styles/aps_preprint.tex.erb +1 -1
  37. data/styles/article.tex.erb +1 -1
  38. data/styles/asp.tex.erb +1 -1
  39. data/styles/authorea-double-numbered.tex.erb +1 -1
  40. data/styles/authorea-double.tex.erb +1 -1
  41. data/styles/authorea-numbered.tex.erb +1 -1
  42. data/styles/authorea.tex.erb +1 -1
  43. data/styles/biogeosciences.tex.erb +1 -1
  44. data/styles/bioinformatics.tex.erb +1 -1
  45. data/styles/bmc.tex.erb +1 -1
  46. data/styles/book.tex.erb +1 -1
  47. data/styles/cernatsnote.tex.erb +1 -1
  48. data/styles/cernyrep.tex.erb +1 -1
  49. data/styles/chandra.tex.erb +1 -1
  50. data/styles/cogsci.tex.erb +1 -1
  51. data/styles/cornell.tex.erb +1 -1
  52. data/styles/cv.tex.erb +1 -1
  53. data/styles/development.tex.erb +1 -1
  54. data/styles/dfgproposal.tex.erb +2 -2
  55. data/styles/doe.tex.erb +1 -1
  56. data/styles/econf.tex.erb +1 -1
  57. data/styles/egu.tex.erb +2 -2
  58. data/styles/elsevier.tex.erb +1 -1
  59. data/styles/elsevier_review.tex.erb +1 -1
  60. data/styles/elsevier_softwarex.tex.erb +1 -1
  61. data/styles/elsevier_twocolumn.tex.erb +1 -1
  62. data/styles/empty.tex.erb +1 -1
  63. data/styles/epjc.tex.erb +1 -1
  64. data/styles/f1000.tex.erb +1 -1
  65. data/styles/frontiersENG.tex.erb +1 -1
  66. data/styles/frontiersFPHY.tex.erb +1 -1
  67. data/styles/frontiersMED.tex.erb +1 -1
  68. data/styles/frontiersSCNS.tex.erb +1 -1
  69. data/styles/g3.tex.erb +1 -1
  70. data/styles/geophysics.tex.erb +2 -2
  71. data/styles/gji.tex.erb +1 -1
  72. data/styles/hess.tex.erb +2 -2
  73. data/styles/iclr.tex.erb +1 -1
  74. data/styles/ieee_bare_conf.tex.erb +1 -1
  75. data/styles/ieee_bare_jrnl.tex.erb +1 -1
  76. data/styles/ieee_bare_jrnl_compsoc.tex.erb +1 -1
  77. data/styles/ifac.tex.erb +1 -1
  78. data/styles/ijcai.tex.erb +2 -2
  79. data/styles/imsart_aas.tex.erb +1 -1
  80. data/styles/imsart_as.tex.erb +1 -1
  81. data/styles/iop.tex.erb +1 -1
  82. data/styles/iram_proposal.tex.erb +1 -1
  83. data/styles/jacow.tex.erb +1 -1
  84. data/styles/jfm.tex.erb +1 -1
  85. data/styles/jhep.tex.erb +1 -1
  86. data/styles/jinst.tex.erb +1 -1
  87. data/styles/jrss.tex.erb +1 -1
  88. data/styles/jxb.tex.erb +1 -1
  89. data/styles/lncs.tex.erb +2 -2
  90. data/styles/mdpi.tex.erb +1 -1
  91. data/styles/mit.tex.erb +1 -1
  92. data/styles/mnras.tex.erb +1 -1
  93. data/styles/nasa.tex.erb +1 -1
  94. data/styles/nature.tex.erb +1 -1
  95. data/styles/nature_scirep.tex.erb +1 -1
  96. data/styles/nime.tex.erb +1 -1
  97. data/styles/nips.tex.erb +1 -1
  98. data/styles/osaexpress.tex.erb +2 -2
  99. data/styles/osaletters.tex.erb +1 -1
  100. data/styles/peerj.tex.erb +1 -1
  101. data/styles/plos.tex.erb +1 -1
  102. data/styles/plos2015.tex.erb +1 -1
  103. data/styles/pnas.tex.erb +1 -1
  104. data/styles/report.tex.erb +1 -1
  105. data/styles/rsc.tex.erb +1 -1
  106. data/styles/sciadvances.tex.erb +1 -1
  107. data/styles/science.tex.erb +1 -1
  108. data/styles/sigchi.tex.erb +1 -1
  109. data/styles/sigplan.tex.erb +1 -1
  110. data/styles/spie.tex.erb +1 -1
  111. data/styles/spieman.tex.erb +1 -1
  112. data/styles/springer.tex.erb +1 -1
  113. data/styles/springer_twocolumn.tex.erb +1 -1
  114. data/styles/svmono.tex.erb +1 -1
  115. data/styles/trb.tex.erb +1 -1
  116. data/styles/tufte-handout.tex.erb +1 -1
  117. data/styles/uchicago.tex.erb +1 -1
  118. data/styles/ucriverside.tex.erb +1 -1
  119. data/styles/uiowa.tex.erb +1 -1
  120. data/styles/umich.tex.erb +1 -1
  121. data/styles/uvic.tex.erb +1 -1
  122. data/styles/uwollongong.tex.erb +1 -1
  123. data/texstyles.gemspec +1 -1
  124. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd7186174250baef81cbd37f7377bb05bdadcfae
4
- data.tar.gz: 830a92742305dc2e448f8bf60a465385a9075c78
3
+ metadata.gz: f6322d33732ec29a9ab905aadd33e90859bd2dcd
4
+ data.tar.gz: 558e6bd483bdae22ff50a99e83d346f38e2bbbb6
5
5
  SHA512:
6
- metadata.gz: 750eb47437966ea4daa151792bbc7d73d9e8ab376219070a107d72c1eb7094da6154a31bdc31b990ae9b7df7ffee05772ffa5f0609bde3d4dd73fbc7d96763eb
7
- data.tar.gz: 1513ad2514f64b3b50df05fbdbb5f9879423fa3b00befc55be6baacbbd7b0bce2f34d44d58247140387772746c292fbf5848daa956a24b48d9b06b3a566a8c68
6
+ metadata.gz: 0b4f9126637527d5d7c06a51c9aa470a6813f444a0e1a9a6d5120f83443b8a09fbd5434d8022bd065550468f266fc423511718ea78960739549c8250c3dea5b1
7
+ data.tar.gz: 987675f1a8420285b51e4a8a1b1d328ff266ccbb15e9e371026ac5495fb3c3e1dad0105b9dbd34aa8480894b8965d43c5f6dc9cbecdf745038f772578ada51c4
@@ -29,17 +29,28 @@ module Texstyles
29
29
  end
30
30
 
31
31
  def render_latex(options = {})
32
- @default_packages = options[:default_packages].to_s
33
- @header = options[:header].to_s
34
- @alternative_author_string = options[:alternative_author_string].to_s
35
- @long_title = options[:long_title].to_s
36
- @short_title = options[:short_title].to_s
37
- @first_author = options[:first_author].to_s
38
- @first_affiliation = options[:first_affiliation].to_s
39
- @coauthor_list = options[:coauthor_list].to_a
40
- @coauthor_affiliations = options[:coauthor_affiliations].to_a
32
+ @default_packages = options["default_packages"].to_s
33
+ @header = options["header"].to_s
34
+ @alternative_author_string = options["alternative_author_string"].to_s
35
+ @title = options["title"].to_s
36
+ @short_title = options["short_title"].to_s
41
37
 
42
- @abstract = options[:abstract].to_s
38
+ @authors = options["authors"] || []
39
+ @affiliations = options["affiliations"] || []
40
+
41
+ # TODO: Refactor these together with the templates into a more elegant workflow,
42
+ # more aware of multiple affiliations
43
+ @authors.each do |data|
44
+ # set the first affiliation as the default one, if not set and we have a list
45
+ data["affiliation"] ||= (data["affiliations"] && data["affiliations"][0])
46
+ end
47
+ @first_author_data = @authors[0] || {}
48
+ @first_author = @first_author_data["name"].to_s
49
+ @first_affiliation = @first_author_data["affiliation"].to_s
50
+ @coauthor_list = @authors[1..-1].to_a.map{|data| data["name"]}
51
+ @coauthor_affiliations = @authors[1..-1].to_a.map{|data| data["affiliation"]}
52
+
53
+ @abstract = options["abstract"].to_s
43
54
  if !@abstract.empty?
44
55
  @abstract_begin_end = if @abstract.match(/\{abstract\}/)
45
56
  @abstract
data/meta/acs.yml CHANGED
@@ -7,4 +7,5 @@ default_packages:
7
7
  latexml: true
8
8
  natbib: true
9
9
  hyperref: true
10
- babel: false
10
+ babel: false
11
+ inputenc: false
@@ -7,4 +7,5 @@ default_packages:
7
7
  latexml: true
8
8
  natbib: true
9
9
  hyperref: true
10
- babel: false
10
+ babel: false
11
+ inputenc: false
data/meta/dfgproposal.yml CHANGED
@@ -6,5 +6,6 @@ default_packages:
6
6
  latexml: true
7
7
  ams: false
8
8
  babel: false
9
+ inputenc: false
9
10
  hyperref: false
10
11
  natbib: false
data/meta/egu.yml CHANGED
@@ -7,4 +7,5 @@ default_packages:
7
7
  latexml: true
8
8
  natbib: true
9
9
  hyperref: true
10
- babel: false
10
+ babel: false
11
+ inputenc: false
data/meta/hess.yml CHANGED
@@ -7,4 +7,5 @@ default_packages:
7
7
  latexml: true
8
8
  natbib: true
9
9
  hyperref: true
10
- babel: false
10
+ babel: false
11
+ inputenc: false
@@ -50,7 +50,7 @@
50
50
  % The widths of these boxes can be easily edited to accommodate your content as you see fit
51
51
 
52
52
  \begin{minipage}[b]{0.75\linewidth}
53
- \veryHuge \color{NavyBlue} \textbf{<%=@long_title%>} \color{Black}\\ % Title
53
+ \veryHuge \color{NavyBlue} \textbf{<%=@title%>} \color{Black}\\ % Title
54
54
  %\Huge\textit{An Exploration of Complexity}\\[2cm] % Subtitle
55
55
  <% if !@alternative_author_string.to_s.empty? %>
56
56
  <%= @alternative_author_string %>
@@ -50,7 +50,7 @@
50
50
  % The widths of these boxes can be easily edited to accommodate your content as you see fit
51
51
 
52
52
  \begin{minipage}[b]{0.75\linewidth}
53
- \veryHuge \color{NavyBlue} \textbf{<%=@long_title%>} \color{Black}\\ % Title
53
+ \veryHuge \color{NavyBlue} \textbf{<%=@title%>} \color{Black}\\ % Title
54
54
  %\Huge\textit{An Exploration of Complexity}\\[2cm] % Subtitle
55
55
  <% if !@alternative_author_string.to_s.empty? %>
56
56
  <%= @alternative_author_string %>
data/styles/aa.tex.erb CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  \begin{document}
34
34
 
35
- \title{<%=@long_title%>}
35
+ \title{<%=@title%>}
36
36
  <% if !@alternative_author_string.to_s.empty? %>
37
37
  <%= @alternative_author_string %>
38
38
  <% else %>
@@ -32,7 +32,7 @@
32
32
 
33
33
  \begin{document}
34
34
 
35
- \title{<%=@long_title%>}
35
+ \title{<%=@title%>}
36
36
  <% if !@alternative_author_string.to_s.empty? %>
37
37
  <%= @alternative_author_string %>
38
38
  <% else %>
@@ -32,7 +32,7 @@
32
32
 
33
33
  \begin{document}
34
34
 
35
- \title{<%=@long_title%>}
35
+ \title{<%=@title%>}
36
36
 
37
37
  <% if !@alternative_author_string.to_s.empty? %>
38
38
  <%= @alternative_author_string %>
data/styles/aaai.tex.erb CHANGED
@@ -17,7 +17,7 @@
17
17
  % proceedings, working notes, and technical reports.
18
18
  %
19
19
 
20
- \title{<%=@long_title%>}
20
+ \title{<%=@title%>}
21
21
  <% if !@alternative_author_string.to_s.empty? %>
22
22
  <%= @alternative_author_string %>
23
23
  <% else %>
data/styles/abnt.tex.erb CHANGED
@@ -83,7 +83,7 @@
83
83
  % ---
84
84
  % Informações de dados para CAPA e FOLHA DE ROSTO
85
85
  % ---
86
- \titulo{<%=@long_title%>}
86
+ \titulo{<%=@title%>}
87
87
  <% if !@alternative_author_string.to_s.empty? %>
88
88
  <%= @alternative_author_string %>
89
89
  <% else %>
data/styles/acl.tex.erb CHANGED
@@ -32,7 +32,7 @@
32
32
  <%=@header%>
33
33
 
34
34
 
35
- \title{<%=@long_title%>}
35
+ \title{<%=@title%>}
36
36
  <% if !@alternative_author_string.to_s.empty? %>
37
37
  <%= @alternative_author_string %>
38
38
  <% else %>
data/styles/acm.tex.erb CHANGED
@@ -35,10 +35,10 @@
35
35
  \begin{document}
36
36
 
37
37
  % Page heads
38
- \markboth{<%=@first_author%>}{<%=@long_title%>}
38
+ \markboth{<%=@first_author%>}{<%=@title%>}
39
39
 
40
40
  % Title portion
41
- \title{<%=@long_title%>}
41
+ \title{<%=@title%>}
42
42
  <% if !@alternative_author_string.to_s.empty? %>
43
43
  <%= @alternative_author_string %>
44
44
  <% else %>
@@ -34,7 +34,7 @@
34
34
  \markboth{D. Pineo, C. Ware and S. Fogarty}{Neural Modeling of Flow Rendering Effectiveness}
35
35
 
36
36
  % Title portion
37
- \title{<%=@long_title%>}
37
+ \title{<%=@title%>}
38
38
  <% if !@alternative_author_string.to_s.empty? %>
39
39
  <%= @alternative_author_string %>
40
40
  <% else %>
@@ -58,7 +58,7 @@
58
58
  %\crdata{0-12345-67-8/90/01} % Allows default copyright data (0-89791-88-6/97/05) to be over-ridden - IF NEED BE.
59
59
  % --- End of Author Metadata ---
60
60
 
61
- \title{<%=@long_title%>}
61
+ \title{<%=@title%>}
62
62
 
63
63
  %
64
64
  % You need the command \numberofauthors to handle the 'placement
@@ -32,7 +32,7 @@
32
32
 
33
33
  \begin{document}
34
34
 
35
- \title{<%=@long_title%>}
35
+ \title{<%=@title%>}
36
36
 
37
37
  %
38
38
  % You need the command \numberofauthors to handle the 'placement
data/styles/acs.tex.erb CHANGED
@@ -61,7 +61,7 @@
61
61
  %% The document title should be given as usual
62
62
  %% A short title can be given as a *suggestion* for running headers.
63
63
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64
- \title[]{<%=@long_title%>}
64
+ \title[]{<%=@title%>}
65
65
 
66
66
  \begin{document}
67
67
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
data/styles/agu.tex.erb CHANGED
@@ -125,7 +125,7 @@
125
125
  %% ------------------------------------------------------------------------ %%
126
126
 
127
127
 
128
- \title{<%=@long_title%>}
128
+ \title{<%=@title%>}
129
129
  %
130
130
  % e.g., \title{Terrestrial ring current:
131
131
  % Origin, formation, and decay $\alpha\beta\Gamma\Delta$}
data/styles/aiaa.tex.erb CHANGED
@@ -53,7 +53,7 @@
53
53
  <%=@default_packages%>
54
54
  <%=@header%>
55
55
 
56
- \title{<%=@long_title%>}
56
+ \title{<%=@title%>}
57
57
 
58
58
  <% if !@alternative_author_string.to_s.empty? %>
59
59
  <%= @alternative_author_string %>
@@ -37,7 +37,7 @@
37
37
 
38
38
  \begin{document}
39
39
 
40
- \title{<%=@long_title%>}
40
+ \title{<%=@title%>}
41
41
 
42
42
  <% if !@alternative_author_string.to_s.empty? %>
43
43
  <%= @alternative_author_string %>
@@ -37,7 +37,7 @@
37
37
 
38
38
  \begin{document}
39
39
 
40
- \title{<%=@long_title%>}
40
+ \title{<%=@title%>}
41
41
 
42
42
  <% if !@alternative_author_string.to_s.empty? %>
43
43
  <%= @alternative_author_string %>
@@ -7,7 +7,7 @@
7
7
  <%=@header%>
8
8
  \begin{document}
9
9
 
10
- \title{<%=@long_title%>}
10
+ \title{<%=@title%>}
11
11
 
12
12
  <% if !@alternative_author_string.to_s.empty? %>
13
13
  <%= @alternative_author_string %>
@@ -39,7 +39,7 @@
39
39
  %% head is a modified title of up to roughly 44 characters.
40
40
  %% Running heads will not print in the manuscript style.
41
41
 
42
- \shorttitle{<%=@long_title%>}
42
+ \shorttitle{<%=@title%>}
43
43
  \shortauthors{<%=@first_author%>}
44
44
 
45
45
  %% This is the end of the preamble. Indicate the beginning of the
@@ -51,7 +51,7 @@
51
51
  %% one line. However, you may use \\ to force a line break if
52
52
  %% you desire.
53
53
 
54
- \title{<%=@long_title%>}
54
+ \title{<%=@title%>}
55
55
 
56
56
  %% Use \author, \affil, and the \and command to format
57
57
  %% author and affiliation information.
@@ -40,7 +40,7 @@
40
40
  %% head is a modified title of up to roughly 44 characters.
41
41
  %% Running heads will not print in the manuscript style.
42
42
 
43
- \shorttitle{<%=@long_title%>}
43
+ \shorttitle{<%=@title%>}
44
44
  \shortauthors{<%=@first_author%>}
45
45
 
46
46
  %% This is the end of the preamble. Indicate the beginning of the
@@ -52,7 +52,7 @@
52
52
  %% one line. However, you may use \\ to force a line break if
53
53
  %% you desire.
54
54
 
55
- \title{<%=@long_title%>}
55
+ \title{<%=@title%>}
56
56
 
57
57
  %% Use \author, \affil, and the \and command to format
58
58
  %% author and affiliation information.
data/styles/ajps.tex.erb CHANGED
@@ -39,7 +39,7 @@
39
39
  <%=@header%>
40
40
 
41
41
  %============Article Title, Authors================
42
- \title{<%=@long_title%>}
42
+ \title{<%=@title%>}
43
43
 
44
44
  <% if !@alternative_author_string.to_s.empty? %>
45
45
  <%= @alternative_author_string %>
data/styles/alma.tex.erb CHANGED
@@ -34,7 +34,7 @@
34
34
 
35
35
  \begin{center}
36
36
  {\LARGE{\bf
37
- {<%=@long_title%>}
37
+ {<%=@title%>}
38
38
  }}
39
39
  \end{center}
40
40
  \bigskip
@@ -52,7 +52,7 @@
52
52
 
53
53
  %% May use \\ to break lines in title:
54
54
 
55
- \title{<%=@long_title%>}
55
+ \title{<%=@title%>}
56
56
 
57
57
  %%% Enter authors' names, as you see in this example:
58
58
  %%% Use \correspondingauthor{} and \thanks{Current Affiliation:...}
@@ -54,7 +54,7 @@
54
54
 
55
55
  %% May use \\ to break lines in title:
56
56
 
57
- \title{<%=@long_title%>}
57
+ \title{<%=@title%>}
58
58
 
59
59
  %%% Enter authors' names, as you see in this example:
60
60
  %%% Use \correspondingauthor{} and \thanks{Current Affiliation:...}
@@ -9,7 +9,7 @@
9
9
 
10
10
  \begin{document}
11
11
 
12
- \title{<%=@long_title%>}
12
+ \title{<%=@title%>}
13
13
  <% if !@alternative_author_string.to_s.empty? %>
14
14
  <%= @alternative_author_string %>
15
15
  <% else %>
@@ -19,7 +19,7 @@
19
19
  %% head is a modified title of up to roughly 44 characters.
20
20
  %% Running heads will not print in the manuscript style.
21
21
 
22
- \shorttitle{<%=@long_title%>}
22
+ \shorttitle{<%=@title%>}
23
23
  \shortauthors{<%=@first_author%>}
24
24
 
25
25
  %% This is the end of the preamble. Indicate the beginning of the
@@ -31,7 +31,7 @@
31
31
  %% one line. However, you may use \\ to force a line break if
32
32
  %% you desire.
33
33
 
34
- \title{<%=@long_title%>}
34
+ \title{<%=@title%>}
35
35
 
36
36
 
37
37
  %% Use \author, \affil, and the \and command to format
@@ -39,7 +39,7 @@
39
39
  %% head is a modified title of up to roughly 44 characters.
40
40
  %% Running heads will not print in the manuscript style.
41
41
 
42
- \shorttitle{<%=@long_title%>}
42
+ \shorttitle{<%=@title%>}
43
43
  \shortauthors{<%=@first_author%>}
44
44
 
45
45
  %% This is the end of the preamble. Indicate the beginning of the
@@ -51,7 +51,7 @@
51
51
  %% one line. However, you may use \\ to force a line break if
52
52
  %% you desire.
53
53
 
54
- \title{<%=@long_title%>}
54
+ \title{<%=@title%>}
55
55
 
56
56
  %% Use \author, \affil, and the \and command to format
57
57
  %% author and affiliation information.
data/styles/aps.tex.erb CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  \begin{document}
58
58
 
59
- \title{<%=@long_title%>}
59
+ \title{<%=@title%>}
60
60
  <% if !@alternative_author_string.to_s.empty? %>
61
61
  <%= @alternative_author_string %>
62
62
  <% else %>
@@ -56,7 +56,7 @@
56
56
 
57
57
  \begin{document}
58
58
 
59
- \title{<%=@long_title%>}
59
+ \title{<%=@title%>}
60
60
  <% if !@alternative_author_string.to_s.empty? %>
61
61
  <%= @alternative_author_string %>
62
62
  <% else %>
@@ -6,7 +6,7 @@
6
6
 
7
7
  \begin{document}
8
8
 
9
- \title{<%=@long_title%>}
9
+ \title{<%=@title%>}
10
10
 
11
11
  <% if !@alternative_author_string.to_s.empty? %>
12
12
  <%= @alternative_author_string %>
data/styles/asp.tex.erb CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  \begin{document}
15
15
 
16
- \title{<%=@long_title%>}
16
+ \title{<%=@title%>}
17
17
  <% if !@alternative_author_string.to_s.empty? %>
18
18
  <%= @alternative_author_string %>
19
19
  <% else %>