File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,10 @@ def _table(obj, data): # noqa: C901
267
267
# don't want the \n in the table definition, just in the data (below)
268
268
opts .append ("row sep=" + data ["table_row_sep" ].strip ())
269
269
270
+ if data ["externals search path" ] is not None :
271
+ esp = data ["externals search path" ]
272
+ opts .append (f"search path={{{ esp } }}" )
273
+
270
274
if len (opts ) > 0 :
271
275
opts_str = "," .join (opts )
272
276
content .append (f"table [{ opts_str } ] {{" )
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ def get_tikz_code(
24
24
tex_relative_path_to_data : Optional [str ] = None ,
25
25
externalize_tables : bool = False ,
26
26
override_externals : bool = False ,
27
+ externals_search_path : Optional [str ] = None ,
27
28
strict : bool = False ,
28
29
wrap : bool = True ,
29
30
add_axis_environment : bool = True ,
@@ -153,6 +154,7 @@ def get_tikz_code(
153
154
data ["rel data path" ] = tex_relative_path_to_data
154
155
data ["externalize tables" ] = externalize_tables
155
156
data ["override externals" ] = override_externals
157
+ data ["externals search path" ] = externals_search_path
156
158
157
159
if filepath :
158
160
filepath = pathlib .Path (filepath )
You can’t perform that action at this time.
0 commit comments