View Single Post
Old 04-12-2017, 01:08 PM   #16
mfm-ca
Enthusiast
mfm-ca began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Apr 2017
Device: PC
Quote:
Originally Posted by kovidgoyal View Post
If it is in a separate file, it is even simpler -- probably needs only a single line. Look around line 250 in container.py (the same file that has create_skeleton)
I've managed to change the source to get the desired setting in the DOCX output, but based on your comment, I wonder if what I did was unnecessary or, worse, erroneous. I ended up with one line modified in from_html.py, and four lines added and two lines modified in container.py.

I should note that I am not proficient in Python or OO methodologies. I am old-school (and old!) when it comes to programming and scripting. But I do have a knack for reading unfamiliar code or coding languages and figuring it out, at least well enough to be dangerous.
mfm-ca is offline   Reply With Quote