lib/docogen-latex-engine.js
function append_nested(concater,items){
    concater += `\\begin{enumerate}\n`;
    for(var index in items){
        concater += `\\item ${items[index].name}\n`;
        // doing append job
        if(items[index].subitems != undefined){
            concater = append_nested(concater,items[index].subitems); 
        }
    }
    concater += `\\end{enumerate}\n`;
    return concater;
}
function append_nested(concater,items){
    concater += `\\begin{enumerate}\n`;
    for(var index in items){
        concater += `\\item ${items[index].name}\n`;
        // doing append job
        if(items[index].subitems != undefined){
            concater = append_nested(concater,items[index].subitems); 
        }
    }
    concater += `\\end{enumerate}\n`;
    return concater;
}
function append_nested ( concater , items ) { concater += ` \\ \n ` ; for ( var index in items ) { concater += ` \\ ${ items [ index ] . name } \n ` ; // doing append job if ( items [ index ] . subitems != undefined ) { concater = append_nested ( concater , items [ index ] . subitems ) ; } } concater += ` \\ \n ` ; return concater ; }
list structure operation
list structure operation