{"id":142,"date":"2007-04-08T18:54:17","date_gmt":"2007-04-08T18:54:17","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=142"},"modified":"2015-09-10T21:05:42","modified_gmt":"2015-09-10T21:05:42","slug":"assembling-reports-from-papers","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2007\/04\/08\/assembling-reports-from-papers\/","title":{"rendered":"Assembling reports from papers"},"content":{"rendered":"<p>New Python\/SCons functions defined in <a href=\"https:\/\/github.com\/ahay\/src\/blob\/master\/framework\/rsf\/book.py\">rsf\/book.py<\/a> together with LaTeX <tt>georeport<\/tt> class and LaTeX2HTML customization scripts defined in <a href=\"\/wiki\/SEGTeX\">SEGTeX<\/a> can now assemble reports from individual papers. See, for example, incomplete Madagascar documentation collected in a <a href=\"\/RSF\/book\/rsf\/book.pdf\">single PDF file<\/a> or a <a href=\"\/RSF\/book\/rsf\/\">web page<\/a>. The script for generating these documents is <a href=\"https:\/\/github.com\/ahay\/src\/blob\/master\/book\/rsf\/SConstruct\">book\/rsf\/SConstruct<\/a>. Other examples are referenced on the redesigned wiki page for <a href=\"\/wiki\/Reproducible_Documents\">Reproducible Documents<\/a>. <\/p>\n<p>To try this feature:<\/p>\n<p>1. Make sure you have the figures <a href=\"\/wiki\/Download#Reproducible_figures\">properly locked<\/a>.<\/p>\n<p>2. <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>cd $RSFSRC\/book\/YOUR_FAVORITE_BOOK\n<\/code><\/pre><\/div>\n<p>and run <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>scons book.tex\n<\/code><\/pre><\/div>\n<p>then <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>scons pdf\n<\/code><\/pre><\/div>\n<p>or <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>scons read\n<\/code><\/pre><\/div>\n<p>to generate a PDF file and read it or <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>scons www\n<\/code><\/pre><\/div>\n<p>to generate a web page installed in <a href=\"\/wiki\/Advanced_Installation#Environment_variables\"><tt>$RSFDOC<\/tt><\/a>.<\/p>\n<p>You can also generate all books at once by running <\/p>\n<div class=\"code-box\"><div class=\"code-title\"><i class=\"fa fa-code\"><\/i> <div class=\"pull-right\"><a href=\"#\" class=\"btn btn-default btn-xs toggle-code\" data-toggle=\"tooltip\" title=\"Toggle code\"><i class=\"fa fa-toggle-up\"><\/i><\/a><\/div><\/div><pre ><code>scons www\n<\/code><\/pre><\/div>\n<p>in <tt>$RSFSRC\/book<\/tt>. Any feedback is appreciated. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>New Python\/SCons functions defined in rsf\/book.py together with LaTeX georeport class and LaTeX2HTML customization scripts defined in SEGTeX can now assemble reports from individual papers. See, for example, incomplete Madagascar documentation collected in a single PDF file or a web page. The script for generating these documents is book\/rsf\/SConstruct. Other examples are referenced on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"local","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-142","post","type-post","status-publish","format-standard","hentry","category-documentation"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=142"}],"version-history":[{"count":3,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/142\/revisions"}],"predecessor-version":[{"id":22626,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/142\/revisions\/22626"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}