mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 06:53:42 +02:00
...
This commit is contained in:
parent
bd2aeff04d
commit
1a38be575d
2 changed files with 4 additions and 4 deletions
|
|
@ -139,7 +139,7 @@ def run_kakasi(self, opts):
|
|||
dest = self.j(self.RESOURCES, 'localization',
|
||||
'pykakasi','itaijidict2.pickle')
|
||||
|
||||
if self.newer(dest, src):
|
||||
if self.newer(dest, src) or iswindows:
|
||||
self.info('\tGenerating Itaijidict')
|
||||
self.mkitaiji(src, dest)
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ def run_kakasi(self, opts):
|
|||
dest = self.j(self.RESOURCES, 'localization',
|
||||
'pykakasi','kanadict2.pickle')
|
||||
|
||||
if self.newer(dest, src):
|
||||
if self.newer(dest, src) or iswindows:
|
||||
self.info('\tGenerating kanadict')
|
||||
self.mkkanadict(src, dest)
|
||||
|
||||
|
|
|
|||
|
|
@ -1415,7 +1415,7 @@ def s_text_span(self, tag, attrs):
|
|||
self.writedata()
|
||||
c = attrs.get( (TEXTNS,'style-name'), None)
|
||||
htmlattrs = {}
|
||||
# Changed by Kovid to handle inline apecial styles defined on <text:span> tags.
|
||||
# Changed by Kovid to handle inline special styles defined on <text:span> tags.
|
||||
# Apparently LibreOffice does this.
|
||||
special = 'span'
|
||||
if c:
|
||||
|
|
@ -1433,7 +1433,7 @@ def e_text_span(self, tag, attrs):
|
|||
""" End the <text:span> """
|
||||
self.writedata()
|
||||
c = attrs.get( (TEXTNS,'style-name'), None)
|
||||
# Changed by Kovid to handle inline apecial styles defined on <text:span> tags.
|
||||
# Changed by Kovid to handle inline special styles defined on <text:span> tags.
|
||||
# Apparently LibreOffice does this.
|
||||
special = 'span'
|
||||
if c:
|
||||
|
|
|
|||
Loading…
Reference in a new issue