Aliaksei Chapyzhenka
Aliaksei Chapyzhenka
### Need Specific page margin for fist / left / right pages on print. ### Solution Works in chrome: ```css @page :left { margin: 1in 2in 1in 1in; } @page...
https://www.pagedjs.org/
if markdown input provided. Markdown parser: https://marked.js.org
### Need * [header](https://en.wikipedia.org/wiki/Page_header) & [footer](https://en.wikipedia.org/wiki/Page_footer) with HTML, CSS, SVG content. * unique per page ### Solutions * JS
### Need to control page brakes ### Solutions * CSS: * https://developer.mozilla.org/en-US/docs/Web/CSS/break-before * https://developer.mozilla.org/en-US/docs/Web/CSS/@media * https://developer.mozilla.org/en-US/docs/Web/CSS/@page * JS: * declarative [LaTeX](http://www.personal.ceu.hu/tex/breaking.htm) * Programmatic via the rules? [How To Set Up...
### Need [Page numbering](https://en.wikipedia.org/wiki/Page_numbering)  * calculate page number for every referenceable resource (chapter, table,...) * add page numbers into footer / header #5 * update references to specific...
Table of Contents, TOC, Contents. ### Need Automatically generated [table of contents](https://en.wikipedia.org/wiki/Table_of_contents). [Leaders](https://en.wikipedia.org/wiki/Leader_(typography)):  ### Solutions JS, collecting structure of the document and generating the TOC automatically. https://css-tricks.com/automatic-table-of-contents/ ###...
### Need Automatic chapter, section, table, figure,... numbering ### Standards [ISO 2145](https://en.wikipedia.org/wiki/ISO_2145) ### Solutions JS