Skip to content

Usage with .cls? #15

@zaynv

Description

@zaynv

Hi, thanks for writing this module. Here is an example of how I am using this:

var fs = require('fs');
var latex = require('latex');

var string = getTexDocument(); // Returns a string of .tex code
var writeStream = fs.createWriteStream('doc.pdf');
latex(string).pipe(writeStream);

This works for most situations, but what do I need to do if the string is a TeX document that wants to use a CLS file? Is there something I can do to pass CLS code as a string as well to make this work? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions