*! version 2.7 02May2026

Title

bmc -- Automatically Generate Chapter Configuration Text Files for Academic Monograph

Syntax

bmc
[, options]

Main
chapter(#) Specify chapter number (must be a positive integer)

title(string) Specify chapter title

language(string) Specify configuration file language

logo(string) Specify institution logo filename (without extension)

monograph(string) Specify academic monograph title

Length Control
length(#) Specify chapter text length (word count)

caselength(#) Specify mini case text length (word count)

slide(#) Specify number of slides to generate

Output
save(string) Specify save path for configuration file

date(string) Specify date used in the file

author(string) Specify author name

replace Overwrite existing file with the same name

chapter() option must be specified. If title() is not provided, the program will prompt the user for input.

language() supports "Chinese", "中文", "English", "英文". language() can be abbreviated as lang().

logo() specifies the base name of the logo file (e.g., "ahut" for ahut.jpg).

monograph() can be abbreviated as mono() or m().

caselength() can be abbreviated as case().

slide() can be abbreviated as slides() or s().

replace can be abbreviated as r.

Description

The bmc command is used to automatically generate configuration text files for each chapter of academic monographs. Based on user-input chapter information, the command generates standardized bmc#.txt files containing detailed instructions for seven tasks including chapter content development, LaTeX document generation, teaching plan creation, slide design, and case study writing.

The generated configuration files follow a standard format and can be used for automated document generation workflows. This is particularly useful for academic writing projects that require batch processing of multiple chapters. The version 2.7 adds a monograph() option to customize the academic monograph title, allowing users to generate configuration files for different monograph projects.

Version history:

v2.7 (02May2026): Added monograph() option for monograph title customization

v2.6 (18Jan2026): Added slide() option with default value 10

v2.5 (15Jan2026): Added caselength() option with default value 1000

v2.0 (10Jan2026): Full bilingual support with language() option

v1.0 (05Jan2026): Initial release

Options

Main

chapter(#) specifies the chapter number for which to generate the configuration file. Must be a positive integer, e.g., 8 for Chapter 8.

title(string) specifies the chapter title. If this option is not provided, the program will interactively prompt the user for input. The title should concisely reflect the chapter content.

language(string) specifies the output language for the configuration file. Valid values are: "Chinese", "中文" (default), "English", "英文". When English is selected, all prompt text in the configuration file will be in English.

logo(string) specifies the base name of the institution logo file (without extension). For example, "ahut" for ahut.jpg, ahut.pdf, or ahut.png files. The default value is "ahut". This logo will be referenced in LaTeX documents generated from the configuration.

monograph(string) specifies the title of the academic monograph. This allows users to generate configuration files for different monograph projects. The default value is "智能会计：理论、工具与应用" (Intelligent Accounting: Theory, Tools and Applications). This option can be abbreviated as mono() or m().

Length Control

length(#) specifies the total length (word count) of the chapter text. Must be a positive integer, default value is 8000. This value will appear in the configuration file's length control instructions.

caselength(#) specifies the total length (word count) of the mini case study text. Must be a positive integer, default value is 1000. This value will appear in item 6 of the configuration file. This option can be abbreviated as case().

slide(#) specifies the number of slides to generate for the presentation. Must be a positive integer, default value is 10. This value determines the slide count specified in item 5 of the configuration file. This option can be abbreviated as slides() or s().

Output

save(string) specifies the save path for the generated bmc#.txt file. Supports Windows path format. If the path does not end with a backslash, the program will automatically add one.

date(string) specifies the date information to use in the configuration file. The recommended format is "DDMonYYYY" (e.g., 18Jan2026). If not specified, defaults to "18Jan2026".

author(string) specifies the author name. If not specified, defaults to "Prof. Wu Lianghai". This information will appear in the author field of the configuration file.

replace overwrites an existing file with the same name. If the target file already exists and this option is not specified, the program will report an error and terminate. This option can be abbreviated as r.

Examples

Basic example with default monograph title

. bmc, chapter(8) title("Intelligent Financial Reporting and Analysis")

Specify custom monograph title

. bmc, chapter(9) title("Application of RPA in Financial Process Automation") monograph("Advanced Accounting Information Systems") language(English)

Using mono() abbreviation

. bmc, chapter(10) title("Artificial Intelligence in Auditing") mono("Digital Transformation in Accounting")

Complete example with monograph customization

. bmc, chapter(11) title("Blockchain and Accounting Information Systems") monograph("Emerging Technologies in Accounting") length(8500) caselength(2000) slide(12) logo(mit) author("Prof. John Smith") language(English) replace

Different monographs for different projects

. bmc, chapter(1) title("Introduction") monograph("Financial Data Analytics") length(5000) slide(8)

. bmc, chapter(2) title("Data Preprocessing") monograph("Financial Data Analytics") length(6000) slide(12)

. bmc, chapter(1) title("Overview") monograph("RPA in Finance and Accounting") length(4500) slide(10)

Interactive title input with custom monograph

. bmc, chapter(14) save("D:\Smart Accounting\Project Files") monograph("智能财务分析与决策") language(Chinese) slide(25)

The program will prompt: 请输入第14章标题（例如：智能财务报告与分析）：

Complete parameter example with custom monograph

. bmc, chapter(15) title("Ethical Considerations in AI Accounting") monograph("AI Ethics in Accounting and Finance") save("F:\Academic Monograph\Smart Accounting\Chapter Configurations") date("30Jan2026") length(9500) caselength(3000) slide(15) author("Prof. Wang Wu") language(Chinese) logo(fudan) replace

Using m() abbreviation for monograph

. bmc, chapter(16) title("Introduction to Smart Accounting") m("智能会计导论") slide(8)

. bmc, chapter(17) title("Advanced Data Mining Techniques") m("大数据与会计分析") slide(25)

. bmc, chapter(18) title("Case Study: Implementation of RPA") m("财务机器人应用案例") slide(12)

Stored results

bmc does not store results in r(). All output is directly written to the specified text file, and generation information is displayed in the Stata results window.

References

Wu, Lianghai. 2026. Intelligent Accounting: Theory, Tools and Applications. Beijing: Higher Education Press.

Intelligent Accounting Research Team. 2026. "Transformation and Development of Accounting Education in the Intelligent Era." Accounting Research 42(1): 15-28.

Smith, J., & Wu, L. 2026. "Intelligent Process Automation in Accounting: A Case Study of RPA Implementation." Journal of Accounting Information Systems 18(3): 45-62.

Authors

Wu Lianghai (First Author)

School of Business, Anhui University of Technology (AHUT)

Ma'anshan, China

Wu Hanyan (Second Author)

School of Economics and Management, Nanjing University of Aeronautics and Astronautics (NUAA)

Nanjing, China

Hu Fangfang (Third Author)

School of Finance and Economics, Wanjiang University of Technology (WJUT)

Ma'anshan, China

Technical Support: Intelligent Accounting Laboratory, Anhui University of Technology

Last Updated: 02 May 2026

Also see

Manual: [P] file

Online: For questions or suggestions, please contact the first author