aboutsummaryrefslogtreecommitdiff
path: root/reproduce
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 07:06:53 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-13 07:06:53 +0100
commit16fbab2a9444e602e6fd4cf86d109daf6315f7f3 (patch)
tree7af0b0fdc2770620fc8f59117e450085160a997d /reproduce
parente25c86efab8e585854a3c44ce21aa7f16ef831ef (diff)
Full existing contents summaried, only discussion to go
The contents until two commits ago when I started to summarize the paper are now in a new and shorter format: previously the discussion started on page 25, but now it starts on page 17. It is still a little longer than 8000 words, but not as significantly as before. I will add the discussion and also try to summarize it futher before submission.
Diffstat (limited to 'reproduce')
-rw-r--r--reproduce/analysis/make/demo-plot.mk4
-rw-r--r--reproduce/analysis/make/format.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/reproduce/analysis/make/demo-plot.mk b/reproduce/analysis/make/demo-plot.mk
index caf77af..ac05776 100644
--- a/reproduce/analysis/make/demo-plot.mk
+++ b/reproduce/analysis/make/demo-plot.mk
@@ -53,6 +53,10 @@ $(mtexdir)/demo-plot.tex: $(a2mk20f1c) $(pconfdir)/menke-demo-year.conf
v=$$(awk 'NR==1{print $$1}' $(a2mk20f1c))
echo "\newcommand{\menkefirstyear}{$$v}" > $@
+ # Find the number of rows in the plotted table.
+ v=$$(cat $(a2mk20f1c) | wc -l)
+ echo "\newcommand{\menkenumyears}{$$v}" >> $@
+
# Find the number of papers in 1996.
v=$$(awk '$$1==$(menke-demo-year){print $$3}' $(a2mk20f1c))
echo "\newcommand{\menkenumpapersdemocount}{$$v}" >> $@
diff --git a/reproduce/analysis/make/format.mk b/reproduce/analysis/make/format.mk
index 868c411..d10034d 100644
--- a/reproduce/analysis/make/format.mk
+++ b/reproduce/analysis/make/format.mk
@@ -80,3 +80,7 @@ $(mtexdir)/format.tex: $(mk20tab3)
v=$$(awk 'BEGIN{FIELDWIDTHS="41 10000"} !/^#/{print $$2}' \
$(mk20tab3) | uniq | wc -l)
echo "\newcommand{\menkenumjournals}{$$v}" >> $@
+
+ # Count how many rows the original catalog has.
+ v=$$(awk '!/^#/{c++} END{print c}' $(mk20tab3))
+ echo "\newcommand{\menkenumorigrows}{$$v}" >> $@