Skip to content

Instantly share code, notes, and snippets.

@CarlosGrohmann
Created February 12, 2018 23:44
Show Gist options
  • Save CarlosGrohmann/c204cbe8e3c5c67374a6c82ff7c1e1e4 to your computer and use it in GitHub Desktop.
Save CarlosGrohmann/c204cbe8e3c5c67374a6c82ff7c1e1e4 to your computer and use it in GitHub Desktop.
latexdiffcite.json configuration file
{
"encoding": "utf-8",
"latexdiff_args": "",
"git_force_unix_pathsep": true,
"ref_single_word": true,
"bib": {
"max_authors": 2,
"sep_authors_first": ", ",
"author_serialcomma": true,
"sep_authors_last": " and ",
"et_al": " et~al."
},
"bbl": {
"regex": "\\\\bibitem\\[{((?:(?!^$).)*?)\\(((?:(?!^$).)*?)(?:{\\\\natexlab{(.?)}})?\\)((?:(?!^$).)*?)}\\]{%REFKEY%}",
"author": "%CG1%",
"year": "%CG2%%CG3%"
},
"cmd_format": {
"citep": {
"cite_start": "(",
"sep_prenote": " ",
"author": "%AUTHOR%",
"sep_author_year": ", ",
"year": "%YEAR%",
"sep_same_author_year": ", ",
"sep_ref": "; ",
"sep_postnote": ", ",
"cite_end": ")"
},
"citet": {
"cite_start": "",
"sep_prenote": " ",
"author": "%AUTHOR%",
"sep_author_year": " ",
"year": "(%YEAR%)",
"sep_same_author_year": ", ",
"sep_ref": "; ",
"sep_postnote": ", ",
"cite_end": ""
},
"cite": {
"cite_start": "",
"sep_prenote": " ",
"author": "%AUTHOR%",
"sep_author_year": " ",
"year": "(%YEAR%)",
"sep_same_author_year": ", ",
"sep_ref": "; ",
"sep_postnote": ", ",
"cite_end": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment