Sha256: 25b509c152b8d3b04d163c139ed193a1f564a9de83f56dea8059183dc3eb5c41
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
# Copyright (C) 2015-2018 Sascha Manns <Sascha.Manns@outlook.de> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # Dependencies require 'rainbow/ext/string' # main module module LatexCurriculumVitae # Cover module module Cover # Create cover method # @param [String] name_of_cover Name of the cover file def self.create_cover(name_of_cover, tmp_dir) puts 'Creating cover'.color(:yellow) system("pdflatex #{name_of_cover}.tex") system("cp #{name_of_cover}.pdf #{tmp_dir}/#{name_of_cover}.pdf") puts 'Creating cover done'.color(:green) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
latex_curriculum_vitae-2.1.3 | lib/latex_curriculum_vitae/cover.rb |
latex_curriculum_vitae-2.1.2 | lib/latex_curriculum_vitae/cover.rb |