split/Tioga/lib/FigMkr.rb in tioga-1.5 vs split/Tioga/lib/FigMkr.rb in tioga-1.6
- old
+ new
@@ -31,24 +31,25 @@
@@which_pdflatex = nil
@@initialized = false # set true by the C code when first make a figure
# The tag used for cvs export
- CVS_TAG = "rel_1_5" # now manually cheating...
+ CVS_TAG = "rel_1_6" # now manually cheating...
# Version now uses the CVS_TAG to create the version number. CVS_TAG should
# look like 'rel_1_1_0' for the 1.1.0 release.
def FigureMaker.version
CVS_TAG =~ /\D+(.*?)\s*\$?$/
version = $1.tr("-_", "..")
if version.length > 0
return version
else
- return "SNV $Revision: 348 $" # Can't do better than that.
+ return "SVN $Revision: 385 $" # Can't do better than that.
end
end
+
def FigureMaker.default
@@default_figure_maker = FigureMaker.new if @@default_figure_maker == nil
@@default_figure_maker
end
@@ -333,10 +334,9 @@
end
def figure_pdf(name)
if name.kind_of?(Integer)
num = name
- name = @figure_names[num]
else
num = @figure_names.index(name)
end
return nil if num == nil
@figure_pdfs[num]