<commit_before>// import an XML file into the Legalese template.
// this runs as an Adobe InDesign script.

#include "xml2pdf-lib.jsx"

main();
// -------------------------------------------------- main
function main(){

  var interactive = true;
  var saveIndd    = false;
  var keepOpen    = false;
  
  var xmlFiles = identifyXmlFiles("recurse",  // recurse | queryUser<commit_msg>when running manually we probably want to save the INDD and keep it open<commit_after>// import an XML file into the Legalese template.
// this runs as an Adobe InDesign script.

#include "xml2pdf-lib.jsx"

main();
// -------------------------------------------------- main
function main(){

  var interactive = true;
  var saveIndd    = true;
  var keepOpen    = true;
  
  var xmlFiles = identifyXmlFiles("recurse",  // recurse | queryUser
{'fraction_non_alphanumeric': 0.2084848484848485, 'fraction_numerical': 0.0024242424242424242, 'mean_word_length': 2.082089552238806, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5174548', 'n_tokens_mistral': 231, 'n_tokens_neox': 226, 'n_words': 84}