<commit_before>\documentclass[11pt,a4paper]{scrbook}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{float}
\usepackage[no-math]{fontspec}
\input{template/fontssetting.tex}
\usepackage{zhspacing}
\zhspacing
\usepackage{hyperref}
\hypersetup{linktoc=all}
\raggedbottom
\RedeclareSectionCommands[tocnumwidth=3em]{chapter}
\date{}<commit_msg>add option for generating kindle-friendly format<commit_after>\documentclass[10pt]{scrbook}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\usepackage[a4paper, top=1in, bottom=1in, left=1in, right=1in]{geometry}
%settings for Kindle friendly size
%\usepackage[papersize={3.6in,4.8in},hmargin=0.1in,vmargin={0.1in,0.1in}]{geometry}
\usepackage{float}
\usepackage[no-math]{fontspec}
\input{template/fontssetting.tex}
\usepackage{zhspacing}
\zhspacing
\usepackage{hyperref}
\hypersetup{linktoc=all}
\raggedbottom
\RedeclareSectionCommands[tocnumwidth=3em]{chapter}
\date{}
{'fraction_non_alphanumeric': 0.14271938283510124, 'fraction_numerical': 0.03278688524590164, 'mean_word_length': 9.176470588235293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2315631', 'n_tokens_mistral': 421, 'n_tokens_neox': 380, 'n_words': 57}