Commit d7b422cb authored by Etienne Nadji's avatar Etienne Nadji

modifié : plugin/vepub_css.py

	modifié :         plugin/vim_epub.vim
parent 54c912a0
......@@ -8,7 +8,7 @@
from __future__ import unicode_literals
def make_fontdef_summary(sources,output_file):
def make_fontdef_summary(font_name,sources,output_file):
if sources:
#with open(output_file,"w") as out:
#out.write("\t+-------------------------+\n")
......@@ -19,7 +19,8 @@ def make_fontdef_summary(sources,output_file):
print "Reading"
for font_def in sources:
print font_def[0].split("/")[-1]
print font_def[0]
print font_def[1]
else:
return False
......
......@@ -352,7 +352,7 @@ with Open_EPUB(vim.buffers) as epubs:
print cssf
if cssf:
cssparse.make_fontdef_summary(cssf,"font_definitions")
cssparse.make_fontdef_summary(font_name,cssf,"font_definitions")
# * xhtml *
# SI des fichiers (X)HTML
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment