<commit_before>@import '../_common-stuff';
$RECIPE_NAME: "business-ethics";

/*==========================================================
  BUSINESS ETHICS CONFIG
==========================================================*/

/*==========================================================
  Notes
==========================================================*/
/*
/*
  Link to Learning note

  Contains a title "Link to Learning", a subtitle, and the note body.

  Markup: ./styleguide/page.note.link-to-learning.xhtml-baked.html

  Style guide: page.note.link-to-learning
*/
/*
  Cases from the Real World note

  Contains a title "Cases from the Real World", a subtitle, and the note body.

  Markup: ./styleguide/page.note.real-world.xhtml-baked.html

  Style guide: page.note.real-world
*/
/*
  What Would You Do note

  Contains a title "What Would You Do", a subtitle, and the note body.

  Markup: ./styleguide/page.note.what-would.xhtml-baked.html

  Style guide: page.note.what-would
*/
/*
  Ethics Across Time and Cultures note

  Contains a title "Ethics Across Time and Cultures", a subtitle, and the note body.

  Markup: ./styleguide/page.note.ethics-across.xhtml-baked.html

  Style guide: page.note.ethics-across
*/

$Config_Notes: (
    (className: 'link-to-learning',  moveSolutionTo: $AREA_NONE,  labelText: "Link to Learning"),
    (className: 'real-world',  moveSolutionTo: $AREA_NONE,  labelText: "Cases from the Real World"),
    (className: 'what-would',  moveSolutionTo: $AREA_NONE,  labelText: "What Would You Do?"),
    (className: 'ethics-across',  moveSolutionTo: $AREA_NONE,  labelText: "Ethics Across Time and Cultures"),
);

/*==========================================================
  EOC
==========================================================*/
/*
  Summary page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.section-summary.xhtml-baked.html

  Style guide: book.composite.section-summary
*/
/*
  Key Terms page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.key-terms.xhtml-baked.html

  Style guide: book.composite.key-terms
*/
/*
  Assessment Questions page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.assessment-questions.xhtml-baked.html

  Style guide: book.composite.assessment-questions
*/
/*
  Endnotes page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.references.xhtml-baked.html

  Style guide: book.composite.references
*/
/*
  Figure Credits page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.figure-credits.xhtml-baked.html

  Style guide: book.composite.figure-credits
*/
/*
  Case Study page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.case-study.xhtml-baked.html

  Style guide: book.composite.case-study
*/
$Config_ChapterCompositePages: (
  (className: "glossary",                clusterBy: $CLUSTER_NONE,      name: "Key Terms",  specialPageType: $PAGE_GLOSSARY, sortBy: "xhtml|dl > xhtml|dt",),
  (className: "section-summary",         clusterBy: $CLUSTER_SECTION,                      name: "Summary"),
  (className: "assessment-questions",    clusterBy: $CLUSTER_NONE,      name: "Assessment Questions", hasSolutions: true, moveSolutionsTo: $AREA_NONE,   numberAt: $NUMBER_BEFORE_MOVE,),
  (className: "references",              clusterBy: $CLUSTER_NONE,                         name: "Endnotes"),

  (className: "figure-credits",          clusterBy: $CLUSTER_NONE,                         name: "Figure Credits"),
  (className: "case-study",              clusterBy: $CLUSTER_NONE,                         name: "Case Study"),
);

/*
  Chapter Objectives note

  This is a Note that appears in the Introduction page of every chapter.

  Markup: ./styleguide/page.note.chapter-objectives.xhtml-baked.html

  Style guide: page.note.chapter-objectives
*/

$Config_PartType_Chapter:  (outlineTitle: 'Chapter Outline');

//Key "type" has the same value as "name", but it's needed because of internationalization.
// "name" has different value in books from other countries (see pl-u-physics), but we need value common for all books (see mixin "modify_addFirstElementClas")
$Config_BookCompositePages: (
  (className: "solution",     clusterBy: $CLUSTER_CHAPTER, compoundComposite: true, moveSolutionsTo: $AREA_EOB, type: "Answer Key", name: "Answer Key"),
  (className: "index",        clusterBy: $CLUSTER_NONE, specialPageType: $PAGE_INDEX, name: "Index"),
);

$Config_PartType_Exercise: (moveTo: $AREA_EOC, resetAt: $RESET_CHAPTER, numberAt: $NUMBER_BEFORE_MOVE, titleContent: $Config_exerciseTitleContent);

$Config_SetTableCaption : (captionType: $CAPTION_TABLE, defaultContainer: caption, hasCaption: true, hasTitle: true, hasTopTitle: true);

$Config_hasEndNotes: true;
$Config_hasCompositeAppendixes: true;

// for some reason this needs to be after $Config_BookCompositePages, especially if set to false (must be added here even if it's in the common file)
$Config_hasCompositeChapter: true;

$Config_Coverage_MayHaveIframes: true;

$Config_CustomFootnotes: (
  (resetSelector: '[data-type="chapter"], .appendix', counterName: footnotes, counterType: lower-roman),
);<commit_msg>config for intro body<commit_after>@import '../_common-stuff';
$RECIPE_NAME: "business-ethics";

/*==========================================================
  BUSINESS ETHICS CONFIG
==========================================================*/

/*==========================================================
  Notes
==========================================================*/
/*
/*
  Link to Learning note

  Contains a title "Link to Learning", a subtitle, and the note body.

  Markup: ./styleguide/page.note.link-to-learning.xhtml-baked.html

  Style guide: page.note.link-to-learning
*/
/*
  Cases from the Real World note

  Contains a title "Cases from the Real World", a subtitle, and the note body.

  Markup: ./styleguide/page.note.real-world.xhtml-baked.html

  Style guide: page.note.real-world
*/
/*
  What Would You Do note

  Contains a title "What Would You Do", a subtitle, and the note body.

  Markup: ./styleguide/page.note.what-would.xhtml-baked.html

  Style guide: page.note.what-would
*/
/*
  Ethics Across Time and Cultures note

  Contains a title "Ethics Across Time and Cultures", a subtitle, and the note body.

  Markup: ./styleguide/page.note.ethics-across.xhtml-baked.html

  Style guide: page.note.ethics-across
*/

$Config_Notes: (
    (className: 'link-to-learning',  moveSolutionTo: $AREA_NONE,  labelText: "Link to Learning"),
    (className: 'real-world',  moveSolutionTo: $AREA_NONE,  labelText: "Cases from the Real World"),
    (className: 'what-would',  moveSolutionTo: $AREA_NONE,  labelText: "What Would You Do?"),
    (className: 'ethics-across',  moveSolutionTo: $AREA_NONE,  labelText: "Ethics Across Time and Cultures"),
);

/*==========================================================
  EOC
==========================================================*/
/*
  Summary page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.section-summary.xhtml-baked.html

  Style guide: book.composite.section-summary
*/
/*
  Key Terms page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.key-terms.xhtml-baked.html

  Style guide: book.composite.key-terms
*/
/*
  Assessment Questions page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.assessment-questions.xhtml-baked.html

  Style guide: book.composite.assessment-questions
*/
/*
  Endnotes page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.references.xhtml-baked.html

  Style guide: book.composite.references
*/
/*
  Figure Credits page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.figure-credits.xhtml-baked.html

  Style guide: book.composite.figure-credits
*/
/*
  Case Study page

  These should be collated at the end of a chapter.

  Markup: ./styleguide/book.composite.case-study.xhtml-baked.html

  Style guide: book.composite.case-study
*/
$Config_ChapterCompositePages: (
  (className: "glossary",                clusterBy: $CLUSTER_NONE,      name: "Key Terms",  specialPageType: $PAGE_GLOSSARY, sortBy: "xhtml|dl > xhtml|dt",),
  (className: "section-summary",         clusterBy: $CLUSTER_SECTION,                      name: "Summary"),
  (className: "assessment-questions",    clusterBy: $CLUSTER_NONE,      name: "Assessment Questions", hasSolutions: true, moveSolutionsTo: $AREA_NONE,   numberAt: $NUMBER_BEFORE_MOVE,),
  (className: "references",              clusterBy: $CLUSTER_NONE,                         name: "Endnotes"),

  (className: "figure-credits",          clusterBy: $CLUSTER_NONE,                         name: "Figure Credits"),
  (className: "case-study",              clusterBy: $CLUSTER_NONE,                         name: "Case Study"),
);

/*
  Chapter Objectives note

  This is a Note that appears in the Introduction page of every chapter.

  Markup: ./styleguide/page.note.chapter-objectives.xhtml-baked.html

  Style guide: page.note.chapter-objectives
*/

$Config_PartType_Chapter:  (outlineTitle: 'Chapter Outline');

//Key "type" has the same value as "name", but it's needed because of internationalization.
// "name" has different value in books from other countries (see pl-u-physics), but we need value common for all books (see mixin "modify_addFirstElementClas")
$Config_BookCompositePages: (
  (className: "solution",     clusterBy: $CLUSTER_CHAPTER, compoundComposite: true, moveSolutionsTo: $AREA_EOB, type: "Answer Key", name: "Answer Key"),
  (className: "index",        clusterBy: $CLUSTER_NONE, specialPageType: $PAGE_INDEX, name: "Index"),
);

$Config_PartType_Exercise: (moveTo: $AREA_EOC, resetAt: $RESET_CHAPTER, numberAt: $NUMBER_BEFORE_MOVE, titleContent: $Config_exerciseTitleContent);

$Config_SetTableCaption : (captionType: $CAPTION_TABLE, defaultContainer: caption, hasCaption: true, hasTitle: true, hasTopTitle: true);

$Config_hasEndNotes: true;
$Config_hasCompositeAppendixes: true;

// for some reason this needs to be after $Config_BookCompositePages, especially if set to false (must be added here even if it's in the common file)
$Config_hasCompositeChapter: true;

$Config_Coverage_MayHaveIframes: true;

$Config_hasGroupedIntroBody: true;

$Config_CustomFootnotes: (
  (resetSelector: '[data-type="chapter"], .appendix', counterName: footnotes, counterType: lower-roman),
);
{'fraction_non_alphanumeric': 0.172720464332522, 'fraction_numerical': 0.0, 'mean_word_length': 4.0992840095465395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5989831', 'n_tokens_mistral': 3420, 'n_tokens_neox': 3193, 'n_words': 893}