fix more bugs
This commit is contained in:
parent
47f5204b66
commit
d34bacc872
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ class DictFormatter(PyTeXFormatter):
|
||||||
self.make_header() # TODO: add kwargs
|
self.make_header() # TODO: add kwargs
|
||||||
for language in self._languages:
|
for language in self._languages:
|
||||||
lines: List[str] = [self.make_header(), '']
|
lines: List[str] = [self.make_header(), '']
|
||||||
lines += r'\ProvidesDictionary{{{dict_name}}}{{{language}}}'.format(
|
lines += r'\ProvidesDictionary{{translator-{dict_name}-dictionary}}{{{language}}}'.format(
|
||||||
dict_name=self._dict_name,
|
dict_name=self._dict_name,
|
||||||
language=language
|
language=language
|
||||||
)
|
)
|
||||||
|
|
|
@ -179,7 +179,7 @@ class TexFormatter(PyTeXFormatter, ABC):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return \
|
return \
|
||||||
'\\ProvidesExpl%s { %s } { %s } { %s }\n { %s }' \
|
'\\ProvidesExpl%s {%s} {%s} {%s}\n {%s}' \
|
||||||
% (
|
% (
|
||||||
provided_type,
|
provided_type,
|
||||||
self.name,
|
self.name,
|
||||||
|
|
Loading…
Reference in a new issue