Fix: Multiple File-Code Converters

This commit is contained in:
Cyrille L 2022-03-05 20:15:53 +01:00
parent df5ad8cf4e
commit 96c314fd8c
1 changed files with 9 additions and 2 deletions

View File

@ -36,7 +36,14 @@ gsl_ct=0 && gsl__make_titles_div_open
gsl_ct=0 && gsl__make_titles_div_close
gsl__do_header "make" "$gsl_marker_image" "$gsl_post"
gsl__make_paragraphs
gsl__make_fcode
# From File_Code
gsl_fcode_nbr=`grep "$gsl_mark_fcode" "$gsl_tmp_post" | wc -l`
for fcode in `seq 1 $gsl_fcode_nbr`
do
gsl__make_fcode
done
gsl__check_cites
gsl__make_a11y
echo -ne "\r\033[2K"
@ -124,7 +131,7 @@ do
rm -f "$gsl_file_tmp_code"
rm -f "$gsl_file_bcode"
done < <(grep -n "$gsl_mark_fcode" "$gsl_tmp_post")
done < <(grep -n "$gsl_mark_fcode" "$gsl_tmp_post" | head -n 1)
}