module.exports = function(DocumentService) {
    
    this.reload = function(message='**') {
        if (DocumentService.kind() == 'asciidoctor-latex') {
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]); 
            console.log(message + ": reloadMathJax called"); 
        } else {
            console.log(message + ": skipping MathJax reload");
        }
        
    }
    
}
module.exports = function(DocumentService) {
    
    this.reload = function(message='**') {
        if (DocumentService.kind() == 'asciidoc-latex') {
            MathJax.Hub.Queue(["Typeset", MathJax.Hub]); 
            console.log(message + ": reloadMathJax called"); 
        } else {
            console.log(message + ": skipping MathJax reload");
        }
        
    }
    
}
Use 'asciidoc-latex' instead of 'asciidoctor-latex' in document kinds
Use 'asciidoc-latex' instead of 'asciidoctor-latex' in document kinds
