Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <jauslin@ias.edu>2017-05-02 20:20:48 +0000
committerIan Jauslin <jauslin@ias.edu>2017-05-02 21:38:33 +0000
commit1366aa391af0ec4e6fcef3a10d8345ad2d32e340 (patch)
treeefcc637d71f5f490c15580e13f4e3bf8bd7f3a27 /example
Initial commit
Diffstat (limited to 'example')
-rw-r--r--example/BBlog_example.tex14
-rw-r--r--example/bibliography.BBlog.tex2
-rw-r--r--example/bibliography.dbbin0 -> 2048 bytes
-rw-r--r--example/conf.BBlog5
-rw-r--r--example/ref_map.sed2
5 files changed, 23 insertions, 0 deletions
diff --git a/example/BBlog_example.tex b/example/BBlog_example.tex
new file mode 100644
index 0000000..69c4e1b
--- /dev/null
+++ b/example/BBlog_example.tex
@@ -0,0 +1,14 @@
+\documentclass{article}
+
+\begin{document}
+\noindent References can be cited by referencing their {\tt citeref}: \cite{Do99}.
+\bigskip
+
+\noindent The bibliography can be loaded by including the file generated by {\tt BBlog}:
+
+\begin{thebibliography}{MM99}
+\IfFileExists{bibliography.BBlog.tex}{\input{bibliography.BBlog.tex}}{}
+\end{thebibliography}
+
+\end{document}
+
diff --git a/example/bibliography.BBlog.tex b/example/bibliography.BBlog.tex
new file mode 100644
index 0000000..f2dc448
--- /dev/null
+++ b/example/bibliography.BBlog.tex
@@ -0,0 +1,2 @@
+\bibitem[]{}
+{\bf } - {\it }, , .
diff --git a/example/bibliography.db b/example/bibliography.db
new file mode 100644
index 0000000..807512c
--- /dev/null
+++ b/example/bibliography.db
Binary files differ
diff --git a/example/conf.BBlog b/example/conf.BBlog
new file mode 100644
index 0000000..509a5ed
--- /dev/null
+++ b/example/conf.BBlog
@@ -0,0 +1,5 @@
+database: bibliography.db
+format: \bibitem[%citeref%]{%token%}%n%{\bf %author:auth%} - {\it %title%}, %journal%, %year%.%n%
+out_file: bibliography.BBlog.tex
+filter:auth: s/([A-Z])[^ ]* /\1. /g; s/ ([^ ]*) /\1 /g; s/_/ /g;
+ref_map: ref_map.sed
diff --git a/example/ref_map.sed b/example/ref_map.sed
new file mode 100644
index 0000000..0d7e650
--- /dev/null
+++ b/example/ref_map.sed
@@ -0,0 +1,2 @@
+s/^Do99$/Doe99/
+