var searchIndex = {}; searchIndex["crowbook"] = {"doc":"","items":[[0,"escape","crowbook","",null,null],[5,"escape_html","crowbook::escape","Escape characters <, >, and &",null,{"inputs":[{"name":"str"}],"output":{"name":"string"}}],[5,"escape_tex","","Escape characters for tex file",null,{"inputs":[{"name":"str"}],"output":{"name":"string"}}],[0,"parser","crowbook","",null,null],[3,"Parser","crowbook::parser","A parser that reads markdown and convert it to AST (a vector of `Token`s)",null,null],[11,"new","","Creates a parser with the default options",0,{"inputs":[],"output":{"name":"parser"}}],[11,"with_cleaner","","Sets cleaner implementation",0,null],[11,"parse_file","","Parse a file and returns an AST",0,null],[11,"parse","","Parse a string and returns an AST, that is a vector of `Token`s",0,null],[0,"html","crowbook","",null,null],[3,"HtmlRenderer","crowbook::html","Renderer for HTML",null,null],[11,"new","","Creates a new HTML renderer",1,{"inputs":[{"name":"book"}],"output":{"name":"htmlrenderer"}}],[11,"render_book","","Render books as a standalone HTML file",1,null],[11,"render_vec","","Transform a vector of `Token`s to HTML format.",1,null],[11,"parse_token","","Parse a single token.",1,null],[0,"cleaner","crowbook","",null,null],[3,"French","crowbook::cleaner","Implementation for french 'cleaning'",null,null],[8,"Cleaner","","Trait for cleaning a string.\nThis trait should be called for text that is e.g. in a paragraph, a title,\nNOT for code blocks, hyperlikns and so on!",null,null],[11,"clean","","Cleans a string, removing multiple whitespaces",2,null],[11,"new","","Creates a new french cleaner, which will replace spaces with nb_char when appropriate.",3,{"inputs":[{"name":"char"}],"output":{"name":"french"}}],[11,"clean","","",3,null],[0,"token","crowbook","",null,null],[4,"Token","crowbook::token","",null,null],[13,"Str","","",4,null],[13,"Paragraph","","",4,null],[13,"Header","","",4,null],[13,"Emphasis","","",4,null],[13,"Strong","","",4,null],[13,"Code","","",4,null],[13,"BlockQuote","","",4,null],[13,"CodeBlock","","",4,null],[13,"List","","",4,null],[13,"OrderedList","","",4,null],[13,"Item","","",4,null],[13,"Rule","","",4,null],[13,"SoftBreak","","",4,null],[13,"HardBreak","","",4,null],[13,"Link","","",4,null],[13,"Image","","",4,null],[11,"clone","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[0,"error","crowbook","",null,null],[4,"Error","crowbook::error","Crowbook error type",null,null],[13,"Parser","","",5,null],[13,"ConfigParser","","",5,null],[13,"FileNotFound","","",5,null],[13,"Render","","",5,null],[13,"Zipper","","",5,null],[6,"Result","","",null,null],[11,"fmt","","",5,null],[11,"description","","",5,null],[11,"fmt","","",5,null],[0,"book","crowbook","",null,null],[3,"Book","crowbook::book","",null,null],[12,"lang","","",6,null],[12,"author","","",6,null],[12,"title","","",6,null],[12,"description","","",6,null],[12,"subject","","",6,null],[12,"cover","","",6,null],[12,"output_epub","","",6,null],[12,"output_html","","",6,null],[12,"output_pdf","","",6,null],[12,"output_tex","","",6,null],[12,"output_odt","","",6,null],[12,"temp_dir","","",6,null],[12,"chapters","","",6,null],[12,"numbering","","",6,null],[12,"autoclean","","",6,null],[12,"nb_char","","",6,null],[12,"numbering_template","","",6,null],[12,"verbose","","",6,null],[12,"tex_command","","",6,null],[12,"tex_links_as_footnotes","","",6,null],[12,"tex_template","","",6,null],[12,"epub_css","","",6,null],[12,"epub_template","","",6,null],[12,"epub_version","","",6,null],[12,"html_template","","",6,null],[12,"html_css","","",6,null],[4,"Number","","Numbering for a given chapter",null,null],[13,"Hidden","","",7,null],[13,"Unnumbered","","",7,null],[13,"Default","","",7,null],[13,"Specified","","",7,null],[11,"clone","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"fmt","","",7,null],[11,"fmt","","",6,null],[11,"new","","",6,{"inputs":[],"output":{"name":"book"}}],[11,"println","","Prints to stderr",6,null],[11,"debug","","Prints to stderr but only if verbose is set to true",6,null],[11,"new_from_file","","Creates a new book from a file",6,{"inputs":[{"name":"str"},{"name":"bool"}],"output":{"name":"result"}}],[11,"get_mapbuilder","","Returns a MapBuilder, to be used (and completed) for templating",6,null],[11,"get_cleaner","","Return a Box<Cleaner> corresponding to the appropriate cleaning method, or None",6,null],[11,"get_header","","Returns the string corresponding to a number, title, and the numbering template",6,null],[11,"set_from_config","","Sets options according to configuration file",6,null],[11,"render_pdf","","Render book to pdf according to book options",6,null],[11,"render_epub","","Render book to epub according to book options",6,null],[11,"render_odt","","Render book to odt according to book options",6,null],[11,"render_html","","Render book to html according to book options",6,null],[11,"render_tex","","Render book to pdf according to book options",6,null],[11,"render_all","","Generates output files acccording to book options",6,null],[11,"add_chapter","","File: location of the file for this chapter",6,null],[11,"get_template","","Returns the template (default or modified version)",6,null],[0,"epub","crowbook","",null,null],[3,"EpubRenderer","crowbook::epub","Renderer for Epub",null,null],[11,"new","","Creates a new Epub renderer",8,{"inputs":[{"name":"book"}],"output":{"name":"epubrenderer"}}],[11,"render_book","","Render a book",8,null],[11,"render_chapter","","Render a chapter",8,null],[0,"latex","crowbook","",null,null],[3,"LatexRenderer","crowbook::latex","LaTeX renderer",null,null],[11,"new","","Creates new LatexRenderer",9,{"inputs":[{"name":"book"}],"output":{"name":"latexrenderer"}}],[11,"render_pdf","","Render pdf in a file",9,null],[11,"render_book","","Render latex in a string",9,null],[0,"odt","crowbook","",null,null],[3,"OdtRenderer","crowbook::odt","Rendererer for ODT\n(Experimental)",null,null],[11,"new","","Create a new OdtRenderer",10,{"inputs":[{"name":"book"}],"output":{"name":"odtrenderer"}}],[11,"render_book","","Render book",10,null],[11,"render_content","","Render content.xml",10,null],[11,"render_vec","","Transform a vector of `Token`s to Odt format",10,null],[11,"parse_token","","",10,null]],"paths":[[3,"Parser"],[3,"HtmlRenderer"],[8,"Cleaner"],[3,"French"],[4,"Token"],[4,"Error"],[3,"Book"],[4,"Number"],[3,"EpubRenderer"],[3,"LatexRenderer"],[3,"OdtRenderer"]]}; initSearch(searchIndex);