aboutsummaryrefslogtreecommitdiff
path: root/src/guile/skribilo.scm
diff options
context:
space:
mode:
authorLudovic Court`es2005-09-30 15:19:48 +0000
committerLudovic Court`es2005-09-30 15:19:48 +0000
commitc2426b17c48c16c8b8de413053d7ae4fb9838023 (patch)
treeb200f6be109cf7421b06592a6620a00d2dbed965 /src/guile/skribilo.scm
parent914355d81a9134ae39b839828a9e8fe6b537bc5c (diff)
parent6269aa26309cf98d100d7580c09ccf63b504d0d8 (diff)
downloadskribilo-c2426b17c48c16c8b8de413053d7ae4fb9838023.tar.gz
skribilo-c2426b17c48c16c8b8de413053d7ae4fb9838023.tar.lz
skribilo-c2426b17c48c16c8b8de413053d7ae4fb9838023.zip
The first vaguely working version.
Patches applied: * lcourtes@laas.fr--2005-mobile/skribilo--devel--1.2--patch-4 First real document produced! git-archimport-id: lcourtes@laas.fr--2004-libre/skribilo--devel--1.2--patch-8
Diffstat (limited to 'src/guile/skribilo.scm')
-rwxr-xr-xsrc/guile/skribilo.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guile/skribilo.scm b/src/guile/skribilo.scm
index a43ec66..33c2bb4 100755
--- a/src/guile/skribilo.scm
+++ b/src/guile/skribilo.scm
@@ -387,7 +387,7 @@ Processes a Skribilo/Skribe source file and produces its output.
skribilo-options))
(engine (string->symbol
(option-ref options 'target "html")))
- (debugging-level (option-ref options 'debug 0))
+ (debugging-level (option-ref options 'debug "0"))
(load-path (option-ref options 'load-path "."))
(bib-path (option-ref options 'bib-path "."))
(preload '())
@@ -455,6 +455,8 @@ Processes a Skribilo/Skribe source file and produces its output.
(with-output-to-file dest-file doskribe)
(doskribe)))))
+ (set! *skribe-dest* dest-file)
+
(if (and dest-file (file-exists? dest-file))
(delete-file dest-file))