aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2006-10-23 17:20:10 +0000
committerLudovic Court`es2006-10-23 17:20:10 +0000
commit1b8ca0c62843d8879f44439614bcb0bc32fde930 (patch)
tree12a5dc069f0db037f856d1cdf03bc14bd94c6b7b
parent41d2f26a602bc3bc71756b6fab7d53e7d875df55 (diff)
downloadskribilo-1b8ca0c62843d8879f44439614bcb0bc32fde930.tar.gz
skribilo-1b8ca0c62843d8879f44439614bcb0bc32fde930.tar.lz
skribilo-1b8ca0c62843d8879f44439614bcb0bc32fde930.zip
Added a `:arguments' keyword to `slide-embed'.
* src/guile/skribilo/package/slide.scm (slide-embed): Added an `arguments' keyword. * doc/user/slide.skb: Updated the markup documentation. git-archimport-id: lcourtes@laas.fr--2005-libre/skribilo--devo--1.2--patch-66
-rw-r--r--doc/user/slide.skb3
-rw-r--r--src/guile/skribilo/package/slide.scm1
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/user/slide.skb b/doc/user/slide.skb
index 3e903ad..f937a75 100644
--- a/doc/user/slide.skb
+++ b/doc/user/slide.skb
@@ -153,6 +153,8 @@ projection. This may not be supported by all engines.])
(doc-markup 'slide-embed
`((:command [The binary file for running the embedded
application.])
+ (:arguments [Additional arguments to be passed to the
+application (a list of strings).])
(:geometry-opt [The name of the geometry option to be sent
to the embedded application.])
(:geometry [The geometry value to be sent.])
@@ -192,6 +194,7 @@ output format does not support embedded application.]))
(markup-writer 'slide-vspace
:action dummy-slide-vspace-output)
(markup-writer 'slide-embed
+ :options '(:command :arguments :alt)
:action dummy-slide-embed-output)
e))
(include "src/slides.skb"))))
diff --git a/src/guile/skribilo/package/slide.scm b/src/guile/skribilo/package/slide.scm
index 7f731e3..c0a8473 100644
--- a/src/guile/skribilo/package/slide.scm
+++ b/src/guile/skribilo/package/slide.scm
@@ -146,6 +146,7 @@
(define-markup (slide-embed #!rest opt
#!key
command
+ (arguments '())
(geometry-opt "-geometry")
(geometry #f) (rgeometry #f)
(transient #f) (transient-opt #f)