remove 'v' prefix in front of version when formatting LaTeX3 files
This commit is contained in:
parent
d1806d970f
commit
4a0e095899
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ from PyTeX.base import Attributes, Args
|
|||
class TexFormatter:
|
||||
def __init__(self, name: str, author: str, header: Optional[List[str]], file_extension: str,
|
||||
tex_version: str, version: str, latex_name: str):
|
||||
self.version = version
|
||||
|
||||
self.version = version[1:] if version.startswith('v') else version
|
||||
self.header = header
|
||||
self.name_raw = name
|
||||
self.author = author
|
||||
|
|
Loading…
Reference in a new issue