summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Court`es2006-10-23 17:25:00 +0000
committerLudovic Court`es2006-10-23 17:25:00 +0000
commit243aa4a26a7c087f4216eb3b537f355bc31a6d19 (patch)
tree12a5dc069f0db037f856d1cdf03bc14bd94c6b7b
parentadb2f652cd8d6075f0718a19f4942f6b5b573d07 (diff)
downloadskribilo-243aa4a26a7c087f4216eb3b537f355bc31a6d19.tar.gz
skribilo-243aa4a26a7c087f4216eb3b537f355bc31a6d19.tar.lz
skribilo-243aa4a26a7c087f4216eb3b537f355bc31a6d19.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: skribilo@sv.gnu.org--2006/skribilo--devo--1.2--patch-7
-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)