diff options
author | Ludovic Court`es | 2005-09-30 15:19:48 +0000 |
---|---|---|
committer | Ludovic Court`es | 2005-09-30 15:19:48 +0000 |
commit | c2426b17c48c16c8b8de413053d7ae4fb9838023 (patch) | |
tree | b200f6be109cf7421b06592a6620a00d2dbed965 /src/guile/skribilo.scm | |
parent | 914355d81a9134ae39b839828a9e8fe6b537bc5c (diff) | |
parent | 6269aa26309cf98d100d7580c09ccf63b504d0d8 (diff) | |
download | skribilo-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-x | src/guile/skribilo.scm | 4 |
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)) |