summaryrefslogtreecommitdiff
path: root/biblio/citation-style-language/citation-style-language.sty
diff options
context:
space:
mode:
Diffstat (limited to 'biblio/citation-style-language/citation-style-language.sty')
-rw-r--r--biblio/citation-style-language/citation-style-language.sty16
1 files changed, 15 insertions, 1 deletions
diff --git a/biblio/citation-style-language/citation-style-language.sty b/biblio/citation-style-language/citation-style-language.sty
index 0e97c76dd5..974b918c8d 100644
--- a/biblio/citation-style-language/citation-style-language.sty
+++ b/biblio/citation-style-language/citation-style-language.sty
@@ -9,7 +9,7 @@
\RequirePackage{expl3}
\RequirePackage{xparse}
-\ProvidesExplPackage {citation-style-language} {2023-04-12} {v0.4.1}
+\ProvidesExplPackage {citation-style-language} {2023-07-04} {0.4.2}
{Citation Style Language for LaTeX}
\RequirePackage { l3keys2e }
@@ -91,6 +91,13 @@
bib-entry-page-break .bool_set:N = \l__csl_bib_entry_page_break_bool ,
bib-item-sep .tl_set:N = \l__csl_bib_item_sep_tl ,
bib-hang .tl_set:N = \l__csl_bib_hang_tl ,
+ % The following keys are for easier interaction between LaTeX and
+ % citeproc-lua engine and they are not designed for end-users.
+ undefined-cites .code:n =
+ {
+ \clist_map_inline:nn {#1}
+ { \__csl_warn_citation_undefined:n {##1} }
+ } ,
}
\cs_new:Npn \__csl_set_back_ref:n #1
@@ -133,6 +140,13 @@
{ \tl_gset:Nn \g__csl_aux_bibstyle_tl {#1} }
+% Write to an empty `.ccf` file for use with latexmk
+\iow_new:N \l__csl_ccf_iow
+\iow_open:Nn \l__csl_ccf_iow { \c_sys_jobname_str .ccf }
+\iow_now:Nx \l__csl_ccf_iow { }
+\iow_close:N \l__csl_ccf_iow
+
+
% Load other modules
\input{citation-style-language-init.sty}
\input{citation-style-language-data.sty}