diff options
Diffstat (limited to 'biblio/citation-style-language/citeproc-cli.lua')
-rw-r--r-- | biblio/citation-style-language/citeproc-cli.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/biblio/citation-style-language/citeproc-cli.lua b/biblio/citation-style-language/citeproc-cli.lua index a199c8e68c..9023728473 100644 --- a/biblio/citation-style-language/citeproc-cli.lua +++ b/biblio/citation-style-language/citeproc-cli.lua @@ -101,7 +101,7 @@ local function read_aux_file(aux_file) if match then bib_style = string.sub(match, 2, -2) else - match = string.match(line, "^\\bibdata%s*(%b{})") + match = string.match(line, "^\\csl@data%s*(%b{})") if match then for _, bib in ipairs(util.split(string.sub(match, 2, -2), "%s*,%s*")) do table.insert(bib_files, bib) @@ -145,6 +145,8 @@ local function process_aux_file(aux_file) local citation_strings = core.process_citations(engine, citations) + -- util.debug(citation_strings) + local output_string = "" for _, citation in ipairs(citations) do |