0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00
Commit Graph

570 Commits

Author SHA1 Message Date
David Bolack
3c04d491e6 Merge branch 'master' into Pagella 2024-09-16 18:34:07 -05:00
David Bolack
41e08831c6 Update font format. 2024-09-16 18:30:59 -05:00
Trevor Buckner
398e6ef6f2 Slight rearranging 2024-09-16 16:53:55 -04:00
Víctor Losada Hernández
bb59f0bbae moving page sizes around 2024-09-16 22:38:58 +02:00
Víctor Losada Hernández
c50ffe0723 linting 2024-09-16 22:38:08 +02:00
Víctor Losada Hernández
9bb21ddd04 Merge branch 'more-style-snippets' of https://github.com/5e-Cleric/homebrewery into more-style-snippets 2024-09-16 22:20:54 +02:00
Víctor Losada Hernández
746cd34087 suggested changes 2024-09-16 22:20:51 +02:00
Víctor Losada Hernández
313727035b suggested changes 2024-09-16 22:18:13 +02:00
Trevor Buckner
1a8611c528 Merge branch 'master' into more-style-snippets 2024-09-16 16:07:47 -04:00
Trevor Buckner
a866b45c55 Merge branch 'master' into GlobalToCToggles 2024-09-16 09:45:35 -04:00
Trevor Buckner
63675a46e0 Lint more things 2024-09-16 01:42:21 -04:00
David Bolack
3ad0755c36 Correct ToC Global toggles subsnippets
The snippets incorrectedly reflected their previous incarnation as part of the Styles tab menus.
2024-09-15 18:33:14 -05:00
David Bolack
1b0fd6bb33 Add Pagella face to Blank Template.
Pagella is a TeX update of the URW Palladio L face that is a good substitute for the commonly used Book Antiqua and Palatino faces.

    https://en.wikipedia.org/wiki/Palatino#:~:text=The%20first%20legal%20free%20version,on%20URW%20Palladio%20L%20font.
2024-09-10 20:52:19 -05:00
David Bolack
84d237e792 Revert "Add Pagella face to Blank Template."
This reverts commit 7d298565f9.
2024-09-10 20:50:47 -05:00
David Bolack
7d298565f9 Add Pagella face to Blank Template.
Pagella is a TeX update of the URW Palladio L face that is a good substitute for the commonly used Book Antiqua and Palatino faces.

https://en.wikipedia.org/wiki/Palatino#:~:text=The%20first%20legal%20free%20version,on%20URW%20Palladio%20L%20font.
2024-09-10 20:44:42 -05:00
David Bolack
7c59f56fb2 Explode tocInclude and tocExclude snippet menus to match tocGlobal and tocDepth pattern. 2024-09-10 20:22:50 -05:00
David Bolack
bc6b4e3bfc Move ToC Includes Menu from styles to Table of Contents subsnippet
Create additional subsnippets for .tocInclude*, .tocExclude*, and move the existing depth entries to a subsnippet.
2024-09-10 14:18:36 -05:00
David Bolack
5a2e071879 Merge branch 'master' into GlobalToCToggles 2024-09-10 14:12:04 -05:00
David Bolack
59f27197f6 A few small cleanups for ToC
Explicitly define --TOC as included in :root so there is no doubt the default value.
Rearrange Block ToC inclusion classes for organization and comments

Add block level, single Header class exclusion convienance classes.
2024-09-10 13:34:47 -05:00
David Bolack
f8d170be87 Document level toggles need to look at pages, not page. 2024-09-10 12:15:12 -05:00
David Bolack
ed376f3154 Oy, what a typo. 2024-09-10 11:25:06 -05:00
David Bolack
930974f66d Merge branch 'GlobalToCToggles' of github.com:dbolack-ab/homebrewery into GlobalToCToggles 2024-09-10 11:11:12 -05:00
Víctor Losada Hernández
9f4cf60cda Merge branch 'master' into more-style-snippets 2024-09-10 08:05:36 +02:00
Trevor Buckner
5c906ee722 Logic rewrite
Realized we don't need to build a whole descendency tree of all the headers. We can just track the current indendation level and what headers are at each indent. This removes about 1/4 of the code, and lets us put all of the exit conditions (no title, no showPage, ToCExclude) in one place to easily see what is being excluded and what not.
2024-09-09 23:16:56 -04:00
David Bolack
3629292ebb Remove 2024-09-09 17:09:24 -05:00
Trevor Buckner
2284f15876 Update tableOfContents.gen.js 2024-09-09 11:11:40 -04:00
Trevor Buckner
bfcb904ab7 Merge branch 'master' into skipCountingSnippet 2024-09-09 11:10:47 -04:00
David Bolack
3b4dd7dd61 Merge branch 'actualPageNumber' of github.com:dbolack-ab/homebrewery into actualPageNumber 2024-09-08 15:27:43 -05:00
David Bolack
4bc957159d Move a couple of variables back out of the global space because that was bad. 2024-09-08 15:23:03 -05:00
Trevor Buckner
7881d4b4a2 Small logic cleanup and renaming 2024-09-08 16:22:58 -04:00
David Bolack
be70b9e67d Regroup page numbering snippets, update icons 2024-09-07 20:50:18 -05:00
David Bolack
758c2799a1 That was the wrong way. Lets try this ugly fix. 2024-09-07 20:40:29 -05:00
David Bolack
b0dffc6df1 Drop empty entries 2024-09-07 20:35:43 -05:00
David Bolack
6ea724bb16 Start skipping .skipCount in ToC 2024-09-07 20:30:16 -05:00
David Bolack
b58688bd62 Stop comparing lengths, dude. 2024-09-07 20:19:56 -05:00
David Bolack
0f8461ced6 Not a collection. 2024-09-07 20:16:16 -05:00
David Bolack
3b0028da69 Move some of thos variables back. 2024-09-07 20:12:05 -05:00
David Bolack
049b64cd41 Remove unneeded variable 2024-09-07 19:54:52 -05:00
David Bolack
dcc7a22272 First pass at code fixes.
Move functions out of function
Use querySelector instead of querySelectorAll
Flip skip and reset counter order.
2024-09-07 19:47:16 -05:00
Trevor Buckner
f0a8bf379a Fix non-uniform spacing/indenting 2024-09-06 16:43:44 -04:00
David Bolack
2a366c3053 Update ToC Style snippets for better specificity 2024-08-29 17:51:59 -05:00
David Bolack
de8bd67e07 Add toggles for global Toc changes. 2024-08-29 17:44:45 -05:00
Víctor Losada Hernández
dcfc510ce8 more page sizes + more background options 2024-08-30 00:22:47 +02:00
David Bolack
03f8fc83ee Add snippets for page Numbering updates
Adds options to add skipCounting and ResetCounting classes
2024-08-28 21:33:32 -05:00
David Bolack
089dcb942b Merge branch 'master' into actualPageNumber 2024-08-28 21:23:22 -05:00
Víctor Losada Hernández
5e69718f4f Merge branch 'master' into imageWrappin 2024-08-23 23:30:37 +02:00
Trevor Buckner
dc7d877e6f Add snippets and icons 2024-08-22 16:35:48 -04:00
Trevor Buckner
8dea2ca9fb wrapLeft and wrapRight classes to automatically apply wrapping 2024-08-22 12:47:26 -04:00
G.Ambatte
8a8cd3fb18 Change order of operations in mask img transform 2024-08-17 10:54:02 +12:00
David Bolack
51f758bf47 Rework page counters for skipping and resets.
Solves #513

This adds the .skipCounting and .resetCounting classes for causing
a page number to not be incremented or to reset the number at 1.

The ToC Snippet is corrected to match the displayed page numbers
while correctly tracking the page ids.
2024-08-15 17:15:49 -05:00