Sebastian Walz 860d31cee1
Tohu vaBohu
2023-04-21 00:22:52 +02:00

23 lines
588 B
Nix

{ core, journal, ... }:
let
inherit(core) indentation list string;
inherit(journal) formatAuthor;
in
{ authors, title, journal, ... }:
beginDocument:
[
"\\hypersetup{" indentation.more
"pdfauthor={${string.concatWith ", " (list.map formatAuthor authors)}},"
"pdftitle={${title}},"
"pdfsubject={${journal.title}},"
"pdfkeywords={},"
"pdfproducer={},"
"pdfcreator={},"
indentation.less "}"
"\\tolerance 500%"
"\\emergencystretch 3em%"
"\\hfuzz=2pt%"
"\\vfuzz=2pt%"
"\\hyphenchar\\font=-1%"
] ++ beginDocument