summaryrefslogtreecommitdiff
path: root/spec/toc_spec.rb
AgeCommit message (Expand)Author
2022-10-30switch from EOS to END as heredoc delimiterDan Allen
2022-10-22port fix for #2354 fix crash if last fragment in TOC entry is not renderedDan Allen
2022-08-30remove debug flag from test suiteDan Allen
2022-08-30don't include children of section with empty title in TOCDan Allen
2022-07-19remove use of build_pdf_theme except where neededDan Allen
2022-06-21resolves #1768 allow theme to control page break after automatic TOC in artic...Dan Allen
2022-06-15use get_entries_for_toc to determine if the TOC is non-empty rather than Docu...Dan Allen
2022-06-15verify toc is not inserted at default location if document has no sectionsDan Allen
2022-05-26resolves #2210 do not filter TOC entries without an ID when computing TOC ext...Dan Allen
2022-05-25resolves #2208 fix calculation of TOC extent when entries have children but n...Dan Allen
2022-05-07fix formatting of source code in toc testDan Allen
2022-05-03resolves #2128 make allocate_toc method reusable (PR #2129)Dan Allen
2022-05-02resolves #2097 allow extended converter to insert or filter toc entries by ov...Dan Allen
2022-04-30change inscribe_ method prefix in converter to ink_ (PR #2113)Dan Allen
2022-04-29should allow inscribe_toc method in extended converter to insert page above T...Dan Allen
2022-04-28resolves #2095 separate align and text-align keys in theme schema and update ...Dan Allen
2022-04-18don't crash if theme does not define toc_indent keyDan Allen
2022-04-17resolves #1988 respect nonfacing option on first block in document (PR #2046)Dan Allen
2022-04-13add tests for toc_margin_top key in themeDan Allen
2022-04-05resolves #2003 compute extent of content in scratch document to arrange conte...Dan Allen
2022-03-12fix typo in test description [skip ci]Dan Allen
2021-02-25don't crash when generating TOC if section title is emptyDan Allen
2020-11-27add toc-title-align theme key to test caseDan Allen
2020-10-17fix lint violationDan Allen
2020-10-17verify fallback value is used to align toc title if not set in themeDan Allen
2020-09-29upgrade rubocop and update code to honor new rulesDan Allen
2020-09-22only insert macro toc at location of first toc macroDan Allen
2020-08-31add missing test case for facing toc in prepress bookDan Allen
2020-08-30fix assertionDan Allen
2020-08-30allow theme to control font size of dot leader in TOCDan Allen
2020-08-25consistently use "be" matcher to assert page numberDan Allen
2020-08-19resolves #1752 render image at end of section title in corresponding toc entr...Dan Allen
2020-07-14verify theme can configure font style of dot leader in tocDan Allen
2020-07-14use and enforce a consistent style for comment annotationsDan Allen
2020-07-11verify that no dots are added in TOC entry if number resolves to < 0Dan Allen
2020-07-06add test to verify text decoration can be set per heading level in tocDan Allen
2020-07-03add support for preamble toc placementDan Allen
2020-07-03verify toc is not inserted at macro if only toc-placement attribute is setDan Allen
2020-06-27verify toc macro is skipped if value of toc attribute is macroDan Allen
2020-06-20verify toc is not moved to recto page of prepress book when nonfacing option ...Dan Allen
2020-06-20verify macro toc starts on recto page of book when media is prepressDan Allen
2020-06-20verify new page isn't started for macro toc if already at top of pageDan Allen
2020-06-13fix assertionDan Allen
2020-06-13verify font color of dot leader is inherited if not specifiedDan Allen
2020-06-12verify manual toc is not inserted if document has no sectionsDan Allen
2020-05-18add test for enabling toc dot leader per section levelDan Allen
2020-05-16verify theme can enable toc dot leader for specific section levelDan Allen
2020-05-16verify toc dot leader can be disabled by setting level to noneDan Allen
2020-05-16verify toc dot leader can be disabled by setting content to empty stringDan Allen
2020-05-16assert behavior when toclevels is less than 0Dan Allen