File tree 4 files changed +10
-4
lines changed
4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
dirname = os .path .dirname (__file__ )
11
11
DOCXPAGEBREAK_FILTER = os .path .join (dirname , "pandoc_filters/pagebreak.py" )
12
+ REFERENCE_DOCX = os .path .join (dirname , "reference.docx" )
12
13
13
14
14
15
def _clean_split (text , separator = "\n " ):
@@ -79,5 +80,6 @@ def render_contract_to_docx_file(contract, **context):
79
80
outputfile = docx_file .name ,
80
81
format = "md" ,
81
82
filters = [DOCXPAGEBREAK_FILTER ],
83
+ extra_args = [f"--reference-doc" , REFERENCE_DOCX ],
82
84
)
83
85
return docx_file .read ()
Original file line number Diff line number Diff line change 1
- # SPONSORSHIP AGREEMENT
1
+ ---
2
+ title : SPONSORSHIP AGREEMENT
3
+ geometry :
4
+ - margin=1.25in
5
+ font-size : 12pt
6
+ pagestyle : empty
7
+ ---
2
8
3
9
** THIS SPONSORSHIP AGREEMENT** (the ** "Agreement"** )
4
10
is entered into and made effective as of the
@@ -120,9 +126,7 @@ and to support and facilitate the growth of a diverse and international communit
120
126
  ;
121
127
122
128
123
- ::: {.center}
124
- ** [ Signature Page Follows] **
125
- :::
129
+ ### \[ Signature Page Follows\]
126
130
127
131
::: {.page-break}
128
132
\newpage
You can’t perform that action at this time.
0 commit comments