From e9f267fd4c8414d6146c5fee0dbe459613dd0f3b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 4 Apr 2023 03:01:33 +0000 Subject: CTAN sync 202304040301 --- biblio/citation-style-language/citeproc-node-layout.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'biblio/citation-style-language/citeproc-node-layout.lua') diff --git a/biblio/citation-style-language/citeproc-node-layout.lua b/biblio/citation-style-language/citeproc-node-layout.lua index 168f923b08..4996ddd9f2 100644 --- a/biblio/citation-style-language/citeproc-node-layout.lua +++ b/biblio/citation-style-language/citeproc-node-layout.lua @@ -1,5 +1,5 @@ -- --- Copyright (c) 2021-2022 Zeping Lee +-- Copyright (c) 2021-2023 Zeping Lee -- Released under the MIT license. -- Repository: https://github.com/zepinglee/citeproc-lua -- @@ -11,6 +11,7 @@ local SeqIr = require("citeproc-ir-node").SeqIr local util = require("citeproc-util") +---@class Layout: Element local Layout = Element:derive("layout") function Layout:from_node(node) @@ -19,6 +20,9 @@ function Layout:from_node(node) o:set_formatting_attributes(node) o:get_delimiter_attribute(node) + -- CSL-M: layout + o:set_attribute(node, "locale") + o:process_children_nodes(node) return o -- cgit v1.2.3