ch007m / hyla

Hyla command tool to create a new asciidoctor project (blog, web, training, ...), generate content, watch resources and build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use index text file to list the files to be included in the PDF

cmoulliard opened this issue · comments

To generate the pdf and recuperate the list of the individual files, we could use as input file the index (xxx_AllSlides.txt) which contain the files to be included in the PDF, their order and also the cover or title page. Based on all the include:: directives we can create the list of html files to be read from the 'generated_content' directory during html2pdf process of hyla

Pro

  • It is not longer required to manage manually the files and their order under the source directory
  • If we adopt a convention that a file name containing 'title' or 'cover' will become the cover page of the PDF module file, then the attribute 'cover_path: ' could be calculated automatically