docbook2epub: make the output of the parameters easier to read.

This commit is contained in:
Thibaut Cuvelier 2024-11-11 23:44:05 +01:00
parent 637ae9528f
commit 1381e3e575

View File

@ -49,14 +49,14 @@ class DocBookToEpub:
self.script_folder = os.path.dirname(self.own_path) + '/../' self.script_folder = os.path.dirname(self.own_path) + '/../'
print('Generating ePub with the following parameters:') print('Generating ePub with the following parameters:')
print(self.own_path) print(' own_path: %s' % self.own_path)
print(self.java_path) print(' java_path: %s' % self.java_path)
print(self.saxon_path) print(' saxon_path: %s' % self.saxon_path)
print(self.xsltproc_path) print(' xsltproc_path: %s' % self.xsltproc_path)
print(self.xslt_path) print(' xslt_path: %s' % self.xslt_path)
print(self.input) print(' input: %s' % self.input)
print(self.input_path) print(' input_path: %s' % self.input_path)
print(self.output) print(' output: %s' % self.output)
# Precompute paths that will be used later. # Precompute paths that will be used later.
self.output_dir = tempfile.mkdtemp().replace('\\', '/') self.output_dir = tempfile.mkdtemp().replace('\\', '/')