diff options
Diffstat (limited to 'do.py')
-rwxr-xr-x | do.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -427,7 +427,6 @@ def main(): pass output = open(outfile, 'w') - name = pwd.getpwuid(os.getuid()).pw_gecos if mode == 'tex': @@ -542,6 +541,7 @@ def main(): options = { 'date': '\\today' if mode == 'tex' else f'{datetime.now():%Y-%m-%d}', 'mode': 'vimwiki', + 'author': pwd.getpwuid(os.getuid()).pw_gecos } # split the text into paragraph blocks @@ -568,7 +568,7 @@ def main(): output.write(f""" \\title{{{heading}}} \\date{{{options['date']}}} -\\author{{{name}}} +\\author{{{options['author']}}} \\begin{{document}} \\maketitle % \\tableofcontents |