aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guile/skribilo/engine/base.scm7
-rw-r--r--src/guile/skribilo/engine/latex.scm7
-rw-r--r--src/guile/skribilo/engine/lout.scm6
-rw-r--r--src/guile/skribilo/package/base.scm5
4 files changed, 25 insertions, 0 deletions
diff --git a/src/guile/skribilo/engine/base.scm b/src/guile/skribilo/engine/base.scm
index 6973eb2..2085ed6 100644
--- a/src/guile/skribilo/engine/base.scm
+++ b/src/guile/skribilo/engine/base.scm
@@ -185,6 +185,13 @@
(evaluate-document n e))))
;*---------------------------------------------------------------------*/
+;* breakable-space ... */
+;*---------------------------------------------------------------------*/
+(markup-writer 'breakable-space
+ :before " "
+ :action #f)
+
+;*---------------------------------------------------------------------*/
;* &the-bibliography ... */
;*---------------------------------------------------------------------*/
(markup-writer '&the-bibliography
diff --git a/src/guile/skribilo/engine/latex.scm b/src/guile/skribilo/engine/latex.scm
index 183c822..2d5e4b6 100644
--- a/src/guile/skribilo/engine/latex.scm
+++ b/src/guile/skribilo/engine/latex.scm
@@ -492,6 +492,13 @@
:action #f)
;*---------------------------------------------------------------------*/
+;* breakable-space ... */
+;*---------------------------------------------------------------------*/
+(markup-writer 'breakable-space
+ :before " %\n"
+ :action #f)
+
+;*---------------------------------------------------------------------*/
;* &latex-table-start */
;*---------------------------------------------------------------------*/
(markup-writer '&latex-table-start
diff --git a/src/guile/skribilo/engine/lout.scm b/src/guile/skribilo/engine/lout.scm
index b9b4812..4648217 100644
--- a/src/guile/skribilo/engine/lout.scm
+++ b/src/guile/skribilo/engine/lout.scm
@@ -984,6 +984,12 @@
;*---------------------------------------------------------------------*/
(markup-writer '~ :before "~" :action #f)
+;*---------------------------------------------------------------------*/
+;* breakable-space ... */
+;*---------------------------------------------------------------------*/
+(markup-writer 'breakable-space :before " &1s\n" :action #f)
+
+
(define (lout-page-orientation orientation)
;; Return a string representing the Lout page orientation name for symbol
;; `orientation'.
diff --git a/src/guile/skribilo/package/base.scm b/src/guile/skribilo/package/base.scm
index 01e8667..1971ca5 100644
--- a/src/guile/skribilo/package/base.scm
+++ b/src/guile/skribilo/package/base.scm
@@ -301,6 +301,11 @@
(body (the-body opts))))
;*---------------------------------------------------------------------*/
+;* breakable-space ... */
+;*---------------------------------------------------------------------*/
+(define-simple-markup breakable-space)
+
+;*---------------------------------------------------------------------*/
;* footnote ... */
;*---------------------------------------------------------------------*/
(define-markup (footnote #!rest opts