]> gitweb.fluxo.info Git - bookup.git/commitdiff
Feat: support for separate publisher URL snippet
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 18 Nov 2025 17:05:29 +0000 (14:05 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 18 Nov 2025 17:05:29 +0000 (14:05 -0300)
ChangeLog.md
content/sections/15-installation/installation.md
snippets/publisher-url.txt [new file with mode: 0644]
structure/book/en/00-preamble.md
structure/book/en/00-preamble.tex
structure/book/pt-br/00-preamble.md
structure/book/pt-br/00-preamble.tex

index b14e82b79d115280223c11bfeb448da83356a73f..1418ce915fbca6e9ae91e96d58980ceee575905f 100644 (file)
@@ -2,6 +2,10 @@
 
 ## v0.3.1 - 2025-11-18
 
+* [x] Support for separate publisher URL snippet.
+
+## v0.3.1 - 2025-11-18
+
 * [x] Apply fixes to the frontmatter citation mechanism.
 
 ## v0.3.0 - 2025-11-18
index d2133d2a265d31ea4dfddf65fef17f5fd43fe5fb..8cfb941f83850c22ab4078dc5f4d7191c70a4f95 100644 (file)
@@ -22,7 +22,7 @@ Bookup installation procedure.
 * `LICENSE`.
 * `DISCLAIMER`.
 * `images/cover.png`.
-* `snippets/{contact,cover,keywords,project,url,volume}.txt`.
+* `snippets/{contact,cover,keywords,project,url,volume,publisher,publisher-url}.txt`.
 * `snippets/changes.md`.
 
 ## Optional files
diff --git a/snippets/publisher-url.txt b/snippets/publisher-url.txt
new file mode 100644 (file)
index 0000000..ca67d59
--- /dev/null
@@ -0,0 +1 @@
+https://bookup.fluxo.info
index 6d26c75fe46f62bae142634f9c077bbff3309f57..66e33381ff6f85427c11965b6f428895612576b0 100644 (file)
@@ -32,7 +32,7 @@ if (knitr::is_html_output()) {
   cat('<br/>')
   cat('Published by ')
   #cat(rmarkdown::metadata$publisher)
-  cat(readLines('snippets/publisher.txt'))
+  cat(readLines('snippets/publisher.txt'), ' - ', readLines('snippets/publisher-url.txt'))
   cat('<br/>')
   cat('Published at ')
   cat(readLines('snippets/url.txt'), sep='\n')
index df9a1668b86157441a71e97139657a9f9d656a4d..d81eb2e1dd3e8424336bdf03b6fa00b217386183 100644 (file)
@@ -37,7 +37,7 @@ Copyleft \copyright\ \input{.metadata/year.txt} \thanklessauthor\  \input{snippe
 %     https://www.typeerror.org/docs/latex/_005cprotect
 \par\smallcaps{\protect\input{snippets/project.txt} - \protect\input{snippets/volume.txt}}
 
-\par\smallcaps{Published by \protect\input{snippets/publisher.txt}}
+\par\smallcaps{Published by \protect\input{snippets/publisher.txt} - \protect\input{snippets/publisher-url.txt}}
 
 \par\smallcaps{Published at \protect\input{snippets/url.txt}}
 
index 6bb41326162c17211a20953d49ae0eeec05abdff..cc53fe796578c99adefbc969b9e7d6292739a5d9 100644 (file)
@@ -32,7 +32,7 @@ if (knitr::is_html_output()) {
   cat('<br/>')
   cat('Publicado por ')
   #cat(rmarkdown::metadata$publisher)
-  cat(readLines('snippets/publisher.txt'))
+  cat(readLines('snippets/publisher.txt'), ' - ', readLines('snippets/publisher-url.txt'))
   cat('<br/>')
   cat('Publicado em ')
   cat(readLines('snippets/url.txt'), sep='\n')
index a867bd6ec382fc2697e7fda0bdc377d429af6aa3..5c58743c0027b7a3da89709b1c313be79e41ce23 100644 (file)
@@ -37,7 +37,7 @@ Copyleft \copyright\ \input{.metadata/year.txt} \thanklessauthor\  \input{snippe
 %     https://www.typeerror.org/docs/latex/_005cprotect
 \par\smallcaps{\protect\input{snippets/project.txt} - \protect\input{snippets/volume.txt}}
 
-\par\smallcaps{Publicado por \protect\input{snippets/publisher.txt}}
+\par\smallcaps{Publicado por \protect\input{snippets/publisher.txt} - \protect\input{snippets/publisher-url.txt}}
 
 \par\smallcaps{Publicado em \protect\input{snippets/url.txt}}