diff --git a/src/fluentcmd.js b/src/fluentcmd.js index 94b5b84..8e61ad6 100644 --- a/src/fluentcmd.js +++ b/src/fluentcmd.js @@ -265,7 +265,8 @@ module.exports = function () { { name: 'pdf', ext: 'pdf', fmt: 'html', is: false, gen: new FLUENT.HtmlPdfGenerator() }, { name: 'md', ext: 'md', fmt: 'txt', gen: new FLUENT.MarkdownGenerator() }, { name: 'json', ext: 'json', gen: new FLUENT.JsonGenerator() }, - { name: 'yml', ext: 'yml', fmt: 'yml', gen: new FLUENT.JsonYamlGenerator() } + { name: 'yml', ext: 'yml', fmt: 'yml', gen: new FLUENT.JsonYamlGenerator() }, + { name: 'latex', ext: 'tex', fmt: 'latex', gen: new FLUENT.LaTeXGenerator() } ]; /** diff --git a/src/fluentlib.js b/src/fluentlib.js index 26e23b7..f6e1260 100644 --- a/src/fluentlib.js +++ b/src/fluentlib.js @@ -16,5 +16,6 @@ module.exports = { MarkdownGenerator: require('./gen/markdown-generator'), JsonGenerator: require('./gen/json-generator'), YamlGenerator: require('./gen/yaml-generator'), - JsonYamlGenerator: require('./gen/json-yaml-generator') + JsonYamlGenerator: require('./gen/json-yaml-generator'), + LaTeXGenerator: require('./gen/latex-generator') }; diff --git a/src/gen/latex-generator.js b/src/gen/latex-generator.js new file mode 100644 index 0000000..43b6b67 --- /dev/null +++ b/src/gen/latex-generator.js @@ -0,0 +1,17 @@ +/** +LaTeX resume generator for FluentCV. +@license MIT. Copyright (c) 2015 James Devlin / FluentDesk +*/ + +var TemplateGenerator = require('./template-generator'); + +/** +LaTeXGenerator generates a LaTeX resume via TemplateGenerator. +*/ +var LaTeXGenerator = module.exports = TemplateGenerator.extend({ + + init: function(){ + this._super( 'tex', 'tex' ); + } + +});