From 6ba981e3ddbfea7ea53613da365c44af32139d18 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 16 Mar 2023 00:28:15 +0300 Subject: [PATCH] minor fixes... Signed-off-by: Alex A. Naanou --- scripts/README.md | 13 +++++++------ scripts/cls2tex.sh | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/scripts/README.md b/scripts/README.md index 3e09c0c..2e00881 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -4,9 +4,9 @@ Support scripts -- [make-spreads.sh](#make-imagessh) - - [The process](#the-process) - - [Automatic template inferenceing](#automatic-template-inferenceing) +- [make-spreads.sh](#make-spreadssh) + - [Theory of operation](#theory-of-operation) + - [Automatic template inferencing](#automatic-template-inferencing) - [Manual template selection](#manual-template-selection) - [Template tweaking](#template-tweaking) - [Manual spread layouts](#manual-spread-layouts) @@ -106,7 +106,7 @@ $ make-spreads.sh --help ``` -### The process +### Theory of operation @@ -394,6 +394,7 @@ $ cls2tex.sh --help ``` The `--help` says it all: + ``` Generate docs from latex package/class @@ -411,8 +412,8 @@ This will: - read the INPUT - keep lines starting with \def\@[A-Z]\+ - keep lines starting with '%%' - - %%%%% Text -> \subsection(Text) - - %%%% Text -> \section(Text) + - %%%%% Text -> \subsection{Text} + - %%%% Text -> \section{Text} - %% >> code -> \begin{verbatim}code\end{verbatim} - write the result to OUTPUT diff --git a/scripts/cls2tex.sh b/scripts/cls2tex.sh index d7e6c10..34cf872 100755 --- a/scripts/cls2tex.sh +++ b/scripts/cls2tex.sh @@ -26,8 +26,8 @@ printhelp(){ echo " - read the INPUT" echo " - keep lines starting with \\def\\@[A-Z]\\+" echo " - keep lines starting with '%%'" - echo " - %%%%% Text -> \\subsection(Text)" - echo " - %%%% Text -> \\section(Text)" + echo " - %%%%% Text -> \\subsection{Text}" + echo " - %%%% Text -> \\section{Text}" echo " - %% >> code -> \\begin{verbatim}code\\end{verbatim}" echo " - write the result to OUTPUT" echo