Commit Graph

87 Commits

Author SHA1 Message Date
Cedric
240d6f4591 Fix epub MWE building on Github CI
does not build the epub on my machine but that can be sorted later.
2023-11-25 17:17:57 +00:00
Cedric
fd9924a7c4 Merge branch 'main' into 225-ebook-situation 2023-11-24 14:57:35 +00:00
Cedric
737debe123 Revert "Revert "Fix giberrish website timeline""
This reverts commit b559d72781.

This should prevent the build from breaking eveb if it does not fix
anything..
2023-11-19 13:39:57 +00:00
Cedric
b559d72781 Revert "Fix giberrish website timeline"
This reverts commit 2f3b8ec89b.

makes things worst...
2023-11-18 21:43:29 +00:00
Cedric
2f3b8ec89b Fix giberrish website timeline
Solves https://github.com/hendricius/the-sourdough-framework/issues/279
by removing dvisvgm_hashes
2023-11-18 20:51:02 +00:00
Ced
0dd9c69c2c Add dvisvgm version info 2023-11-15 14:39:39 +00:00
Ced
ae7e518106 Merge branch 'main' into 225-ebook-situation 2023-11-08 13:12:21 +00:00
Ced
c774409759 Factorize epub format
We only build that right now so let's put in main macro
2023-11-02 09:31:08 +00:00
Ced
d495757e15 Stop on first error in quick target
This is only useful when debugging so makes sense not to wait for the
entire compilation.

so support for epub though would require to change the config file with
Make:htlatex { latex_par="-halt-on-error"}
2023-11-02 09:28:28 +00:00
Ced
ec254e80e0 Fix the MIME type for BW ebook
last fix only fixed the xml container not the MIME type :(
2023-11-01 15:39:59 +00:00
Ced
a1eec0d84f Clean up makefile after BW ebook
Accumulated some debts through panic debug as CI was broken... Nothing
dramatic but could do with a bit of cleanup.

Simplify dependency graph, might also make the whole thing faster when
run in parallel
2023-11-01 15:39:50 +00:00
Ced
14abcdcbf0 Ensure copy happened before BW conversion
as we have subdirs...
2023-10-30 15:23:59 +00:00
Ced
6532f8d5f7 Ensure dir is created before image BW conversion
Now that parallel build is enabled
2023-10-30 14:58:09 +00:00
cedounet
1ce9802689 Makefile tools version (#266)
* Fix details on tools version display in makefile

- Show OS version
- Use macro instead of harcoded tool for convert.
2023-10-29 17:26:33 +00:00
Ced
2a6149520c Fix BW epub not opening in apple books
The mime-type was not correct
2023-10-27 17:19:36 +01:00
Ced
e3a04ca337 Merge remote-tracking branch 'upstream/main' into 225-ebook-situation 2023-10-26 09:15:22 +01:00
Hendrik Kleinwaechter
187fc1d0fc Glossary (#258)
* Glossary

This adds a glossary with common terms to the book

* Apply ordering changes

* Add PR feedback

* Move to backmatter
2023-10-22 20:18:11 +02:00
Ced
5cd2b6862f Merge branch 'main' into 225-ebook-situation 2023-10-13 14:17:27 +01:00
Ced
ec6f9b335d Merge branch 'main' into 225-ebook-situation 2023-10-11 09:40:47 +01:00
Ced
8efb48fa51 Add missing pic dependencies
The pictures inside sub-directories were not tracked as dependencies.
2023-10-09 18:47:41 +01:00
Ced
3e7815f3c4 Add Black and white epub to release 2023-10-09 18:26:05 +01:00
Ced
c34d635495 Simplify directory creation rules 2023-10-09 18:22:33 +01:00
Ced
9d0a43c58a Improve monochrome ebook generation in makefile
- Each picture is done independently
- Some comments
- Factor out commands
- Add the tools version
2023-10-09 17:48:03 +01:00
Ced
6176d8fd7b Implement proof of concept BW ebook in makefile
Dependencies are not great but shows the idea
- Resize images
- Reduce quality
- Convert to Black and white

Result:
    57M  book.epub
    17M  bw_book.epub
2023-10-08 18:58:26 +01:00
Ced
62ee9cd9e4 Simplify and fix spelling mistakes in makefile
- Factorize PHONY targets
- Add comments
2023-10-08 18:09:52 +01:00
Ced
a53698de97 Rename makefile ebook targets
serif made no sense any more.  Prepare for the black_white version.
2023-10-07 17:29:58 +01:00
Ced
9c7e75b104 Merge branch 'main' into 225-ebook-situation 2023-10-04 09:49:03 +01:00
Ced
bdae960144 Add latexmk diagnostic in debug mode 2023-10-03 23:52:27 +01:00
Ced
1eb305a3fe Add shell version to the show_version_target 2023-10-03 23:51:22 +01:00
Ced
97f3a044c2 Enforce bash as shell in makefile
Was not the case on my debian machine for some reason...
2023-10-03 23:51:22 +01:00
Ced
a31d4c5e70 Merge branch 'main' into 225-ebook-situation 2023-09-28 09:39:43 +01:00
cedounet
335c5eb86b Remove azw3 (#243)
* Remove azw3 and mobi ebook format from build

they take a lot of time and are being deprecated on main branch.

* Remove kindlegen from tools version
2023-09-27 16:13:22 +02:00
cedounet
916fab0038 Remove azw3 and mobi ebook format from build (#242)
they take a lot of time and are being deprecated on main branch.
2023-09-26 15:30:38 +02:00
Ced
a4235fd028 Merge branch 'main' into 225-ebook-situation 2023-09-17 15:51:36 +01:00
Ced
31b4f12ae6 Fix bug in makefile clean command 2023-09-17 14:53:36 +01:00
Ced
b8c080d17f Remove azw3 and mobi ebook format from build
they take a lot of time and are being deprecated on main branch.
2023-09-16 11:35:59 +01:00
Ced
f104287988 Merge branch 'main' into 225-ebook-situation 2023-09-15 10:41:35 +01:00
cedounet
e6cccde72a Makefile cleanup (#231)
* Add missing pic dependency on quick_ebook target

* Shorten Makefile clean rules

Less line mostly, should make it easier to read... and some wins from
not building sans-serif ebook anymore

* Simplify make help documentation

Was a bit tangled between ebook/ebook_serif/... should be clearer now.
2023-09-15 11:38:56 +02:00
Ced
c73e297585 Make ebook the default again 2023-09-15 09:54:28 +01:00
Ced
2c78aeb92d Merge branch 'main' into 225-ebook-situation 2023-09-15 09:50:43 +01:00
cedounet
b403440c04 Remove sans serif ebook from makefile (#228)
* Add missing pic dependency on quick_ebook target

* Remove sans-serif ebooks from the build

* Remove sans-serif ebook from website and README

As per https://github.com/hendricius/the-sourdough-framework/issues/225
point 2.  The reader program will allow to change the font, no point
building it twice.

* Remove sans_serif mk4 file
2023-09-15 08:37:52 +02:00
cedounet
9104ee0642 Default target (#226)
* Add missing pic dependency on quick_ebook target

* Fix default target in makefile

The previous version was just lucky enough to be the first target not
starting with a .
2023-09-14 09:07:36 +02:00
cedounet
a1b661e8fb Add missing pic dependency on quick_ebook target (#224) 2023-09-12 07:25:53 +02:00
Ced
c85cc7caaa Make ebook the default target 2023-09-11 13:31:30 +01:00
cedounet
580dab372b Quick targets (#221)
* Add quick targets in makefile

You can now runs luaLaTex or tex4ebook only once... should help run
faster while editing text/LaTeX macros

* Adds documentation for quick targets
2023-09-08 11:35:13 +02:00
cedounet
babfc618c2 Makefile updates (#205)
* Add synctex to makefile

Allows back and forthe between pdf reader adn your editor (shall they
support it)

* Add ruby and git head in show_version
2023-08-31 11:11:30 +02:00
cedounet
5574cb230c Mixins chapter (#203)
* Move mix-ins to its own chapter

I don't think it belongs to wheat one which is already packed,
Schwarzbort for once is usually with seeds added.

Once we have more pics it will be even more cramped in the wheat
chapter.

* Fix TeXnicalilities in mix-ins chapter

looooong lines, no use of sinunitx, abbreviations, etc..

* Fix typo

* Update book/book.tex

---------

Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-28 17:05:08 +02:00
cedounet
4f831be677 Makefile add missing dependencies (#199)
* Add intro to history chapter

* Improve paragraph breakdown

Hopefully slightly less dense to read.

* Add missing dependencies for Images
2023-08-27 11:01:22 +02:00
cedounet
35916c15f7 Add a flowchart environnement and its listof (#188)
* Add a flowchart environnement and its listof

So we can more easily access those flowcharts from pdf and website,
rather than looking in the crowded list of figures.

* Update book/troubleshooting/misc.tex

* Temporarily remove list of flow charts from web version

* Update clean target to deal with listofcharts

* Silent KOMA warnings (#190)

No functional change, but less warnings will help to read the logs.
Good idea anyway to use the key/value scheme

Co-authored-by: Cedric <ced@awase.ostal>

* Fix front-page for one sided printing (#189)

As it is manually placed, is prone to break on evry change of the page
geometry...  This one looks good though in today's conditions.

Co-authored-by: Cedric <ced@awase.ostal>

* Enable micro-typographical improvements (#191)

Few people will notice but this actually brings loads of improvements to
line breaking, handing punctuations etc.

* Revert "Temporarily remove list of flow charts from web version"

This reverts commit 9611b250d2.

* Implement listofflowchart for tex4ht

as per michal suggestion:
https://github.com/michal-h21/tex4ebook/issues/114#issuecomment-1688543095

---------

Co-authored-by: Cedric <ced@awase.ostal>
Co-authored-by: Hendrik Kleinwaechter <hendrik.kleinwaechter@gmail.com>
2023-08-24 09:30:38 +02:00
Hendrik Kleinwaechter
a8dc6dc210 Change flowchart color (#185)
* Change BG color to white

* Fix flowcharts where graphics overlap with text

* Increase border size

* change arrow style

* Allow standalone building of TikZ flowcharts

Useful for reference or website etc..

* Prevent manual hyphenation in TikZ diagrams

A Bit of a manual tweak.. but worth it to look nicer :D

* Add missing file for flowcharts

---------

Co-authored-by: Cedric <ced@awase.ostal>
2023-08-19 16:35:02 +02:00