aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_sisupod.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-05-06 11:33:10 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit7a73aa10276b0c1151500d26b194336b56af7aba (patch)
treee267901f73375393cc429c5c17ce661216de111a /org/output_sisupod.org
parentxmls work particularly with epub output (diff)
Diffstat (limited to 'org/output_sisupod.org')
-rw-r--r--org/output_sisupod.org8
1 files changed, 3 insertions, 5 deletions
diff --git a/org/output_sisupod.org b/org/output_sisupod.org
index 5471a6a..e161f54 100644
--- a/org/output_sisupod.org
+++ b/org/output_sisupod.org
@@ -124,7 +124,7 @@ debug(sisupod) {
doc_matters.source_filename,
));
}
-auto zip = new ZipArchive(); // ZipArchive zip = new ZipArchive();
+auto zip = new ZipArchive();
auto fn_sisupod = pth_sisupod.sisupod_filename(doc_matters.source_filename);
{ /+ bundle images +/
foreach (image; doc_matters.image_list) {
@@ -243,8 +243,7 @@ if (exists(fn_sisupod)) {
auto zipped = new ZipArchive((fn_sisupod).read);
foreach (filename, member; zipped.directory) {
auto data = zipped.expand(member);
- writeln("> ", filename, " length ", data.length); // filename == member.name
- // Use data
+ writeln("> ", filename, " length ", data.length);
}
}
catch (ZipException ex) {
@@ -272,8 +271,7 @@ if (exists(fn_sisupod)) {
}
}
}
- catch (ErrnoException ex)
- {
+ catch (ErrnoException ex) {
// Handle errors
}
}