# ChangeLog
+## v0.3.1 - 2025-11-18
+
+* [x] Apply fixes to the frontmatter citation mechanism.
+
## v0.3.0 - 2025-11-18
* [x] Citation:
# Check if the revision is a tag
if git tag | grep -q "^${REVISION}$"; then
- # Save info on the latest tagged release
- mkdir -p $METADATA
- echo $REVISION > $LATEST
-
# Check if archive does not exists
if [ ! -d "$ARCHIVE/$REVISION" ]; then
echo "# $BASENAME: archiving $REVISION..."
REVISION="$2"
DATE="$3"
LANG="`grep lang _common.yml _book.yml _notes.yml 2> /dev/null | tail -1 | cut -d : -f 3 | sed -e 's/"//g' -e 's/ //g'`"
+METADATA=".metadata"
+LATEST="$METADATA/latest.txt"
# Set the language
if [ -z "$LANG" ]; then
# Symlink as a Bookdown source
ln -sf $OUTPUT.md $OUTPUT.Rmd
+
+# Check if the revision is a tag
+if git tag | grep -q "^${REVISION}$"; then
+ # Save info on the latest tagged release
+ mkdir -p $METADATA
+ echo $REVISION > $LATEST
+fi
author_cite = paste(toupper(author[2]), author[1], sep=', ')
version = readLines('.metadata/latest.txt')
if (version != '0.0.0') {
- archive = version
+ archive = paste('archive', version, sep='/')
}
else {
archive = ''
author_cite = paste(toupper(author[2]), author[1], sep=', ')
version = readLines('.metadata/latest.txt')
if (version != '0.0.0') {
- archive = version
+ archive = paste('archive', version, sep='/')
}
else {
archive = ''