% Copyright 2026 Open-Guji (https://github.com/open-guji)
%
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
%
%     http://www.apache.org/licenses/LICENSE-2.0
%
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.

% luatex-cn-vbook-default.cfg
% Configuration for cn-vbook (Simplified Chinese / Mainland punctuation)
% Modern vertical book layout with mainland-style punctuation
%
% This file includes the common vbook configuration and adds
% Simplified Chinese specific settings.

% Include common vbook settings (page geometry, content layout, titles)
\InputIfFileExists{configs/luatex-cn-vbook-common.cfg}{}{
  \PackageWarning{ltc-cn-vbook}{Common config~luatex-cn-vbook-common.cfg~not~found}
}

% Mainland Chinese punctuation style.
% squeeze-mode=context: clreq 上下文相关的标点宽度调整（仅相邻标点 /
% 行首行尾收回字面空白）。ltc-guji 保持 legacy 无条件挤压不变——
% 分档依据见 docs/CLREQ-GAP-ANALYSIS.md 风险 R5。
\punctSetup{punct-style=mainland, squeeze-mode=context}

% 着重号 (clreq 5.3.1)：实心圆点、标点上不加。ltc-guji 保持古籍圈点
% 体例（空心 ○、标点也圈）不变——分档依据同上。
\着重号设置{char=●, skip-punct=true}

% Footnote configuration in lujiao (陆角) style for modern layout
\脚注设置{number-style=lujiao, indent=2, spacing=0.5em}
