aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md23
-rwxr-xr-xbin/compile-book2
-rwxr-xr-xbin/compile-notes2
-rw-r--r--templates/book/references.md (renamed from templates/references.md)0
-rw-r--r--templates/notes/bibliography.md1
5 files changed, 17 insertions, 11 deletions
diff --git a/TODO.md b/TODO.md
index 620425f..43ac297 100644
--- a/TODO.md
+++ b/TODO.md
@@ -2,27 +2,32 @@
## Basic
+* [ ] Add license and version information in the notebook.
+* [ ] Add link to the notebook in the main book HTML.
* [ ] Move `slides` to `content/slides`?
+* [ ] Localization support, by detecting the `lang` YAML parameters and using
+ templates from `templates/{book,notes}/$lang`.
* [ ] Improve the documentation, including:
* [ ] Repository URL.
- * [ ] Livros que usam Bookup.
- * [ ] Projetos semelhantes:
+ * [ ] Translate to English.
+ * [ ] Add a reference to books using Bookup.
+ * [ ] Similar projects:
* [ ] [Repositórios da Editora Hedra](https://github.com/hedra-editora).
## Improvements
-* [ ] Supporte a uma variável de ambiente `BASE_URL`, aplicada
- como variável de template `%%base_url%%`, permitindo que o
- material compilado tenha links entre si?
+* [ ] Suport for a `BASE_URL` environment variable?
+ It would be applied as a template variable in `%%base_url%%` placeholers,
+ allowing the compile material to have links among themselves.
* [ ] Optionally add a small reference to the Bookup website in the book
frontmatter?
## Issues
-* [ ] Bug no `pandoc` ou `citeproc` ignorando citações dentro de blocos LaTeX.
- Afetando o formato PDF. Vide teste em `test/pandoc`.
- Considerar um relatório upstream.
- Se necessário, aplicar também correções também nos repositórios downstream.
+* [ ] Bug in `pandoc` or `citeproce` ignoring citation inside LaTeX blocks.
+ Affecting the PDF format. Test available at `test/pandoc`.
+ Consider an upstream bug report.
+ If needed, also apply corrections in the existing downstream projects.
## Bonus
diff --git a/bin/compile-book b/bin/compile-book
index f452d4b..930e673 100755
--- a/bin/compile-book
+++ b/bin/compile-book
@@ -40,7 +40,7 @@ done
find content/sections -type f | grep '\.md$' | sort | while read file; do
cat $file >> $OUTPUT.md
echo "" >> $OUTPUT.md
- cat $BASEDIR/templates/references.md >> $OUTPUT.md
+ cat $BASEDIR/templates/book/references.md >> $OUTPUT.md
echo "" >> $OUTPUT.md
done
diff --git a/bin/compile-notes b/bin/compile-notes
index da9287c..6760925 100755
--- a/bin/compile-notes
+++ b/bin/compile-notes
@@ -37,7 +37,7 @@ find content/notes -type f | grep '\.md$' | sort | while read file; do
done
# Bibliography section
-echo "# Bibliografia" >> $OUTPUT.md
+cat $BASEDIR/templates/book/bibliography.md >> $OUTPUT.md
# Revision information
sed -i -e "s|%%revision%%|$REVISION|g" -e "s|%%date%%|$DATE|g" $OUTPUT.md
diff --git a/templates/references.md b/templates/book/references.md
index cf028c9..cf028c9 100644
--- a/templates/references.md
+++ b/templates/book/references.md
diff --git a/templates/notes/bibliography.md b/templates/notes/bibliography.md
new file mode 100644
index 0000000..1c6d0e6
--- /dev/null
+++ b/templates/notes/bibliography.md
@@ -0,0 +1 @@
+# Bibliografia