CCCPaste

chapterExtract

#!/bin/bash
#set -xv
#LaTeX text corpus  
< "$output_dir/$chapter_filename.txt"
    
    #Assign text to varables varNumber on the fly
    chapterVar=$chapter_text$i
    
    declare "$chapterVar"="$chapter_text"
    #Increment counter
    i=$((i+1))

fi
done < "$latex_file"

#<