summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-12-31 13:15:03 (GMT)
committer Jaromil <jaromil@dyne.org>2013-12-31 13:15:33 (GMT)
commit90147404da0f8eacced518cc8c5203b7b2700a9a (patch)
tree0d83b9fb153ab615fa4681c8b9aa2f0c9ae3ecb0
parentbafb63ed16146105af80b3b4b3d313715b1ae836 (diff)
fixes to new article template script
-rwxr-xr-xtools/autorg-new-article21
1 files changed, 9 insertions, 12 deletions
diff --git a/tools/autorg-new-article b/tools/autorg-new-article
index f35f9fd..1e0d53b 100755
--- a/tools/autorg-new-article
+++ b/tools/autorg-new-article
@@ -35,7 +35,7 @@ editor=`rlwrap -S 'Name of editor > ' -H ~/.autorg-wizard -o cat`
cat <<EOF > $1
#+TITLE: $title
#+AUTHOR: $fullname
-#+DATE: `date '+%e +%B +%Y`
+#+DATE: `date '+%e %B %Y'`
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t f:t TeX:t
@@ -62,18 +62,16 @@ cat <<EOF > $1
#+LATEX_HEADER: \setlength{\headheight}{18pt}
#+LATEX_HEADER: \pagestyle{fancyplain}
-
#+LATEX: \fancyhf{}
#+LATEX: \fancyhead[L]{\rule[-2ex]{0pt}{2ex}\small $title}
#+LATEX: \fancyhead[R]{\rule[-2ex]{0pt}{2ex}\small $shortname}
#+LATEX: \fancyfoot[C]{-- \thepage\ --}
-#+LATEX: \fancyfoot[R]{\small `date '+%e +%b +%Y`}
+#+LATEX: \fancyfoot[R]{\small `date '+%e %b %Y'`}
#+LATEX: \fancyfoot[L]{\small $editor}
#+LATEX: \renewcommand{\headrulewidth}{0.4pt}
#+LATEX: \renewcommand{\footrulewidth}{0.4pt}
-
*Abstract*:
#+KEYWORDS:
@@ -95,21 +93,22 @@ $title
Author: $fullname
-
#+END_EXAMPLE
#+LATEX: \end{minipage}
-
#+LATEX: \newpage
-
-
* Introduction
-
: Write your article here
+
: Leave printindex as last
+: Intex terms using #+INDEX:
+: and nest index levels with
+: #+INDEX: Term!subterm
+
+
* Conclusion
@@ -117,8 +116,6 @@ Author: $fullname
* References
-
-
#+LATEX: \printindex
-EOF \ No newline at end of file
+EOF