mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 13:11:13 -06:00
Merge remote-tracking branch 'hendiricus/main'
This commit is contained in:
@@ -7,3 +7,12 @@
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
.float {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
.float img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
height: auto;
|
||||||
|
object-fit: contain;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|||||||
@@ -346,7 +346,7 @@ A good trick to make excellent loaf pan bread is to make a very
|
|||||||
sticky dough. You can opt for a hydration of \qtyrange{90}{100}{\percent}, almost
|
sticky dough. You can opt for a hydration of \qtyrange{90}{100}{\percent}, almost
|
||||||
resembling a default sourdough starter. Just like with flatbread,
|
resembling a default sourdough starter. Just like with flatbread,
|
||||||
the high humidity helps to make a more airy, fluffy crumb. The bread will
|
the high humidity helps to make a more airy, fluffy crumb. The bread will
|
||||||
also be a bit chewier. This type of bread made with rye ismy family's favorite
|
also be a bit chewier. This type of bread made with rye is my family's favorite
|
||||||
style of bread. The hearty rye flavor paired with the sticky consistency really
|
style of bread. The hearty rye flavor paired with the sticky consistency really
|
||||||
makes an excellent sandwich bread.
|
makes an excellent sandwich bread.
|
||||||
|
|
||||||
|
|||||||
@@ -49,9 +49,11 @@ images += $(foreach directory, $(chapters), $(wildcard $(directory)/*/*.png))
|
|||||||
# images to lower resolution and greyscale
|
# images to lower resolution and greyscale
|
||||||
bw_images := $(addprefix bw-book-epub/OEBPS/, $(images))
|
bw_images := $(addprefix bw-book-epub/OEBPS/, $(images))
|
||||||
|
|
||||||
src_all := $(src_tex) $(src_figures) $(src_tables) tex4ebook.cfg book.mk4 $(images)
|
src_all := $(src_tex) $(src_figures) $(src_tables) $(images)
|
||||||
|
|
||||||
website_src := $(src_all) website.cfg
|
ebook_src := $(src_all) tex4ebook.cfg book.mk4 book-ebook.css
|
||||||
|
|
||||||
|
website_src := $(src_all) website.cfg style.css
|
||||||
|
|
||||||
website_assets := $(wildcard ../website/assets/*)
|
website_assets := $(wildcard ../website/assets/*)
|
||||||
ruby_src := ../website/modify_build.rb $(website_assets)
|
ruby_src := ../website/modify_build.rb $(website_assets)
|
||||||
@@ -89,7 +91,7 @@ book_sans_serif/book_sans_serif.pdf: $(src_all)
|
|||||||
|
|
||||||
.PHONY: copy_ebook_files
|
.PHONY: copy_ebook_files
|
||||||
|
|
||||||
epub/%.epub: %.tex $(src_all) cover/cover-page.xbb
|
epub/%.epub: %.tex $(ebook_src) cover/cover-page.xbb
|
||||||
$(EBOOK) $<
|
$(EBOOK) $<
|
||||||
|
|
||||||
copy_ebook_files: build_ebook
|
copy_ebook_files: build_ebook
|
||||||
|
|||||||
@@ -649,7 +649,7 @@ class ModifyBuild
|
|||||||
# For some reason some of the links are broken in the conversion process.
|
# For some reason some of the links are broken in the conversion process.
|
||||||
# They have https:/www and are missing a slash.
|
# They have https:/www and are missing a slash.
|
||||||
def fix_https_links(text)
|
def fix_https_links(text)
|
||||||
text.gsub("https:/www", "https://www")
|
text.gsub(/https:\/(?!\/)/, 'https://')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user