From 4bd1a7984704f8b644e97f6b74d3628bd436d7e4 Mon Sep 17 00:00:00 2001 From: Igor Dejanovic Date: Mon, 15 Jan 2024 19:58:10 +0100 Subject: [PATCH] add bash script for TOC --- readcode-toc.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 readcode-toc.sh diff --git a/readcode-toc.sh b/readcode-toc.sh new file mode 100755 index 0000000..587e345 --- /dev/null +++ b/readcode-toc.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Create TOC for the given pdf produced by readcode +# Requires https://krasjet.com/voice/pdf.tocgen +if [ "$#" -ne 1 ]; then + echo "Creates pdf with TOC from the pdf produced by readcode" + echo "Usage: $0 " +else +pdftocgen $1 <