View Single Post
Old 07-12-2018, 08:30 AM   #18
tafr
Junior Member
tafr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2018
Device: edge
I need to incorporate a template called WordbokBlind.dot into the conversion to docx. What is the full path to the conversion.py and what code is to be added and where should the .dot file be placed?

The container.py flle I am looking at is placed in the usr/lib/calibre/calibre/ebooks/docx/writer

and contains these first lines:

#!/usr/bin/python2.7
# vim:fileencoding=utf-8
from __future__ import (unicode_literals, division, absolute_import,
print_function)

__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
tafr is offline   Reply With Quote