1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-24 01:46:04 +02:00

Update documentation

This commit is contained in:
Elisabeth Henry 2020-07-07 01:17:22 +02:00
parent e1099f52eb
commit b5d3c6c122
16 changed files with 8801 additions and 4628 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1281">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1182">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -222,10 +497,10 @@ function toggle() {
<p id = "para-4">You can also play with the <a href = "http://vps.crowdagger.fr/crowbook/">online demo version</a>.</p>
<h2 id = "link-3">1.2. Installing</h2>
<p id = "para-5">There are two ways to install Crowbook: either using precompiled binaries, or compiling it using <code>cargo</code>.</p>
<h3 id = "link-4">Binaries</h3>
<h3 id = "link-4">1.2.1. Binaries</h3>
<p id = "para-6">See <a href = "https://github.com/lise-henry/crowbook/releases">the releases page</a> to download a precompiled binary for your architecture (currently: Linux, Windows and MacOSX). Just extract the archive and run <code>crowbook</code> (or <code>crowbook.exe</code> on Windows). You might also want to copy the binary somewhere in your <code>PATH</code> for later usage.</p>
<p id = "para-7">If you are on Debian GNU/Linux or Ubuntu (on a PC architecture), you can also download <code>.deb</code> packages on <a href = "https://github.com/lise-henry/crowbook/releases">the releases page</a>.</p>
<h3 id = "link-5">Using Cargo</h3>
<h3 id = "link-5">1.2.2. Using Cargo</h3>
<p id = "para-8"><a href = "https://crates.io/">Cargo</a> is the package manager for <a href = "https://www.rust-lang.org/">Rust</a>. You can <a href = "https://www.rust-lang.org/downloads.html">install it here</a>. Once that is done:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> cargo install crowbook
</span></pre><p id = "para-9">will automatically download the latest <code>crowbook</code> release on <a href = "https://crates.io/crates/crowbook">crates.io</a>, compile it, and install it on your system.</p>
@ -248,32 +523,32 @@ function toggle() {
</span></pre><p id = "para-17">This will generate a default <code>my.book</code> file, which youll need to complete. This configuration file contains some metadata, options, and lists the Markdown files.</p>
<p id = "para-18">For short books containing only a single Markdown file, it is possible to embed some metadata at the beginning of the file and use the <code>--single</code> or <code>-s</code> option to run <code>crowbook</code> directly on this Markdown file and avoid creating a separate book configuration file:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> -s</span><span style="color:#839496;"> text.md
</span></pre><p id = "para-19">For more information, see the chapters on <a href = "chapter_001.html">the arguments supported by <code>crowbook</code></a> and on <a href = "chapter_002.html">the configuration file</a>.</p>
</span></pre><p id = "para-19">For more information, see the chapters on <a href = "guide/arguments.md">the arguments supported by <code>crowbook</code></a> and on <a href = "guide/config.md">the configuration file</a>.</p>
<h2 id = "link-8">1.5. Current features</h2>
<h3 id = "link-9">Output formats</h3>
<h3 id = "link-9">1.5.1. Output formats</h3>
<p id = "para-20">Crowbook supports HTML, PDF and EPUB (either version 2 or 3) as output formats. See the Crowbook User Guide rendered in <a href = "http://lise-henry.github.io/crowbook/book/book.html">HTML</a>, <a href = "http://lise-henry.github.io/crowbook/book/book.epub">EPUB</a> and <a href = "http://lise-henry.github.io/crowbook/book.pdf">PDF</a>.</p>
<h3 id = "link-10">Input format</h3>
<h3 id = "link-10">1.5.2. Input format</h3>
<p id = "para-21">Crowbook uses <a href = "https://crates.io/crates/pulldown-cmark">pulldown-cmark</a> and thus should support most of <a href = "http://commonmark.org/">CommonMark Markdown</a>. Inline HTML, however, is not implemented, and probably wont be, as the goal is to have books that can also be generated in PDF (and maybe ODT).</p>
<h3 id = "link-11">Typographic “cleaning”</h3>
<h3 id = "link-11">1.5.3. Typographic “cleaning”</h3>
<p id = "para-22">Maybe the most specific “feature” of Crowbook is that it does its best to “clean” the input text before rendering it. By default, it removes superfluous spaces and tries to use curly quotes. If the books language is set to french, it also tries to respect french typography by replacing spaces with non-breaking ones when it is appropriate (e.g. before ?, !, ; or :).</p>
<blockquote><p id = "para-23">Please <a href = "https://github.com/lise-henry/crowbook/issues/new">open an issue</a> describing typographic rules if you want them to be implemented for other languages.</p>
</blockquote>
<h3 id = "link-12">Links handling</h3>
<h3 id = "link-12">1.5.4. Links handling</h3>
<p id = "para-24">Crowbook tries to correctly translate local links in the input Markdown files: e.g. if you have a link to a Markdown file that is part of your book, it will be transformed into a link inside the document.</p>
<h3 id = "link-13">Inline YAML blocks</h3>
<h3 id = "link-13">1.5.5. Inline YAML blocks</h3>
<p id = "para-25">Crowbook supports inline YAML blocks:</p>
<pre><span style="color:#839496;">---
</span><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Me
title</span><span style="color:#839496;">: </span><span style="color:#2aa198;">My title
</span><span style="color:#839496;">---
</span></pre><p id = "para-26">This is mostly useful when Crowbook is run with the <code>--single</code> argument (receiving a single Markdown file instead of a book configuration file), for short texts that only contain one “chapter”.</p>
<h3 id = "link-14">Proofreading</h3>
<p id = "para-27">Crowbook can also generate “proofreading” copies in HTML or PDF, highlighting grammar errors and repetitions. For more information, see <a href = "chapter_005.html">the proofreading chapter of the guide</a>.</p>
<h3 id = "link-15">Interactive fiction</h3>
<p id = "para-28">Crowbook has experimental support for writing interactive fiction (only for HTML). For more information, read the <a href = "chapter_006.html">interactive fiction chapter</a>.</p>
<h3 id = "link-16">Customization</h3>
<p id = "para-29">While the default settings will hopefully generate something that should look “good enough”, it is possible to customize the output, essentially by providing different <a href = "chapter_004.html">templates</a>.</p>
<h3 id = "link-17">Bugs</h3>
<h3 id = "link-14">1.5.6. Proofreading</h3>
<p id = "para-27">Crowbook can also generate “proofreading” copies in HTML or PDF, highlighting grammar errors and repetitions. For more information, see <a href = "guide/proofreading.md">the proofreading chapter of the guide</a>.</p>
<h3 id = "link-15">1.5.7. Interactive fiction</h3>
<p id = "para-28">Crowbook has experimental support for writing interactive fiction (only for HTML). For more information, read the <a href = "guide/if.md">interactive fiction chapter</a>.</p>
<h3 id = "link-16">1.5.8. Customization</h3>
<p id = "para-29">While the default settings will hopefully generate something that should look “good enough”, it is possible to customize the output, essentially by providing different <a href = "guide/templates.md">templates</a>.</p>
<h3 id = "link-17">1.5.9. Bugs</h3>
<p id = "para-30">See the <a href = "https://github.com/lise-henry/crowbook/issues">issue tracker on GitHub</a>.</p>
<h2 id = "link-18">1.6. Contributors</h2>
<ul>
@ -291,7 +566,7 @@ title</span><span style="color:#839496;">: </span><span style="color:#2aa198;">M
<h2 id = "link-20">1.8. ChangeLog</h2>
<p id = "para-38">See <a href = "chapter_009.html">ChangeLog</a>.</p>
<h2 id = "link-21">1.9. Contributing</h2>
<p id = "para-39">See <a href = "chapter_008.html">how you can contribute to Crowbook</a>.</p>
<p id = "para-39">See <a href = "guide/contribute.md">how you can contribute to Crowbook</a>.</p>
<p id = "para-40">If you find this project useful, you can also support its author by <a href = "https://www.paypal.me/crowdagger">making a Paypal donation</a>.</p>
<h2 id = "link-22">1.10. Library</h2>
<p id = "para-41">While the main purpose of Crowbook is to be run as a standalone program, the code is written as a library, so if you want to build on it you can use it as such. You can look at the generated documentation on <a href = "https://docs.rs/releases/search?query=crowbook">docs.rs</a>.</p>
@ -315,7 +590,7 @@ title</span><span style="color:#839496;">: </span><span style="color:#2aa198;">M
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1280">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1181">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1283">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1184">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -221,12 +496,14 @@ function toggle() {
</p>
<h1 id = 'link-24'><span class = 'chapter-header'>Chapter 2</span><br />Arguments</h1><p id = "para-49">Crowbook can take a number of arguments, generally in the form:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#859900;">[</span><span style="color:#839496;">OPTIONS</span><span style="color:#859900;">] [</span><span style="color:#839496;">BOOK</span><span style="color:#859900;">]
</span></pre><p id = "para-50">The most important argument is obviously the book configuration file. It is mandatory in most cases: if you dont pass it, Crowbook will simply display an error. In a normal use case this is the only argument youll need to pass, as most options will be set in this configuration file.</p>
</span></pre><p id = "para-50">The most important argument is obviously the book configuration file. It is mandatory in most cases: if you dont pass it, <code>crowbook</code> will simply display an error. In a normal use case this is the only argument youll need to pass, as most options will be set in this configuration file.</p>
<p id = "para-51">It is, however, possible to pass more arguments to <code>crowbook</code>:</p>
<h2 id = "link-25">2.1. <code>--create</code></h2>
<p id = "para-52"><b>Usage</b>: <code>crowbook [BOOK] --create file_1.md file_2.md ...</code></p>
<p id = "para-53">(or <code>crowbook [BOOK] -c file_1.md file_2.md ...</code>)</p>
<p id = "para-54">Creates a new book from a list of Markdown files. It will generate a book configuration file with all file names specified as chapters. It either prints the result to stdout (if <code>BOOK</code> is not specified) or generate the file <code>BOOK</code> (or abort if it already exists).</p>
<p id = "para-52"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#859900;">[</span><span style="color:#839496;">BOOK</span><span style="color:#859900;">]</span><span style="color:#268bd2;"> --create</span><span style="color:#839496;"> file_1.md file_2.md ...
</span></pre><p id = "para-53">or:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#859900;">[</span><span style="color:#839496;">BOOK</span><span style="color:#859900;">]</span><span style="color:#268bd2;"> -c</span><span style="color:#839496;"> file_1.md file_2.md ...
</span></pre><p id = "para-54">Creates a new book from a list of Markdown files. It will generate a book configuration file with all file names specified as chapters. It either prints the result to <code>stdout</code> (if <code>BOOK</code> is not specified) or generates the file <code>BOOK</code> (or abort if it already exists).</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#839496;"> foo.book</span><span style="color:#268bd2;"> --create</span><span style="color:#839496;"> chapter_1.md chapter_2.md chapter_3.md
</span></pre><p id = "para-55">will thus generate a file <code>foo.book</code> containing:</p>
<pre><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Your name
@ -252,11 +529,14 @@ lang</span><span style="color:#839496;">: </span><span style="color:#2aa198;">en
+ chapter_3.md
</span></pre><p id = "para-56">while</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --create</span><span style="color:#839496;"> chapter_1.md chapter_2.md chapter_3.md
</span></pre><p id = "para-57">will print the same result, but to stdout (without creating a file).</p>
</span></pre><p id = "para-57">will print the same result, but to <code>stdout</code> (without creating a file).</p>
<h2 id = "link-26">2.2. <code>--single</code></h2>
<p id = "para-58"><b>Usage</b>: <code>crowbook --single &lt;FILE&gt;</code></p>
<p id = "para-59">(or <code>crowbook -s &lt;FILE&gt;</code>)</p>
<p id = "para-60">This argument allows you to give <code>crowbook</code> a single Markdown file. This file can contain an inline YAML block to set some book options. Inline YAML blocks must start and end with a line containing only <code>---</code> (three dashes). E.g:</p>
<p id = "para-58"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --single </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FILE</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-59">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -s </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FILE</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-60">This argument allows you to give <code>crowbook</code> a single Markdown file. This file can contain an inline YAML block to set some book options. Inline YAML blocks must start and end with a line containing only <code>---</code> (three dashes).</p>
<p id = "para-61">E.g:</p>
<pre><span style="color:#839496;">---
</span><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Joan Doe
title</span><span style="color:#839496;">: </span><span style="color:#268bd2;">A short story
@ -264,41 +544,52 @@ output</span><span style="color:#839496;">: [</span><span style="color:#2aa198;"
---
</span><span style="color:#2aa198;">Content of the story in Markdown.
</span></pre><p id = "para-61">If this YAML block is not at the beginning of a file, it must also be preceded by a blank line.</p>
<p id = "para-62">This allows to not have to write a <code>.book</code> configuration file for a short story or an article. <code>crowbook -s foo.md</code> is rougly equivalent to having a book configuration file containing:</p>
</span></pre><p id = "para-62">If this YAML block is not at the beginning of a file, it must also be preceded by a blank line.</p>
<p id = "para-63">This allows to not have to write a <code>.book</code> configuration file for a short story or an article. <code>crowbook -s foo.md</code> is rougly equivalent to having a book configuration file containing:</p>
<pre><span style="color:#268bd2;">! </span><span style="color:#2aa198;">foo.md
</span></pre><p id = "para-63">That is, the chapter heading (if any) wont be displayed in the output documents (though they still appear in the TOC).</p>
<blockquote><p id = "para-64">Note that by default, using <code>--single</code> or <code>-s</code> sets the default LaTeX class of the book to <code>article</code> instead of <code>book</code>.</p>
</span></pre><p id = "para-64">That is, the chapter heading (if any) wont be displayed in the output documents (though they still appear in the TOC).</p>
<blockquote><p id = "para-65">Note that by default, using <code>--single</code> or <code>-s</code> sets the default LaTeX class of the book to <code>article</code> instead of <code>book</code>.</p>
</blockquote>
<h2 id = "link-27">2.3. <code>--set</code></h2>
<p id = "para-65"><b>Usage</b>: <code>crowbook &lt;BOOK&gt; --set [KEY] [VALUE]...</code></p>
<p id = "para-66">This argument takes a list of <code>KEY</code> <code>VALUE</code> pairs and allows setting or overriding a book configuration option. All valid options in the configuration files are valid as keys. For more information, see <a href = "chapter_002.html">the configuration file</a>.</p>
<p id = "para-66"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">--set </span><span style="color:#859900;">[</span><span style="color:#839496;">KEY</span><span style="color:#859900;">] [</span><span style="color:#839496;">VALUE</span><span style="color:#859900;">]</span><span style="color:#839496;">...
</span></pre><p id = "para-67">This argument takes a list of <code>KEY</code> <code>VALUE</code> pairs and allows setting or overriding a book configuration option. All valid options in the configuration files are valid as keys. For more information, see <a href = "guide/config.md">the configuration file</a>.</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook foo.book</span><span style="color:#268bd2;"> --set</span><span style="color:#839496;"> tex.paper.size a4paper
</span></pre><p id = "para-67">will override the paper size for PDF generation.</p>
</span></pre><p id = "para-68">will override the paper size for PDF generation.</p>
<h2 id = "link-28">2.4. <code>--list-options</code></h2>
<p id = "para-68"><b>Usage</b>: <code>crowbook --list-options</code></p>
<p id = "para-69">(or <code>crowbook -l</code>)</p>
<p id = "para-70">Displays all the valid options that can be used, whether in a book configuration file, with <code>--set</code>, or in an inline YAML block.</p>
<p id = "para-69"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --list-options
</span></pre><p id = "para-70">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -l
</span></pre><p id = "para-71">Displays all the valid options that can be used, whether in a book configuration file, with <code>--set</code>, or in an inline YAML block.</p>
<h2 id = "link-29">2.5. <code>--print-template</code></h2>
<p id = "para-71"><b>Usage</b>: <code>crowbook --print-template &lt;TEMPLATE&gt;</code></p>
<p id = "para-72">Prints the built-in template to stdout. Useful if you want to customize the appearance of your document. E.g., if you want to modify the CSS used for HTML rendering:</p>
<p id = "para-72"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --print-template </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">TEMPLATE</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-73">Prints the built-in template to <code>stdout</code>. Useful if you want to customize the appearance of your document.</p>
<p id = "para-74">E.g., if you want to modify the CSS used for HTML rendering:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --print-template</span><span style="color:#839496;"> html.css </span><span style="color:#657b83;">&gt;</span><span style="color:#839496;"> my_style.css
</span><span style="color:#586e75;"># edit my_style.css in your favourite editor
</span><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook my.book</span><span style="color:#268bd2;"> --set</span><span style="color:#839496;"> html.css my_style.css
</span><span style="color:#586e75;"># or add &quot;html.css: my_style.css&quot; in my.book
</span></pre><h2 id = "link-30">2.6. <code>--stats</code></h2>
<p id = "para-73"><b>Usage</b>: <code>crowbook --stats &lt;BOOK&gt;</code></p>
<p id = "para-74">(or <code>crowbook -S &lt;BOOK&gt;</code>)</p>
<p id = "para-75">Display some statistics (word and character counts) about the book.</p>
<p id = "para-75"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --stats </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-76">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -S </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-77">Display some statistics (word and character counts) about the book.</p>
<h2 id = "link-31">2.7. <code>--proofread</code></h2>
<p id = "para-76"><b>Usage</b>: <code>crowbook --proofread &lt;BOOK&gt;</code></p>
<p id = "para-77">(or <code>crowbook -p &lt;BOOK&gt;</code>)</p>
<p id = "para-78">Equivalent to <code>--set proofread true</code>, enables proofreading. See <a href = "chapter_005.html">Proofreading</a>.</p>
<p id = "para-78"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --proofread </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-79">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -p </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-80">Equivalent to <code>--set proofread true</code>, enables proofreading. See <a href = "guide/proofreading.md">Proofreading</a>.</p>
<h2 id = "link-32">2.8. <code>--autograph</code></h2>
<p id = "para-79"><b>Usage</b>: <code>crowbook --autograph &lt;BOOK&gt;</code></p>
<p id = "para-80">(or <code>crowbook -a &lt;BOOK&gt;</code>)</p>
<p id = "para-81">Prompts for a an autograph execution. This is a Markdown block that will be inserted at the beginning of the book.</p>
<h3 id = "link-33">Example</h3>
<p id = "para-81"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --autograph </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-82">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -a </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-83">Prompts for a an autograph execution. This is a Markdown block that will be inserted at the beginning of the book.</p>
<h3 id = "link-33">2.8.1. Example</h3>
<pre><span style="color:#839496;">$ crowbook --autograph my.book
CROWBOOK 0.14.0
Enter autograph:
@ -306,32 +597,39 @@ To my dear friend John,
Cheers, *Joan*
^D
</span></pre><p id = "para-82">will add the block of text that was entered to all output files.</p>
</span></pre><p id = "para-84">will add the block of text that was entered to all output files.</p>
<h2 id = "link-34">2.9. <code>--verbose</code></h2>
<p id = "para-83"><b>Usage</b>: <code>crowbook &lt;BOOK&gt; --verbose</code></p>
<p id = "para-84">If this flag is set, Crowbook will print more warnings it detects while parsing and rendering.</p>
<p id = "para-85"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">--verbose
</span></pre><p id = "para-86">If this flag is set, Crowbook will print more warnings it detects while parsing and rendering.</p>
<h2 id = "link-35">2.10. <code>--to</code></h2>
<p id = "para-85"><b>Usage</b>: <code>crowbook &lt;BOOK&gt; --to [FORMAT]</code></p>
<p id = "para-86">(or <code>crowbook &lt;BOOK&gt; -t [FORMAT]</code>)</p>
<p id = "para-87">Generate only the specified format. <code>FORMAT</code> must be either <code>epub</code>, <code>pdf</code>, <code>html</code>, <code>html.dir</code>, <code>odt</code> or <code>tex</code>.</p>
<p id = "para-88">If an output file for the format is not specified in the book configuration file, <code>crowbook</code> will fail to render PDF, ODT and EPUB, whereas it will print HTML and TeX files on stdout. It is, however, possible to specify a file with the <code>--output</code> option.</p>
<h3 id = "link-36">Examples</h3>
<p id = "para-87"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">--to </span><span style="color:#859900;">[</span><span style="color:#839496;">FORMAT</span><span style="color:#859900;">]
</span></pre><p id = "para-88">or:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">-t </span><span style="color:#859900;">[</span><span style="color:#839496;">FORMAT</span><span style="color:#859900;">]
</span></pre><p id = "para-89">Generate only the specified format. <code>FORMAT</code> must be either <code>epub</code>, <code>pdf</code>, <code>html</code>, <code>html.dir</code>, <code>odt</code> or <code>tex</code>.</p>
<p id = "para-90">If an output file for the format is not specified in the book configuration file, <code>crowbook</code> will fail to render PDF, ODT and EPUB, whereas it will print HTML and TeX files on stdout. It is, however, possible to specify a file with the <code>--output</code> option.</p>
<h3 id = "link-36">2.10.1. Examples</h3>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --to</span><span style="color:#839496;"> html foo.book
</span></pre><p id = "para-89">will generate some HTML, and prints it either to the file specified by <code>output.html</code> in <code>foo.book</code>, or to stdout if it is not specified.</p>
</span></pre><p id = "para-91">will generate some HTML, and prints it either to the file specified by <code>output.html</code> in <code>foo.book</code>, or to stdout if it is not specified.</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --to</span><span style="color:#839496;"> pdf</span><span style="color:#268bd2;"> --output</span><span style="color:#839496;"> foo.pdf foo.book
</span></pre><p id = "para-90">will generate a <code>foo.pdf</code> file.</p>
</span></pre><p id = "para-92">will generate a <code>foo.pdf</code> file.</p>
<h2 id = "link-37">2.11. <code>--output</code></h2>
<p id = "para-91"><b>Usage</b>: <code>crowbook &lt;BOOK&gt; --to &lt;FORMAT&gt; --output &lt;FILE&gt; </code></p>
<p id = "para-92">(or <code>crowbook -t &lt;FORMAT&gt; -o &lt;FILE&gt; &lt;BOOK&gt;</code>)</p>
<p id = "para-93">Specifies an output file. Only valid when <code>--to</code> is used.</p>
<p id = "para-93"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">--to </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FORMAT</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">--output </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FILE</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-94">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -t </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FORMAT</span><span style="color:#657b83;">&gt; </span><span style="color:#839496;">-o </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">FILE</span><span style="color:#657b83;">&gt; &lt;</span><span style="color:#839496;">BOOK</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-95">Specifies an output file. Only valid when <code>--to</code> is used.</p>
<h2 id = "link-38">2.12. <code>--lang</code></h2>
<p id = "para-94"><b>Usage</b>: <code>crowbook --lang &lt;LANG&gt;</code></p>
<p id = "para-95">(or <code>crowbook -L &lt;LANG&gt;</code>)</p>
<p id = "para-96">Set the runtime language used by Crowbook. Currently, only a french translation is available. By default, Crowbook uses the <code>LANG</code> environment variable to determine which language to use, but this option allows to override it (e.g. for operating systems that dont use such an option, such as Windows).</p>
<h3 id = "link-39">Example</h3>
<p id = "para-97"><code>$ crowbook --lang fr --help</code></p>
<p id = "para-98">will display Crowbooks help message in french.</p>
<blockquote><p id = "para-99">Note that this argument has nothing to do with the <code>lang</code> option that you can set in the book configuration file, which specifies the language <em>of the book</em>. This argument specifies the language of the text messages that Crowbook will display while running, but has no effect on the generated documents.</p>
<p id = "para-96"><b>Usage</b>:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> --lang </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">LANG</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-97">or:</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -L </span><span style="color:#657b83;">&lt;</span><span style="color:#839496;">LANG</span><span style="color:#657b83;">&gt;
</span></pre><p id = "para-98">Set the runtime language used by Crowbook. Currently, only a french translation is available. By default, Crowbook uses the <code>LANG</code> environment variable to determine which language to use, but this option allows to override it (e.g. for operating systems that dont use such an option, such as Windows).</p>
<h3 id = "link-39">2.12.1. Example</h3>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --lang</span><span style="color:#839496;"> fr</span><span style="color:#268bd2;"> --help
</span></pre><p id = "para-99">will display Crowbooks help message in french.</p>
<blockquote><p id = "para-100">Note that this argument has nothing to do with the <code>lang</code> option that you can set in the book configuration file, which specifies the language <em>of the book</em>. This argument specifies the language of the text messages that Crowbook will display while running, but has no effect on the generated documents.</p>
</blockquote>
<p class = "next_chapter">
@ -340,7 +638,7 @@ Cheers, *Joan*
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1282">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1183">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1285">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1186">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,8 +494,8 @@ function toggle() {
« 2. Arguments
</a>
</p>
<h1 id = 'link-40'><span class = 'chapter-header'>Chapter 3</span><br />The configuration file</h1><p id = "para-100">If you want to use Crowbook for your book, this configuration file is all youll have to add, beside the Markdown files containing the text of your book.</p>
<p id = "para-101">The format is not very complicated. This is an example of it:</p>
<h1 id = 'link-40'><span class = 'chapter-header'>Chapter 3</span><br />The configuration file</h1><p id = "para-101">If you want to use Crowbook for your book, this configuration file is all youll have to add, beside the Markdown files containing the text of your book.</p>
<p id = "para-102">The format is not very complicated. This is an example of it:</p>
<pre><span style="color:#586e75;"># metadata
</span><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Joan Doe
title</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Some book
@ -235,16 +510,16 @@ output</span><span style="color:#839496;">: [</span><span style="color:#2aa198;"
+ chapter_3.md
+ chapter_4.md
</span><span style="color:#839496;">- </span><span style="color:#2aa198;">epilogue.md
</span></pre><p id = "para-102">Basically, it is divided in two parts:</p>
</span></pre><p id = "para-103">Basically, it is divided in two parts:</p>
<ul>
<li><p id = "para-103">a list of options, under the form <code>key: value</code>, following YAML syntax.</p>
<li><p id = "para-104">a list of options, under the form <code>key: value</code>, following YAML syntax.</p>
</li>
<li><p id = "para-104">a list of Markdown files.</p>
<li><p id = "para-105">a list of Markdown files.</p>
</li>
</ul>
<p id = "para-105">Lines starting with the <code>#</code> characters are comments and are discarded.</p>
<p id = "para-106">Lines starting with the <code>#</code> characters are comments and are discarded.</p>
<h2 id = "link-41">3.1. Configuration in an inline YAML block</h2>
<p id = "para-106">Sometimes, you only have one Markdown file and might not want to have a separate configuration file. In this case, you can specify options at the beginning of your Markdown file, using an inline YAML block, separated by two lines containing only <code>---</code>:</p>
<p id = "para-107">Sometimes, you only have one Markdown file and might not want to have a separate configuration file. In this case, you can specify options at the beginning of your Markdown file, using an inline YAML block, separated by two lines containing only <code>---</code>:</p>
<pre><span style="color:#839496;">---
author: Joan Doe
title: Some (short) book
@ -256,27 +531,27 @@ output: [html, pdf, epub]
# </span><span style="color:#cb4b16;">Some (short) book
</span><span style="color:#839496;">The book content, formatted in Markdown.
</span></pre><p id = "para-107">This method only allows to set up options: you cant include a list of chapters in this way, since the only “chapter” that will be included is this Markdown file itself.</p>
<p id = "para-108">You can then use</p>
</span></pre><p id = "para-108">This method only allows to set up options: you cant include a list of chapters in this way, since the only “chapter” that will be included is this Markdown file itself.</p>
<p id = "para-109">You can then use</p>
<pre><span style="color:#b58900;">crowbook</span><span style="color:#268bd2;"> -s</span><span style="color:#839496;"> some_book.md
</span></pre><p id = "para-109">to generate output formats from this Markdown file.</p>
<blockquote><p id = "para-110">By default (unless <code>input.yaml_blocks</code> is set to true), Crowboook will only read those inline blocks when it is runned with <code>crowbook --single</code> (or <code>crowbook -s</code>).</p>
</span></pre><p id = "para-110">to generate output formats from this Markdown file.</p>
<blockquote><p id = "para-111">By default (unless <code>input.yaml_blocks</code> is set to true), Crowboook will only read those inline blocks when it is runned with <code>crowbook --single</code> (or <code>crowbook -s</code>).</p>
</blockquote>
<h2 id = "link-42">3.2. The list of files</h2>
<p id = "para-111">There are various options to include a Markdown file.</p>
<p id = "para-112">There are various options to include a Markdown file.</p>
<ul>
<li><p id = "para-112"><code>+ file_name.md</code> includes a numbered chapter.</p>
<li><p id = "para-113"><code>+ file_name.md</code> includes a numbered chapter.</p>
</li>
<li><p id = "para-113"><code>- file_name.md</code> includes an unnumbered chapter.</p>
<li><p id = "para-114"><code>- file_name.md</code> includes an unnumbered chapter.</p>
</li>
<li><p id = "para-114"><code>! file_name.md</code> includes a chapter whose title wont be displayed (except in the table of contents); this is useful for e.g. including a copyright at the beginning or the book, or for short stories where there is only one chapter.</p>
<li><p id = "para-115"><code>! file_name.md</code> includes a chapter whose title wont be displayed (except in the table of contents); this is useful for e.g. including a copyright at the beginning or the book, or for short stories where there is only one chapter.</p>
</li>
<li><p id = "para-115"><code>42. file_name.md</code> specifies the number for a chapter.</p>
<li><p id = "para-116"><code>42. file_name.md</code> specifies the number for a chapter.</p>
</li>
<li><p id = "para-116"><code>@</code> includes a part instead of a chapter.</p>
<li><p id = "para-117"><code>@</code> includes a part instead of a chapter.</p>
</li>
</ul>
<p id = "para-117">So a typical usage might look like this:</p>
<p id = "para-118">So a typical usage might look like this:</p>
<pre><span style="color:#268bd2;">! </span><span style="color:#2aa198;">copyright.md
</span><span style="color:#839496;">- </span><span style="color:#2aa198;">preface.md
0. chapter_0.md </span><span style="color:#586e75;"># We want to start at chapter 0 instead of 1
@ -284,21 +559,21 @@ output: [html, pdf, epub]
</span><span style="color:#2aa198;">+ chapter_1.md
+ chapter_2.md
</span><span style="color:#839496;">...
</span></pre><p id = "para-118">There are two important things to note:</p>
</span></pre><p id = "para-119">There are two important things to note:</p>
<ol>
<li><p id = "para-119">you must <em>not</em> use quotes around the file names.</p>
<li><p id = "para-120">you must <em>not</em> use quotes around the file names.</p>
</li>
<li><p id = "para-120">the paths of these files are relative to the directory where your configuration file is. This means you can run <code>crowbook books/my_trilogy/first_book/config.book</code> without being in the books directory.</p>
<li><p id = "para-121">the paths of these files are relative to the directory where your configuration file is. This means you can run <code>crowbook books/my_trilogy/first_book/config.book</code> without being in the books directory.</p>
</li>
</ol>
<p id = "para-121">Also note that you dont have to specify a title. This is because the title of the chapter is inferred from the Markdown document. To go back to our previous example:</p>
<p id = "para-122">Also note that you dont have to specify a title. This is because the title of the chapter is inferred from the Markdown document. To go back to our previous example:</p>
<pre><span style="color:#839496;">+ chapter_1.md
</span></pre><p id = "para-122">does not specify a chapter title, because it will read it directly in <code>chapter_1.md</code>, e.g.:</p>
</span></pre><p id = "para-123">does not specify a chapter title, because it will read it directly in <code>chapter_1.md</code>, e.g.:</p>
<pre><span style="color:#b58900;"># </span><span style="color:#cb4b16;">The day I was born </span><span style="color:#b58900;">#
</span><span style="color:#839496;">...
</span></pre><p id = "para-123">Ideally, you should have one and only one level-one header (i.e. chapter title) in each Markdown file. If you have more than one, it might mess with the table of contents in some cases (e.g. for EPUB).</p>
<h3 id = "link-43">Parts</h3>
<p id = "para-124">Parts are included using the <code>@</code> character, followed by the same characters than for chapters:</p>
</span></pre><p id = "para-124">Ideally, you should have one and only one level-one header (i.e. chapter title) in each Markdown file. If you have more than one, it might mess with the table of contents in some cases (e.g. for EPUB).</p>
<h3 id = "link-43">3.2.1. Parts</h3>
<p id = "para-125">Parts are included using the <code>@</code> character, followed by the same characters than for chapters:</p>
<pre><span style="color:#839496;">@+ numbered_part.md
+ chapter_01.md
+ chapter_02.md
@ -307,7 +582,7 @@ output: [html, pdf, epub]
+ chapter_04.md
@42. part_with_number_42.md
+ chapter_05.md
</span></pre><p id = "para-125">However, you usually dont really want to have a content directly below the part, only chapters (though it can be useful to add an introduction before the first chapter of this part), so there is also a more straighforward way to use parts, using only the <code>@</code> character followed by the (markdown-formatted) title of this part:</p>
</span></pre><p id = "para-126">However, you usually dont really want to have a content directly below the part, only chapters (though it can be useful to add an introduction before the first chapter of this part), so there is also a more straighforward way to use parts, using only the <code>@</code> character followed by the (markdown-formatted) title of this part:</p>
<pre><span style="color:#839496;">@ Beginning
+ chapter_01.md
+ chapter_02.md
@ -316,267 +591,266 @@ output: [html, pdf, epub]
+ chapter_04.md
@ Appendix
- notes.md
</span></pre><p id = "para-126">With this shortcut, parts are always numbered.</p>
<h3 id = "link-44">Subchapters</h3>
<p id = "para-127">If you write your book to be rendered by Crowbook, it is better to have one Markdown file per chapter. It is, however, possible to work with divisions at lower levels. In order to properly include these files, you can use the following syntax:</p>
</span></pre><p id = "para-127">With this shortcut, parts are always numbered.</p>
<h3 id = "link-44">3.2.2. Subchapters</h3>
<p id = "para-128">If you write your book to be rendered by <code>crowbook</code>, it is better to have one Markdown file per chapter. It is, however, possible to work with divisions at lower levels. In order to properly include these files, you can use the following syntax:</p>
<pre><span style="color:#839496;">-- section.md
--- subsection.md
---- subsubsection.md
</span></pre><blockquote><p id = "para-128">Note that there isnt different syntax for numbered or unnumbered sections/subsections: you can only change the numbering scheme at the chapter level.</p>
</span></pre><blockquote><p id = "para-129">Note that there isnt different syntax for numbered or unnumbered sections/subsections: you can only change the numbering scheme at the chapter level.</p>
</blockquote>
<p id = "para-129">When including those files, Crowbook will include them in the table of content as part of the previous chapter (or section for subsections, and so on). It will also adjust the header levels of the Markdown files, so, in the previous example, a level-1 header in <code>section.md</code> will be displayed as a level-2 header in the book, and a level-1 header in <code>subsection.md</code> as a level-3 header.</p>
<blockquote><p id = "para-130">This can cause issues as only six levels of headers are supported; hence, if you include a level-5 header in <code>subsubsection.md</code>, it will cause an error.</p>
<p id = "para-130">When including those files, Crowbook will include them in the table of content as part of the previous chapter (or section for subsections, and so on). It will also adjust the header levels of the Markdown files, so, in the previous example, a level-1 header in <code>section.md</code> will be displayed as a level-2 header in the book, and a level-1 header in <code>subsection.md</code> as a level-3 header.</p>
<blockquote><p id = "para-131">This can cause issues as only six levels of headers are supported; hence, if you include a level-5 header in <code>subsubsection.md</code>, it will cause an error.</p>
</blockquote>
<h2 id = "link-45">3.3. Crowbook options</h2>
<p id = "para-131">The first part of the configuration file is dedicated to pass options to Crowbook. This is <a href = "https://en.wikipedia.org/wiki/YAML">YAML syntax</a>, so each line should be of the form <code>key: value</code>. Note that in most cases you dont have to put string in quotes, e.g.:</p>
<p id = "para-132">The first part of the configuration file is dedicated to pass options to Crowbook. This is <a href = "https://en.wikipedia.org/wiki/YAML">YAML syntax</a>, so each line should be of the form <code>key: value</code>. Note that in most cases you dont have to put string in quotes, e.g.:</p>
<pre><span style="color:#268bd2;">title</span><span style="color:#839496;">: </span><span style="color:#2aa198;">My title
</span></pre><p id = "para-132">It is however possible (and sometimes necessary) to escape some characters using quotes around strings:</p>
</span></pre><p id = "para-133">It is however possible (and sometimes necessary) to escape some characters using quotes around strings:</p>
<pre><span style="color:#268bd2;">title</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">My: title!</span><span style="color:#839496;">&quot;
</span></pre><p id = "para-133">It is possible to use multiline strings with <code>&gt;-</code> and then indenting the lines that are part of the string:</p>
</span></pre><p id = "para-134">It is possible to use multiline strings with <code>&gt;-</code> and then indenting the lines that are part of the string:</p>
<pre><span style="color:#268bd2;">title</span><span style="color:#839496;">: </span><span style="color:#859900;">&gt;</span><span style="color:#93a1a1;">-
</span><span style="color:#2aa198;"> A
long
title
</span><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#2aa198;">Joan Doe
</span></pre><p id = "para-134">will set <code>title</code> to <code>"A long title"</code>. See <a href = "https://en.wikipedia.org/wiki/YAML#Block_literals">block literals in YAML</a> for more information on the various way to insert multiline strings (which mostly change the way newlines will or wont be inserted).</p>
<p id = "para-135">A final note on the syntax: all options must be set <em>before</em> the first chapter inclusion (that is, a line beginning with +, -, x. (where <code>x</code> is a number) or !).</p>
<h3 id = "link-46">Metadata</h3>
<p id = "para-136">Metadata are data about the book. Except for <code>cover</code>, which points to an image file, all its fields are strings. The main metadata are:</p>
</span></pre><p id = "para-135">will set <code>title</code> to <code>"A long title"</code>. See <a href = "https://en.wikipedia.org/wiki/YAML#Block_literals">block literals in YAML</a> for more information on the various way to insert multiline strings (which mostly change the way newlines will or wont be inserted).</p>
<p id = "para-136">A final note on the syntax: all options must be set <em>before</em> the first chapter inclusion (that is, a line beginning with <code>+</code>, <code>-</code>, <code>x.</code> (where <code>x</code> is a number) or <code>!</code>).</p>
<h3 id = "link-46">3.3.1. Metadata</h3>
<p id = "para-137">Metadata are data about the book. Except for <code>cover</code>, which points to an image file, all its fields are strings. The main metadata are:</p>
<ul>
<li><p id = "para-137"><code>author</code></p>
<li><p id = "para-138"><code>author</code></p>
</li>
<li><p id = "para-138"><code>title</code></p>
<li><p id = "para-139"><code>title</code></p>
</li>
<li><p id = "para-139"><code>subtitle</code></p>
<li><p id = "para-140"><code>subtitle</code></p>
</li>
<li><p id = "para-140"><code>lang</code>, the language of the book. The unicode language code should be used, e.g. <code>en_GB</code> or <code>en</code>, <code>fr_FR</code>, or <code>fr</code>...</p>
<li><p id = "para-141"><code>lang</code>, the language of the book. The unicode language code should be used, e.g. <code>en_GB</code> or <code>en</code>, <code>fr_FR</code>, or <code>fr</code>...</p>
</li>
<li><p id = "para-141"><code>cover</code>, a path to an image file for the cover of the book (not displayed in all output formats).</p>
<li><p id = "para-142"><code>cover</code>, a path to an image file for the cover of the book (not displayed in all output formats).</p>
</li>
</ul>
<p id = "para-142">There are also additional metadata:</p>
<p id = "para-143">There are also additional metadata:</p>
<ul>
<li><p id = "para-143"><code>subject</code></p>
<li><p id = "para-144"><code>subject</code></p>
</li>
<li><p id = "para-144"><code>description</code></p>
<li><p id = "para-145"><code>description</code></p>
</li>
<li><p id = "para-145"><code>license</code></p>
<li><p id = "para-146"><code>license</code></p>
</li>
<li><p id = "para-146"><code>version</code></p>
<li><p id = "para-147"><code>version</code></p>
</li>
<li><p id = "para-147"><code>date</code></p>
<li><p id = "para-148"><code>date</code></p>
</li>
</ul>
<p id = "para-148">You can define your own metadata by starting an option name with <code>metadata.foo</code>.</p>
<p id = "para-149">All metadata are accessible from templates, see <a href = "chapter_004.html">Templates</a>.</p>
<h3 id = "link-47">The <code>import</code> special option</h3>
<p id = "para-150">The special <code>import</code> option allows you to include the options of another book configuration file. E.g., assuming that you want some common options to be applied to both <code>foo.book</code> and <code>bar.book</code>, you can create a <code>common.book</code> file:</p>
<p id = "para-149">You can define your own metadata by starting an option name with <code>metadata.foo</code>.</p>
<p id = "para-150">All metadata are accessible from templates, see <a href = "guide/templates.md">Templates</a>.</p>
<h3 id = "link-47">3.3.2. The <code>import</code> special option</h3>
<p id = "para-151">The special <code>import</code> option allows you to include the options of another book configuration file. E.g., assuming that you want some common options to be applied to both <code>foo.book</code> and <code>bar.book</code>, you can create a <code>common.book</code> file:</p>
<pre><span style="color:#268bd2;">author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Joan Doe
lang</span><span style="color:#839496;">: </span><span style="color:#268bd2;">en
license</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">Copyright (C) Joan Doe. All rights reserved.</span><span style="color:#839496;">&quot;
</span><span style="color:#268bd2;">html.header</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">[Joan Doe&#39;s website](http://joan-doe.com)</span><span style="color:#839496;">&quot;
</span><span style="color:#268bd2;">tex.template</span><span style="color:#839496;">: </span><span style="color:#2aa198;">my_template.tex
</span></pre><p id = "para-151">You can then include this file in <code>foo.book</code>:</p>
</span></pre><p id = "para-152">You can then include this file in <code>foo.book</code>:</p>
<pre><span style="color:#268bd2;">import</span><span style="color:#839496;">: </span><span style="color:#268bd2;">common.book
title</span><span style="color:#839496;">: </span><span style="color:#2aa198;">Foo
+ foo_01.md
+ foo_02.md
</span></pre><p id = "para-152">Or include it in <code>bar.book</code>, but override some of its features:</p>
</span></pre><p id = "para-153">Or include it in <code>bar.book</code>, but override some of its features:</p>
<pre><span style="color:#268bd2;">import</span><span style="color:#839496;">: </span><span style="color:#268bd2;">common.book
title</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Bar
license</span><span style="color:#839496;">: </span><span style="color:#2aa198;">CC-BY-SA </span><span style="color:#586e75;"># Override the license from common.book
</span><span style="color:#2aa198;">+ bar_01.md
</span></pre><h3 id = "link-48">Output options</h3>
<p id = "para-153">These options specify which files to generate.</p>
<p id = "para-154">Note that all file paths are relative to the directory where the configuration file is, not to the one where you run <code>crowbook</code>. So if you set:</p>
</span></pre><h3 id = "link-48">3.3.3. Output options</h3>
<p id = "para-154">These options specify which files to generate.</p>
<p id = "para-155">Note that all file paths are relative to the directory where the configuration file is, not to the one where you run <code>crowbook</code>. So if you set:</p>
<pre><span style="color:#268bd2;">output.epub</span><span style="color:#839496;">: </span><span style="color:#2aa198;">foo.epub
</span></pre><p id = "para-155">and run</p>
</span></pre><p id = "para-156">and run</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook some/dir/config.book
</span></pre><p id = "para-156"><code>foo.epub</code> will be generated in <code>some/dir</code>, not in your current directory.</p>
<p id = "para-157">Crowbook will try to generate each of the <code>output.xxx</code> files that are specified. That means that youll have to set at least one of those if you want a call to</p>
</span></pre><p id = "para-157"><code>foo.epub</code> will be generated in <code>some/dir</code>, not in your current directory.</p>
<p id = "para-158">Crowbook will try to generate each of the <code>output.xxx</code> files that are specified. That means that youll have to set at least one of those if you want a call to</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook my.book
</span></pre><p id = "para-158">to generate anything. (Its still possible to generate a specific format, and only this one, by using the <code>--to</code> and <code>--output</code> argument on the command line).</p>
<p id = "para-159">Note that some formats depend on some commands being installed on your system. Most notably, Crowbook depends on LaTeX (<code>xelatex</code> by default, though you can specify another command to use with <code>tex.command</code>) to generate a PDF file, so PDF rendering wont work if it is not installed on your system. Crowbook also uses the <code>zip</code> command to generate the EPUB and ODT files.</p>
<p id = "para-160">Current output options are:</p>
</span></pre><p id = "para-159">to generate anything. (Its still possible to generate a specific format, and only this one, by using the <code>--to</code> and <code>--output</code> argument on the command line).</p>
<p id = "para-160">Note that some formats depend on some commands being installed on your system. Most notably, Crowbook depends on LaTeX (<code>xelatex</code> by default, though you can specify another command to use with <code>tex.command</code>) to generate a PDF file, so PDF rendering wont work if it is not installed on your system. Crowbook also uses the <code>zip</code> command to generate the EPUB and ODT files.</p>
<p id = "para-161">Current output options are:</p>
<ul>
<li><p id = "para-161"><code>output.html</code>: renders a standalone HTML file.</p>
<li><p id = "para-162"><code>output.html</code>: renders a standalone HTML file.</p>
</li>
<li><p id = "para-162"><code>output.html.dir</code>: renders a HTML directory with one page by chapter.</p>
<li><p id = "para-163"><code>output.html.dir</code>: renders a HTML directory with one page by chapter.</p>
</li>
<li><p id = "para-163"><code>output.epub</code>: renders an EPUB file.</p>
<li><p id = "para-164"><code>output.epub</code>: renders an EPUB file.</p>
</li>
<li><p id = "para-164"><code>output.tex</code>: renders a LaTeX file.</p>
<li><p id = "para-165"><code>output.tex</code>: renders a LaTeX file.</p>
</li>
<li><p id = "para-165"><code>output.pdf</code>: renders a PDF file (using <code>tex.command</code>).</p>
<li><p id = "para-166"><code>output.pdf</code>: renders a PDF file (using <code>tex.command</code>).</p>
</li>
</ul>
<p id = "para-166">(There are other output options for generating proofreading files, see <a href = "chapter_005.html">Proofreading</a>, and interactive fiction, see <a href = "chapter_006.html">Interactive fiction</a>.)</p>
<h4 id = "link-49">The <code>output</code> option</h4>
<p id = "para-167">Setting output file names manually can be a bit tedious, and is not always necessary. You can also specify a list of output formats with the <code>output</code> option:</p>
<p id = "para-167">(There are other output options for generating proofreading files, see <a href = "guide/proofreading.md">Proofreading</a>, and interactive fiction, see <a href = "guide/if.md">Interactive fiction</a>.)</p>
<h4 id = "link-49">3.3.3.1. The <code>output</code> option</h4>
<p id = "para-168">Setting output file names manually can be a bit tedious, and is not always necessary. You can also specify a list of output formats with the <code>output</code> option:</p>
<pre><span style="color:#268bd2;">output</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">pdf</span><span style="color:#839496;">, </span><span style="color:#2aa198;">epub</span><span style="color:#839496;">, </span><span style="color:#2aa198;">html</span><span style="color:#839496;">]
</span></pre><p id = "para-168">This is similar to the alternative syntax for YAML list:</p>
</span></pre><p id = "para-169">This is similar to the alternative syntax for YAML list:</p>
<pre><span style="color:#268bd2;">output</span><span style="color:#839496;">:
- </span><span style="color:#2aa198;">pdf
</span><span style="color:#839496;">- </span><span style="color:#2aa198;">epub
</span><span style="color:#839496;">- </span><span style="color:#2aa198;">html
</span></pre><p id = "para-169">This option will set default output path for PDF, EPUB and HTML according to the book configuration file name. So, if your book is <code>my_book.book</code> (or <code>my_book.md</code>), it will generate <code>my_book.pdf</code>, <code>my_book.html</code> and <code>my_book.epub</code>.</p>
<blockquote><p id = "para-170">You can also infer the output file name by specifying “auto” to e.g. <code>output.html</code>. The previous example is thus equivalent to</p>
</span></pre><p id = "para-170">This option will set default output path for PDF, EPUB and HTML according to the book configuration file name. So, if your book is <code>my_book.book</code> (or <code>my_book.md</code>), it will generate <code>my_book.pdf</code>, <code>my_book.html</code> and <code>my_book.epub</code>.</p>
<blockquote><p id = "para-171">You can also infer the output file name by specifying “auto” to e.g. <code>output.html</code>. The previous example is thus equivalent to</p>
<pre><span style="color:#268bd2;">output.pdf</span><span style="color:#839496;">: </span><span style="color:#268bd2;">auto
output.epub</span><span style="color:#839496;">: </span><span style="color:#268bd2;">auto
output.html</span><span style="color:#839496;">: </span><span style="color:#2aa198;">auto
</span></pre></blockquote>
<h4 id = "link-50"><code>output.base_path</code></h4>
<p id = "para-171">Additionally, the <code>output.base_path</code> option allows you to set where the output files will be written (relatively to the book configuration file). E.g.,</p>
<h4 id = "link-50">3.3.3.2. <code>output.base_path</code></h4>
<p id = "para-172">Additionally, the <code>output.base_path</code> option allows you to set where the output files will be written (relatively to the book configuration file). E.g.,</p>
<pre><span style="color:#268bd2;">output.base_path</span><span style="color:#839496;">: </span><span style="color:#268bd2;">docs/book
output.epub</span><span style="color:#839496;">: </span><span style="color:#2aa198;">book.epub
</span></pre><p id = "para-172">will render the EPUB file in <code>docs/book/book.epub</code>.</p>
<h3 id = "link-51">Input options</h3>
<p id = "para-173">Crowbook does its best to improve the typography of your text. Default settings should be good enough for most usages, but you can enable/disable specific options:</p>
</span></pre><p id = "para-173">will render the EPUB file in <code>docs/book/book.epub</code>.</p>
<h3 id = "link-51">3.3.4. Input options</h3>
<p id = "para-174">Crowbook does its best to improve the typography of your text. Default settings should be good enough for most usages, but you can enable/disable specific options:</p>
<ul>
<li><p id = "para-174"><code>input.clean</code> (default: <code>true</code>): if set to <code>false</code>, will disable all typographic “cleaning”. The algorithm is dependent on the language, though currently there is only a variant implemented for <code>fr</code> (french), dealing with the specific non-breaking spaces rules for this language.</p>
<li><p id = "para-175"><code>input.clean</code> (default: <code>true</code>): if set to <code>false</code>, will disable all typographic “cleaning”. The algorithm is dependent on the language, though currently there is only a variant implemented for <code>fr</code> (french), dealing with the specific non-breaking spaces rules for this language.</p>
</li>
<li><p id = "para-175"><code>input.clean.smart_quotes</code> (default: <code>true</code>): if set to <code>false</code>, disable the “smart quote” feature, that (tries to) replace straight quotes with curly ones. As it is an heuristics and cant be perfect, you might want to disable it in some circumstances.</p>
<li><p id = "para-176"><code>input.clean.smart_quotes</code> (default: <code>true</code>): if set to <code>false</code>, disable the “smart quote” feature, that (tries to) replace straight quotes with curly ones. As it is an heuristics and cant be perfect, you might want to disable it in some circumstances.</p>
</li>
<li><p id = "para-176"><code>input.clean.ligature_dashes</code> (default: <code>false</code>): if set to <code>true</code>, will convert <code>--</code> to en dash (<code></code>) and <code>---</code> to em dash (<code></code>). This can be useful if you want to use these characters but cant access them easily on your keymap; however, as it can also cause problems if you <em>do</em> want to have two successive dashes, it is disabled by default.</p>
<li><p id = "para-177"><code>input.clean.ligature_dashes</code> (default: <code>false</code>): if set to <code>true</code>, will convert <code>--</code> to en dash (<code></code>) and <code>---</code> to em dash (<code></code>). This can be useful if you want to use these characters but cant access them easily on your keymap; however, as it can also cause problems if you <em>do</em> want to have two successive dashes, it is disabled by default.</p>
</li>
<li><p id = "para-177"><code>input.clean.ligature_guillemets</code> (default: <code>false</code>): is a similar feature for french guillemets, replacing <code>&lt;&lt;</code> and <code>&gt;&gt;</code> to <code>«</code> and <code>»</code>.</p>
<li><p id = "para-178"><code>input.clean.ligature_guillemets</code> (default: <code>false</code>): is a similar feature for french guillemets, replacing <code>&lt;&lt;</code> and <code>&gt;&gt;</code> to <code>«</code> and <code>»</code>.</p>
</li>
</ul>
<h3 id = "link-52">Generic options for rendering</h3>
<p id = "para-178">These options allow to configure the rendering; they are used (or at least should be) for all formats.</p>
<h3 id = "link-52">3.3.5. Generic options for rendering</h3>
<p id = "para-179">These options allow to configure the rendering; they are used (or at least should be) for all formats.</p>
<ul>
<li><p id = "para-179"><code>rendering.highlight</code> (default: <code>syntect</code>): specify if and how to perform syntax highlighting for code blocks. Valid values are:</p>
<li><p id = "para-180"><code>rendering.highlight</code> (default: <code>syntect</code>): specify if and how to perform syntax highlighting for code blocks. Valid values are:</p>
<ul>
<li><p id = "para-180"><code>syntect</code>: uses the <a href = "https://crates.io/crates/syntect">syntect</a> library to perform syntax highlighting. This has the advantage of also enabling syntax highlighting for LaTeX/PDF and EPUB formats; however syntect support doesnt seem to work on Windows.</p>
<li><p id = "para-181"><code>syntect</code>: uses the <a href = "https://crates.io/crates/syntect">syntect</a> library to perform syntax highlighting. This has the advantage of also enabling syntax highlighting for LaTeX/PDF and EPUB formats; however syntect support doesnt seem to work on Windows.</p>
</li>
<li><p id = "para-181"><code>highlight.js</code>: this will use (and embed) <a href = "https://highlightjs.org/"><code>highlight.js</code></a> for HTML rendering, and will not perform any syntax highlighting for other output formats.</p>
<li><p id = "para-182"><code>highlight.js</code>: this will use (and embed) <a href = "https://highlightjs.org/"><code>highlight.js</code></a> for HTML rendering, and will not perform any syntax highlighting for other output formats.</p>
</li>
<li><p id = "para-182"><code>none</code>: disable syntax highlighting.</p>
<li><p id = "para-183"><code>none</code>: disable syntax highlighting.</p>
</li>
</ul>
</li>
</ul>
<p id = "para-183">If your version of Crowbook (as is the case for Windows builds) isnt built with <code>syntect</code> support, it will default to <code>none</code> if you try to use it.</p>
<p id = "para-184">If your version of <code>crowbook</code> (as is the case for Windows builds) isnt built with <code>syntect</code> support, it will default to <code>none</code> if you try to use it.</p>
<ul>
<li><p id = "para-184"><code>rendering.highlight.theme</code>: only used if <code>rendering.highlight</code> is set to <code>syntect</code>, selects the theme to use for syntax highlighting. Default is “InspiredGitHub”. Valid theme names are:</p>
<li><p id = "para-185"><code>rendering.highlight.theme</code>: only used if <code>rendering.highlight</code> is set to <code>syntect</code>, selects the theme to use for syntax highlighting. Default is “InspiredGitHub”. Valid theme names are:</p>
<ul>
<li><p id = "para-185">“InspiredGitHub”</p>
<li><p id = "para-186">“InspiredGitHub”</p>
</li>
<li><p id = "para-186">“Solarized (dark)”</p>
<li><p id = "para-187">“Solarized (dark)”</p>
</li>
<li><p id = "para-187">“Solarized (light)”</p>
<li><p id = "para-188">“Solarized (light)”</p>
</li>
<li><p id = "para-188">“base16-eighties.dark”</p>
<li><p id = "para-189">“base16-eighties.dark”</p>
</li>
<li><p id = "para-189">“base16-mocha.dark”</p>
<li><p id = "para-190">“base16-mocha.dark”</p>
</li>
<li><p id = "para-190">“base16-ocean.dark”</p>
<li><p id = "para-191">“base16-ocean.dark”</p>
</li>
<li><p id = "para-191">and “base16-ocean.light”.</p>
<li><p id = "para-192">and “base16-ocean.light”.</p>
</li>
</ul>
</li>
<li><p id = "para-192"><code>rendering.num_depth</code>: an integer that represents the maximum level of numbering for your book. E.g., <code>1</code> will only number chapters, while <code>2</code> will number chapters, sections, but not anything below that. <code>6</code> is the maximum level and turns numbering on for all headers. (Default is <code>1</code>.) This also affects what levels will be displayed in the table of contents.</p>
<li><p id = "para-193"><code>rendering.num_depth</code>: an integer that represents the maximum level of numbering for your book. E.g., <code>1</code> will only number chapters, while <code>2</code> will number chapters, sections, but not anything below that. <code>6</code> is the maximum level and turns numbering on for all headers. (Default is <code>1</code>.) This also affects what levels will be displayed in the table of contents.</p>
</li>
<li><p id = "para-193"><code>rendering.chapter</code> and <code>rendering.part</code>: the strings that will be used to design chapter and part. E.g., if you want your parts to show as “Book III” instead of “Part III”, you can set <code>rendering.part: Book</code>.</p>
<li><p id = "para-194"><code>rendering.chapter</code> and <code>rendering.part</code>: the strings that will be used to design chapter and part. E.g., if you want your parts to show as “Book III” instead of “Part III”, you can set <code>rendering.part: Book</code>.</p>
</li>
<li><p id = "para-194"><code>rendering.part.roman_numerals</code> and <code>rendering.chapter.roman_numerals</code>: these two booleans allow you to specify if you want roman numerals for part or chapter numbers (default is <code>true</code> for part numbers, and <code>false</code> for chapter numbers).</p>
<li><p id = "para-195"><code>rendering.part.roman_numerals</code> and <code>rendering.chapter.roman_numerals</code>: these two booleans allow you to specify if you want roman numerals for part or chapter numbers (default is <code>true</code> for part numbers, and <code>false</code> for chapter numbers).</p>
</li>
<li><p id = "para-195"><code>rendering.inline_toc</code>: if set to true, Crowbook will include a table of contents at the beginning of the document.</p>
<li><p id = "para-196"><code>rendering.inline_toc</code>: if set to true, Crowbook will include a table of contents at the beginning of the document.</p>
</li>
<li><p id = "para-196"><code>rendering.inline_toc.name</code>: the name of this table of contents as it should be displayed in the document.</p>
<li><p id = "para-197"><code>rendering.inline_toc.name</code>: the name of this table of contents as it should be displayed in the document.</p>
</li>
<li><p id = "para-197"><code>rendering.initials</code>: if set to true, Crowbook will use initials, or “lettrines”, displaying the first letter of each chapter bigger than the others.</p>
<li><p id = "para-198"><code>rendering.initials</code>: if set to true, Crowbook will use initials, or “lettrines”, displaying the first letter of each chapter bigger than the others.</p>
</li>
<li><p id = "para-198"><code>rendering.part.reset_counter</code>: set it to <code>false</code> if you dont want your chapter numbers to start again at 1 at each part.</p>
<li><p id = "para-199"><code>rendering.part.reset_counter</code>: set it to <code>false</code> if you dont want your chapter numbers to start again at 1 at each part.</p>
</li>
</ul>
<h3 id = "link-53">HTML Options</h3>
<p id = "para-199">These options allow you to customize the HTML rendering (used both by the default HTML standalone renderer and the HTML multifile renderer):</p>
<h3 id = "link-53">3.3.6. HTML Options</h3>
<p id = "para-200">These options allow you to customize the HTML rendering (used both by the default HTML standalone renderer and the HTML multifile renderer):</p>
<ul>
<li><p id = "para-200"><code>html.icon</code>: allows to set a <code>favicon</code> for the page.</p>
<li><p id = "para-201"><code>html.icon</code>: allows to set a <code>favicon</code> for the page.</p>
</li>
<li><p id = "para-201"><code>html.header</code> and <code>html.footer</code>: allow to set a custom (Markdown) string at the top and at the bottom of the HTML page. This is actually a template, so you can access metadata, such as <code>{{{author}}}</code>, <code>{{{title}}}</code>, or <code>{{{version}}}</code> in it. See the <a href = "chapter_004.html">template</a> chapter for more information on the fields you can use.</p>
<li><p id = "para-202"><code>html.header</code> and <code>html.footer</code>: allow to set a custom (Markdown) string at the top and at the bottom of the HTML page. This is actually a template, so you can access metadata, such as <code>{{{author}}}</code>, <code>{{{title}}}</code>, or <code>{{{version}}}</code> in it. See the <a href = "guide/templates.md">template</a> chapter for more information on the fields you can use.</p>
</li>
<li><p id = "para-202"><code>html.css</code>: allows to set up a custom CSS file. You can also redefine the colors in a file and set it using <code>html.css.colors</code>.</p>
<li><p id = "para-203"><code>html.css</code>: allows to set up a custom CSS file. You can also redefine the colors in a file and set it using <code>html.css.colors</code>.</p>
</li>
<li><p id = "para-203"><code>html.css.add</code>: allows you to add some specific lines of CSS in your book configuration file, that will be appended after the default CSS template.</p>
<li><p id = "para-204"><code>html.css.add</code>: allows you to add some specific lines of CSS in your book configuration file, that will be appended after the default CSS template.</p>
</li>
<li><p id = "para-204"><code>html.highlight.theme</code>: is similar to <code>rendering.highlight.theme</code> but only sets the theme for HTML output.</p>
<li><p id = "para-205"><code>html.highlight.theme</code>: is similar to <code>rendering.highlight.theme</code> but only sets the theme for HTML output.</p>
</li>
</ul>
<h4 id = "link-54">Options for standalone HTML</h4>
<p id = "para-205">There are a few options specific to the standalone HTML renderer (default, set with <code>output.html</code>):</p>
<h4 id = "link-54">3.3.6.1. Options for standalone HTML</h4>
<p id = "para-206">There are a few options specific to the standalone HTML renderer (default, set with <code>output.html</code>):</p>
<ul>
<li><p id = "para-206"><code>html.standalone.one_chapter</code>: if set to true, will only display one chapter at a time (using Javascript), making it look similarly to the multifile HTML.</p>
<li><p id = "para-207"><code>html.standalone.one_chapter</code>: if set to true, will only display one chapter at a time (using Javascript), making it look similarly to the multifile HTML.</p>
</li>
<li><p id = "para-207"><code>html.standalone.template</code>: allows you to change or modify the HTML template for standalone HTML.</p>
<li><p id = "para-208"><code>html.standalone.template</code>: allows you to change or modify the HTML template for standalone HTML.</p>
</li>
</ul>
<h3 id = "link-55">Options for LaTeX/PDF rendering</h3>
<p id = "para-208">These options allow you to customize the LaTeX renderer (and, thus, the generated PDF documents):</p>
<h3 id = "link-55">3.3.7. Options for LaTeX/PDF rendering</h3>
<p id = "para-209">These options allow you to customize the LaTeX renderer (and, thus, the generated PDF documents):</p>
<ul>
<li><p id = "para-209"><code>tex.template</code>: specifies a different LaTeX template.</p>
<li><p id = "para-210"><code>tex.template</code>: specifies a different LaTeX template.</p>
</li>
<li><p id = "para-210"><code>tex.class</code>: changes the LaTeX class used.</p>
<li><p id = "para-211"><code>tex.class</code>: changes the LaTeX class used.</p>
</li>
<li><p id = "para-211"><code>tex.paper.size</code> and <code>tex.font.size</code>: (default <code>a5paper</code> and <code>10pt</code>) allows to modify the page and font size.</p>
<li><p id = "para-212"><code>tex.paper.size</code> and <code>tex.font.size</code>: (default <code>a5paper</code> and <code>10pt</code>) allows to modify the page and font size.</p>
</li>
<li><p id = "para-212"><code>tex.margin.left</code>, <code>tex.margin.right</code>, <code>tex.margin.top</code> and <code>tex.margin.bottom</code>: specify the margin of the page.</p>
<li><p id = "para-213"><code>tex.margin.left</code>, <code>tex.margin.right</code>, <code>tex.margin.top</code> and <code>tex.margin.bottom</code>: specify the margin of the page.</p>
</li>
<li><p id = "para-213"><code>tex.links_as_footnotes</code>: can be set to <code>false</code> if you dont want links to also appear as footnotes (which means losing them if it is actually printed).</p>
<li><p id = "para-214"><code>tex.links_as_footnotes</code>: can be set to <code>false</code> if you dont want links to also appear as footnotes (which means losing them if it is actually printed).</p>
</li>
<li><p id = "para-214"><code>tex.highlight.theme</code>: similar to <code>rendering.highlight.theme</code>, but only sets the theme for LaTeX/PDF rendering.</p>
<li><p id = "para-215"><code>tex.highlight.theme</code>: similar to <code>rendering.highlight.theme</code>, but only sets the theme for LaTeX/PDF rendering.</p>
</li>
</ul>
<h3 id = "link-56">Options for EPUB rendering</h3>
<p id = "para-215">There are also options specific to the EPUB format:</p>
<h3 id = "link-56">3.3.8. Options for EPUB rendering</h3>
<p id = "para-216">There are also options specific to the EPUB format:</p>
<ul>
<li><p id = "para-216"><code>epub.version</code>: can be set to 2 or 3 (default 2).</p>
<li><p id = "para-217"><code>epub.version</code>: can be set to 2 or 3 (default 2).</p>
</li>
<li><p id = "para-217"><code>epub.css</code>: can be useful if you want to specify a customized stylesheet.</p>
<li><p id = "para-218"><code>epub.css</code>: can be useful if you want to specify a customized stylesheet.</p>
</li>
<li><p id = "para-218"><code>epub.highlight.theme</code>: similar to <code>rendering.highlight.theme</code> but only sets a theme for EPUB output.</p>
<li><p id = "para-219"><code>epub.highlight.theme</code>: similar to <code>rendering.highlight.theme</code> but only sets a theme for EPUB output.</p>
</li>
</ul>
<h3 id = "link-57">Resources options</h3>
<p id = "para-219">These options allow to embed additional files for some formats (currently, only EPUB). This can be useful for embedding fonts.</p>
<h4 id = "link-58">resources.files</h4>
<p id = "para-220">A list of files or directories that should be added.</p>
<h3 id = "link-57">3.3.9. Resources options</h3>
<p id = "para-220">These options allow to embed additional files for some formats (currently, only EPUB). This can be useful for embedding fonts.</p>
<h4 id = "link-58">3.3.9.1. <code>resources.files</code></h4>
<p id = "para-221">A list of files or directories that should be added.</p>
<pre><span style="color:#268bd2;">resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">font1.otf</span><span style="color:#839496;">, </span><span style="color:#2aa198;">font2.otf</span><span style="color:#839496;">]
</span></pre><p id = "para-221">It is also possible to specify a directory (or multiple directories). So if you have a <code>fonts</code> directories containing <code>font1.otf</code> and <code>font2.otf</code>,</p>
</span></pre><p id = "para-222">It is also possible to specify a directory (or multiple directories). So if you have a <code>fonts</code> directories containing <code>font1.otf</code> and <code>font2.otf</code>,</p>
<pre><span style="color:#268bd2;">resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">fonts</span><span style="color:#839496;">]
</span></pre><p id = "para-222">will be equivalent to:</p>
</span></pre><p id = "para-223">will be equivalent to:</p>
<pre><span style="color:#268bd2;">resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">fonts/font1.otf</span><span style="color:#839496;">, </span><span style="color:#2aa198;">fonts/font2.otf</span><span style="color:#839496;">]
</span></pre><p id = "para-223"><b>default</b>: not set</p>
<h4 id = "link-59">resources.out_path</h4>
<p id = "para-224">This option determine where (in which directory), <em>in the resulting document</em>, those files will be copied. The default is <code>data</code>, so by default the <code>resources.files</code> in the first example above will search <code>font1.otf</code> and <code>font2.otf</code> <em>in the same directory than the <code>.book</code> file</em>, and will copy them to <code>data/font1.otf</code> and <code>data/font2.otf</code> <em>in the EPUB file</em>. This is therefore this last path that you should use if you want to access those files e.g. in a custom CSS stylesheet.</p>
<p id = "para-225">Note that if you pass directories to <code>resources.files</code>, the whole directory would be copied. So assuming <code>fonts/</code> contains <code>font1.otf</code> and <code>font2.otf</code></p>
</span></pre><p id = "para-224"><b>default</b>: not set</p>
<h4 id = "link-59">3.3.9.2. <code>resources.out_path</code></h4>
<p id = "para-225">This option determine where (in which directory), <em>in the resulting document</em>, those files will be copied. The default is <code>data</code>, so by default the <code>resources.files</code> in the first example above will search <code>font1.otf</code> and <code>font2.otf</code> <em>in the same directory than the <code>.book</code> file</em>, and will copy them to <code>data/font1.otf</code> and <code>data/font2.otf</code> <em>in the EPUB file</em>. This is therefore this last path that you should use if you want to access those files e.g. in a custom CSS stylesheet.</p>
<p id = "para-226">Note that if you pass directories to <code>resources.files</code>, the whole directory would be copied. So assuming <code>fonts/</code> contains <code>font1.otf</code> and <code>font2.otf</code></p>
<pre><span style="color:#268bd2;">resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">fonts</span><span style="color:#839496;">]
</span><span style="color:#268bd2;">resources.path</span><span style="color:#839496;">: </span><span style="color:#2aa198;">data
</span></pre><p id = "para-226">will copy these two files to <code>data/fonts/font1.otf</code> and <code>data/fonts/font2.otf</code> (and not <code>data/font1.otf</code> and <code>data/font2.otf</code>).</p>
<p id = "para-227">Similarly, the whole path of <code>resources.files</code> is copied, so</p>
</span></pre><p id = "para-227">will copy these two files to <code>data/fonts/font1.otf</code> and <code>data/fonts/font2.otf</code> (and not <code>data/font1.otf</code> and <code>data/font2.otf</code>).</p>
<p id = "para-228">Similarly, the whole path of <code>resources.files</code> is copied, so</p>
<pre><span style="color:#268bd2;">resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">fonts/font1.otf</span><span style="color:#839496;">, </span><span style="color:#2aa198;">fonts/font2.otf</span><span style="color:#839496;">]
</span></pre><p id = "para-228">will yield the same result.</p>
<p id = "para-229"><b>default</b>: <code>data</code></p>
</span></pre><p id = "para-229">will yield the same result.</p>
<p id = "para-230"><b>default</b>: <code>data</code></p>
<h2 id = "link-60">3.4. Full list of options</h2>
<p id = "para-230">Here is the complete list of options. You can always look at it by running <code>crowbook --list-options</code> or <code>crowbook -l</code>.</p>
<h3 id = "link-61">Metadata</h3>
<p id = "para-231">Here is the complete list of options. You can always look at it by running <code>crowbook --list-options</code> or <code>crowbook -l</code>.</p>
<p id = "para-232">Note that these options have a type, which in most case should be pretty straightforward (a boolean can be <code>true</code> or <code>false</code>, an integer must be composed by a number, a string is, well, any string (note that you might need to use quotes if it includes some characters that may lead the YAML parser to read it as an array, an integer or a list), and a list of strings is a list containing only strings, see <a href = "https://en.wikipedia.org/wiki/YAML#Basic_components">YAML syntax</a>). The <code>path</code> type might puzzle you a bit, but its equivalent to a string, except Crowbook will consider it relatively to the book file. The <code>template path</code> type is just the <code>path</code> of a template. Metadata are just strings.</p>
<h3 id = "link-61">3.4.1. Metadata</h3>
<h4 id = "link-62">3.4.1.1. <code>author</code></h4>
<ul>
<li><p id = "para-231"><b><code>author</code></b></p>
<ul>
<li><p id = "para-232"><b>type</b>: metadata</p>
<li><p id = "para-233"><b>type</b>: metadata</p>
</li>
<li><p id = "para-233"><b>default value</b>: <code>""</code></p>
<li><p id = "para-234"><b>default value</b>: <code>""</code></p>
</li>
<li><p id = "para-234">Author of the book</p>
<li><p id = "para-235">Author of the book</p>
</li>
</ul>
</li>
<li><p id = "para-235"><b><code>title</code></b></p>
<h4 id = "link-63">3.4.1.2. <code>title</code></h4>
<ul>
<li><p id = "para-236"><b>type</b>: metadata</p>
</li>
@ -585,1114 +859,975 @@ output.epub</span><span style="color:#839496;">: </span><span style="color:#2aa1
<li><p id = "para-238">Title of the book</p>
</li>
</ul>
</li>
<li><p id = "para-239"><b><code>lang</code></b></p>
<h4 id = "link-64">3.4.1.3. <code>lang</code></h4>
<ul>
<li><p id = "para-240"><b>type</b>: metadata</p>
<li><p id = "para-239"><b>type</b>: metadata</p>
</li>
<li><p id = "para-241"><b>default value</b>: <code>en</code></p>
<li><p id = "para-240"><b>default value</b>: <code>en</code></p>
</li>
<li><p id = "para-242">Language of the book</p>
<li><p id = "para-241">Language of the book</p>
</li>
</ul>
</li>
<li><p id = "para-243"><b><code>subject</code></b></p>
<h4 id = "link-65">3.4.1.4. <code>subject</code></h4>
<ul>
<li><p id = "para-244"><b>type</b>: metadata</p>
<li><p id = "para-242"><b>type</b>: metadata</p>
</li>
<li><p id = "para-245"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-243"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-246">Subject of the book (used for EPUB metadata)</p>
<li><p id = "para-244">Subject of the book (used for EPUB metadata)</p>
</li>
</ul>
</li>
<li><p id = "para-247"><b><code>description</code></b></p>
<h4 id = "link-66">3.4.1.5. <code>description</code></h4>
<ul>
<li><p id = "para-248"><b>type</b>: metadata</p>
<li><p id = "para-245"><b>type</b>: metadata</p>
</li>
<li><p id = "para-246"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-247">Description of the book (used for EPUB metadata)</p>
</li>
</ul>
<h4 id = "link-67">3.4.1.6. <code>cover</code></h4>
<ul>
<li><p id = "para-248"><b>type</b>: path</p>
</li>
<li><p id = "para-249"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-250">Description of the book (used for EPUB metadata)</p>
<li><p id = "para-250">Path to the cover of the book</p>
</li>
</ul>
</li>
<li><p id = "para-251"><b><code>cover</code></b></p>
<h3 id = "link-68">3.4.2. Additional metadata</h3>
<h4 id = "link-69">3.4.2.1. <code>subtitle</code></h4>
<ul>
<li><p id = "para-252"><b>type</b>: path</p>
<li><p id = "para-251"><b>type</b>: metadata</p>
</li>
<li><p id = "para-253"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-252"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-254">Path to the cover of the book</p>
<li><p id = "para-253">Subtitle of the book</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-62">Additional metadata</h3>
<h4 id = "link-70">3.4.2.2. <code>license</code></h4>
<ul>
<li><p id = "para-255"><b><code>subtitle</code></b></p>
<ul>
<li><p id = "para-256"><b>type</b>: metadata</p>
<li><p id = "para-254"><b>type</b>: metadata</p>
</li>
<li><p id = "para-257"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-255"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-258">Subtitle of the book</p>
<li><p id = "para-256">License of the book. This information will be displayed on PDF documents</p>
</li>
</ul>
<h4 id = "link-71">3.4.2.3. <code>version</code></h4>
<ul>
<li><p id = "para-257"><b>type</b>: metadata</p>
</li>
<li><p id = "para-259"><b><code>license</code></b></p>
<li><p id = "para-258"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-259">Version of the book</p>
</li>
</ul>
<h4 id = "link-72">3.4.2.4. <code>date</code></h4>
<ul>
<li><p id = "para-260"><b>type</b>: metadata</p>
</li>
<li><p id = "para-261"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-262">License of the book. This information will be displayed on PDF documents</p>
<li><p id = "para-262">Date the book was revised</p>
</li>
</ul>
</li>
<li><p id = "para-263"><b><code>version</code></b></p>
<h3 id = "link-73">3.4.3. Output options</h3>
<h4 id = "link-74">3.4.3.1. <code>output</code></h4>
<ul>
<li><p id = "para-264"><b>type</b>: metadata</p>
<li><p id = "para-263"><b>type</b>: list of strings</p>
</li>
<li><p id = "para-265"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-264"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-266">Version of the book</p>
<li><p id = "para-265">Specify a list of output formats to render</p>
</li>
</ul>
</li>
<li><p id = "para-267"><b><code>date</code></b></p>
<h4 id = "link-75">3.4.3.2. <code>output.epub</code></h4>
<ul>
<li><p id = "para-268"><b>type</b>: metadata</p>
<li><p id = "para-266"><b>type</b>: path</p>
</li>
<li><p id = "para-269"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-267"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-270">Date the book was revised</p>
<li><p id = "para-268">Output file name for EPUB rendering</p>
</li>
</ul>
<h4 id = "link-76">3.4.3.3. <code>output.html</code></h4>
<ul>
<li><p id = "para-269"><b>type</b>: path</p>
</li>
<li><p id = "para-270"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-271">Output file name for HTML rendering</p>
</li>
</ul>
<h3 id = "link-63">Output options</h3>
<h4 id = "link-77">3.4.3.4. <code>output.html.dir</code></h4>
<ul>
<li><p id = "para-271"><b><code>output</code></b></p>
<ul>
<li><p id = "para-272"><b>type</b>: list of strings</p>
<li><p id = "para-272"><b>type</b>: path</p>
</li>
<li><p id = "para-273"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-274">Specify a list of output formats to render</p>
<li><p id = "para-274">Output directory name for HTML rendering</p>
</li>
</ul>
</li>
<li><p id = "para-275"><b><code>output.epub</code></b></p>
<h4 id = "link-78">3.4.3.5. <code>output.tex</code></h4>
<ul>
<li><p id = "para-276"><b>type</b>: path</p>
<li><p id = "para-275"><b>type</b>: path</p>
</li>
<li><p id = "para-277"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-276"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-278">Output file name for EPUB rendering</p>
<li><p id = "para-277">Output file name for LaTeX rendering</p>
</li>
</ul>
</li>
<li><p id = "para-279"><b><code>output.html</code></b></p>
<h4 id = "link-79">3.4.3.6. <code>output.pdf</code></h4>
<ul>
<li><p id = "para-280"><b>type</b>: path</p>
<li><p id = "para-278"><b>type</b>: path</p>
</li>
<li><p id = "para-281"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-279"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-282">Output file name for HTML rendering</p>
<li><p id = "para-280">Output file name for PDF rendering</p>
</li>
</ul>
<h4 id = "link-80">3.4.3.7. <code>output.odt</code></h4>
<ul>
<li><p id = "para-281"><b>type</b>: path</p>
</li>
<li><p id = "para-283"><b><code>output.html.dir</code></b></p>
<li><p id = "para-282"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-283">Output file name for ODT rendering</p>
</li>
</ul>
<h4 id = "link-81">3.4.3.8. <code>output.html.if</code></h4>
<ul>
<li><p id = "para-284"><b>type</b>: path</p>
</li>
<li><p id = "para-285"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-286">Output directory name for HTML rendering</p>
<li><p id = "para-286">Output file name for HTML (interactive fiction) rendering</p>
</li>
</ul>
</li>
<li><p id = "para-287"><b><code>output.tex</code></b></p>
<h4 id = "link-82">3.4.3.9. <code>output.base_path</code></h4>
<ul>
<li><p id = "para-288"><b>type</b>: path</p>
<li><p id = "para-287"><b>type</b>: path</p>
</li>
<li><p id = "para-289"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-288"><b>default value</b>: <code>""</code></p>
</li>
<li><p id = "para-290">Output file name for LaTeX rendering</p>
<li><p id = "para-289">Directory where those output files will we written</p>
</li>
</ul>
</li>
<li><p id = "para-291"><b><code>output.pdf</code></b></p>
<h3 id = "link-83">3.4.4. Rendering options</h3>
<h4 id = "link-84">3.4.4.1. <code>rendering.highlight</code></h4>
<ul>
<li><p id = "para-292"><b>type</b>: path</p>
<li><p id = "para-290"><b>type</b>: string</p>
</li>
<li><p id = "para-293"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-291"><b>default value</b>: <code>syntect</code></p>
</li>
<li><p id = "para-294">Output file name for PDF rendering</p>
<li><p id = "para-292">If/how highligh code blocks. Possible values: “syntect” (default, performed at runtime), “highlight.js” (HTML-only, uses Javascript), “none”</p>
</li>
</ul>
</li>
<li><p id = "para-295"><b><code>output.odt</code></b></p>
<h4 id = "link-85">3.4.4.2. <code>rendering.highlight.theme</code></h4>
<ul>
<li><p id = "para-296"><b>type</b>: path</p>
<li><p id = "para-293"><b>type</b>: string</p>
</li>
<li><p id = "para-297"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-294"><b>default value</b>: <code>InspiredGitHub</code></p>
</li>
<li><p id = "para-298">Output file name for ODT rendering</p>
<li><p id = "para-295">Theme for syntax highlighting (if rendering.highlight is set to syntect)</p>
</li>
</ul>
</li>
<li><p id = "para-299"><b><code>output.html.if</code></b></p>
<h4 id = "link-86">3.4.4.3. <code>rendering.initials</code></h4>
<ul>
<li><p id = "para-300"><b>type</b>: path</p>
<li><p id = "para-296"><b>type</b>: boolean</p>
</li>
<li><p id = "para-301"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-297"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-302">Output file name for HTML (interactive fiction) rendering</p>
<li><p id = "para-298">Use initials (lettrines) for first letter of a chapter (experimental)</p>
</li>
</ul>
</li>
<li><p id = "para-303"><b><code>output.base_path</code></b></p>
<h4 id = "link-87">3.4.4.4. <code>rendering.inline_toc</code></h4>
<ul>
<li><p id = "para-304"><b>type</b>: path</p>
<li><p id = "para-299"><b>type</b>: boolean</p>
</li>
<li><p id = "para-305"><b>default value</b>: <code>""</code></p>
<li><p id = "para-300"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-306">Directory where those output files will we written</p>
<li><p id = "para-301">Display a table of content in the document</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-64">Rendering options</h3>
<h4 id = "link-88">3.4.4.5. <code>rendering.inline_toc.name</code></h4>
<ul>
<li><p id = "para-307"><b><code>rendering.highlight</code></b></p>
<li><p id = "para-302"><b>type</b>: string</p>
</li>
<li><p id = "para-303"><b>default value</b>: <code>"{{{loc_toc}}}"</code></p>
</li>
<li><p id = "para-304">Name of the table of contents if it is displayed in document</p>
</li>
</ul>
<h4 id = "link-89">3.4.4.6. <code>rendering.num_depth</code></h4>
<ul>
<li><p id = "para-305"><b>type</b>: integer</p>
</li>
<li><p id = "para-306"><b>default value</b>: <code>1</code></p>
</li>
<li><p id = "para-307">The maximum heading levels that should be numbered (0: no numbering, 1: only chapters, ..., 6: all)</p>
</li>
</ul>
<h4 id = "link-90">3.4.4.7. <code>rendering.chapter</code></h4>
<ul>
<li><p id = "para-308"><b>type</b>: string</p>
</li>
<li><p id = "para-309"><b>default value</b>: <code>syntect</code></p>
<li><p id = "para-309"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-310">If/how highligh code blocks. Possible values: “syntect” (default, performed at runtime), “highlight.js” (HTML-only, uses Javascript), “none”</p>
<li><p id = "para-310">How to call chapters</p>
</li>
</ul>
</li>
<li><p id = "para-311"><b><code>rendering.highlight.theme</code></b></p>
<h4 id = "link-91">3.4.4.8. <code>rendering.part</code></h4>
<ul>
<li><p id = "para-312"><b>type</b>: string</p>
<li><p id = "para-311"><b>type</b>: string</p>
</li>
<li><p id = "para-313"><b>default value</b>: <code>InspiredGitHub</code></p>
<li><p id = "para-312"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-314">Theme for syntax highlighting (if rendering.highlight is set to syntect)</p>
<li><p id = "para-313">How to call parts (or books, episodes, ...</p>
</li>
</ul>
</li>
<li><p id = "para-315"><b><code>rendering.initials</code></b></p>
<h4 id = "link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></h4>
<ul>
<li><p id = "para-316"><b>type</b>: boolean</p>
<li><p id = "para-314"><b>type</b>: boolean</p>
</li>
<li><p id = "para-317"><b>default value</b>: <code>false</code></p>
<li><p id = "para-315"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-318">Use initials (lettrines) for first letter of a chapter (experimental)</p>
<li><p id = "para-316">If set to true, display chapter number with roman numerals</p>
</li>
</ul>
<h4 id = "link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></h4>
<ul>
<li><p id = "para-317"><b>type</b>: boolean</p>
</li>
<li><p id = "para-319"><b><code>rendering.inline_toc</code></b></p>
<li><p id = "para-318"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-319">If set to true, display part number with roman numerals</p>
</li>
</ul>
<h4 id = "link-94">3.4.4.11. <code>rendering.part.reset_counter</code></h4>
<ul>
<li><p id = "para-320"><b>type</b>: boolean</p>
</li>
<li><p id = "para-321"><b>default value</b>: <code>false</code></p>
<li><p id = "para-321"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-322">Display a table of content in the document</p>
<li><p id = "para-322">If set to true, reset chapter number at each part</p>
</li>
</ul>
</li>
<li><p id = "para-323"><b><code>rendering.inline_toc.name</code></b></p>
<h4 id = "link-95">3.4.4.12. <code>rendering.chapter.template</code></h4>
<ul>
<li><p id = "para-324"><b>type</b>: string</p>
<li><p id = "para-323"><b>type</b>: string</p>
</li>
<li><p id = "para-325"><b>default value</b>: <code>"{{{loc_toc}}}"</code></p>
<li><p id = "para-324"><b>default value</b>: <code>"{{{number}}}. {{{chapter_title}}}"</code></p>
</li>
<li><p id = "para-326">Name of the table of contents if it is displayed in document</p>
<li><p id = "para-325">Naming scheme of chapters, for TOC</p>
</li>
</ul>
</li>
<li><p id = "para-327"><b><code>rendering.num_depth</code></b></p>
<h4 id = "link-96">3.4.4.13. <code>rendering.part.template</code></h4>
<ul>
<li><p id = "para-328"><b>type</b>: integer</p>
<li><p id = "para-326"><b>type</b>: string</p>
</li>
<li><p id = "para-329"><b>default value</b>: <code>1</code></p>
<li><p id = "para-327"><b>default value</b>: <code>"{{{number}}}. {{{part_title}}}"</code></p>
</li>
<li><p id = "para-330">The maximum heading levels that should be numbered (0: no numbering, 1: only chapters, ..., 6: all)</p>
<li><p id = "para-328">Naming scheme of parts, for TOC</p>
</li>
</ul>
</li>
<li><p id = "para-331"><b><code>rendering.chapter</code></b></p>
<h3 id = "link-97">3.4.5. Special option</h3>
<h4 id = "link-98">3.4.5.1. <code>import</code></h4>
<ul>
<li><p id = "para-332"><b>type</b>: string</p>
<li><p id = "para-329"><b>type</b>: path</p>
</li>
<li><p id = "para-330"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-331">Import another book configuration file</p>
</li>
</ul>
<h3 id = "link-99">3.4.6. HTML options</h3>
<h4 id = "link-100">3.4.6.1. <code>html.icon</code></h4>
<ul>
<li><p id = "para-332"><b>type</b>: path</p>
</li>
<li><p id = "para-333"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-334">How to call chapters</p>
<li><p id = "para-334">Path to an icon to be used for the HTML files(s)</p>
</li>
</ul>
</li>
<li><p id = "para-335"><b><code>rendering.part</code></b></p>
<h4 id = "link-101">3.4.6.2. <code>html.highlight.theme</code></h4>
<ul>
<li><p id = "para-336"><b>type</b>: string</p>
<li><p id = "para-335"><b>type</b>: string</p>
</li>
<li><p id = "para-337"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-336"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-338">How to call parts (or books, episodes, ...</p>
<li><p id = "para-337">If set, set theme for syntax highlighting for HTML output (syntect only)</p>
</li>
</ul>
</li>
<li><p id = "para-339"><b><code>rendering.chapter.roman_numerals</code></b></p>
<h4 id = "link-102">3.4.6.3. <code>html.header</code></h4>
<ul>
<li><p id = "para-340"><b>type</b>: boolean</p>
<li><p id = "para-338"><b>type</b>: string</p>
</li>
<li><p id = "para-341"><b>default value</b>: <code>false</code></p>
<li><p id = "para-339"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-342">If set to true, display chapter number with roman numerals</p>
<li><p id = "para-340">Custom header to display at the beginning of html file(s)</p>
</li>
</ul>
</li>
<li><p id = "para-343"><b><code>rendering.part.roman_numerals</code></b></p>
<h4 id = "link-103">3.4.6.4. <code>html.footer</code></h4>
<ul>
<li><p id = "para-344"><b>type</b>: boolean</p>
<li><p id = "para-341"><b>type</b>: string</p>
</li>
<li><p id = "para-345"><b>default value</b>: <code>true</code></p>
<li><p id = "para-342"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-346">If set to true, display part number with roman numerals</p>
<li><p id = "para-343">Custom footer to display at the end of HTML file(s)</p>
</li>
</ul>
</li>
<li><p id = "para-347"><b><code>rendering.part.reset_counter</code></b></p>
<h4 id = "link-104">3.4.6.5. <code>html.css</code></h4>
<ul>
<li><p id = "para-348"><b>type</b>: boolean</p>
<li><p id = "para-344"><b>type</b>: template path</p>
</li>
<li><p id = "para-349"><b>default value</b>: <code>true</code></p>
<li><p id = "para-345"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-350">If set to true, reset chapter number at each part</p>
<li><p id = "para-346">Path of a stylesheet for HTML rendering</p>
</li>
</ul>
</li>
<li><p id = "para-351"><b><code>rendering.chapter.template</code></b></p>
<h4 id = "link-105">3.4.6.6. <code>html.css.add</code></h4>
<ul>
<li><p id = "para-352"><b>type</b>: string</p>
<li><p id = "para-347"><b>type</b>: string</p>
</li>
<li><p id = "para-353"><b>default value</b>: <code>"{{{number}}}. {{{chapter_title}}}"</code></p>
<li><p id = "para-348"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-354">Naming scheme of chapters, for TOC</p>
<li><p id = "para-349">Some inline CSS added to the stylesheet template</p>
</li>
</ul>
</li>
<li><p id = "para-355"><b><code>rendering.part.template</code></b></p>
<h4 id = "link-106">3.4.6.7. <code>html.css.colors</code></h4>
<ul>
<li><p id = "para-356"><b>type</b>: string</p>
<li><p id = "para-350"><b>type</b>: template path</p>
</li>
<li><p id = "para-357"><b>default value</b>: <code>"{{{number}}}. {{{part_title}}}"</code></p>
<li><p id = "para-351"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-358">Naming scheme of parts, for TOC</p>
<li><p id = "para-352">Path of a stylesheet for the colors for HTML</p>
</li>
</ul>
<h4 id = "link-107">3.4.6.8. <code>html.js</code></h4>
<ul>
<li><p id = "para-353"><b>type</b>: template path</p>
</li>
<li><p id = "para-354"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-355">Path of a javascript file</p>
</li>
</ul>
<h3 id = "link-65">Special option</h3>
<h4 id = "link-108">3.4.6.9. <code>html.css.print</code></h4>
<ul>
<li><p id = "para-359"><b><code>import</code></b></p>
<ul>
<li><p id = "para-360"><b>type</b>: path</p>
<li><p id = "para-356"><b>type</b>: template path</p>
</li>
<li><p id = "para-361"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-357"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-362">Import another book configuration file</p>
<li><p id = "para-358">Path of a media print stylesheet for HTML rendering</p>
</li>
</ul>
<h4 id = "link-109">3.4.6.10. <code>html.highlight.js</code></h4>
<ul>
<li><p id = "para-359"><b>type</b>: template path</p>
</li>
<li><p id = "para-360"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-361">Set another highlight.js version than the bundled one</p>
</li>
</ul>
<h3 id = "link-66">HTML options</h3>
<h4 id = "link-110">3.4.6.11. <code>html.highlight.css</code></h4>
<ul>
<li><p id = "para-363"><b><code>html.icon</code></b></p>
<ul>
<li><p id = "para-364"><b>type</b>: path</p>
<li><p id = "para-362"><b>type</b>: template path</p>
</li>
<li><p id = "para-365"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-363"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-366">Path to an icon to be used for the HTML files(s)</p>
<li><p id = "para-364">Set another highlight.js CSS theme than the default one</p>
</li>
</ul>
</li>
<li><p id = "para-367"><b><code>html.highlight.theme</code></b></p>
<h4 id = "link-111">3.4.6.12. <code>html.side_notes</code></h4>
<ul>
<li><p id = "para-368"><b>type</b>: string</p>
<li><p id = "para-365"><b>type</b>: boolean</p>
</li>
<li><p id = "para-369"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-366"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-370">If set, set theme for syntax highlighting for HTML output (syntect only)</p>
<li><p id = "para-367">Display footnotes as side notes in HTML/Epub (experimental)</p>
</li>
</ul>
</li>
<li><p id = "para-371"><b><code>html.header</code></b></p>
<h4 id = "link-112">3.4.6.13. <code>html.escape_nb_spaces</code></h4>
<ul>
<li><p id = "para-372"><b>type</b>: string</p>
<li><p id = "para-368"><b>type</b>: boolean</p>
</li>
<li><p id = "para-373"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-369"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-374">Custom header to display at the beginning of html file(s)</p>
<li><p id = "para-370">Replace unicode non breaking spaces with HTML entities and CSS</p>
</li>
</ul>
</li>
<li><p id = "para-375"><b><code>html.footer</code></b></p>
<h4 id = "link-113">3.4.6.14. <code>html.chapter.template</code></h4>
<ul>
<li><p id = "para-376"><b>type</b>: string</p>
<li><p id = "para-371"><b>type</b>: string</p>
</li>
<li><p id = "para-377"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-372"><b>default value</b>: <code>"&lt;h1 id = 'link-{{{link}}}'&gt;{{#has_number}}&lt;span class = 'chapter-header'&gt;{{{header}}} {{{number}}}&lt;/span&gt;{{#has_title}}&lt;br /&gt;{{/has_title}}{{/has_number}}{{{title}}}&lt;/h1&gt;"</code></p>
</li>
<li><p id = "para-378">Custom footer to display at the end of HTML file(s)</p>
<li><p id = "para-373">Inline template for HTML chapter formatting</p>
</li>
</ul>
</li>
<li><p id = "para-379"><b><code>html.css</code></b></p>
<h4 id = "link-114">3.4.6.15. <code>html.part.template</code></h4>
<ul>
<li><p id = "para-380"><b>type</b>: template path</p>
<li><p id = "para-374"><b>type</b>: string</p>
</li>
<li><p id = "para-381"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-375"><b>default value</b>: <code>"&lt;h2 class = 'part'&gt;{{{header}}} {{{number}}}&lt;/h2&gt; &lt;h1 id = 'link-{{{link}}}' class = 'part'&gt;{{{title}}}&lt;/h1&gt;"</code></p>
</li>
<li><p id = "para-382">Path of a stylesheet for HTML rendering</p>
<li><p id = "para-376">Inline template for HTML part formatting</p>
</li>
</ul>
</li>
<li><p id = "para-383"><b><code>html.css.add</code></b></p>
<h3 id = "link-115">3.4.7. Standalone HTML options</h3>
<h4 id = "link-116">3.4.7.1. <code>html.standalone.template</code></h4>
<ul>
<li><p id = "para-384"><b>type</b>: string</p>
<li><p id = "para-377"><b>type</b>: template path</p>
</li>
<li><p id = "para-385"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-378"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-386">Some inline CSS added to the stylesheet template</p>
<li><p id = "para-379">Path of an HTML template for standalone HTML</p>
</li>
</ul>
</li>
<li><p id = "para-387"><b><code>html.css.colors</code></b></p>
<h4 id = "link-117">3.4.7.2. <code>html.standalone.one_chapter</code></h4>
<ul>
<li><p id = "para-388"><b>type</b>: template path</p>
<li><p id = "para-380"><b>type</b>: boolean</p>
</li>
<li><p id = "para-389"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-381"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-390">Path of a stylesheet for the colors for HTML</p>
<li><p id = "para-382">Display only one chapter at a time (with a button to display all)</p>
</li>
</ul>
</li>
<li><p id = "para-391"><b><code>html.js</code></b></p>
<h4 id = "link-118">3.4.7.3. <code>html.standalone.js</code></h4>
<ul>
<li><p id = "para-392"><b>type</b>: template path</p>
<li><p id = "para-383"><b>type</b>: template path</p>
</li>
<li><p id = "para-384"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-385">Path of a javascript file</p>
</li>
</ul>
<h3 id = "link-119">3.4.8. Multifile HTML options</h3>
<h4 id = "link-120">3.4.8.1. <code>html.dir.template</code></h4>
<ul>
<li><p id = "para-386"><b>type</b>: template path</p>
</li>
<li><p id = "para-387"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-388">Path of a HTML template for multifile HTML</p>
</li>
</ul>
<h3 id = "link-121">3.4.9. Interactive fiction HTML options</h3>
<h4 id = "link-122">3.4.9.1. <code>html.if.js</code></h4>
<ul>
<li><p id = "para-389"><b>type</b>: template path</p>
</li>
<li><p id = "para-390"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-391">Path of a javascript file</p>
</li>
</ul>
<h4 id = "link-123">3.4.9.2. <code>html.if.new_turn</code></h4>
<ul>
<li><p id = "para-392"><b>type</b>: string</p>
</li>
<li><p id = "para-393"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-394">Path of a javascript file</p>
<li><p id = "para-394">Javascript code that will be run at the beginning of each segment</p>
</li>
</ul>
</li>
<li><p id = "para-395"><b><code>html.css.print</code></b></p>
<h4 id = "link-124">3.4.9.3. <code>html.if.end_turn</code></h4>
<ul>
<li><p id = "para-396"><b>type</b>: template path</p>
<li><p id = "para-395"><b>type</b>: string</p>
</li>
<li><p id = "para-397"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-396"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-398">Path of a media print stylesheet for HTML rendering</p>
<li><p id = "para-397">Javascript code that will be run at the end of each segment</p>
</li>
</ul>
</li>
<li><p id = "para-399"><b><code>html.highlight.js</code></b></p>
<h4 id = "link-125">3.4.9.4. <code>html.if.new_game</code></h4>
<ul>
<li><p id = "para-400"><b>type</b>: template path</p>
<li><p id = "para-398"><b>type</b>: template path</p>
</li>
<li><p id = "para-401"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-399"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-402">Set another highlight.js version than the bundled one</p>
<li><p id = "para-400">Javascript code that will be run at the beginning of a game</p>
</li>
</ul>
</li>
<li><p id = "para-403"><b><code>html.highlight.css</code></b></p>
<h3 id = "link-126">3.4.10. EPUB options</h3>
<h4 id = "link-127">3.4.10.1. <code>epub.version</code></h4>
<ul>
<li><p id = "para-404"><b>type</b>: template path</p>
<li><p id = "para-401"><b>type</b>: integer</p>
</li>
<li><p id = "para-402"><b>default value</b>: <code>2</code></p>
</li>
<li><p id = "para-403">EPUB version to generate (2 or 3)</p>
</li>
</ul>
<h4 id = "link-128">3.4.10.2. <code>epub.highlight.theme</code></h4>
<ul>
<li><p id = "para-404"><b>type</b>: string</p>
</li>
<li><p id = "para-405"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-406">Set another highlight.js CSS theme than the default one</p>
<li><p id = "para-406">If set, set theme for syntax highlighting for EPUB output (syntect only)</p>
</li>
</ul>
</li>
<li><p id = "para-407"><b><code>html.side_notes</code></b></p>
<h4 id = "link-129">3.4.10.3. <code>epub.css</code></h4>
<ul>
<li><p id = "para-408"><b>type</b>: boolean</p>
<li><p id = "para-407"><b>type</b>: template path</p>
</li>
<li><p id = "para-409"><b>default value</b>: <code>false</code></p>
<li><p id = "para-408"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-410">Display footnotes as side notes in HTML/Epub (experimental)</p>
<li><p id = "para-409">Path of a stylesheet for EPUB</p>
</li>
</ul>
</li>
<li><p id = "para-411"><b><code>html.escape_nb_spaces</code></b></p>
<h4 id = "link-130">3.4.10.4. <code>epub.css.add</code></h4>
<ul>
<li><p id = "para-412"><b>type</b>: boolean</p>
<li><p id = "para-410"><b>type</b>: string</p>
</li>
<li><p id = "para-413"><b>default value</b>: <code>true</code></p>
<li><p id = "para-411"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-414">Replace unicode non breaking spaces with HTML entities and CSS</p>
<li><p id = "para-412">Inline CSS added to the EPUB stylesheet template</p>
</li>
</ul>
</li>
<li><p id = "para-415"><b><code>html.chapter.template</code></b></p>
<h4 id = "link-131">3.4.10.5. <code>epub.chapter.xhtml</code></h4>
<ul>
<li><p id = "para-416"><b>type</b>: string</p>
<li><p id = "para-413"><b>type</b>: template path</p>
</li>
<li><p id = "para-417"><b>default value</b>: <code>"&lt;h1 id = 'link-{{{link}}}'&gt;{{#has_number}}&lt;span class = 'chapter-header'&gt;{{{header}}} {{{number}}}&lt;/span&gt;{{#has_title}}&lt;br /&gt;{{/has_title}}{{/has_number}}{{{title}}}&lt;/h1&gt;"</code></p>
<li><p id = "para-414"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-418">Inline template for HTML chapter formatting</p>
<li><p id = "para-415">Path of an xhtml template for each chapter</p>
</li>
</ul>
</li>
<li><p id = "para-419"><b><code>html.part.template</code></b></p>
<h4 id = "link-132">3.4.10.6. <code>epub.toc.extras</code></h4>
<ul>
<li><p id = "para-420"><b>type</b>: string</p>
<li><p id = "para-416"><b>type</b>: boolean</p>
</li>
<li><p id = "para-421"><b>default value</b>: <code>"&lt;h2 class = 'part'&gt;{{{header}}} {{{number}}}&lt;/h2&gt; &lt;h1 id = 'link-{{{link}}}' class = 'part'&gt;{{{title}}}&lt;/h1&gt;"</code></p>
<li><p id = "para-417"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-422">Inline template for HTML part formatting</p>
<li><p id = "para-418">Add Title and (if set) Cover in the EPUB table of contents</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-67">Standalone HTML options</h3>
<h4 id = "link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></h4>
<ul>
<li><p id = "para-423"><b><code>html.standalone.template</code></b></p>
<ul>
<li><p id = "para-424"><b>type</b>: template path</p>
<li><p id = "para-419"><b>type</b>: boolean</p>
</li>
<li><p id = "para-425"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-420"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-426">Path of an HTML template for standalone HTML</p>
<li><p id = "para-421">Replace unicode non breaking spaces with HTML entities and CSS</p>
</li>
</ul>
</li>
<li><p id = "para-427"><b><code>html.standalone.one_chapter</code></b></p>
<h3 id = "link-134">3.4.11. LaTeX options</h3>
<h4 id = "link-135">3.4.11.1. <code>tex.highlight.theme</code></h4>
<ul>
<li><p id = "para-428"><b>type</b>: boolean</p>
<li><p id = "para-422"><b>type</b>: string</p>
</li>
<li><p id = "para-429"><b>default value</b>: <code>false</code></p>
<li><p id = "para-423"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-430">Display only one chapter at a time (with a button to display all)</p>
<li><p id = "para-424">If set, set theme for syntax highlighting for LaTeX/PDF output (syntect only)</p>
</li>
</ul>
</li>
<li><p id = "para-431"><b><code>html.standalone.js</code></b></p>
<h4 id = "link-136">3.4.11.2. <code>tex.links_as_footnotes</code></h4>
<ul>
<li><p id = "para-432"><b>type</b>: template path</p>
<li><p id = "para-425"><b>type</b>: boolean</p>
</li>
<li><p id = "para-433"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-426"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-434">Path of a javascript file</p>
<li><p id = "para-427">Add foontotes to URL of links so they are readable when printed</p>
</li>
</ul>
<h4 id = "link-137">3.4.11.3. <code>tex.command</code></h4>
<ul>
<li><p id = "para-428"><b>type</b>: string</p>
</li>
<li><p id = "para-429"><b>default value</b>: <code>xelatex</code></p>
</li>
<li><p id = "para-430">LaTeX command to use for generating PDF</p>
</li>
</ul>
<h3 id = "link-68">Multifile HTML options</h3>
<h4 id = "link-138">3.4.11.4. <code>tex.template</code></h4>
<ul>
<li><p id = "para-435"><b><code>html.dir.template</code></b></p>
<ul>
<li><p id = "para-436"><b>type</b>: template path</p>
<li><p id = "para-431"><b>type</b>: template path</p>
</li>
<li><p id = "para-437"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-432"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-438">Path of a HTML template for multifile HTML</p>
<li><p id = "para-433">Path of a LaTeX template file</p>
</li>
</ul>
<h4 id = "link-139">3.4.11.5. <code>tex.template.add</code></h4>
<ul>
<li><p id = "para-434"><b>type</b>: string</p>
</li>
<li><p id = "para-435"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-436">Inline code added in the LaTeX template</p>
</li>
</ul>
<h3 id = "link-69">Interactive fiction HTML options</h3>
<h4 id = "link-140">3.4.11.6. <code>tex.class</code></h4>
<ul>
<li><p id = "para-439"><b><code>html.if.js</code></b></p>
<ul>
<li><p id = "para-440"><b>type</b>: template path</p>
<li><p id = "para-437"><b>type</b>: string</p>
</li>
<li><p id = "para-441"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-438"><b>default value</b>: <code>book</code></p>
</li>
<li><p id = "para-442">Path of a javascript file</p>
<li><p id = "para-439">LaTeX class to use</p>
</li>
</ul>
</li>
<li><p id = "para-443"><b><code>html.if.new_turn</code></b></p>
<h4 id = "link-141">3.4.11.7. <code>tex.paper.size</code></h4>
<ul>
<li><p id = "para-444"><b>type</b>: string</p>
<li><p id = "para-440"><b>type</b>: string</p>
</li>
<li><p id = "para-445"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-441"><b>default value</b>: <code>a5paper</code></p>
</li>
<li><p id = "para-446">Javascript code that will be run at the beginning of each segment</p>
<li><p id = "para-442">Specifies the size of the page.</p>
</li>
</ul>
</li>
<li><p id = "para-447"><b><code>html.if.end_turn</code></b></p>
<h4 id = "link-142">3.4.11.8. <code>tex.margin.left</code></h4>
<ul>
<li><p id = "para-448"><b>type</b>: string</p>
<li><p id = "para-443"><b>type</b>: string</p>
</li>
<li><p id = "para-449"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-444"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-450">Javascript code that will be run at the end of each segment</p>
<li><p id = "para-445">Specifies left margin (note that with book class left and right margins are reversed for odd pages, thus the default value is 1.5cm for book class and 2cm else)</p>
</li>
</ul>
</li>
<li><p id = "para-451"><b><code>html.if.new_game</code></b></p>
<h4 id = "link-143">3.4.11.9. <code>tex.margin.right</code></h4>
<ul>
<li><p id = "para-452"><b>type</b>: template path</p>
<li><p id = "para-446"><b>type</b>: string</p>
</li>
<li><p id = "para-453"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-447"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-454">Javascript code that will be run at the beginning of a game</p>
<li><p id = "para-448">Specifies right margin(note that with book class left and right margins are reversed for odd pages, thus the default value is 2.5cm for book class and 2cm else)</p>
</li>
</ul>
<h4 id = "link-144">3.4.11.10. <code>tex.margin.top</code></h4>
<ul>
<li><p id = "para-449"><b>type</b>: string</p>
</li>
<li><p id = "para-450"><b>default value</b>: <code>"2cm"</code></p>
</li>
<li><p id = "para-451">Specifies top margin</p>
</li>
</ul>
<h3 id = "link-70">EPUB options</h3>
<h4 id = "link-145">3.4.11.11. <code>tex.margin.bottom</code></h4>
<ul>
<li><p id = "para-455"><b><code>epub.version</code></b></p>
<ul>
<li><p id = "para-456"><b>type</b>: integer</p>
<li><p id = "para-452"><b>type</b>: string</p>
</li>
<li><p id = "para-457"><b>default value</b>: <code>2</code></p>
<li><p id = "para-453"><b>default value</b>: <code>"1.5cm"</code></p>
</li>
<li><p id = "para-458">EPUB version to generate (2 or 3)</p>
<li><p id = "para-454">Specifies left margin</p>
</li>
</ul>
</li>
<li><p id = "para-459"><b><code>epub.highlight.theme</code></b></p>
<h4 id = "link-146">3.4.11.12. <code>tex.title</code></h4>
<ul>
<li><p id = "para-460"><b>type</b>: string</p>
<li><p id = "para-455"><b>type</b>: boolean</p>
</li>
<li><p id = "para-461"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-456"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-462">If set, set theme for syntax highlighting for EPUB output (syntect only)</p>
<li><p id = "para-457">If true, generate a title with \maketitle</p>
</li>
</ul>
</li>
<li><p id = "para-463"><b><code>epub.css</code></b></p>
<h4 id = "link-147">3.4.11.13. <code>tex.font.size</code></h4>
<ul>
<li><p id = "para-464"><b>type</b>: template path</p>
<li><p id = "para-458"><b>type</b>: integer</p>
</li>
<li><p id = "para-465"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-459"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-466">Path of a stylesheet for EPUB</p>
<li><p id = "para-460">Specify latex font size (in pt, 10 (default), 11, or 12 are accepted)</p>
</li>
</ul>
</li>
<li><p id = "para-467"><b><code>epub.css.add</code></b></p>
<h4 id = "link-148">3.4.11.14. <code>tex.hyperref</code></h4>
<ul>
<li><p id = "para-468"><b>type</b>: string</p>
<li><p id = "para-461"><b>type</b>: boolean</p>
</li>
<li><p id = "para-469"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-462"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-470">Inline CSS added to the EPUB stylesheet template</p>
<li><p id = "para-463">If disabled, dont try to find references inside the document</p>
</li>
</ul>
</li>
<li><p id = "para-471"><b><code>epub.chapter.xhtml</code></b></p>
<h4 id = "link-149">3.4.11.15. <code>tex.stdpage</code></h4>
<ul>
<li><p id = "para-472"><b>type</b>: template path</p>
<li><p id = "para-464"><b>type</b>: boolean</p>
</li>
<li><p id = "para-473"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-465"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-474">Path of an xhtml template for each chapter</p>
<li><p id = "para-466">If set to true, use stdpage package to format a manuscript according to standards</p>
</li>
</ul>
</li>
<li><p id = "para-475"><b><code>epub.toc.extras</code></b></p>
<h3 id = "link-150">3.4.12. Resources option</h3>
<h4 id = "link-151">3.4.12.1. <code>resources.files</code></h4>
<ul>
<li><p id = "para-476"><b>type</b>: boolean</p>
<li><p id = "para-467"><b>type</b>: list of strings</p>
</li>
<li><p id = "para-477"><b>default value</b>: <code>true</code></p>
<li><p id = "para-468"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-478">Add Title and (if set) Cover in the EPUB table of contents</p>
<li><p id = "para-469">Whitespace-separated list of files to embed in e.g. EPUB file; useful for including e.g. fonts</p>
</li>
</ul>
</li>
<li><p id = "para-479"><b><code>epub.escape_nb_spaces</code></b></p>
<h4 id = "link-152">3.4.12.2. <code>resources.out_path</code></h4>
<ul>
<li><p id = "para-480"><b>type</b>: boolean</p>
<li><p id = "para-470"><b>type</b>: path</p>
</li>
<li><p id = "para-481"><b>default value</b>: <code>true</code></p>
<li><p id = "para-471"><b>default value</b>: <code>data</code></p>
</li>
<li><p id = "para-482">Replace unicode non breaking spaces with HTML entities and CSS</p>
<li><p id = "para-472">Paths where additional resources should be copied in the EPUB file or HTML directory</p>
</li>
</ul>
<h4 id = "link-153">3.4.12.3. <code>resources.base_path</code></h4>
<ul>
<li><p id = "para-473"><b>type</b>: path</p>
</li>
<li><p id = "para-474"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-475">Path where to find resources (in the source tree). By default, links and images are relative to the Markdown file. If this is set, it will be to this path.</p>
</li>
</ul>
<h3 id = "link-71">LaTeX options</h3>
<h4 id = "link-154">3.4.12.4. <code>resources.base_path.links</code></h4>
<ul>
<li><p id = "para-483"><b><code>tex.highlight.theme</code></b></p>
<ul>
<li><p id = "para-484"><b>type</b>: string</p>
<li><p id = "para-476"><b>type</b>: path</p>
</li>
<li><p id = "para-485"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-477"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-486">If set, set theme for syntax highlighting for LaTeX/PDF output (syntect only)</p>
<li><p id = "para-478">Set base path but only for links. Useless if resources.base_path is set</p>
</li>
</ul>
<h4 id = "link-155">3.4.12.5. <code>resources.base_path.images</code></h4>
<ul>
<li><p id = "para-479"><b>type</b>: path</p>
</li>
<li><p id = "para-487"><b><code>tex.links_as_footnotes</code></b></p>
<li><p id = "para-480"><b>default value</b>: <code>.</code></p>
</li>
<li><p id = "para-481">Set base path but only for images. Useless if resources.base_path is set</p>
</li>
</ul>
<h4 id = "link-156">3.4.12.6. <code>resources.base_path.files</code></h4>
<ul>
<li><p id = "para-482"><b>type</b>: path</p>
</li>
<li><p id = "para-483"><b>default value</b>: <code>.</code></p>
</li>
<li><p id = "para-484">Set base path but only for additional files. Useless if resources.base_path is set.</p>
</li>
</ul>
<h4 id = "link-157">3.4.12.7. <code>resources.base_path.templates</code></h4>
<ul>
<li><p id = "para-485"><b>type</b>: path</p>
</li>
<li><p id = "para-486"><b>default value</b>: <code>.</code></p>
</li>
<li><p id = "para-487">Set base path but only for templates files. Useless if resources.base_path is set</p>
</li>
</ul>
<h3 id = "link-158">3.4.13. Input options</h3>
<h4 id = "link-159">3.4.13.1. <code>input.clean</code></h4>
<ul>
<li><p id = "para-488"><b>type</b>: boolean</p>
</li>
<li><p id = "para-489"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-490">Add foontotes to URL of links so they are readable when printed</p>
<li><p id = "para-490">Toggle typographic cleaning of input markdown according to lang</p>
</li>
</ul>
</li>
<li><p id = "para-491"><b><code>tex.command</code></b></p>
<h4 id = "link-160">3.4.13.2. <code>input.clean.smart_quotes</code></h4>
<ul>
<li><p id = "para-492"><b>type</b>: string</p>
<li><p id = "para-491"><b>type</b>: boolean</p>
</li>
<li><p id = "para-493"><b>default value</b>: <code>xelatex</code></p>
<li><p id = "para-492"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-494">LaTeX command to use for generating PDF</p>
<li><p id = "para-493">If enabled, tries to replace vertical quotations marks to curly ones</p>
</li>
</ul>
</li>
<li><p id = "para-495"><b><code>tex.template</code></b></p>
<h4 id = "link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></h4>
<ul>
<li><p id = "para-496"><b>type</b>: template path</p>
<li><p id = "para-494"><b>type</b>: boolean</p>
</li>
<li><p id = "para-497"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-495"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-498">Path of a LaTeX template file</p>
<li><p id = "para-496">If enabled, replaces -- to en dash ('') and --- to em dash ('—')</p>
</li>
</ul>
</li>
<li><p id = "para-499"><b><code>tex.template.add</code></b></p>
<h4 id = "link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></h4>
<ul>
<li><p id = "para-500"><b>type</b>: string</p>
<li><p id = "para-497"><b>type</b>: boolean</p>
</li>
<li><p id = "para-501"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-498"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-502">Inline code added in the LaTeX template</p>
<li><p id = "para-499">If enabled, replaces &lt;&lt; and &gt;&gt; to french “guillemets” ('«’ and ‘»’)</p>
</li>
</ul>
</li>
<li><p id = "para-503"><b><code>tex.class</code></b></p>
<h4 id = "link-163">3.4.13.5. <code>input.yaml_blocks</code></h4>
<ul>
<li><p id = "para-504"><b>type</b>: string</p>
<li><p id = "para-500"><b>type</b>: boolean</p>
</li>
<li><p id = "para-505"><b>default value</b>: <code>book</code></p>
<li><p id = "para-501"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-506">LaTeX class to use</p>
<li><p id = "para-502">Enable inline YAML blocks to override options set in config file</p>
</li>
</ul>
</li>
<li><p id = "para-507"><b><code>tex.paper.size</code></b></p>
<h3 id = "link-164">3.4.14. Crowbook options</h3>
<h4 id = "link-165">3.4.14.1. <code>crowbook.html_as_text</code></h4>
<ul>
<li><p id = "para-508"><b>type</b>: string</p>
<li><p id = "para-503"><b>type</b>: boolean</p>
</li>
<li><p id = "para-509"><b>default value</b>: <code>a5paper</code></p>
<li><p id = "para-504"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-510">Specifies the size of the page.</p>
<li><p id = "para-505">Consider HTML blocks as text. This avoids having <code>&lt;foo&gt;</code> being considered as HTML and thus ignored.</p>
</li>
</ul>
<h4 id = "link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></h4>
<ul>
<li><p id = "para-506"><b>type</b>: boolean</p>
</li>
<li><p id = "para-511"><b><code>tex.margin.left</code></b></p>
<li><p id = "para-507"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-508">If enabled, allow support for superscript and subscript using respectively foo<sup>up</sup> and bar<del>down</del> syntax.</p>
</li>
</ul>
<h4 id = "link-167">3.4.14.3. <code>crowbook.temp_dir</code></h4>
<ul>
<li><p id = "para-509"><b>type</b>: path</p>
</li>
<li><p id = "para-510"><b>default value</b>: <code> </code> (empty string)</p>
</li>
<li><p id = "para-511">Path where to create a temporary directory (default: uses result from Rusts std::env::temp_dir())</p>
</li>
</ul>
<h4 id = "link-168">3.4.14.4. <code>crowbook.zip.command</code></h4>
<ul>
<li><p id = "para-512"><b>type</b>: string</p>
</li>
<li><p id = "para-513"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-513"><b>default value</b>: <code>zip</code></p>
</li>
<li><p id = "para-514">Specifies left margin (note that with book class left and right margins are reversed for odd pages, thus the default value is 1.5cm for book class and 2cm else)</p>
<li><p id = "para-514">Command to use to zip files (for EPUB/ODT)</p>
</li>
</ul>
</li>
<li><p id = "para-515"><b><code>tex.margin.right</code></b></p>
<h3 id = "link-169">3.4.15. Output options (for proofreading)</h3>
<h4 id = "link-170">3.4.15.1. <code>output.proofread.html</code></h4>
<ul>
<li><p id = "para-516"><b>type</b>: string</p>
<li><p id = "para-515"><b>type</b>: path</p>
</li>
<li><p id = "para-517"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-516"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-518">Specifies right margin(note that with book class left and right margins are reversed for odd pages, thus the default value is 2.5cm for book class and 2cm else)</p>
<li><p id = "para-517">Output file name for HTML rendering with proofread features</p>
</li>
</ul>
</li>
<li><p id = "para-519"><b><code>tex.margin.top</code></b></p>
<h4 id = "link-171">3.4.15.2. <code>output.proofread.html.dir</code></h4>
<ul>
<li><p id = "para-520"><b>type</b>: string</p>
<li><p id = "para-518"><b>type</b>: path</p>
</li>
<li><p id = "para-521"><b>default value</b>: <code>"2cm"</code></p>
<li><p id = "para-519"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-522">Specifies top margin</p>
<li><p id = "para-520">Output directory name for HTML rendering with proofread features</p>
</li>
</ul>
</li>
<li><p id = "para-523"><b><code>tex.margin.bottom</code></b></p>
<h4 id = "link-172">3.4.15.3. <code>output.proofread.pdf</code></h4>
<ul>
<li><p id = "para-524"><b>type</b>: string</p>
<li><p id = "para-521"><b>type</b>: path</p>
</li>
<li><p id = "para-525"><b>default value</b>: <code>"1.5cm"</code></p>
<li><p id = "para-522"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-526">Specifies left margin</p>
<li><p id = "para-523">Output file name for PDF rendering with proofread features</p>
</li>
</ul>
</li>
<li><p id = "para-527"><b><code>tex.title</code></b></p>
<h3 id = "link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</h3>
<h4 id = "link-174">3.4.16.1. <code>proofread</code></h4>
<ul>
<li><p id = "para-528"><b>type</b>: boolean</p>
<li><p id = "para-524"><b>type</b>: boolean</p>
</li>
<li><p id = "para-529"><b>default value</b>: <code>true</code></p>
<li><p id = "para-525"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-530">If true, generate a title with \maketitle</p>
<li><p id = "para-526">If set to false, will disactivate proofreading even if one of output.proofread.x is present</p>
</li>
</ul>
</li>
<li><p id = "para-531"><b><code>tex.font.size</code></b></p>
<h4 id = "link-175">3.4.16.2. <code>proofread.languagetool</code></h4>
<ul>
<li><p id = "para-532"><b>type</b>: integer</p>
<li><p id = "para-527"><b>type</b>: boolean</p>
</li>
<li><p id = "para-533"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-528"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-534">Specify latex font size (in pt, 10 (default), 11, or 12 are accepted)</p>
<li><p id = "para-529">If true, try to use language tool server to grammar check the book</p>
</li>
</ul>
</li>
<li><p id = "para-535"><b><code>tex.hyperref</code></b></p>
<h4 id = "link-176">3.4.16.3. <code>proofread.languagetool.port</code></h4>
<ul>
<li><p id = "para-536"><b>type</b>: boolean</p>
<li><p id = "para-530"><b>type</b>: integer</p>
</li>
<li><p id = "para-537"><b>default value</b>: <code>true</code></p>
<li><p id = "para-531"><b>default value</b>: <code>8081</code></p>
</li>
<li><p id = "para-538">If disabled, dont try to find references inside the document</p>
<li><p id = "para-532">Port to connect to languagetool-server</p>
</li>
</ul>
</li>
<li><p id = "para-539"><b><code>tex.stdpage</code></b></p>
<h4 id = "link-177">3.4.16.4. <code>proofread.grammalecte</code></h4>
<ul>
<li><p id = "para-540"><b>type</b>: boolean</p>
<li><p id = "para-533"><b>type</b>: boolean</p>
</li>
<li><p id = "para-541"><b>default value</b>: <code>false</code></p>
<li><p id = "para-534"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-542">If set to true, use stdpage package to format a manuscript according to standards</p>
<li><p id = "para-535">If true, try to use grammalecte server to grammar check the book</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-72">Resources option</h3>
<h4 id = "link-178">3.4.16.5. <code>proofread.grammalecte.port</code></h4>
<ul>
<li><p id = "para-543"><b><code>resources.files</code></b></p>
<li><p id = "para-536"><b>type</b>: integer</p>
</li>
<li><p id = "para-537"><b>default value</b>: <code>8080</code></p>
</li>
<li><p id = "para-538">Port to connect to grammalecte server</p>
</li>
</ul>
<h4 id = "link-179">3.4.16.6. <code>proofread.repetitions</code></h4>
<ul>
<li><p id = "para-544"><b>type</b>: list of strings</p>
<li><p id = "para-539"><b>type</b>: boolean</p>
</li>
<li><p id = "para-545"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-540"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-546">Whitespace-separated list of files to embed in e.g. EPUB file; useful for including e.g. fonts</p>
<li><p id = "para-541">If set to true, use Caribon to detect repetitions</p>
</li>
</ul>
</li>
<li><p id = "para-547"><b><code>resources.out_path</code></b></p>
<h4 id = "link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></h4>
<ul>
<li><p id = "para-548"><b>type</b>: path</p>
<li><p id = "para-542"><b>type</b>: integer</p>
</li>
<li><p id = "para-549"><b>default value</b>: <code>data</code></p>
<li><p id = "para-543"><b>default value</b>: <code>25</code></p>
</li>
<li><p id = "para-550">Paths where additional resources should be copied in the EPUB file or HTML directory</p>
<li><p id = "para-544">Max distance between two occurences so it is considered a repetition</p>
</li>
</ul>
</li>
<li><p id = "para-551"><b><code>resources.base_path</code></b></p>
<h4 id = "link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></h4>
<ul>
<li><p id = "para-552"><b>type</b>: path</p>
<li><p id = "para-545"><b>type</b>: boolean</p>
</li>
<li><p id = "para-553"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-546"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-554">Path where to find resources (in the source tree). By default, links and images are relative to the Markdown file. If this is set, it will be to this path.</p>
<li><p id = "para-547">Enable fuzzy string matching</p>
</li>
</ul>
</li>
<li><p id = "para-555"><b><code>resources.base_path.links</code></b></p>
<h4 id = "link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></h4>
<ul>
<li><p id = "para-556"><b>type</b>: path</p>
<li><p id = "para-548"><b>type</b>: float</p>
</li>
<li><p id = "para-557"><b>default value</b>: <code>not set</code></p>
<li><p id = "para-549"><b>default value</b>: <code>0.2</code></p>
</li>
<li><p id = "para-558">Set base path but only for links. Useless if resources.base_path is set</p>
<li><p id = "para-550">Max threshold of differences to consider two strings a repetition</p>
</li>
</ul>
</li>
<li><p id = "para-559"><b><code>resources.base_path.images</code></b></p>
<h4 id = "link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></h4>
<ul>
<li><p id = "para-560"><b>type</b>: path</p>
<li><p id = "para-551"><b>type</b>: boolean</p>
</li>
<li><p id = "para-561"><b>default value</b>: <code>.</code></p>
<li><p id = "para-552"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-562">Set base path but only for images. Useless if resources.base_path is set</p>
<li><p id = "para-553">Ignore proper nouns for repetitions</p>
</li>
</ul>
</li>
<li><p id = "para-563"><b><code>resources.base_path.files</code></b></p>
<h4 id = "link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></h4>
<ul>
<li><p id = "para-564"><b>type</b>: path</p>
<li><p id = "para-554"><b>type</b>: float</p>
</li>
<li><p id = "para-565"><b>default value</b>: <code>.</code></p>
<li><p id = "para-555"><b>default value</b>: <code>2.0</code></p>
</li>
<li><p id = "para-566">Set base path but only for additional files. Useless if resources.base_path is set.</p>
<li><p id = "para-556">Threshold to detect a repetition</p>
</li>
</ul>
</li>
<li><p id = "para-567"><b><code>resources.base_path.templates</code></b></p>
<ul>
<li><p id = "para-568"><b>type</b>: path</p>
</li>
<li><p id = "para-569"><b>default value</b>: <code>.</code></p>
</li>
<li><p id = "para-570">Set base path but only for templates files. Useless if resources.base_path is set</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-73">Input options</h3>
<ul>
<li><p id = "para-571"><b><code>input.clean</code></b></p>
<ul>
<li><p id = "para-572"><b>type</b>: boolean</p>
</li>
<li><p id = "para-573"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-574">Toggle typographic cleaning of input markdown according to lang</p>
</li>
</ul>
</li>
<li><p id = "para-575"><b><code>input.clean.smart_quotes</code></b></p>
<ul>
<li><p id = "para-576"><b>type</b>: boolean</p>
</li>
<li><p id = "para-577"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-578">If enabled, tries to replace vertical quotations marks to curly ones</p>
</li>
</ul>
</li>
<li><p id = "para-579"><b><code>input.clean.ligature.dashes</code></b></p>
<ul>
<li><p id = "para-580"><b>type</b>: boolean</p>
</li>
<li><p id = "para-581"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-582">If enabled, replaces -- to en dash ('') and --- to em dash ('—')</p>
</li>
</ul>
</li>
<li><p id = "para-583"><b><code>input.clean.ligature.guillemets</code></b></p>
<ul>
<li><p id = "para-584"><b>type</b>: boolean</p>
</li>
<li><p id = "para-585"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-586">If enabled, replaces &lt;&lt; and &gt;&gt; to french “guillemets” ('«’ and ‘»’)</p>
</li>
</ul>
</li>
<li><p id = "para-587"><b><code>input.yaml_blocks</code></b></p>
<ul>
<li><p id = "para-588"><b>type</b>: boolean</p>
</li>
<li><p id = "para-589"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-590">Enable inline YAML blocks to override options set in config file</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-74">Crowbook options</h3>
<ul>
<li><p id = "para-591"><b><code>crowbook.html_as_text</code></b></p>
<ul>
<li><p id = "para-592"><b>type</b>: boolean</p>
</li>
<li><p id = "para-593"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-594">Consider HTML blocks as text. This avoids having <code>&lt;foo&gt;</code> being considered as HTML and thus ignored.</p>
</li>
</ul>
</li>
<li><p id = "para-595"><b><code>crowbook.markdown.superscript</code></b></p>
<ul>
<li><p id = "para-596"><b>type</b>: boolean</p>
</li>
<li><p id = "para-597"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-598">If enabled, allow support for superscript and subscript using respectively foo<sup>up</sup> and bar<del>down</del> syntax.</p>
</li>
</ul>
</li>
<li><p id = "para-599"><b><code>crowbook.temp_dir</code></b></p>
<ul>
<li><p id = "para-600"><b>type</b>: path</p>
</li>
<li><p id = "para-601"><b>default value</b>: ``</p>
</li>
<li><p id = "para-602">Path where to create a temporary directory (default: uses result from Rusts std::env::temp_dir())</p>
</li>
</ul>
</li>
<li><p id = "para-603"><b><code>crowbook.zip.command</code></b></p>
<ul>
<li><p id = "para-604"><b>type</b>: string</p>
</li>
<li><p id = "para-605"><b>default value</b>: <code>zip</code></p>
</li>
<li><p id = "para-606">Command to use to zip files (for EPUB/ODT)</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-75">Output options (for proofreading)</h3>
<ul>
<li><p id = "para-607"><b><code>output.proofread.html</code></b></p>
<ul>
<li><p id = "para-608"><b>type</b>: path</p>
</li>
<li><p id = "para-609"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-610">Output file name for HTML rendering with proofread features</p>
</li>
</ul>
</li>
<li><p id = "para-611"><b><code>output.proofread.html.dir</code></b></p>
<ul>
<li><p id = "para-612"><b>type</b>: path</p>
</li>
<li><p id = "para-613"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-614">Output directory name for HTML rendering with proofread features</p>
</li>
</ul>
</li>
<li><p id = "para-615"><b><code>output.proofread.pdf</code></b></p>
<ul>
<li><p id = "para-616"><b>type</b>: path</p>
</li>
<li><p id = "para-617"><b>default value</b>: <code>not set</code></p>
</li>
<li><p id = "para-618">Output file name for PDF rendering with proofread features</p>
</li>
</ul>
</li>
</ul>
<h3 id = "link-76">Proofreading options (only for output.proofread.* targets)</h3>
<ul>
<li><p id = "para-619"><b><code>proofread</code></b></p>
<ul>
<li><p id = "para-620"><b>type</b>: boolean</p>
</li>
<li><p id = "para-621"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-622">If set to false, will disactivate proofreading even if one of output.proofread.x is present</p>
</li>
</ul>
</li>
<li><p id = "para-623"><b><code>proofread.languagetool</code></b></p>
<ul>
<li><p id = "para-624"><b>type</b>: boolean</p>
</li>
<li><p id = "para-625"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-626">If true, try to use language tool server to grammar check the book</p>
</li>
</ul>
</li>
<li><p id = "para-627"><b><code>proofread.languagetool.port</code></b></p>
<ul>
<li><p id = "para-628"><b>type</b>: integer</p>
</li>
<li><p id = "para-629"><b>default value</b>: <code>8081</code></p>
</li>
<li><p id = "para-630">Port to connect to languagetool-server</p>
</li>
</ul>
</li>
<li><p id = "para-631"><b><code>proofread.grammalecte</code></b></p>
<ul>
<li><p id = "para-632"><b>type</b>: boolean</p>
</li>
<li><p id = "para-633"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-634">If true, try to use grammalecte server to grammar check the book</p>
</li>
</ul>
</li>
<li><p id = "para-635"><b><code>proofread.grammalecte.port</code></b></p>
<ul>
<li><p id = "para-636"><b>type</b>: integer</p>
</li>
<li><p id = "para-637"><b>default value</b>: <code>8080</code></p>
</li>
<li><p id = "para-638">Port to connect to grammalecte server</p>
</li>
</ul>
</li>
<li><p id = "para-639"><b><code>proofread.repetitions</code></b></p>
<ul>
<li><p id = "para-640"><b>type</b>: boolean</p>
</li>
<li><p id = "para-641"><b>default value</b>: <code>false</code></p>
</li>
<li><p id = "para-642">If set to true, use Caribon to detect repetitions</p>
</li>
</ul>
</li>
<li><p id = "para-643"><b><code>proofread.repetitions.max_distance</code></b></p>
<ul>
<li><p id = "para-644"><b>type</b>: integer</p>
</li>
<li><p id = "para-645"><b>default value</b>: <code>25</code></p>
</li>
<li><p id = "para-646">Max distance between two occurences so it is considered a repetition</p>
</li>
</ul>
</li>
<li><p id = "para-647"><b><code>proofread.repetitions.fuzzy</code></b></p>
<ul>
<li><p id = "para-648"><b>type</b>: boolean</p>
</li>
<li><p id = "para-649"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-650">Enable fuzzy string matching</p>
</li>
</ul>
</li>
<li><p id = "para-651"><b><code>proofread.repetitions.fuzzy.threshold</code></b></p>
<ul>
<li><p id = "para-652"><b>type</b>: float</p>
</li>
<li><p id = "para-653"><b>default value</b>: <code>0.2</code></p>
</li>
<li><p id = "para-654">Max threshold of differences to consider two strings a repetition</p>
</li>
</ul>
</li>
<li><p id = "para-655"><b><code>proofread.repetitions.ignore_proper</code></b></p>
<ul>
<li><p id = "para-656"><b>type</b>: boolean</p>
</li>
<li><p id = "para-657"><b>default value</b>: <code>true</code></p>
</li>
<li><p id = "para-658">Ignore proper nouns for repetitions</p>
</li>
</ul>
</li>
<li><p id = "para-659"><b><code>proofread.repetitions.threshold</code></b></p>
<ul>
<li><p id = "para-660"><b>type</b>: float</p>
</li>
<li><p id = "para-661"><b>default value</b>: <code>2.0</code></p>
</li>
<li><p id = "para-662">Threshold to detect a repetition</p>
</li>
</ul>
</li>
</ul>
<p id = "para-663">Note that these options have a type, which in most case should be pretty straightforward (a boolean can be <code>true</code> or <code>false</code>, an integer must be composed by a number, a string is, well, any string (note that you might need to use quotes if it includes some characters that may lead the YAML parser to read it as an array, an integer or a list), and a list of strings is a list containing only strings, see <a href = "https://en.wikipedia.org/wiki/YAML#Basic_components">YAML syntax</a>). The <code>path</code> type might puzzle you a bit, but its equivalent to a string, except Crowbook will consider it relatively to the book file. The <code>template path</code> type is just the <code>path</code> of a template. Metadata are just strings.</p>
<p class = "next_chapter">
<a href = "chapter_003.html">
@ -1700,7 +1835,7 @@ output.epub</span><span style="color:#839496;">: </span><span style="color:#2aa1
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1284">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1185">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1287">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1188">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,16 +494,17 @@ function toggle() {
« 3. The configuration file
</a>
</p>
<h1 id = 'link-77'><span class = 'chapter-header'>Chapter 4</span><br />Markdown format</h1><p id = "para-664">Crowbook uses <a href = "https://github.com/google/pulldown-cmark">pulldown-cmark</a>, which is an implementation of <a href = "http://commonmark.org/">CommonMark</a>, so for more information on Markdown syntax, you can refer to those websites.</p>
<p id = "para-665">However, pulldown-cmark also implements a handful of unofficial extensions, and Crowbook also adds its own variants, so there are a few syntax elements that are not covered by the CommonMark reference.</p>
<h2 id = "link-78">4.1. Tables</h2>
<p id = "para-666">Tables can be included in your Markdown file. E.g.:</p>
<h1 id = 'link-185'><span class = 'chapter-header'>Chapter 4</span><br />Markdown format</h1><p id = "para-557"><code>crowbook</code> uses <a href = "https://github.com/google/pulldown-cmark">pulldown-cmark</a>, which is an implementation of <a href = "http://commonmark.org/">CommonMark</a>, so for more information on Markdown syntax, you can refer to those websites.</p>
<p id = "para-558">However, <code>pulldown-cmark</code> also implements a handful of unofficial extensions, and <code>crowbook</code> also adds its own variants, so there are a few syntax elements that are not covered by the <code>CommonMark</code> reference.</p>
<h2 id = "link-186">4.1. Tables</h2>
<p id = "para-559">Tables can be included in your Markdown file.</p>
<p id = "para-560">E.g.:</p>
<pre><span style="color:#839496;">| Author | Book |
|</span><span style="color:#657b83;">--------------------</span><span style="color:#839496;">|</span><span style="color:#657b83;">----------------------------</span><span style="color:#839496;">|
| Anne Rice | Interview With the Vampire |
| Terry Pratchett | Hogfather |
| George Martin | A Dance with Dragons |
</span></pre><p id = "para-667">will render as</p>
</span></pre><p id = "para-561">will render as</p>
<div class = "table">
<table>
<tr>
@ -242,17 +518,17 @@ function toggle() {
</table>
</div>
<blockquote><p id = "para-668">Crowbook doesnt currently support specifying column alignment.</p>
<blockquote><p id = "para-562">Crowbook doesnt currently support specifying column alignment.</p>
</blockquote>
<h2 id = "link-79">4.2. Footnotes</h2>
<p id = "para-669">Footnotes can be specified the following way:</p>
<h2 id = "link-187">4.2. Footnotes</h2>
<p id = "para-563">Footnotes can be specified the following way:</p>
<pre><span style="color:#839496;">Footnotes can be useful[^1] and make you look clever.
[</span><span style="color:#b58900;">^1</span><span style="color:#839496;">]: </span><span style="color:#2aa198;">But </span><span style="color:#839496;">you shouldn&#39;t use them too much.</span><span style="color:#839496;">
</span></pre><p id = "para-670">Will be rendered as:</p>
<blockquote><p id = "para-671">Footnotes can be useful[^1] and make you look clever.</p>
</span></pre><p id = "para-564">Will be rendered as:</p>
<blockquote><p id = "para-565">Footnotes can be useful[^1] and make you look clever.</p>
</blockquote>
<p id = "para-672">You can use multiple paragraphs in a footnote definition. This can sometimes be useful, but it can also be tricky, as if you only let an empty line before the next paragraph, it will also be included in the footnote. And probably the next one and the following one too:</p>
<p id = "para-566">You can use multiple paragraphs in a footnote definition. This can sometimes be useful, but it can also be tricky, as if you only let an empty line before the next paragraph, it will also be included in the footnote. And probably the next one and the following one too:</p>
<pre><span style="color:#839496;">This is a footnote usage[^1].
[</span><span style="color:#b58900;">^1</span><span style="color:#839496;">]: </span><span style="color:#2aa198;">This </span><span style="color:#839496;">is obviously part of the footnote definition.</span><span style="color:#839496;">
@ -261,29 +537,29 @@ This is less obviously ALSO part of the footnote definition.
This is NOT part of the foonote.
</span></pre><p id = "para-673">Due to its own quirks, Crowbook will duplicate footnotes if you reference them multiple times:</p>
</span></pre><p id = "para-567">Due to its own quirks, <code>crowbook</code> will duplicate footnotes if you reference them multiple times:</p>
<pre><span style="color:#839496;">This footnote is unique[^2] but referenced twice[^2].
[</span><span style="color:#b58900;">^2</span><span style="color:#839496;">]: </span><span style="color:#2aa198;">Or </span><span style="color:#839496;">is it?</span><span style="color:#839496;">
</span></pre><blockquote><p id = "para-674">This footnote is unique[^2] but referenced twice[^2].</p>
</span></pre><blockquote><p id = "para-568">This footnote is unique[^2] but referenced twice[^2].</p>
</blockquote>
<h2 id = "link-80">4.3. Superscript and subscript</h2>
<p id = "para-675">Crowbook <code>0.12.0</code> added experimental support for superscript and subscript, using respectively <code>foo^up^</code> and <code>bar~down~</code> syntax, which will render as “foo<sup>up</sup>" and “bar<del>down</del>“; this feature is quite a hack above the Markdown parsing library, and as such might cause issue if you mix it with other Markdown syntax elements (or, in the previous example, for smart quote detection). This is why youll need to enable it with <code>crowbook.mardown.superscript</code>.</p>
<h2 id = "link-81">4.4. “Standalone” images</h2>
<p id = "para-676">This is not <em>per se</em> a new syntactic element, but Crowbook distinguish two kind of images, according to their position in the document:</p>
<h2 id = "link-188">4.3. Superscript and subscript</h2>
<p id = "para-569">Crowbook <a href = "https://github.com/lise-henry/crowbook/tree/v0.12.0"><code>v0.12.0</code></a> added experimental support for superscript and subscript, using respectively <code>foo^up^</code> and <code>bar~down~</code> syntax, which will render as “foo<sup>up</sup>" and “bar<del>down</del>“; this feature is quite a hack above the Markdown parsing library, and as such might cause issue if you mix it with other Markdown syntax elements (or, in the previous example, for smart quote detection). This is why youll need to enable it with <code>crowbook.mardown.superscript</code>.</p>
<h2 id = "link-189">4.4. “Standalone” images</h2>
<p id = "para-570">This is not <em>per se</em> a new syntactic element, but Crowbook distinguish two kind of images, according to their position in the document:</p>
<ul>
<li><p id = "para-677">standalone images, which are the only elements of a paragraph;</p>
<li><p id = "para-571">standalone images, which are the only elements of a paragraph;</p>
</li>
<li><p id = "para-678">inline images, which are placed in a container containing other elements.</p>
<li><p id = "para-572">inline images, which are placed in a container containing other elements.</p>
</li>
</ul>
<p id = "para-679">Standalone images will typically be resized to fill the width of the page, while inline images are not resized.</p>
<p id = "para-680">This image is on its own paragraph, and thus considered “standalone” and resized to fit width:</p>
<p id = "para-573">Standalone images will typically be resized to fill the width of the page, while inline images are not resized.</p>
<p id = "para-574">This image is on its own paragraph, and thus considered “standalone” and resized to fit width:</p>
<div class = "image">
<img src = "images/image_0.png" title = "" alt = "Logo" />
</div><p id = "para-681">While this one <img src = "images/image_0.png" title = "" alt = "Logo" /> is embedded in a paragraph and its size is unchanged.</p>
<h2 id = "link-82">4.5. Interactive fiction</h2>
<p id = "para-682">Crowbook also adds some syntax for interactive fiction, to make embedding Javascript code easier. It is only enabled for the interactive fiction renderer. For more information, see the <a href = "chapter_006.html">chapter on this matter</a>.</p>
</div><p id = "para-575">While this one <img src = "images/image_0.png" title = "" alt = "Logo" /> is embedded in a paragraph and its size is unchanged.</p>
<h2 id = "link-190">4.5. Interactive fiction</h2>
<p id = "para-576"><code>crowbook</code> also adds some syntax for interactive fiction, to make embedding Javascript code easier. It is only enabled for the interactive fiction renderer. For more information, see the <a href = "guide/if.md">chapter on this matter</a>.</p>
<p class = "next_chapter">
<a href = "chapter_004.html">
@ -291,7 +567,7 @@ This is NOT part of the foonote.
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1286">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1187">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1289">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1190">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,20 +494,20 @@ function toggle() {
« 4. Markdown format
</a>
</p>
<h1 id = 'link-83'><span class = 'chapter-header'>Chapter 5</span><br />Templates</h1><p id = "para-683">Crowbook allows the user to specify a number of templates.[^1]</p>
<p id = "para-684">Each of this template can be overriden by a custom one, by setting e.g.:</p>
<h1 id = 'link-191'><span class = 'chapter-header'>Chapter 5</span><br />Templates</h1><p id = "para-577">Crowbook allows the user to specify a number of templates.[^1]</p>
<p id = "para-578">Each of this template can be overriden by a custom one, by setting e.g.:</p>
<pre><span style="color:#268bd2;">html.css</span><span style="color:#839496;">: </span><span style="color:#2aa198;">my_template.css
</span></pre><p id = "para-685">in the book configuration file. The templates that you are most susceptible to modify are the following:</p>
</span></pre><p id = "para-579">in the book configuration file. The templates that you are most susceptible to modify are the following:</p>
<ul>
<li><p id = "para-686"><code>html.css</code>: stylesheet for HTML output;</p>
<li><p id = "para-580"><code>html.css</code>: stylesheet for HTML output;</p>
</li>
<li><p id = "para-687"><code>epub.css</code>: stylesheet for EPUB output;</p>
<li><p id = "para-581"><code>epub.css</code>: stylesheet for EPUB output;</p>
</li>
<li><p id = "para-688"><code>tex.template</code>: template of a LaTeX file.</p>
<li><p id = "para-582"><code>tex.template</code>: template of a LaTeX file.</p>
</li>
</ul>
<h2 id = "link-84">5.1. Create and edit template</h2>
<p id = "para-689">Except for inline templates, which are set directly in the book configuration file:</p>
<h2 id = "link-192">5.1. Create and edit template</h2>
<p id = "para-583">Except for inline templates, which are set directly in the book configuration file:</p>
<pre><span style="color:#586e75;"># Template that modify how a chapter title is displayed
</span><span style="color:#268bd2;">rendering.chapter.template</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">{{{loc_chapter}}} {{{number}}}: {{{chapter_title}}}</span><span style="color:#839496;">&quot;
@ -242,26 +517,26 @@ function toggle() {
</span><span style="color:#586e75;"># LaTeX code added to default LaTeX template (but doesn&#39;t override it)
</span><span style="color:#268bd2;">template.tex.add</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">\usepackage{libertineotf}</span><span style="color:#839496;">&quot;
</span></pre><p id = "para-690">most templates must be in a separate file:</p>
</span></pre><p id = "para-584">most templates must be in a separate file:</p>
<pre><span style="color:#268bd2;">tex.template</span><span style="color:#839496;">: </span><span style="color:#2aa198;">my_template.tex
</span></pre><h3 id = "link-85"><code>--print-template</code></h3>
<p id = "para-691">The easiest way to create a new template is to start with the default one. In order to do so, you can use the <code>--print-template</code> argument:</p>
</span></pre><h3 id = "link-193">5.1.1. <code>--print-template</code></h3>
<p id = "para-585">The easiest way to create a new template is to start with the default one. In order to do so, you can use the <code>--print-template</code> argument:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --print-template</span><span style="color:#839496;"> tex.template </span><span style="color:#657b83;">&gt;</span><span style="color:#839496;"> my_template.tex
</span></pre><p id = "para-692">In order to get the <code>chapter.xhtml</code> template for EPUB3, youll also have to use <code>--set epub.version 3</code>:</p>
</span></pre><p id = "para-586">In order to get the <code>chapter.xhtml</code> template for EPUB3, youll also have to use <code>--set epub.version 3</code>:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --print-template</span><span style="color:#839496;"> epub.chapter.xhtml</span><span style="color:#268bd2;"> --set</span><span style="color:#839496;"> epub.version 3 </span><span style="color:#657b83;">&gt;</span><span style="color:#839496;"> my_epub3_template.xhtml
</span></pre><h3 id = "link-86">Mustache syntax</h3>
<p id = "para-693">Crowbook uses <a href = "https://crates.io/crates/mustache">rust-mustache</a> as its templating engine, which allows to use <a href = "http://mustache.github.io/">Mustache</a> syntax in the templates.</p>
<p id = "para-694">It mainly boils down to using <code>{{{foo}}}</code>[^2] to insert the value of variable <code>foo</code> in the document:</p>
</span></pre><h3 id = "link-194">5.1.2. Mustache syntax</h3>
<p id = "para-587">Crowbook uses <a href = "https://crates.io/crates/mustache">rust-mustache</a> as its templating engine, which allows to use <a href = "http://mustache.github.io/">Mustache</a> syntax in the templates.</p>
<p id = "para-588">It mainly boils down to using <code>{{{foo}}}</code>[^2] to insert the value of variable <code>foo</code> in the document:</p>
<pre><span style="color:#586e75;">&lt;</span><span style="color:#268bd2;">h1 </span><span style="color:#b58900;">class </span><span style="color:#657b83;">= </span><span style="color:#839496;">&quot;</span><span style="color:#2aa198;">title</span><span style="color:#839496;">&quot; </span><span style="color:#586e75;">&gt;</span><span style="color:#839496;">{{{title}}}</span><span style="color:#586e75;">&lt;</span><span style="color:#268bd2;">h1</span><span style="color:#586e75;">&gt;
&lt;</span><span style="color:#268bd2;">h2 </span><span style="color:#b58900;">class </span><span style="color:#657b83;">= </span><span style="color:#839496;">&quot;</span><span style="color:#2aa198;">author</span><span style="color:#839496;">&quot;</span><span style="color:#586e75;">&gt;</span><span style="color:#839496;">{{{author}}}</span><span style="color:#586e75;">&lt;/</span><span style="color:#268bd2;">h2</span><span style="color:#586e75;">&gt;
</span></pre><p id = "para-695">Mustache also provides the possibility of checking whether a variable is set:</p>
</span></pre><p id = "para-589">Mustache also provides the possibility of checking whether a variable is set:</p>
<pre><span style="color:#839496;">{{#foo}}
Foo exists
{{/foo}}
{{^foo}}
Foo does not exist
{{^foo}}
</span></pre><p id = "para-696">Crowbook uses this and sets some variables to <code>true</code> to allow templates to conditionally include some portions. E.g., in <code>html.css</code>:</p>
</span></pre><p id = "para-590">Crowbook uses this and sets some variables to <code>true</code> to allow templates to conditionally include some portions. E.g., in <code>html.css</code>:</p>
<pre><span style="color:#657b83;">{</span><span style="color:#839496;">{#lang_fr</span><span style="color:#657b83;">}</span><span style="color:#839496;">}
</span><span style="color:#586e75;">/* Make list displays &#39;&#39; instead of bullets */
</span><span style="color:#b58900;">ul li </span><span style="color:#657b83;">{
@ -269,91 +544,91 @@ Foo does not exist
</span><span style="color:#859900;">padding-left</span><span style="color:#839496;">: </span><span style="color:#6c71c4;">.5</span><span style="color:#859900;">em</span><span style="color:#839496;">;
</span><span style="color:#657b83;">}
{</span><span style="color:#839496;">{/lang_fr</span><span style="color:#657b83;">}</span><span style="color:#839496;">}
</span></pre><p id = "para-697">In this case, Crowbook sets a variable whose name is equal to <code>lang_foo</code> to <code>true</code>, allowing to have different styles for some elements according to the language.</p>
<p id = "para-698">For more information about Mustache syntax, see the <a href = "http://mustache.github.io/mustache.5.html">Mustache manual</a>.</p>
<h4 id = "link-87">Syntax in LaTeX</h4>
<p id = "para-699">Since LaTeX already uses a lot of curly brackets, the default template sets an altenative syntax to access variables, with <code>&lt;&lt;&amp;foo&gt;&gt;</code>[^3]:</p>
</span></pre><p id = "para-591">In this case, Crowbook sets a variable whose name is equal to <code>lang_foo</code> to <code>true</code>, allowing to have different styles for some elements according to the language.</p>
<p id = "para-592">For more information about Mustache syntax, see the <a href = "http://mustache.github.io/mustache.5.html">Mustache manual</a>.</p>
<h4 id = "link-195">5.1.2.1. Syntax in LaTeX</h4>
<p id = "para-593">Since LaTeX already uses a lot of curly brackets, the default template sets an altenative syntax to access variables, with <code>&lt;&lt;&amp;foo&gt;&gt;</code>[^3]:</p>
<pre><span style="color:#859900;">\title</span><span style="color:#839496;">{&lt;&lt;</span><span style="color:#cb4b16;">&amp;</span><span style="color:#839496;">title&gt;&gt;}
</span><span style="color:#859900;">\author</span><span style="color:#839496;">{&lt;&lt;</span><span style="color:#cb4b16;">&amp;</span><span style="color:#839496;">author&gt;&gt;}
&lt;&lt;#has_date&gt;&gt;</span><span style="color:#859900;">\date</span><span style="color:#839496;">{&lt;&lt;</span><span style="color:#cb4b16;">&amp;</span><span style="color:#839496;">date&gt;&gt;}&lt;&lt;/has_date&gt;
</span></pre><ol>
<li><p id = "para-700">escaping is already done by Crowbook before setting variable content;</p>
<li><p id = "para-594">escaping is already done by Crowbook before setting variable content;</p>
</li>
<li><p id = "para-701">escaping HTML in a LaTeX document wont probably look good.</p>
<li><p id = "para-595">escaping HTML in a LaTeX document wont probably look good.</p>
</li>
</ol>
<h2 id = "link-88">5.2. List of templates</h2>
<h3 id = "link-89">html.js</h3>
<p id = "para-702">The javascript file used by both the standalone HTML renderer and the multiple files HTML renderer.</p>
<p id = "para-703">This is not currently an actual template, just a plain javascript file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-90">html.css</h3>
<p id = "para-704">The main CSS file used by both the standalone HTML renderer and the multiple files HTML renderer.</p>
<h3 id = "link-91">html.css.colors</h3>
<p id = "para-705">A CSS file containing only colour settings. Used by <code>html.css</code>.</p>
<p id = "para-706">This is not currently an actual template, just a plain CSS file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-92">html.css.print</h3>
<p id = "para-707">An additional CSS file used by both the standalone HTML renderer and the multiple files HTML renderer. Its purpose is to provide CSS instructions for printing (i.e., when the user clicks the <code>print</code> button in her browser).</p>
<p id = "para-708">This is not currently an actual template, just a plain CSS file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-93">html.highlight.js</h3>
<p id = "para-709">A javascript file used by both HTML renderers to highlight codes in code blocks. It should be a variant of <a href = "https://highlightjs.org/">highlight.js</a>.</p>
<p id = "para-710">This is not an actual template, just a plain javascript file.</p>
<h3 id = "link-94">html.highlight.css</h3>
<p id = "para-711">A CSS file used by both HTML renderers to set the theme of <a href = "https://highlightjs.org/">highlight.js</a>. It should, though, be an <code>highlight.js</code> theme.</p>
<p id = "para-712">This is not an actual template, just a plain CSS file.</p>
<h3 id = "link-95">html.standalone.js</h3>
<p id = "para-713">A javascript file used only by the standalone HTML renderer. Its main purpose is to handle the displaying of a single chapter at a time when <code>one_chapter</code> is set to true.</p>
<h3 id = "link-96">html.standalone.template</h3>
<p id = "para-714">The main HTML template for standalone HTML renderer.</p>
<h3 id = "link-97">html.dir.template</h3>
<p id = "para-715">The main HTML template for multiple files HTML renderer.</p>
<h3 id = "link-98">tex.template</h3>
<p id = "para-716">The main (and currently only) template used by the LaTeX renderer.</p>
<h3 id = "link-99">epub.chapter.xhtml</h3>
<p id = "para-717">This template is the main template used by the Epub renderer. It contains the XHTML template that will be used for each chapter.</p>
<h3 id = "link-100">epub.css</h3>
<p id = "para-718">This template is used by the Epub renderer and contains the style sheet.</p>
<h3 id = "link-101">Inline templates</h3>
<p id = "para-719">Crowbook also has some inline templates, that are set in the book configuration file:</p>
<h2 id = "link-196">5.2. List of templates</h2>
<h3 id = "link-197">5.2.1. html.js</h3>
<p id = "para-596">The javascript file used by both the standalone HTML renderer and the multiple files HTML renderer.</p>
<p id = "para-597">This is not currently an actual template, just a plain javascript file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-198">5.2.2. html.css</h3>
<p id = "para-598">The main CSS file used by both the standalone HTML renderer and the multiple files HTML renderer.</p>
<h3 id = "link-199">5.2.3. html.css.colors</h3>
<p id = "para-599">A CSS file containing only colour settings. Used by <code>html.css</code>.</p>
<p id = "para-600">This is not currently an actual template, just a plain CSS file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-200">5.2.4. html.css.print</h3>
<p id = "para-601">An additional CSS file used by both the standalone HTML renderer and the multiple files HTML renderer. Its purpose is to provide CSS instructions for printing (i.e., when the user clicks the <code>print</code> button in her browser).</p>
<p id = "para-602">This is not currently an actual template, just a plain CSS file which cannot contain <code>mustache</code> tags.</p>
<h3 id = "link-201">5.2.5. html.highlight.js</h3>
<p id = "para-603">A javascript file used by both HTML renderers to highlight codes in code blocks. It should be a variant of <a href = "https://highlightjs.org/">highlight.js</a>.</p>
<p id = "para-604">This is not an actual template, just a plain javascript file.</p>
<h3 id = "link-202">5.2.6. html.highlight.css</h3>
<p id = "para-605">A CSS file used by both HTML renderers to set the theme of <a href = "https://highlightjs.org/">highlight.js</a>. It should, though, be an <code>highlight.js</code> theme.</p>
<p id = "para-606">This is not an actual template, just a plain CSS file.</p>
<h3 id = "link-203">5.2.7. html.standalone.js</h3>
<p id = "para-607">A javascript file used only by the standalone HTML renderer. Its main purpose is to handle the displaying of a single chapter at a time when <code>one_chapter</code> is set to true.</p>
<h3 id = "link-204">5.2.8. html.standalone.template</h3>
<p id = "para-608">The main HTML template for standalone HTML renderer.</p>
<h3 id = "link-205">5.2.9. html.dir.template</h3>
<p id = "para-609">The main HTML template for multiple files HTML renderer.</p>
<h3 id = "link-206">5.2.10. tex.template</h3>
<p id = "para-610">The main (and currently only) template used by the LaTeX renderer.</p>
<h3 id = "link-207">5.2.11. epub.chapter.xhtml</h3>
<p id = "para-611">This template is the main template used by the Epub renderer. It contains the XHTML template that will be used for each chapter.</p>
<h3 id = "link-208">5.2.12. epub.css</h3>
<p id = "para-612">This template is used by the Epub renderer and contains the style sheet.</p>
<h3 id = "link-209">5.2.13. Inline templates</h3>
<p id = "para-613">Crowbook also has some inline templates, that are set in the book configuration file:</p>
<ul>
<li><p id = "para-720"><code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code> allow to specify some LaTeX or CSS code directly in the book configuration file. This code will be added respectively to <code>tex.template</code>, <code>html.css</code> or <code>epub.css</code> template. For CSS templates, this code is inserted at the end of the template (allowing to redefine rules that are set by the template); for the LaTeX template, the code is inserted at the end of the preambule, just before the <code>\begin{document}</code> tag, allowing to redefine commands.</p>
<li><p id = "para-614"><code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code> allow to specify some LaTeX or CSS code directly in the book configuration file. This code will be added respectively to <code>tex.template</code>, <code>html.css</code> or <code>epub.css</code> template. For CSS templates, this code is inserted at the end of the template (allowing to redefine rules that are set by the template); for the LaTeX template, the code is inserted at the end of the preambule, just before the <code>\begin{document}</code> tag, allowing to redefine commands.</p>
</li>
<li><p id = "para-721"><code>rendering.inline_toc.name</code> sets the name of the inline table of content, if it is displayed. By default, is is set to <code>{{{loc_toc}}}</code>, that is, a localised version of “Table of Contents”.</p>
<li><p id = "para-615"><code>rendering.inline_toc.name</code> sets the name of the inline table of content, if it is displayed. By default, is is set to <code>{{{loc_toc}}}</code>, that is, a localised version of “Table of Contents”.</p>
</li>
<li><p id = "para-722"><code>rendering.chapter.template</code> sets the naming scheme for chapters, while <code>rendering.part.template</code> does the same for part. These are used only for text-only output, such as in the TOC. <code>html.chapter.template</code> and <code>html.part.template</code> allow to change the HTML formatting for parts and chapters. <em>These options should probably only be used if you know what youre doing, as they can break the document.</em> If you only need to change the name of chapters or parts, use <code>rendering.part</code> and <code>rendering.chapter</code> instead.</p>
<li><p id = "para-616"><code>rendering.chapter.template</code> sets the naming scheme for chapters, while <code>rendering.part.template</code> does the same for part. These are used only for text-only output, such as in the TOC. <code>html.chapter.template</code> and <code>html.part.template</code> allow to change the HTML formatting for parts and chapters. <em>These options should probably only be used if you know what youre doing, as they can break the document.</em> If you only need to change the name of chapters or parts, use <code>rendering.part</code> and <code>rendering.chapter</code> instead.</p>
</li>
</ul>
<h2 id = "link-102">5.3. List of accessible variables</h2>
<h3 id = "link-103">Metadata</h3>
<p id = "para-723">For every template, Crowbook exports all of the metadata:</p>
<h2 id = "link-210">5.3. List of accessible variables</h2>
<h3 id = "link-211">5.3.1. Metadata</h3>
<p id = "para-617">For every template, Crowbook exports all of the metadata:</p>
<ul>
<li><p id = "para-724"><code>author</code>;</p>
<li><p id = "para-618"><code>author</code>;</p>
</li>
<li><p id = "para-725"><code>title</code>;</p>
<li><p id = "para-619"><code>title</code>;</p>
</li>
<li><p id = "para-726"><code>subtitle</code>;</p>
<li><p id = "para-620"><code>subtitle</code>;</p>
</li>
<li><p id = "para-727"><code>lang</code>;</p>
<li><p id = "para-621"><code>lang</code>;</p>
</li>
<li><p id = "para-728"><code>subject</code>;</p>
<li><p id = "para-622"><code>subject</code>;</p>
</li>
<li><p id = "para-729"><code>description</code>;</p>
<li><p id = "para-623"><code>description</code>;</p>
</li>
<li><p id = "para-730"><code>license</code>;</p>
<li><p id = "para-624"><code>license</code>;</p>
</li>
<li><p id = "para-731"><code>version</code>;</p>
<li><p id = "para-625"><code>version</code>;</p>
</li>
<li><p id = "para-732"><code>date</code>;</p>
<li><p id = "para-626"><code>date</code>;</p>
</li>
<li><p id = "para-733">any option <code>metadata.foo</code> defined in the book configuration file will also be exported as <code>metadata_foo</code>.</p>
<li><p id = "para-627">any option <code>metadata.foo</code> defined in the book configuration file will also be exported as <code>metadata_foo</code>.</p>
</li>
</ul>
<p id = "para-734">These metadata can contain Markdown, which will be rendered. E.g., setting <code>date: "20th of **september**"</code> will render <code>september</code> in bold, using <code>&lt;b&gt;</code> tag for HTML or <code>\textbf</code> for LaTeX. If you need to use these data in places that dont support formatted text (e.g. in meta tags), you can use the raw content by accessing <code>xxx_raw</code> instead (e.g., <code>author_raw</code>, <code>title_raw</code>, ...). (Note that the content of the raw metadata is <em>not</em> HTML-escaped, so in this case you might want to use <code>{{xxx_raw}}</code> instead of <code>{{{xxx_raw}}}</code>.)</p>
<p id = "para-735">For each metadata <code>foo</code> that is set, Crowbook also inserts a <code>has_foo</code> bool set to true. This allows to use Mustaches section for some logic, e.g.:</p>
<p id = "para-628">These metadata can contain Markdown, which will be rendered. E.g., setting <code>date: "20th of **september**"</code> will render <code>september</code> in bold, using <code>&lt;b&gt;</code> tag for HTML or <code>\textbf</code> for LaTeX. If you need to use these data in places that dont support formatted text (e.g. in meta tags), you can use the raw content by accessing <code>xxx_raw</code> instead (e.g., <code>author_raw</code>, <code>title_raw</code>, ...). (Note that the content of the raw metadata is <em>not</em> HTML-escaped, so in this case you might want to use <code>{{xxx_raw}}</code> instead of <code>{{{xxx_raw}}}</code>.)</p>
<p id = "para-629">For each metadata <code>foo</code> that is set, Crowbook also inserts a <code>has_foo</code> bool set to true. This allows to use Mustaches section for some logic, e.g.:</p>
<pre><span style="color:#839496;">{{{title}}}
{{#has_version}}, version {{{version}}}{{/has_version}}
</span></pre><p id = "para-736">will avoid rendering “, version” when <code>version</code> is not set.</p>
<h3 id = "link-104">Localisation strings</h3>
<p id = "para-737">For all templates, Crowbook also exports some localisation strings <code>loc_foo</code>. They currently include:</p>
</span></pre><p id = "para-630">will avoid rendering “, version” when <code>version</code> is not set.</p>
<h3 id = "link-212">5.3.2. Localisation strings</h3>
<p id = "para-631">For all templates, Crowbook also exports some localisation strings <code>loc_foo</code>. They currently include:</p>
<div class = "table">
<table>
<tr>
@ -377,8 +652,8 @@ Foo does not exist
</table>
</div>
<h3 id = "link-105">Template-dependent values</h3>
<p id = "para-738">Crowbook also exports some additional fields for some templates, see below.</p>
<h3 id = "link-213">5.3.3. Template-dependent values</h3>
<p id = "para-632">Crowbook also exports some additional fields for some templates, see below.</p>
<div class = "table">
<table>
<tr>
@ -457,7 +732,7 @@ Foo does not exist
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1288">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1189">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1291">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1192">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,35 +494,35 @@ function toggle() {
« 5. Templates
</a>
</p>
<h1 id = 'link-106'><span class = 'chapter-header'>Chapter 6</span><br />Proofreading with Crowbook</h1><p id = "para-739">Crowbook includes some proofreading features, that can be enabled if you set one of the</p>
<h1 id = 'link-214'><span class = 'chapter-header'>Chapter 6</span><br />Proofreading with Crowbook</h1><p id = "para-633">Crowbook includes some proofreading features, that can be enabled if you set one of the</p>
<ul>
<li><p id = "para-740"><code>output.proofread.html</code></p>
<li><p id = "para-634"><code>output.proofread.html</code></p>
</li>
<li><p id = "para-741"><code>output.proofread.html_dir</code></p>
<li><p id = "para-635"><code>output.proofread.html_dir</code></p>
</li>
<li><p id = "para-742"><code>output.proofread.pdf</code></p>
<li><p id = "para-636"><code>output.proofread.pdf</code></p>
</li>
</ul>
<p id = "para-743">output files (or include <code>proofread.pdf</code> in the list of formats to render to <code>output</code>). This allows you to generate different files for publishing and proofreading (you probably dont want to publish a version that highlights your grammar errors or your repetitions).</p>
<p id = "para-744">Current proofreading features are:</p>
<p id = "para-637">output files (or include <code>proofread.pdf</code> in the list of formats to render to <code>output</code>). This allows you to generate different files for publishing and proofreading (you probably dont want to publish a version that highlights your grammar errors or your repetitions).</p>
<p id = "para-638">Current proofreading features are:</p>
<ul>
<li><p id = "para-745">repetition detection;</p>
<li><p id = "para-639">repetition detection;</p>
</li>
<li><p id = "para-746">grammar check.</p>
<li><p id = "para-640">grammar check.</p>
</li>
</ul>
<h2 id = "link-107">6.1. Enabling proofreading</h2>
<p id = "para-747">Since proofreading can take quite a lot of time, particularly for a long book, it is disabled by default. Youll have to run:</p>
<h2 id = "link-215">6.1. Enabling proofreading</h2>
<p id = "para-641">Since proofreading can take quite a lot of time, particularly for a long book, it is disabled by default. Youll have to run:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --proofread</span><span style="color:#839496;"> my.book
</span></pre><p id = "para-748">or:</p>
</span></pre><p id = "para-642">or:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> -p</span><span style="color:#839496;"> my.book
</span></pre><p id = "para-749">to generate proofreading copies. Alternatively, if you want it to be activated each time you run <code>crowbook</code> on this book (which is <em>not</em> recommanded for long books, particularly if you want to perform a grammar check), you can set:</p>
</span></pre><p id = "para-643">to generate proofreading copies. Alternatively, if you want it to be activated each time you run <code>crowbook</code> on this book (which is <em>not</em> recommanded for long books, particularly if you want to perform a grammar check), you can set:</p>
<pre><span style="color:#268bd2;">proofread</span><span style="color:#839496;">: </span><span style="color:#b58900;">true
</span></pre><p id = "para-750">in the book configuration file.</p>
<h2 id = "link-108">6.2. Repetition detection</h2>
<p id = "para-751">Repetition detection is enabled with:</p>
</span></pre><p id = "para-644">in the book configuration file.</p>
<h2 id = "link-216">6.2. Repetition detection</h2>
<p id = "para-645">Repetition detection is enabled with:</p>
<pre><span style="color:#268bd2;">proofread.repetitions</span><span style="color:#839496;">: </span><span style="color:#b58900;">true
</span></pre><p id = "para-752">It uses <a href = "https://github.com/lise-henry/caribon">Caribon</a> library to detect the repetition in your text. Since the notion of a repetition is relatively arbitrary, it is possible to adapt the settings. Default are:</p>
</span></pre><p id = "para-646">It uses <a href = "https://github.com/lise-henry/caribon">Caribon</a> library to detect the repetition in your text. Since the notion of a repetition is relatively arbitrary, it is possible to adapt the settings. Default are:</p>
<pre><span style="color:#586e75;"># The maximum distance between two identical words to
# consider them a repetition
</span><span style="color:#268bd2;">proofread.repetitions.max_distance</span><span style="color:#839496;">: </span><span style="color:#6c71c4;">25
@ -264,32 +539,32 @@ function toggle() {
# (E.g., with 0.2, &quot;Rust&quot; and &quot;Lust&quot; won&#39;t be
# considered as the same word, but they will be with 0.5)
</span><span style="color:#268bd2;">proofread.repetitions.fuzzy.threshold</span><span style="color:#839496;">: </span><span style="color:#6c71c4;">0.2
</span></pre><p id = "para-753">For more information, see <a href = "https://github.com/lise-henry/caribon">Caribon</a>s documentation.</p>
<blockquote><p id = "para-754">Currently, repetitions are not displayed in PDF proofreading output.</p>
</span></pre><p id = "para-647">For more information, see <a href = "https://github.com/lise-henry/caribon">Caribon</a>s documentation.</p>
<blockquote><p id = "para-648">Currently, repetitions are not displayed in PDF proofreading output.</p>
</blockquote>
<h2 id = "link-109">6.3. Grammar checking</h2>
<h3 id = "link-110">With Languagetool</h3>
<p id = "para-755">Crowbook can use <a href = "https://languagetool.org/">LanguageTool</a> to detect grammar errors in your text. It is, however, a bit more complex to activate.</p>
<p id = "para-756">First, youll have to activate this feature in your book configuration file:</p>
<h2 id = "link-217">6.3. Grammar checking</h2>
<h3 id = "link-218">6.3.1. With Languagetool</h3>
<p id = "para-649">Crowbook can use <a href = "https://languagetool.org/">LanguageTool</a> to detect grammar errors in your text. It is, however, a bit more complex to activate.</p>
<p id = "para-650">First, youll have to activate this feature in your book configuration file:</p>
<pre><span style="color:#586e75;"># Activate language tool support
</span><span style="color:#268bd2;">proofread.languagetool</span><span style="color:#839496;">: </span><span style="color:#b58900;">true
</span><span style="color:#586e75;"># (Optional) Sets the port number to connect to (default below)
</span><span style="color:#268bd2;">proofread.languagetool.port</span><span style="color:#839496;">: </span><span style="color:#6c71c4;">8081
</span></pre><p id = "para-757">Youll then have to download the stand-alone version of <a href = "https://languagetool.org/">LanguageTool</a>. It includes a server mode, which youll have to launch:</p>
</span></pre><p id = "para-651">Youll then have to download the stand-alone version of <a href = "https://languagetool.org/">LanguageTool</a>. It includes a server mode, which youll have to launch:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> java</span><span style="color:#268bd2;"> -cp</span><span style="color:#839496;"> languagetool-server.jar org.languagetool.server.HTTPServer</span><span style="color:#268bd2;"> --port</span><span style="color:#839496;"> 8081
</span></pre><p id = "para-758">You can also use the LanguageTool GUI (<code>languagetool.jar</code>) and start the server from the menu “Text Checking -&gt; Options”. This also allows you to configure LanguageTool more precisely by activating or deactivating rules.</p>
<p id = "para-759">You can then run Crowbook, and it will highlight grammar errors in HTML or PDF proofreading output files.</p>
<blockquote><p id = "para-760">Note: running a grammar check on a long book (like a novel) can take up to a few minutes.</p>
</span></pre><p id = "para-652">You can also use the LanguageTool GUI (<code>languagetool.jar</code>) and start the server from the menu “Text Checking -&gt; Options”. This also allows you to configure LanguageTool more precisely by activating or deactivating rules.</p>
<p id = "para-653">You can then run Crowbook, and it will highlight grammar errors in HTML or PDF proofreading output files.</p>
<blockquote><p id = "para-654">Note: running a grammar check on a long book (like a novel) can take up to a few minutes.</p>
</blockquote>
<h3 id = "link-111">With Grammalecte</h3>
<p id = "para-761"><a href = "http://grammalecte.net/">Grammalecte</a> is a grammar checker specialized for the french language. If the language of your book is french, you can use it in a similar fashion to languagetool:</p>
<h3 id = "link-219">6.3.2. With Grammalecte</h3>
<p id = "para-655"><a href = "http://grammalecte.net/">Grammalecte</a> is a grammar checker specialized for the french language. If the language of your book is french, you can use it in a similar fashion to languagetool:</p>
<pre><span style="color:#586e75;"># Activate grammalecte support
</span><span style="color:#268bd2;">proofread.grammalecte</span><span style="color:#839496;">: </span><span style="color:#b58900;">true
</span><span style="color:#586e75;"># (Optional) Sets the port number to connect to (default below)
</span><span style="color:#268bd2;">proofread.grammalecte.port</span><span style="color:#839496;">: </span><span style="color:#6c71c4;">8080
</span></pre><p id = "para-762">Youll also need to run the Grammalecte server. First <a href = "https://www.dicollecte.org/#download_div">download the CLI and server version</a>, then:</p>
</span></pre><p id = "para-656">Youll also need to run the Grammalecte server. First <a href = "https://www.dicollecte.org/#download_div">download the CLI and server version</a>, then:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> python3 server.py
</span></pre><p id = "para-763">You can then run Crowbook with <code>--proofread</code> to check the grammar of your book. It is possible to run both LanguageTool and Grammalecte on the same book (though might take a while for a long book...).</p>
</span></pre><p id = "para-657">You can then run Crowbook with <code>--proofread</code> to check the grammar of your book. It is possible to run both LanguageTool and Grammalecte on the same book (though might take a while for a long book...).</p>
<p class = "next_chapter">
<a href = "chapter_006.html">
@ -297,7 +572,7 @@ function toggle() {
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1290">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1191">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1293">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1194">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,25 +494,25 @@ function toggle() {
« 6. Proofreading with Crowbook
</a>
</p>
<h1 id = 'link-112'><span class = 'chapter-header'>Chapter 7</span><br />Interactive fiction</h1><p id = "para-764">Version <code>0.12.0</code> added experimental support for writing interactive fiction.</p>
<blockquote><p id = "para-765">Since this support is experimental, it means it can change at anytime, and there is no guarentee that the interactive fiction you write for the current version of Crowbook will work with the next release, even if it isnt a major release.</p>
<h1 id = 'link-220'><span class = 'chapter-header'>Chapter 7</span><br />Interactive fiction</h1><p id = "para-658">Version <a href = "https://github.com/lise-henry/crowbook/tree/v0.12.0"><code>v0.12.0</code></a> added experimental support for writing interactive fiction.</p>
<blockquote><p id = "para-659">Since this support is experimental, it means it can change at anytime, and there is no guarentee that the interactive fiction you write for the current version of <code>crowbook</code> will work with the next release, even if it isnt a major release.</p>
</blockquote>
<h2 id = "link-113">7.1. Basics</h2>
<p id = "para-766">If you want to have a non-linear story, you can simply use Markdown links just as you would for any other link:</p>
<h2 id = "link-221">7.1. Basics</h2>
<p id = "para-660">If you want to have a non-linear story, you can simply use Markdown links just as you would for any other link:</p>
<pre><span style="color:#839496;">* [Open the treasure chest](</span><span style="color:#2aa198;">open_chest.md</span><span style="color:#839496;">)
* [It might be trapped, stay away from it](</span><span style="color:#2aa198;">stay_away.md</span><span style="color:#839496;">)
</span></pre><p id = "para-767">All Crowbook renderers should render this correctly, allowing the reader to “choose her adventure”. Note, however, that you still need to include all these Markdown files in you book configuration files.</p>
<h2 id = "link-114">7.2. The interactive fiction renderer</h2>
<p id = "para-768">While the above allows you to generate correct EPUB and PDF files, it will still display all the content if the reader chooses to read your book linearly. While this may not be a problem, you might want to only display the part of the book that the reader is actually exploring.</p>
<p id = "para-769">In order to do so, you can use the interactive fiction html renderer:</p>
</span></pre><p id = "para-661">All <code>crowbook</code> renderers should render this correctly, allowing the reader to “choose her adventure”. Note, however, that you still need to include all these Markdown files in you book configuration files.</p>
<h2 id = "link-222">7.2. The interactive fiction renderer</h2>
<p id = "para-662">While the above allows you to generate correct EPUB and PDF files, it will still display all the content if the reader chooses to read your book linearly. While this may not be a problem, you might want to only display the part of the book that the reader is actually exploring.</p>
<p id = "para-663">In order to do so, you can use the interactive fiction html renderer:</p>
<pre><span style="color:#268bd2;">output.html.if</span><span style="color:#839496;">: </span><span style="color:#2aa198;">my_book.html
</span></pre><p id = "para-770">This output is similar to the standalone HTML output, except the option to display only a chapter at a time is always true, and there is no way to display the table of contents.</p>
<h2 id = "link-115">7.3. Using Javascript in your interactive fiction</h2>
<p id = "para-771">While the above allows the reader to choose his own path, its interactivity is quite limited. With the interactive fiction renderer, it is possible to include Javascript code in your Markdown files, using a code block element:</p>
</span></pre><p id = "para-664">This output is similar to the standalone HTML output, except the option to display only a chapter at a time is always true, and there is no way to display the table of contents.</p>
<h2 id = "link-223">7.3. Using Javascript in your interactive fiction</h2>
<p id = "para-665">While the above allows the reader to choose his own path, its interactivity is quite limited. With the interactive fiction renderer, it is possible to include Javascript code in your Markdown files, using a code block element:</p>
<pre><span style="color:#839496;">You open the chest, and you find a shiny sword. Yay!
user_has_sword = true;
</span></pre><p id = "para-772">This Javascript code can return a string value, which will be displayed inside the document according to the readers previous choices:</p>
</span></pre><p id = "para-666">This Javascript code can return a string value, which will be displayed inside the document according to the readers previous choices:</p>
<pre><span style="color:#839496;">You encounter a goblin, armed with a knife!
if (user_has_sword) {
@ -245,22 +520,22 @@ function toggle() {
} else {
return &quot;You don&#39;t have any weapon, you die :(&quot;;
}
</span></pre><blockquote><p id = "para-773">Note that <em>only</em> the interactive fiction renderer supports this way of embedding Javascript code. If you try to render a document containing such code blocks to EPUB, PDF, or the “normal” HTML renderer, they will be displayed as regular code blocks.</p>
</span></pre><blockquote><p id = "para-667">Note that <em>only</em> the interactive fiction renderer supports this way of embedding Javascript code. If you try to render a document containing such code blocks to EPUB, PDF, or the “normal” HTML renderer, they will be displayed as regular code blocks.</p>
</blockquote>
<h2 id = "link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</h2>
<p id = "para-774">If you want to include Markdown formatting in the Javascript code (to display a passage or another without having to write HTML code), you can use the <code>@"..."@</code> syntax:</p>
<h2 id = "link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</h2>
<p id = "para-668">If you want to include Markdown formatting in the Javascript code (to display a passage or another without having to write HTML code), you can use the <code>@"..."@</code> syntax:</p>
<pre><span style="color:#839496;"> @&quot;You face a troll!&quot;@
if (user_has_sword) {
@&quot;* [Attack him with your sword](fight_troll.md)&quot;@
} else {
@&quot;* [Better run away](run_away.md)&quot;@
}
</span></pre><p id = "para-775">Note that in this case you dont need to return a value, this is done behind your back. Similarly, <code>@"..."@</code> blocks dont require semicolons.</p>
<p id = "para-776">If you need to access the value of a Javascript variable inside this Markdown code, you can use the <code>{{...}}</code> syntax:</p>
</span></pre><p id = "para-669">Note that in this case you dont need to return a value, this is done behind your back. Similarly, <code>@"..."@</code> blocks dont require semicolons.</p>
<p id = "para-670">If you need to access the value of a Javascript variable inside this Markdown code, you can use the <code>{{...}}</code> syntax:</p>
<pre><span style="color:#839496;"> var name = prompt(&quot;Enter your name&quot;, &quot;world&quot;);
@&quot;Hello, {{name}}&quot;@
</span></pre><h2 id = "link-117">7.5. Conditional blocks</h2>
<p id = "para-777">Sometimes, you want some text (or Javascript code) to only be displayed (or run) when the reader reads this passage the first time, or alternatively when she goes back to it. While it is trivial to add some code to check that, it is a common enough pattern to justify its own variant: youll juste have to insert a named code block with the number:</p>
</span></pre><h2 id = "link-225">7.5. Conditional blocks</h2>
<p id = "para-671">Sometimes, you want some text (or Javascript code) to only be displayed (or run) when the reader reads this passage the first time, or alternatively when she goes back to it. While it is trivial to add some code to check that, it is a common enough pattern to justify its own variant: youll juste have to insert a named code block with the number:</p>
<pre><span style="color:#839496;">```1
@&quot;Only displayed at first passage&quot;@
```
@ -272,14 +547,15 @@ function toggle() {
```&gt;2
@&quot;Displayed at passage 3, 4 and so on.
```
</span></pre><h2 id = "link-118">7.6. Interactive fiction options</h2>
<p id = "para-778">As other renderers, there are options specific to the interactive fiction.</p>
<p id = "para-779"><b>html.if.new_game</b> allows you to specify the path to a Javascript that will be run at the beginning of the game. Since this code is not embedded in a function and is at the root (and the beginning) of the document, it is a good place to declare all the functions and the global variables you might need for your interactive fiction mechanics. e.g.:</p>
</span></pre><h2 id = "link-226">7.6. Interactive fiction options</h2>
<p id = "para-672">As other renderers, there are options specific to the interactive fiction.</p>
<p id = "para-673"><b>html.if.new_game</b> allows you to specify the path to a Javascript that will be run at the beginning of the game. Since this code is not embedded in a function and is at the root (and the beginning) of the document, it is a good place to declare all the functions and the global variables you might need for your interactive fiction mechanics.</p>
<p id = "para-674">E.g.:</p>
<pre><span style="color:#268bd2;">html.if.new_game</span><span style="color:#839496;">: </span><span style="color:#2aa198;">some_file.js
</span></pre><p id = "para-780"><b>html.if.new_turn</b> and <b>html.if.end_turn</b> allow you to specify some Javascript code that will be executed at the beginning and the end of each segment. Unlike <code>html.if.new_game</code>, the (usually shorter) code is specified inline, and can return a string value that will be displayed at the beginning and the end of each segment. This is exactly like including code blocks at the beginning or the end of each of your Markdown file. E.g.:</p>
</span></pre><p id = "para-675"><b>html.if.new_turn</b> and <b>html.if.end_turn</b> allow you to specify some Javascript code that will be executed at the beginning and the end of each segment. Unlike <code>html.if.new_game</code>, the (usually shorter) code is specified inline, and can return a string value that will be displayed at the beginning and the end of each segment. This is exactly like including code blocks at the beginning or the end of each of your Markdown file. E.g.:</p>
<pre><span style="color:#268bd2;">html.if.new_turn</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">nb_turns += 1;</span><span style="color:#839496;">&quot;
</span><span style="color:#268bd2;">html.end_turn</span><span style="color:#839496;">: &quot;</span><span style="color:#2aa198;">return &#39;Turn: &#39; + nb_turns;</span><span style="color:#839496;">&quot;
</span></pre><p id = "para-781"><b>html.if.script</b> allows you to specify the name of a Javascript file to override the default script.</p>
</span></pre><p id = "para-676"><b>html.if.script</b> allows you to specify the name of a Javascript file to override the default script.</p>
<p class = "next_chapter">
<a href = "chapter_007.html">
@ -287,7 +563,7 @@ function toggle() {
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1292">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1193">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1295">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1196">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,33 +494,33 @@ function toggle() {
« 7. Interactive fiction
</a>
</p>
<h1 id = 'link-119'><span class = 'chapter-header'>Chapter 8</span><br />Tips and tricks</h1><h2 id = "link-120">8.1. Using Crowbook with Emacs markdown mode</h2>
<p id = "para-782">If you use <a href = "https://www.gnu.org/software/emacs/">Emacs</a> as a text editor, there is a nice <a href = "http://jblevins.org/projects/markdown-mode/">Markdown mode</a> to edit Markdown files.</p>
<p id = "para-783">It is possible to use Crowbook for HTML previewing in this mode, which <a href = "http://xkcd.com/1742/">requires only minimal configuration and tweaking</a>:</p>
<h1 id = 'link-227'><span class = 'chapter-header'>Chapter 8</span><br />Tips and tricks</h1><h2 id = "link-228">8.1. Using Crowbook with Emacs markdown mode</h2>
<p id = "para-677">If you use <a href = "https://www.gnu.org/software/emacs/">Emacs</a> as a text editor, there is a nice <a href = "http://jblevins.org/projects/markdown-mode/">Markdown mode</a> to edit Markdown files.</p>
<p id = "para-678">It is possible to use Crowbook for HTML previewing in this mode, which <a href = "http://xkcd.com/1742/">requires only minimal configuration and tweaking</a>:</p>
<pre><span style="color:#839496;">(custom</span><span style="color:#657b83;">-</span><span style="color:#859900;">set</span><span style="color:#657b83;">-</span><span style="color:#839496;">variables
&#39;(markdown</span><span style="color:#657b83;">-</span><span style="color:#839496;">command &quot;</span><span style="color:#2aa198;">crowbook - -qs --to html --output -</span><span style="color:#839496;">&quot;))
</span></pre><p id = "para-784">You can then use <code>markdown-preview</code> (or <code>C-c C-c p</code>) to run Crowbook on this file and preview it in your browser. Or run <code>markdown-live-preview-mode</code> to see a live preview (updated each time you save your file) in Emacs integrated browser.</p>
<h3 id = "link-121">Some explanations if it looks a bit cryptic to you</h3>
<p id = "para-785">We set <code>markdown-command</code> to <code>crowbook</code>, the reason for this is a bit obvious. The arguments we give to crowbook might be a bit less obvious:</p>
</span></pre><p id = "para-679">You can then use <code>markdown-preview</code> (or <code>C-c C-c p</code>) to run Crowbook on this file and preview it in your browser. Or run <code>markdown-live-preview-mode</code> to see a live preview (updated each time you save your file) in Emacs integrated browser.</p>
<h3 id = "link-229">8.1.1. Some explanations if it looks a bit cryptic to you</h3>
<p id = "para-680">We set <code>markdown-command</code> to <code>crowbook</code>, the reason for this is a bit obvious. The arguments we give to crowbook might be a bit less obvious:</p>
<ul>
<li><p id = "para-786">the fist argument, <code>-</code>, is actually the book file: it tells <code>crowbook</code> to read it from standard input.</p>
<li><p id = "para-681">the fist argument, <code>-</code>, is actually the book file: it tells <code>crowbook</code> to read it from standard input.</p>
</li>
<li><p id = "para-787"><code>-qs</code> or <code>--quiet --single</code> tells Crowbook that is a a standalone markdown file, and not a book configuration file, and to be a bit quiet on error/info messages;</p>
<li><p id = "para-682"><code>-qs</code> or <code>--quiet --single</code> tells Crowbook that is a a standalone markdown file, and not a book configuration file, and to be a bit quiet on error/info messages;</p>
</li>
<li><p id = "para-788"><code>--to html</code> specifies that HTML must be generated;</p>
<li><p id = "para-683"><code>--to html</code> specifies that HTML must be generated;</p>
</li>
<li><p id = "para-789"><code>--output -</code> tells Crowbook to display the result on the stdout, even if you set <code>output.html</code> to <code>some_file.html</code>.</p>
<li><p id = "para-684"><code>--output -</code> tells Crowbook to display the result on the stdout, even if you set <code>output.html</code> to <code>some_file.html</code>.</p>
</li>
</ul>
<h2 id = "link-122">8.2. Embedding fonts in an EPUB file</h2>
<p id = "para-790">In order to embed fonts in an EPUB file, youll first have to edit the stylesheet, which you can first obtain with:</p>
<h2 id = "link-230">8.2. Embedding fonts in an EPUB file</h2>
<p id = "para-685">In order to embed fonts in an EPUB file, youll first have to edit the stylesheet, which you can first obtain with:</p>
<pre><span style="color:#b58900;">$</span><span style="color:#839496;"> crowbook</span><span style="color:#268bd2;"> --print-template</span><span style="color:#839496;"> epub.css </span><span style="color:#657b83;">&gt;</span><span style="color:#839496;"> my_epub_stylesheet.css
</span></pre><p id = "para-791">Youll need to use the <a href = "https://developer.mozilla.org/fr/docs/Web/CSS/@font-face"><code>@font-face</code> attribute</a>:</p>
</span></pre><p id = "para-686">Youll need to use the <a href = "https://developer.mozilla.org/fr/docs/Web/CSS/@font-face"><code>@font-face</code> attribute</a>:</p>
<pre><span style="color:#859900;">@font-face </span><span style="color:#657b83;">{
</span><span style="color:#859900;">font-family</span><span style="color:#839496;">: </span><span style="color:#2aa198;">MyFont</span><span style="color:#839496;">;
</span><span style="color:#859900;">src</span><span style="color:#839496;">: </span><span style="color:#859900;">url</span><span style="color:#839496;">(</span><span style="color:#2aa198;">data/my_font.ttf</span><span style="color:#839496;">);
</span><span style="color:#657b83;">}
</span></pre><p id = "para-792">Then you can add <code>my_font.ttf</code> to the files that need to be added to the EPUB zip file:</p>
</span></pre><p id = "para-687">Then you can add <code>my_font.ttf</code> to the files that need to be added to the EPUB zip file:</p>
<pre><span style="color:#268bd2;">title</span><span style="color:#839496;">: </span><span style="color:#268bd2;">My Book
author</span><span style="color:#839496;">: </span><span style="color:#268bd2;">Me
@ -253,7 +528,7 @@ cover</span><span style="color:#839496;">: </span><span style="color:#268bd2;">c
output.epub</span><span style="color:#839496;">: </span><span style="color:#268bd2;">book.epub
resources.files</span><span style="color:#839496;">: [</span><span style="color:#2aa198;">my_font.ttf</span><span style="color:#839496;">]
</span></pre><p id = "para-793">(Note that youll have to repeat the process for the different <code>font-weight</code> and <code>font-style</code> variants of your font if you want it to display correctly when there is some text in <b>bold</b>, <em>italics</em>, or <b><em>both</em></b>.)</p>
</span></pre><p id = "para-688">(Note that youll have to repeat the process for the different <code>font-weight</code> and <code>font-style</code> variants of your font if you want it to display correctly when there is some text in <b>bold</b>, <em>italics</em>, or <b><em>both</em></b>.)</p>
<p class = "next_chapter">
<a href = "chapter_008.html">
@ -261,7 +536,7 @@ resources.files</span><span style="color:#839496;">: [</span><span style="color:
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1294">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1195">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1297">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1198">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,15 +494,15 @@ function toggle() {
« 8. Tips and tricks
</a>
</p>
<h1 id = 'link-123'><span class = 'chapter-header'>Chapter 9</span><br />Contributing</h1><p id = "para-794">Crowbook is a free software, and you can contribute to it. There are some things that can be accessible even if you dont know anything about programming.</p>
<h2 id = "link-124">9.1. Internationalization</h2>
<p id = "para-795">Crowbook aims to support multiple languages. However, unfortunately, currently only english, french, and (in a more limited way) spanish are currently supported. If you want to have better support for the language you write in, there are easy things you can do:</p>
<h1 id = 'link-231'><span class = 'chapter-header'>Chapter 9</span><br />Contributing</h1><p id = "para-689"><code>crowbook</code> is a free software, and you can contribute to it. There are some things that can be accessible even if you dont know anything about programming.</p>
<h2 id = "link-232">9.1. Internationalization</h2>
<p id = "para-690"><code>crowbook</code> aims to support multiple languages. However, unfortunately, currently only English, French, and (in a more limited way) Spanish are currently supported. If you want to have better support for the language you write in, there are easy things you can do:</p>
<ul>
<li><p id = "para-796">Provide a translation for the few strings that Crowbook insert into the rendered documents. This is really easy, as there are currently less than a dozen of them, and you just need to create a new variant of the <a href = "https://github.com/lise-henry/crowbook/blob/master/lang/en.yaml"><code>lang/en.yaml</code></a> file.</p>
<li><p id = "para-691">Provide a translation for the few strings that Crowbook insert into the rendered documents. This is really easy, as there are currently less than a dozen of them, and you just need to create a new variant of the <a href = "https://github.com/lise-henry/crowbook/blob/master/lang/en.yaml"><code>./lang/en.yaml</code></a> file.</p>
</li>
<li><p id = "para-797">Open an <a href = "https://github.com/lise-henry/crowbook/issues">issue</a> about the typographic rules in your language, if Crowbook doesnt cover them.</p>
<li><p id = "para-692">Open an <a href = "https://github.com/lise-henry/crowbook/issues">issue</a> about the typographic rules in your language, if <code>crowbook</code> doesnt cover them.</p>
</li>
<li><p id = "para-798">Provide a translation for the Crowbook program. It requires creating a variant of the <a href = "https://github.com/lise-henry/crowbook/blob/master/lang/fr.po"><code>.po</code> file</a>, which is a bit more work because (at this time) its around 1,500 lines (and less a priority than the first item of this list, as this translation only affects the the command-line interface and not the rendered documents).</p>
<li><p id = "para-693">Provide a translation for the <code>crowbook</code> program. It requires creating a variant of the <a href = "https://github.com/lise-henry/crowbook/blob/master/lang/fr.po"><code>.po</code> file</a>, which is a bit more work because (at this time) its around 1,500 lines (and less a priority than the first item of this list, as this translation only affects the the command-line interface and not the rendered documents).</p>
</li>
</ul>
@ -237,7 +512,7 @@ function toggle() {
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1296">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1197">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1299">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1200">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,1162 +494,1176 @@ function toggle() {
« 9. Contributing
</a>
</p>
<h1 id = 'link-125'>ChangeLog</h1><h2 id = "link-126">unreleased</h2>
<h1 id = 'link-233'>ChangeLog</h1><h2 id = "link-234">0.15.1 (2020-07-07)</h2>
<ul>
<li><p id = "para-799"><code>html.css.colours</code> has been renamed <code>html.css.colors</code></p>
<li><p id = "para-694"><code>html.css.colours</code> has been renamed <code>html.css.colors</code></p>
</li>
</ul>
<h2 id = "link-127">0.15.0 (2019-07-18)</h2>
<li><p id = "para-695">Fixed issue with table of contents page numbers in PDF output</p>
</li>
<li><p id = "para-696">Fixed issue with invalid XHTML in EPUB when using description terms</p>
</li>
<li><p id = "para-697">Fixed left/right margins in LaTeX (which were reversed)</p>
</li>
<li><p id = "para-698">LaTeX outputs of french documents now use enspaces and narrow non-breaking spaces</p>
</li>
<li><p id = "para-699">New option:</p>
<ul>
<li><p id = "para-800">Moved from <code>pulldown-cmark</code> to <code>comrak</code> for parsing Markdown. This may have some performances drawbacks but allows for a few more features:</p>
<ul>
<li><p id = "para-801">Description lists</p>
</li>
<li><p id = "para-802">Strikethrough</p>
</li>
<li><p id = "para-803">Task items</p>
</li>
</ul>
</li>
<li><p id = "para-804">New option:</p>
<ul>
<li><p id = "para-805"><code>crowbook.files_mean_chapters</code> allow to enforce that each files means a chapter break or to make sure that it doesnt (by default, only true for numbered chapters).</p>
</li>
</ul>
</li>
<li><p id = "para-806">Fallback on Rust zip library when there is no <code>zip</code> command.</p>
</li>
<li><p id = "para-807">By default, dont add an empty chapter title for non numbered “chapters” that dont contain a title.</p>
</li>
<li><p id = "para-808">Now uses <code>reqwest</code> instead of <code>hyper</code> to connect to languagetool/grammalecte.</p>
</li>
<li><p id = "para-809"><code>hyphenation</code> dependency is now optional.</p>
</li>
<li><p id = "para-810">Dependencies update.</p>
</li>
<li><p id = "para-811">Fix type deduction issues for new rustc compliler</p>
</li>
</ul>
<h2 id = "link-128">0.14.1 (2018-06-01)</h2>
<ul>
<li><p id = "para-812"><code>--stats</code> can now display more statistics when used with the <code>--verbose</code> option (if support for advanced statistics is compiled)</p>
</li>
<li><p id = "para-813">LaTeX outputs now make uses of user-defined <code>rendering.chapter</code> and <code>rendering.part</code></p>
</li>
<li><p id = "para-814">Dependencies update</p>
</li>
</ul>
<h2 id = "link-129">0.14.0 (2017-11-26)</h2>
<ul>
<li><p id = "para-815">New option:</p>
<ul>
<li><p id = "para-816"><code>autograph</code> is an autograph added after title.</p>
</li>
</ul>
</li>
<li><p id = "para-817">User interface:</p>
<ul>
<li><p id = "para-818">new argument <code>--autograph</code> prompts for an autograph.</p>
</li>
<li><p id = "para-819"><code>--list-options</code> and <code>--stats</code> now use colors if available.</p>
</li>
<li><p id = "para-820">options description with <code>--list-options</code> are now wrapped.</p>
</li>
</ul>
</li>
<li><p id = "para-821">Bugfixes:</p>
<ul>
<li><p id = "para-822">Preserve errors/warnings order with fancy UI.</p>
</li>
<li><p id = "para-823">Clean secondary bar when there is an error instead of hanging the UI.</p>
</li>
<li><p id = "para-824">LaTeX: fancy headers only applies to fancy pages (not chapter pages).</p>
<li><p id = "para-700"><code>tex:escape_nb_spaces</code> defaults to <code>true</code> and will uses TeX codes to display non-breaking spaces.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-130">0.14.0-beta (2017-10-08)</h2>
<h2 id = "link-235">0.15.0 (2019-07-18)</h2>
<ul>
<li><p id = "para-825">Bugfixes:</p>
<li><p id = "para-701">Moved from <code>pulldown-cmark</code> to <code>comrak</code> for parsing Markdown. This may have some performances drawbacks but allows for a few more features:</p>
<ul>
<li><p id = "para-826">EPUB: escape quotes in content.opf.</p>
<li><p id = "para-702">Description lists</p>
</li>
<li><p id = "para-827">LaTeX/PDF: allow hyphenations in typewriter font.</p>
<li><p id = "para-703">Strikethrough</p>
</li>
<li><p id = "para-704">Task items</p>
</li>
</ul>
</li>
<li><p id = "para-828">User interface:</p>
<li><p id = "para-705">New option:</p>
<ul>
<li><p id = "para-829">User interface is quite fancier, with progress bars and all</p>
</li>
<li><p id = "para-830">Debug/warning/info levels should be displayed in a more coherent manner</p>
</li>
<li><p id = "para-831">New <code>--no-fancy</code> option if you dont like the fancy UI (or if it doesnt work in your terminal)</p>
</li>
<li><p id = "para-832">New <code>--force-emoji</code> option to force emoji usage.</p>
<li><p id = "para-706"><code>crowbook.files_mean_chapters</code> allow to enforce that each files means a chapter break or to make sure that it doesnt (by default, only true for numbered chapters).</p>
</li>
</ul>
</li>
<li><p id = "para-833">Library interface:</p>
<li><p id = "para-707">Fallback on Rust zip library when there is no <code>zip</code> command.</p>
</li>
<li><p id = "para-708">By default, dont add an empty chapter title for non numbered “chapters” that dont contain a title.</p>
</li>
<li><p id = "para-709">Now uses <code>reqwest</code> instead of <code>hyper</code> to connect to languagetool/grammalecte.</p>
</li>
<li><p id = "para-710"><code>hyphenation</code> dependency is now optional.</p>
</li>
<li><p id = "para-711">Dependencies update.</p>
</li>
<li><p id = "para-712">Fix type deduction issues for new rustc compliler</p>
</li>
</ul>
<h2 id = "link-236">0.14.1 (2018-06-01)</h2>
<ul>
<li><p id = "para-834">Removed <code>Book::set_verbosity</code> method (uses a logger library instead).</p>
<li><p id = "para-713"><code>--stats</code> can now display more statistics when used with the <code>--verbose</code> option (if support for advanced statistics is compiled)</p>
</li>
<li><p id = "para-714">LaTeX outputs now make uses of user-defined <code>rendering.chapter</code> and <code>rendering.part</code></p>
</li>
<li><p id = "para-715">Dependencies update</p>
</li>
</ul>
<h2 id = "link-237">0.14.0 (2017-11-26)</h2>
<ul>
<li><p id = "para-716">New option:</p>
<ul>
<li><p id = "para-717"><code>autograph</code> is an autograph added after title.</p>
</li>
</ul>
</li>
<li><p id = "para-835">Now requires rustc &gt;= 1.20.0</p>
</li>
</ul>
<h2 id = "link-131">0.13.0 (2017-07-14)</h2>
<li><p id = "para-718">User interface:</p>
<ul>
<li><p id = "para-836">Breaking changes:</p>
<ul>
<li><p id = "para-837">The <code>template.tex</code> template was quite modified. Crowbook now uses custom command for most markdown elements, defined in the template. This allow an user to redefine the way the book is rendered without having to modify Crowbook itself. Unfortunately, as tex templates for previous Crowbook versions wont work anymore.</p>
<li><p id = "para-719">new argument <code>--autograph</code> prompts for an autograph.</p>
</li>
<li><p id = "para-838">the <code>resources.files</code> option is now a YAML list of strings, instead of a comma-seprated string.</p>
<li><p id = "para-720"><code>--list-options</code> and <code>--stats</code> now use colors if available.</p>
</li>
<li><p id = "para-721">options description with <code>--list-options</code> are now wrapped.</p>
</li>
</ul>
</li>
<li><p id = "para-839">Add support for grammalecte grammar checker.</p>
</li>
<li><p id = "para-840"><code>crowbook</code> command takes a new argument, <code>-S</code> or <code>--stats</code> which displays stats on the book (currently, words and characters count).</p>
</li>
<li><p id = "para-841">Interactive fiction:</p>
<li><p id = "para-722">Bugfixes:</p>
<ul>
<li><p id = "para-842">Added conditional blocks.</p>
<li><p id = "para-723">Preserve errors/warnings order with fancy UI.</p>
</li>
</ul>
<li><p id = "para-724">Clean secondary bar when there is an error instead of hanging the UI.</p>
</li>
<li><p id = "para-843">Options:</p>
<ul>
<li><p id = "para-844"><code>output.xxx</code> options can now take the “auto” value, which will infer the output file name based on the book file name.</p>
</li>
<li><p id = "para-845"><code>output</code> is a new option that can specify a series of format to render, with default output file name.</p>
</li>
<li><p id = "para-846"><code>proofread.grammalecte</code> and <code>proofread.grammalecte.port</code> allow respectively to enable grammar checking with Grammalecte and (optionnally) to specify the port to connect.</p>
</li>
<li><p id = "para-847"><code>tex.margin.left</code>, <code>tex.margin.right</code>, <code>tex.margin.bottom</code> and <code>tex.margin.top</code> are new options that allow to specify margins for LaTeX/PDF outputs.</p>
</li>
<li><p id = "para-848"><code>tex.paper_size</code> was renamed <code>tex.paper_size</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-849">HTML:</p>
<ul>
<li><p id = "para-850">Add JSON-LD structured data to the books HTML files.</p>
</li>
</ul>
</li>
<li><p id = "para-851">Bugfixes:</p>
<ul>
<li><p id = "para-852">LaTeX: fix rendering of part/chapter (part previously displayed as chapter and its first chapter as part)</p>
</li>
<li><p id = "para-853">EPUB:</p>
<ul>
<li><p id = "para-854">Fix <code>.rule</code> so it is centered despite KOBO CSS injection.</p>
</li>
</ul>
</li>
<li><p id = "para-855">Fix resources/images inclusion when they are symlinks to the actual file.</p>
<li><p id = "para-725">LaTeX: fancy headers only applies to fancy pages (not chapter pages).</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-132">0.12.0 (2017-06-05)</h2>
<p id = "para-856">This release includes a few new features, such as the possiblity to include Markdown files as section/subsections and not only as chapter, experimental support for superscript and subscript, and yet more experimental support for writing interactive fiction.</p>
<h2 id = "link-238">0.14.0-beta (2017-10-08)</h2>
<ul>
<li><p id = "para-857">Book configuration file:</p>
<li><p id = "para-726">Bugfixes:</p>
<ul>
<li><p id = "para-858">It is now possible to include subchapters using the <code>--</code> command (with one dash per sublevel: <code>--- foo.md</code> will include <code>foo.md</code> as a subsection).</p>
<li><p id = "para-727">EPUB: escape quotes in content.opf.</p>
</li>
<li><p id = "para-728">LaTeX/PDF: allow hyphenations in typewriter font.</p>
</li>
</ul>
</li>
<li><p id = "para-859">Markdown:</p>
<li><p id = "para-729">User interface:</p>
<ul>
<li><p id = "para-860">Added support for superscript and subscript features, using respectively <code>foo^up^</code> or <code>bar~down~</code> syntax.</p>
<li><p id = "para-730">User interface is quite fancier, with progress bars and all</p>
</li>
<li><p id = "para-731">Debug/warning/info levels should be displayed in a more coherent manner</p>
</li>
<li><p id = "para-732">New <code>--no-fancy</code> option if you dont like the fancy UI (or if it doesnt work in your terminal)</p>
</li>
<li><p id = "para-733">New <code>--force-emoji</code> option to force emoji usage.</p>
</li>
</ul>
</li>
<li><p id = "para-861">New options:</p>
<li><p id = "para-734">Library interface:</p>
<ul>
<li><p id = "para-862"><code>rendering.chapter</code>: change what is displayed in place of “chapter”.</p>
</li>
<li><p id = "para-863"><code>rendering.part</code>: change what is displayed in place of “part”.</p>
</li>
<li><p id = "para-864"><code>html.chapter.template</code> and <code>html.part.template</code> allow to tune a little how the chapters and parts are displayed in HTML.</p>
</li>
<li><p id = "para-865"><code>tex.hyperref</code>, if set to <code>false</code>, will disable hyperrefs for local links. Can be useful for some files.</p>
</li>
<li><p id = "para-866"><code>crowbook.html_as_text</code>, if set to false, will not treat HTML as text but ignore it.</p>
</li>
<li><p id = "para-867"><code>subtitle</code>, as its name suggest, set the subtitle of a book.</p>
</li>
<li><p id = "para-868"><code>crowbook.markdown.superscript</code> can enable or disable superscript/subscript “extension”.</p>
<li><p id = "para-735">Removed <code>Book::set_verbosity</code> method (uses a logger library instead).</p>
</li>
</ul>
</li>
<li><p id = "para-869">Rendering:</p>
<li><p id = "para-736">Now requires rustc &gt;= 1.20.0</p>
</li>
</ul>
<h2 id = "link-239">0.13.0 (2017-07-14)</h2>
<ul>
<li><p id = "para-870">Change the way chapters are displayed by default.</p>
<li><p id = "para-737">Breaking changes:</p>
<ul>
<li><p id = "para-738">The <code>template.tex</code> template was quite modified. Crowbook now uses custom command for most markdown elements, defined in the template. This allow an user to redefine the way the book is rendered without having to modify Crowbook itself. Unfortunately, as tex templates for previous Crowbook versions wont work anymore.</p>
</li>
<li><p id = "para-871">PDF output now has a better-looking (hopefully) title page.</p>
</li>
<li><p id = "para-872">Internal links are a bit more flexible, e.g. if you link to <code>Readme.html</code> it will now try to link to the chapter corresponding to <code>Readme.md</code>.</p>
<li><p id = "para-739">the <code>resources.files</code> option is now a YAML list of strings, instead of a comma-seprated string.</p>
</li>
</ul>
</li>
<li><p id = "para-873">Bugfixes:</p>
<ul>
<li><p id = "para-874">LaTeX:</p>
<ul>
<li><p id = "para-875">Fix bug in syntax highlighting.</p>
<li><p id = "para-740">Add support for grammalecte grammar checker.</p>
</li>
<li><p id = "para-876">Fix label placements (and thus navigation inside PDF document).</p>
<li><p id = "para-741"><code>crowbook</code> command takes a new argument, <code>-S</code> or <code>--stats</code> which displays stats on the book (currently, words and characters count).</p>
</li>
<li><p id = "para-742">Interactive fiction:</p>
<ul>
<li><p id = "para-743">Added conditional blocks.</p>
</li>
</ul>
</li>
<li><p id = "para-877">EPUB:</p>
<li><p id = "para-744">Options:</p>
<ul>
<li><p id = "para-878">Add unnamed but numbered chapters to the TOC.</p>
<li><p id = "para-745"><code>output.xxx</code> options can now take the “auto” value, which will infer the output file name based on the book file name.</p>
</li>
<li><p id = "para-879">Fix HTML escaping issue for chapter titles.</p>
<li><p id = "para-746"><code>output</code> is a new option that can specify a series of format to render, with default output file name.</p>
</li>
<li><p id = "para-880">Fix the way parts were handled in the TOC.</p>
<li><p id = "para-747"><code>proofread.grammalecte</code> and <code>proofread.grammalecte.port</code> allow respectively to enable grammar checking with Grammalecte and (optionnally) to specify the port to connect.</p>
</li>
<li><p id = "para-748"><code>tex.margin.left</code>, <code>tex.margin.right</code>, <code>tex.margin.bottom</code> and <code>tex.margin.top</code> are new options that allow to specify margins for LaTeX/PDF outputs.</p>
</li>
<li><p id = "para-749"><code>tex.paper_size</code> was renamed <code>tex.paper_size</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-881">Book configuration file:</p>
<li><p id = "para-750">HTML:</p>
<ul>
<li><p id = "para-882">Fix issue when setting custom number for parts.</p>
<li><p id = "para-751">Add JSON-LD structured data to the books HTML files.</p>
</li>
</ul>
</li>
<li><p id = "para-752">Bugfixes:</p>
<ul>
<li><p id = "para-753">LaTeX: fix rendering of part/chapter (part previously displayed as chapter and its first chapter as part)</p>
</li>
<li><p id = "para-754">EPUB:</p>
<ul>
<li><p id = "para-755">Fix <code>.rule</code> so it is centered despite KOBO CSS injection.</p>
</li>
</ul>
</li>
<li><p id = "para-756">Fix resources/images inclusion when they are symlinks to the actual file.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-240">0.12.0 (2017-06-05)</h2>
<p id = "para-757">This release includes a few new features, such as the possiblity to include Markdown files as section/subsections and not only as chapter, experimental support for superscript and subscript, and yet more experimental support for writing interactive fiction.</p>
<ul>
<li><p id = "para-758">Book configuration file:</p>
<ul>
<li><p id = "para-759">It is now possible to include subchapters using the <code>--</code> command (with one dash per sublevel: <code>--- foo.md</code> will include <code>foo.md</code> as a subsection).</p>
</li>
</ul>
</li>
<li><p id = "para-760">Markdown:</p>
<ul>
<li><p id = "para-761">Added support for superscript and subscript features, using respectively <code>foo^up^</code> or <code>bar~down~</code> syntax.</p>
</li>
</ul>
</li>
<li><p id = "para-762">New options:</p>
<ul>
<li><p id = "para-763"><code>rendering.chapter</code>: change what is displayed in place of “chapter”.</p>
</li>
<li><p id = "para-764"><code>rendering.part</code>: change what is displayed in place of “part”.</p>
</li>
<li><p id = "para-765"><code>html.chapter.template</code> and <code>html.part.template</code> allow to tune a little how the chapters and parts are displayed in HTML.</p>
</li>
<li><p id = "para-766"><code>tex.hyperref</code>, if set to <code>false</code>, will disable hyperrefs for local links. Can be useful for some files.</p>
</li>
<li><p id = "para-767"><code>crowbook.html_as_text</code>, if set to false, will not treat HTML as text but ignore it.</p>
</li>
<li><p id = "para-768"><code>subtitle</code>, as its name suggest, set the subtitle of a book.</p>
</li>
<li><p id = "para-769"><code>crowbook.markdown.superscript</code> can enable or disable superscript/subscript “extension”.</p>
</li>
</ul>
</li>
<li><p id = "para-770">Rendering:</p>
<ul>
<li><p id = "para-771">Change the way chapters are displayed by default.</p>
</li>
<li><p id = "para-772">PDF output now has a better-looking (hopefully) title page.</p>
</li>
<li><p id = "para-773">Internal links are a bit more flexible, e.g. if you link to <code>Readme.html</code> it will now try to link to the chapter corresponding to <code>Readme.md</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-774">Bugfixes:</p>
<ul>
<li><p id = "para-775">LaTeX:</p>
<ul>
<li><p id = "para-776">Fix bug in syntax highlighting.</p>
</li>
<li><p id = "para-777">Fix label placements (and thus navigation inside PDF document).</p>
</li>
</ul>
</li>
<li><p id = "para-778">EPUB:</p>
<ul>
<li><p id = "para-779">Add unnamed but numbered chapters to the TOC.</p>
</li>
<li><p id = "para-780">Fix HTML escaping issue for chapter titles.</p>
</li>
<li><p id = "para-781">Fix the way parts were handled in the TOC.</p>
</li>
</ul>
</li>
<li><p id = "para-782">Book configuration file:</p>
<ul>
<li><p id = "para-783">Fix issue when setting custom number for parts.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-883">Crowbook now requires rustc &gt;= 1.17.0</p>
<li><p id = "para-784">Crowbook now requires rustc &gt;= 1.17.0</p>
</li>
</ul>
<h2 id = "link-133">0.11.4 (2017-03-21)</h2>
<h2 id = "link-241">0.11.4 (2017-03-21)</h2>
<ul>
<li><p id = "para-884">An image can now be considered standalone even if it is inside a link.</p>
<li><p id = "para-785">An image can now be considered standalone even if it is inside a link.</p>
</li>
<li><p id = "para-885">Bugfixes:</p>
<li><p id = "para-786">Bugfixes:</p>
<ul>
<li><p id = "para-886">HTML/EPUB: use raw (not HTML rendered) metadata in the places where HTML code is not appropriate. Templates can use this metadata with the <code>foo_raw</code> value.</p>
<li><p id = "para-787">HTML/EPUB: use raw (not HTML rendered) metadata in the places where HTML code is not appropriate. Templates can use this metadata with the <code>foo_raw</code> value.</p>
</li>
<li><p id = "para-887">HTML/EPUB: fix double-escaping/rendering issues in titles.</p>
<li><p id = "para-788">HTML/EPUB: fix double-escaping/rendering issues in titles.</p>
</li>
<li><p id = "para-888">EPUB:</p>
<li><p id = "para-789">EPUB:</p>
<ul>
<li><p id = "para-889">Escape title and author before feeding them to epub-builder.</p>
<li><p id = "para-790">Escape title and author before feeding them to epub-builder.</p>
</li>
<li><p id = "para-890">Fix content.opf issue by not rendering first chapters title (marked as beginning of document) in <code>&lt;guide&gt;</code>.</p>
<li><p id = "para-791">Fix content.opf issue by not rendering first chapters title (marked as beginning of document) in <code>&lt;guide&gt;</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-891">Rendering:</p>
<li><p id = "para-792">Rendering:</p>
<ul>
<li><p id = "para-892">HTML/EPUB: standalone images are now displayed centered.</p>
<li><p id = "para-793">HTML/EPUB: standalone images are now displayed centered.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-134">0.11.3 (2017-03-19)</h2>
<h2 id = "link-242">0.11.3 (2017-03-19)</h2>
<ul>
<li><p id = "para-893">When crowbook parses the books contents, it now detects which features are used. This is useful in various ways:</p>
<li><p id = "para-794">When crowbook parses the books contents, it now detects which features are used. This is useful in various ways:</p>
<ul>
<li><p id = "para-894">The ODT renderer only displays a global warning showing the lists of used features that are not implemented, instead of a warning each time such a feature is encountered.</p>
<li><p id = "para-795">The ODT renderer only displays a global warning showing the lists of used features that are not implemented, instead of a warning each time such a feature is encountered.</p>
</li>
<li><p id = "para-895">The LaTeX and HTML/EPUB renderers only initialize <code>syntect</code> (which can take some time) if code blocks are used in the document.</p>
<li><p id = "para-796">The LaTeX and HTML/EPUB renderers only initialize <code>syntect</code> (which can take some time) if code blocks are used in the document.</p>
</li>
<li><p id = "para-896">The LaTeX renderer only requires LaTeX packages that are actually used in the document.</p>
<li><p id = "para-797">The LaTeX renderer only requires LaTeX packages that are actually used in the document.</p>
</li>
</ul>
</li>
<li><p id = "para-897">Command-line interface:</p>
<li><p id = "para-798">Command-line interface:</p>
<ul>
<li><p id = "para-898">Warnings are now displayed by default.</p>
<li><p id = "para-799">Warnings are now displayed by default.</p>
</li>
<li><p id = "para-899">The (undocumented) <code>--debug</code> argument has been removed.</p>
<li><p id = "para-800">The (undocumented) <code>--debug</code> argument has been removed.</p>
</li>
<li><p id = "para-900">The status of some messages have been modified (“warning” to “debug” or “error” to “warning”).</p>
<li><p id = "para-801">The status of some messages have been modified (“warning” to “debug” or “error” to “warning”).</p>
</li>
</ul>
</li>
<li><p id = "para-901">Deprecated option:</p>
<li><p id = "para-802">Deprecated option:</p>
<ul>
<li><p id = "para-902"><code>crowbook.verbose</code> has been deprecated, at it should be set by the CLI.</p>
<li><p id = "para-803"><code>crowbook.verbose</code> has been deprecated, at it should be set by the CLI.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-135">0.11.2 (2017-03-05)</h2>
<h2 id = "link-243">0.11.2 (2017-03-05)</h2>
<ul>
<li><p id = "para-903">General:</p>
<li><p id = "para-804">General:</p>
<ul>
<li><p id = "para-904">When there is an error setting an option from the book configuration file (e.g. because it is an invalid key), print an error but do not abort, only ignore this specific option.</p>
<li><p id = "para-805">When there is an error setting an option from the book configuration file (e.g. because it is an invalid key), print an error but do not abort, only ignore this specific option.</p>
</li>
</ul>
</li>
<li><p id = "para-905">New options:</p>
<li><p id = "para-806">New options:</p>
<ul>
<li><p id = "para-906"><code>tex.stdpage</code>: if set to <code>true</code>, will use the <code>stdpage</code> package to render the book according to standards for submitting manuscripts.</p>
<li><p id = "para-807"><code>tex.stdpage</code>: if set to <code>true</code>, will use the <code>stdpage</code> package to render the book according to standards for submitting manuscripts.</p>
</li>
<li><p id = "para-907"><code>rendering.highlight.theme</code> allows to specifies a theme for syntax highlighting (only used if <code>rendering.highlight</code> is set to “syntect”).</p>
<li><p id = "para-808"><code>rendering.highlight.theme</code> allows to specifies a theme for syntax highlighting (only used if <code>rendering.highlight</code> is set to “syntect”).</p>
</li>
<li><p id = "para-908"><code>html.highlight.theme</code>, <code>epub.highlight.theme</code> and <code>tex.highlight.theme</code> allow to specify a theme for HTML/EPUB/LaTeX renderers (only used with syntect).</p>
<li><p id = "para-809"><code>html.highlight.theme</code>, <code>epub.highlight.theme</code> and <code>tex.highlight.theme</code> allow to specify a theme for HTML/EPUB/LaTeX renderers (only used with syntect).</p>
</li>
</ul>
</li>
<li><p id = "para-909">Deprecated option:</p>
<li><p id = "para-810">Deprecated option:</p>
<ul>
<li><p id = "para-910"><code>proofread.nb_spaces</code>.</p>
<li><p id = "para-811"><code>proofread.nb_spaces</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-812">Rendering:</p>
<ul>
<li><p id = "para-813"><code>[syntect](https://crates.io/crates/syntect)</code> is now the default for <code>rendering.highlight</code>. Concretely, this means that by default syntax highlighting is now done when <code>crowbook</code> is run instead of using <code>[highlight.js](https://highlightjs.org/)</code>.</p>
</li>
<li><p id = "para-814">EPUB:</p>
<ul>
<li><p id = "para-815">Now sets the “cover-image” property and meta so readers should display cover correctly.</p>
</li>
<li><p id = "para-816">Narrow non-breaking spaces should display more correctly on KOBO ereaders (hoping this wont break the way they are displayed everywhere else).</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-817">Proofreading:</p>
<ul>
<li><p id = "para-818">Repetition detection is now a bit less of an hack, and should cause less problems when used in conjunction with grammar checking. It now also works on PDF output (so the way it is highlighted could be improved).</p>
</li>
</ul>
</li>
<li><p id = "para-819">Bugfixes:</p>
<ul>
<li><p id = "para-820">Fix <code>mimetype</code> of EPUB files (make sure it is always “stored” and not “deflated” by the <code>zip</code> command).</p>
</li>
<li><p id = "para-821">Avoid initializing <code>syntect</code> (at the cost of performances) if it is not used.</p>
</li>
<li><p id = "para-822">Avoid creating an empty file if some book renderer fails (e.g. EPUB or ODT because <code>zip</code> command is not present).</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-244">0.11.1 (2017-01-05)</h2>
<ul>
<li><p id = "para-823">Rendering:</p>
<ul>
<li><p id = "para-824">Avoid page break before or after a separating rule.</p>
</li>
<li><p id = "para-825">Add support for <a href = "https://crates.io/crates/syntect">syntect</a> for syntax highlighting. This is activated by setting <code>rendering.highlight</code> to <code>syntect</code> (see below).</p>
</li>
<li><p id = "para-826">EPUB:</p>
<ul>
<li><p id = "para-827">Set back HTML escape of narrow non-breaking spaces to <code>true</code> by default (it caused problems on some readers, but cause much more serious one if <code>false</code>).</p>
</li>
<li><p id = "para-828">Add more information to guide/nav landmarks.</p>
</li>
</ul>
</li>
<li><p id = "para-829">LaTeX/PDF:</p>
<ul>
<li><p id = "para-830">Improve the way code blocks are displayed, using the <code>mdframed</code> package.</p>
</li>
<li><p id = "para-831">Try to reduce the issues of too long lines when using code and code blocks, by inserting <code>\allowbreak{}</code> directive after some characters (<code>.</code>, <code>/</code>, <code>_</code>, ...).</p>
</li>
<li><p id = "para-832">Block quotes are now displayed in italics.</p>
</li>
<li><p id = "para-833">Tables now use <code>tabularx</code>, which allows to break too long lines (it still doesnt break pages, though).</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-834">New options:</p>
<ul>
<li><p id = "para-835"><code>rendering.highlight</code> can be set to <code>none</code>, <code>highlight.js</code> (by default, enables syntax highlighting via Javascript, but only on HTML document) or <code>syntect</code> (doesnt necessitate javascript, and can work in EPUB or LaTeX, but more experimental at this point).</p>
</li>
</ul>
</li>
<li><p id = "para-836">Deprecated options:</p>
<ul>
<li><p id = "para-837"><code>html.highlight_code</code> (use <code>rendering.highlight</code> instead).</p>
</li>
</ul>
</li>
<li><p id = "para-838">Bugfixes:</p>
<ul>
<li><p id = "para-839">HTML (standalone): fix the template that contained invalid HTML code.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-245">0.11.0 (2016-12-31)</h2>
<p id = "para-840">Substantial changes in this release, the more important one being support for parts!</p>
<ul>
<li><p id = "para-841"><b>Breaking changes</b>: the API has undergone some breaking changes, hoping they will be the last ones for a while. API should now be more simple and consistent (?). This version contains also substantial options renaming (see below).</p>
</li>
<li><p id = "para-842">Crowbook now supports parts (above the “chapter” level), using the @ character in the book configuration file.</p>
</li>
<li><p id = "para-843">Command-line interface:</p>
<ul>
<li><p id = "para-844">Behaviour of <code>--to</code> should now be consistent for all output formats.</p>
</li>
<li><p id = "para-845">If <code>--output</code> is set to <code>-</code>, prints to stdout.</p>
</li>
<li><p id = "para-846">Conversely, if <code>&lt;BOOK&gt;</code> is set to <code>-</code>, reads from stdin.</p>
</li>
<li><p id = "para-847">Path specified by <code>--output</code> is now interpreted relatively to current directory (and not depending on where <code>&lt;BOOK&gt;</code> is or its options).</p>
</li>
</ul>
</li>
<li><p id = "para-848">Rendering:</p>
<ul>
<li><p id = "para-849">Chapters with no titles now have an empty title added (so it can at least display e.g. “Chapter X”).</p>
</li>
<li><p id = "para-850">EPUB:</p>
<ul>
<li><p id = "para-851">The <code>toc.ncx</code> file now displays links to “title” and (if set) “cover” (can be deactivated, see below).</p>
</li>
<li><p id = "para-852">The <code>toc.ncx</code> file now displays toc levels below chapter.</p>
</li>
<li><p id = "para-853">The table of contents is now displayed inline if <code>rendering.inline_toc</code> is set to <code>true</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-854">New options:</p>
<ul>
<li><p id = "para-855"><code>epub.toc.extras</code>, set to <code>true</code> by default, will add links to the title and the cover (if it is set) in the table of contents.</p>
</li>
<li><p id = "para-856"><code>epub.escape_nb_spaces</code>, similar to <code>html.escape_nb_spaces</code> and set to false by default since at least Kobo reader dont seem to be able to understand the CSS to escape those nb spaces...</p>
</li>
<li><p id = "para-857"><code>rendering.chapter.roman_numerals</code>, if set to <code>true</code>, will display chapter numbers using roman numerals.</p>
</li>
<li><p id = "para-858"><code>rendering.part.roman_numerals</code>, if set to <code>true</code> (it is by default) will display part numbers using roman numerals.</p>
</li>
<li><p id = "para-859"><code>rendering.part.template</code> specifies the numbering scheme of parts.</p>
</li>
<li><p id = "para-860"><code>rendering.part.reset_counter</code>, if set to <code>true</code> (it is by default), resets chapter number to zero after a part.</p>
</li>
</ul>
</li>
<li><p id = "para-861">Renamed options:</p>
<ul>
<li><p id = "para-862"><code>import_config</code> renamed to <code>import</code>.</p>
</li>
<li><p id = "para-863"><code>rendering.chapter_template</code> renamed to <code>rendering.chapter.template</code>.</p>
</li>
<li><p id = "para-864"><code>html_single.html</code> renamed to <code>html.standalone.template</code>.</p>
</li>
<li><p id = "para-865"><code>html_single.js</code> renamed to <code>html.standalone.js</code>.</p>
</li>
<li><p id = "para-866"><code>html_single.one_chapter</code> renamed to <code>html.standalone.one_chapter</code>.</p>
</li>
<li><p id = "para-867"><code>output.html_dir</code> renamed to <code>output.html.dir</code>.</p>
</li>
<li><p id = "para-868"><code>output.proofread.html_dir</code> renamed to <code>output.proofread.html.dir</code>.</p>
</li>
<li><p id = "para-869"><code>html_dir.index.html</code> and <code>html.dir.chapter.html</code> have been merged and both renamed to <code>html.dir.template</code>.</p>
</li>
<li><p id = "para-870"><code>tex.font_size</code> renamed to <code>tex.font.size</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-871">Bugfixes:</p>
<ul>
<li><p id = "para-872">EPUB:</p>
<ul>
<li><p id = "para-873">Fix duplicate HTML escaping (resulting in e.g. “&amp;” instead of “&amp;”).</p>
</li>
</ul>
</li>
<li><p id = "para-874">HTML directory:</p>
<ul>
<li><p id = "para-875">Fix panic when trying to generate html directory in “../xxx” (<a href = "https://github.com/lise-henry/crowbook/issues/23">#23</a>).</p>
</li>
<li><p id = "para-876">Fix “previous chapter” links that were not displayed when “html.header” was set.</p>
</li>
</ul>
</li>
<li><p id = "para-877">HTML:</p>
<ul>
<li><p id = "para-878">Fix the way initial letter is displayed if <code>rendering.initials</code> is true.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-879">Internationalization:</p>
<ul>
<li><p id = "para-880">Strings in generated Crowbook documents (such as “Table of contents”, “Title”, “Cover” and such) are now translated in spanish.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-246">0.10.4 (2016-12-16)</h2>
<ul>
<li><p id = "para-881">New options:</p>
<ul>
<li><p id = "para-882"><code>tex.font_size</code> specifies an optional font size (in pt) passed to the LaTeX class (must be 10, 11 or 12).</p>
</li>
<li><p id = "para-883"><code>tex.title</code> can be set to <code>false</code> to avoid rendering the title with <code>\maketitle</code>.</p>
</li>
<li><p id = "para-884"><code>tex.paper_size</code> specifies the paper size for PDF output.</p>
</li>
<li><p id = "para-885"><code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code>allow to specify inline LaTex or CSS code in the book configuration file that will be added respectively to <code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code>.</p>
</li>
<li><p id = "para-886"><code>html.icon</code> allows to specify the path of an icon for HTML documents.</p>
</li>
</ul>
</li>
<li><p id = "para-887">Command-line interface:</p>
<ul>
<li><p id = "para-888">Paths that are displayed should now be normalized, e.g. “foo/bar.pdf” instead of “baz/../foo/bar.pdf”.</p>
</li>
</ul>
</li>
<li><p id = "para-889">Rendering:</p>
<ul>
<li><p id = "para-890">HTML:</p>
<ul>
<li><p id = "para-891">The default CSS style has been slightly modified.</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id = "link-247">0.10.3 (2016-11-19)</h2>
<ul>
<li><p id = "para-892">Building:</p>
<ul>
<li><p id = "para-893">Crowbook now requires rustc &gt;= 1.13.0 to build.</p>
</li>
<li><p id = "para-894">Pre-built binaries now all include the proofreading feature.</p>
</li>
<li><p id = "para-895">Linux binaries are now linked against <code>musl</code> library so they should really work on any Linux platform.</p>
</li>
</ul>
</li>
<li><p id = "para-896">Bugfixes:</p>
<ul>
<li><p id = "para-897">Fixed escaping of <code>author</code> and <code>title</code> fields.</p>
</li>
<li><p id = "para-898">Fixed text cleaning in ODT rendering that causes corrupt files to be generated.</p>
</li>
</ul>
</li>
<li><p id = "para-899">CommandLine Interface:</p>
<ul>
<li><p id = "para-900">Crowbook displays clearer error messages when unable to launch <code>latex</code> or <code>zip</code> commands.</p>
</li>
<li><p id = "para-901">Crowbook uses <code>term</code> library in order to display colors correctly on e.g. Windows.</p>
</li>
<li><p id = "para-902">The new argument <code>--lang</code> (or <code>-L</code>) allows to set the runtime language used by Crowbook, overriding <code>LANG</code> environment variable.</p>
</li>
<li><p id = "para-903"><code>--list-options</code> no longer uses colors as it caused problems depending on the terminal or when piping to <code>less</code>.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-248">0.10.2 (2016-10-21)</h2>
<p id = "para-904">Only minor changes in this version:</p>
<ul>
<li><p id = "para-905">Options:</p>
<ul>
<li><p id = "para-906"><code>author</code> and <code>title</code>s default values are both set to the empty string, instead of <code>Anonymous</code> and <code>Untitled</code>.</p>
</li>
<li><p id = "para-907"><code>input.autoclean</code> has been renamed <code>input.clean</code>.</p>
</li>
<li><p id = "para-908"><code>input.smart_quotes</code> has been renamed <code>input.clean.smart_quotes</code>.</p>
</li>
<li><p id = "para-909">new option: <code>input.clean.ligature.dashes</code> will (if set to true) replace <code>--</code> to en dash (<code></code>) and <code>---</code> to em dash (<code></code>).</p>
</li>
<li><p id = "para-910">new option: <code>input.clean.ligature.guillemets</code> will (if set to true) replace <code>&lt;&lt;</code> and <code>&gt;&gt;</code> to french guillemets (<code>«</code> and <code>»</code>).</p>
</li>
</ul>
</li>
<li><p id = "para-911">Rendering:</p>
<ul>
<li><p id = "para-912"><code>[syntect](https://crates.io/crates/syntect)</code> is now the default for <code>rendering.highlight</code>. Concretely, this means that by default syntax highlighting is now done when <code>crowbook</code> is run instead of using <code>[highlight.js](https://highlightjs.org/)</code>.</p>
<li><p id = "para-912">HTML: if <code>html_single.one_chapter</code> and <code>rendering.inline_toc</code> are both set to true, only render the TOC if currently displayed chapter is the first.</p>
</li>
<li><p id = "para-913">EPUB:</p>
</ul>
</li>
</ul>
<h2 id = "link-249">0.10.1 (2016-10-18)</h2>
<p id = "para-913">Fixed a bug in <code>fr.po</code> translation that prevented building from fresh install.</p>
<h2 id = "link-250">0.10.0 (2016-10-18)</h2>
<p id = "para-914">This release contains some breaking changes (mostly for the API, which has been split in separate libraries). It alse features some internationalization support, and the program should now be tranlated if your <code>LANG</code> environment variable is set to french.</p>
<ul>
<li><p id = "para-914">Now sets the “cover-image” property and meta so readers should display cover correctly.</p>
</li>
<li><p id = "para-915">Narrow non-breaking spaces should display more correctly on KOBO ereaders (hoping this wont break the way they are displayed everywhere else).</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-916">Proofreading:</p>
<li><p id = "para-915"><b>Breaking changes</b>:</p>
<ul>
<li><p id = "para-917">Repetition detection is now a bit less of an hack, and should cause less problems when used in conjunction with grammar checking. It now also works on PDF output (so the way it is highlighted could be improved).</p>
</li>
</ul>
</li>
<li><p id = "para-918">Bugfixes:</p>
<li><p id = "para-916">Templates:</p>
<ul>
<li><p id = "para-919">Fix <code>mimetype</code> of EPUB files (make sure it is always “stored” and not “deflated” by the <code>zip</code> command).</p>
</li>
<li><p id = "para-920">Avoid initializing <code>syntect</code> (at the cost of performances) if it is not used.</p>
</li>
<li><p id = "para-921">Avoid creating an empty file if some book renderer fails (e.g. EPUB or ODT because <code>zip</code> command is not present).</p>
<li><p id = "para-917">Conditional inclusion depending on <code>lang</code> must now be done using <code>lang_LANG</code> (e.g. <code>lang_fr</code>, <code>lang_en</code>, and so on). This might impact custom <code>epub.css</code> and <code>html.css</code> templates.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-136">0.11.1 (2017-01-05)</h2>
<li><p id = "para-918">API:</p>
<ul>
<li><p id = "para-922">Rendering:</p>
<ul>
<li><p id = "para-923">Avoid page break before or after a separating rule.</p>
</li>
<li><p id = "para-924">Add support for <a href = "https://crates.io/crates/syntect">syntect</a> for syntax highlighting. This is activated by setting <code>rendering.highlight</code> to <code>syntect</code> (see below).</p>
</li>
<li><p id = "para-925">EPUB:</p>
<ul>
<li><p id = "para-926">Set back HTML escape of narrow non-breaking spaces to <code>true</code> by default (it caused problems on some readers, but cause much more serious one if <code>false</code>).</p>
</li>
<li><p id = "para-927">Add more information to guide/nav landmarks.</p>
</li>
</ul>
</li>
<li><p id = "para-928">LaTeX/PDF:</p>
<ul>
<li><p id = "para-929">Improve the way code blocks are displayed, using the <code>mdframed</code> package.</p>
</li>
<li><p id = "para-930">Try to reduce the issues of too long lines when using code and code blocks, by inserting <code>\allowbreak{}</code> directive after some characters (<code>.</code>, <code>/</code>, <code>_</code>, ...).</p>
</li>
<li><p id = "para-931">Block quotes are now displayed in italics.</p>
</li>
<li><p id = "para-932">Tables now use <code>tabularx</code>, which allows to break too long lines (it still doesnt break pages, though).</p>
<li><p id = "para-919">The <code>escape</code> module has been moved to a separate crate, <code>crowbook_text_processing</code>. The <code>cleaner</code> module is no longer public, but the features it provided are also available in <code>crowbook_text_processing</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-920">New options:</p>
<ul>
<li><p id = "para-921"><code>html.css.colors</code> allows to provide a CSS file that only redefine the colour scheme. Such a file can be built from <code>crowbook --print-template html.css.colors</code>.</p>
</li>
<li><p id = "para-922"><code>input.smart_quotes</code>: if set to <code>true</code>, tries to replace <code>'</code> and <code>"</code> by curly quotes.</p>
</li>
</ul>
</li>
<li><p id = "para-923">Command line interface:</p>
<ul>
<li><p id = "para-924">Crowbook is now (imperfectly) localized in french, and can be translated to other languages.</p>
</li>
<li><p id = "para-925">Added the <code>--quiet</code> (or <code>-q</code>) argument, that makes crowbook run without displaying any messages (except some error messages at this point).</p>
</li>
</ul>
</li>
<li><p id = "para-926">Rendering:</p>
<ul>
<li><p id = "para-927">HTML:</p>
<ul>
<li><p id = "para-928">The table of contents menu is no longer displayed in the HTML single renderer if it doesnt contain at least two elements.</p>
</li>
<li><p id = "para-929">The default colour theme has been modified a little.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-930">Bugfixes:</p>
<ul>
<li><p id = "para-931">Fix the escaping of non-breaking spaces in EPUB, as <code>&amp;nbsp;</code> and its friends arent valid entities in XHTML, apparently.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-251">0.9.1 (2016-09-29)</h2>
<p id = "para-932">This release mainly introduces generation of proofreading copies, allowing, if they are set (and <code>crowbook</code> was compiled with the <code>proofread</code> feature) to generate proofreading copies, using tools to check grammar and detect repetitions. These features are currently experimental.</p>
<ul>
<li><p id = "para-933">New options:</p>
<ul>
<li><p id = "para-934"><code>rendering.highlight</code> can be set to <code>none</code>, <code>highlight.js</code> (by default, enables syntax highlighting via Javascript, but only on HTML document) or <code>syntect</code> (doesnt necessitate javascript, and can work in EPUB or LaTeX, but more experimental at this point).</p>
<li><p id = "para-934"><code>html.escape_nb_spaces</code>, if set to true (by default), will replace unicode non breaking spaces with HTML entites and CSS so it can display correctly even if readers dont have a browser/font supporting these unicode symbols.</p>
</li>
</ul>
<li><p id = "para-935">Output files for proofread documents: <code>output.proofread.html</code>, <code>output.proofread.html_dir</code> and <code>output.proofread.pdf</code>.</p>
</li>
<li><p id = "para-935">Deprecated options:</p>
<li><p id = "para-936">Proofread options <code>proofread.repetitions</code> and <code>proofread.nb_spaces</code> have been added.</p>
<ul>
<li><p id = "para-936"><code>html.highlight_code</code> (use <code>rendering.highlight</code> instead).</p>
<li><p id = "para-937"><code>proofread.nb_spaces</code>, if set to true, highlights non-breaking spaces so it is easier to check the correct typography of a book. Note that it requires that <code>html.escape_nb_spaces</code> be set to true (default) to work.</p>
</li>
</ul>
</li>
<li><p id = "para-937">Bugfixes:</p>
<ul>
<li><p id = "para-938">HTML (standalone): fix the template that contained invalid HTML code.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-137">0.11.0 (2016-12-31)</h2>
<p id = "para-939">Substantial changes in this release, the more important one being support for parts!</p>
<ul>
<li><p id = "para-940"><b>Breaking changes</b>: the API has undergone some breaking changes, hoping they will be the last ones for a while. API should now be more simple and consistent (?). This version contains also substantial options renaming (see below).</p>
</li>
<li><p id = "para-941">Crowbook now supports parts (above the “chapter” level), using the @ character in the book configuration file.</p>
</li>
<li><p id = "para-942">Command-line interface:</p>
<ul>
<li><p id = "para-943">Behaviour of <code>--to</code> should now be consistent for all output formats.</p>
</li>
<li><p id = "para-944">If <code>--output</code> is set to <code>-</code>, prints to stdout.</p>
</li>
<li><p id = "para-945">Conversely, if <code>&lt;BOOK&gt;</code> is set to <code>-</code>, reads from stdin.</p>
</li>
<li><p id = "para-946">Path specified by <code>--output</code> is now interpreted relatively to current directory (and not depending on where <code>&lt;BOOK&gt;</code> is or its options).</p>
</li>
</ul>
</li>
<li><p id = "para-947">Rendering:</p>
<ul>
<li><p id = "para-948">Chapters with no titles now have an empty title added (so it can at least display e.g. “Chapter X”).</p>
</li>
<li><p id = "para-949">EPUB:</p>
<ul>
<li><p id = "para-950">The <code>toc.ncx</code> file now displays links to “title” and (if set) “cover” (can be deactivated, see below).</p>
</li>
<li><p id = "para-951">The <code>toc.ncx</code> file now displays toc levels below chapter.</p>
</li>
<li><p id = "para-952">The table of contents is now displayed inline if <code>rendering.inline_toc</code> is set to <code>true</code>.</p>
<li><p id = "para-938"><code>proofread.reppetitions</code>, if set to true, uses <a href = "https://github.com/lise-henry/caribon">Caribon</a> to highlight repetitions in a document. It also uses the settings <code>proofread.repetitions.fuzzy</code>, <code>proofread.repetitions.max_distance</code>, <code>proofread.repetitions.threshold</code>, <code>proofread.repetitions.fuzzy.threshold</code>, <code>proofread.repetitions.ignore_proper</code>. Note that this feature is not built by default, youll have to build crowbook with <code>cargo build --release --features "repetitions"</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-953">New options:</p>
<li><p id = "para-939">New default settings for options:</p>
<ul>
<li><p id = "para-954"><code>epub.toc.extras</code>, set to <code>true</code> by default, will add links to the title and the cover (if it is set) in the table of contents.</p>
</li>
<li><p id = "para-955"><code>epub.escape_nb_spaces</code>, similar to <code>html.escape_nb_spaces</code> and set to false by default since at least Kobo reader dont seem to be able to understand the CSS to escape those nb spaces...</p>
</li>
<li><p id = "para-956"><code>rendering.chapter.roman_numerals</code>, if set to <code>true</code>, will display chapter numbers using roman numerals.</p>
</li>
<li><p id = "para-957"><code>rendering.part.roman_numerals</code>, if set to <code>true</code> (it is by default) will display part numbers using roman numerals.</p>
</li>
<li><p id = "para-958"><code>rendering.part.template</code> specifies the numbering scheme of parts.</p>
</li>
<li><p id = "para-959"><code>rendering.part.reset_counter</code>, if set to <code>true</code> (it is by default), resets chapter number to zero after a part.</p>
<li><p id = "para-940"><code>tex.command</code> is now <code>xelatex</code> by default.</p>
</li>
</ul>
</li>
<li><p id = "para-960">Renamed options:</p>
<li><p id = "para-941">Rendering:</p>
<ul>
<li><p id = "para-961"><code>import_config</code> renamed to <code>import</code>.</p>
</li>
<li><p id = "para-962"><code>rendering.chapter_template</code> renamed to <code>rendering.chapter.template</code>.</p>
</li>
<li><p id = "para-963"><code>html_single.html</code> renamed to <code>html.standalone.template</code>.</p>
</li>
<li><p id = "para-964"><code>html_single.js</code> renamed to <code>html.standalone.js</code>.</p>
</li>
<li><p id = "para-965"><code>html_single.one_chapter</code> renamed to <code>html.standalone.one_chapter</code>.</p>
</li>
<li><p id = "para-966"><code>output.html_dir</code> renamed to <code>output.html.dir</code>.</p>
</li>
<li><p id = "para-967"><code>output.proofread.html_dir</code> renamed to <code>output.proofread.html.dir</code>.</p>
</li>
<li><p id = "para-968"><code>html_dir.index.html</code> and <code>html.dir.chapter.html</code> have been merged and both renamed to <code>html.dir.template</code>.</p>
</li>
<li><p id = "para-969"><code>tex.font_size</code> renamed to <code>tex.font.size</code>.</p>
<li><p id = "para-942">LaTeX:</p>
<ul>
<li><p id = "para-943">Add support for xelatex in the default template.</p>
</li>
</ul>
</li>
<li><p id = "para-970">Bugfixes:</p>
<ul>
<li><p id = "para-971">EPUB:</p>
<ul>
<li><p id = "para-972">Fix duplicate HTML escaping (resulting in e.g. “&amp;” instead of “&amp;”).</p>
<li><p id = "para-944">Improved french cleaner (see <a href = "https://crowdagger.github.io/textes/articles/heuristique.html">an article (in french)</a> that talks about what it does).</p>
</li>
</ul>
</li>
<li><p id = "para-973">HTML directory:</p>
<ul>
<li><p id = "para-974">Fix panic when trying to generate html directory in “../xxx” (<a href = "https://github.com/lise-henry/crowbook/issues/23">#23</a>).</p>
<li><p id = "para-945">Crowbook user guide: documentation has been updated to correctly reflect 0.9.x options.</p>
</li>
<li><p id = "para-975">Fix “previous chapter” links that were not displayed when “html.header” was set.</p>
<li><p id = "para-946">API:</p>
<ul>
<li><p id = "para-947"><code>clap</code> dependency is now optional, people who want to use Crowbook as a library should include it with <code>crowbook = { version = "0.9", default-features = false }</code>. (<code>clap</code> is still required to build a working binary).</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-252">0.9.0 (2016-09-23)</h2>
<p id = "para-948">The main objective of this release is to clean public interfaces, in order to limit breaking changes in the future. <em>Ideally</em>, all pre-1.0 releases should thus be 0.9.x. Concretely, this meant three things:</p>
<ul>
<li><p id = "para-949">reducing the surface of Crowbooks library API;</p>
</li>
<li><p id = "para-950">cleaning options names</p>
</li>
<li><p id = "para-951">cleaning the names exported in templates and document them, in order not to break user-defined templates in future (non-breaking) releases. More detailed changes for this release:</p>
</li>
<li><p id = "para-952"><b>Breaking change for users</b>: removed <code>tex.short</code> option, replaced by a more generic <code>tex.class</code> (default being <code>book</code>). <code>html.crowbook_link</code> has also been removed.</p>
</li>
<li><p id = "para-953">Renamed options. Using the old name will print a deprecation warning but will still work for a while.</p>
<ul>
<li><p id = "para-954"><code>temp_dir</code> -&gt; <code>crowbook.temp_dir</code></p>
</li>
<li><p id = "para-955"><code>zip.command</code> -&gt; <code>crowbook.zip.command</code></p>
</li>
<li><p id = "para-956"><code>verbose</code> -&gt; <code>crowbook.verbose</code></p>
</li>
<li><p id = "para-957"><code>html.print_css</code> -&gt; <code>html.css.print</code></p>
</li>
<li><p id = "para-958"><code>html.display_chapter</code> -&gt; <code>html_single.one_chapter</code></p>
</li>
<li><p id = "para-959"><code>html.script</code> -&gt; <code>html_single.js</code></p>
</li>
<li><p id = "para-960"><code>numbering</code> -&gt; <code>rendering.num_depth</code></p>
</li>
<li><p id = "para-961"><code>numbering_template</code> -&gt; <code>rendering.chapter_template</code></p>
</li>
<li><p id = "para-962"><code>display_toc</code> -&gt; <code>rendering.inline_toc</code></p>
</li>
<li><p id = "para-963"><code>toc_name</code> -&gt; <code>rendering.inline_toc.name</code></p>
</li>
<li><p id = "para-964"><code>enable_yaml_blocks</code> -&gt; <code>input.yaml_blocks</code></p>
</li>
<li><p id = "para-965"><code>use_initials</code> -&gt; <code>rendering.initials</code></p>
</li>
<li><p id = "para-966"><code>autoclean</code> -&gt; <code>input.autoclean</code></p>
</li>
<li><p id = "para-967"><code>html_dir.css</code> -&gt; <code>html.css</code> (not really renamed, <code>html_dir.css</code> isactually removed as there is no point in having different CSS for standalone and multifile HTML rendering, is it?)</p>
</li>
</ul>
</li>
<li><p id = "para-968">New options:</p>
<ul>
<li><p id = "para-969">More metadata: <code>license</code>, <code>version</code> and <code>date</code>. These metadata are not treated by the renderers, but they are exported to the templates: <code>{{{metadata}}}</code> allows to access the content. If they are present, a <code>has_metadata</code> is also set to true, allowing to do something like <code>{{{title}}} {{#has_version}}version {{{version}}} {{/has_version}}</code>.</p>
</li>
<li><p id = "para-970">Yet more metadata: it is possible to add custom metadata by prefixing it with <code>metadata.</code>. They will then be accessible in the templates, with dots ('.') replaced by underscores ('_'). E.g., with <code>metadata.foo: bar</code> you can access it in your templates with <code>{{{metadata_foo}}}</code>.</p>
</li>
<li><p id = "para-971"><code>output.base_path</code> specifies a directory where the output files (set by <code>output.FORMAT</code> will be written.</p>
</li>
<li><p id = "para-972"><code>resources.base_path.templates</code> specifies where templates can be found.</p>
</li>
</ul>
</li>
<li><p id = "para-973">Rendering:</p>
<ul>
<li><p id = "para-974">Metadata can now contain Markdown and will be rendered by the renderers. This might not be a good idea for common fields (e.g. “title”), though. Use with caution.</p>
</li>
<li><p id = "para-975"><code>rendering.inline_toc.name</code> can use <code>{{{loc_toc}}}</code> to specify a localized name.</p>
</li>
<li><p id = "para-976">HTML:</p>
<ul>
<li><p id = "para-977">Fix the way initial letter is displayed if <code>rendering.initials</code> is true.</p>
<li><p id = "para-977"><code>html.top</code> and <code>hstml.footer</code> are now considered as templates, so you can use some <code>{{{metadata}}}</code> in it.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-978">Internationalization:</p>
<ul>
<li><p id = "para-979">Strings in generated Crowbook documents (such as “Table of contents”, “Title”, “Cover” and such) are now translated in spanish.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-138">0.10.4 (2016-12-16)</h2>
<ul>
<li><p id = "para-980">New options:</p>
<ul>
<li><p id = "para-981"><code>tex.font_size</code> specifies an optional font size (in pt) passed to the LaTeX class (must be 10, 11 or 12).</p>
</li>
<li><p id = "para-982"><code>tex.title</code> can be set to <code>false</code> to avoid rendering the title with <code>\maketitle</code>.</p>
</li>
<li><p id = "para-983"><code>tex.paper_size</code> specifies the paper size for PDF output.</p>
</li>
<li><p id = "para-984"><code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code>allow to specify inline LaTex or CSS code in the book configuration file that will be added respectively to <code>tex.template.add</code>, <code>html.css.add</code> and <code>epub.css.add</code>.</p>
</li>
<li><p id = "para-985"><code>html.icon</code> allows to specify the path of an icon for HTML documents.</p>
</li>
</ul>
</li>
<li><p id = "para-986">Command-line interface:</p>
<ul>
<li><p id = "para-987">Paths that are displayed should now be normalized, e.g. “foo/bar.pdf” instead of “baz/../foo/bar.pdf”.</p>
</li>
</ul>
</li>
<li><p id = "para-988">Rendering:</p>
<ul>
<li><p id = "para-989">HTML:</p>
<ul>
<li><p id = "para-990">The default CSS style has been slightly modified.</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id = "link-139">0.10.3 (2016-11-19)</h2>
<ul>
<li><p id = "para-991">Building:</p>
<ul>
<li><p id = "para-992">Crowbook now requires rustc &gt;= 1.13.0 to build.</p>
</li>
<li><p id = "para-993">Pre-built binaries now all include the proofreading feature.</p>
</li>
<li><p id = "para-994">Linux binaries are now linked against <code>musl</code> library so they should really work on any Linux platform.</p>
</li>
</ul>
</li>
<li><p id = "para-995">Bugfixes:</p>
<ul>
<li><p id = "para-996">Fixed escaping of <code>author</code> and <code>title</code> fields.</p>
</li>
<li><p id = "para-997">Fixed text cleaning in ODT rendering that causes corrupt files to be generated.</p>
</li>
</ul>
</li>
<li><p id = "para-998">CommandLine Interface:</p>
<ul>
<li><p id = "para-999">Crowbook displays clearer error messages when unable to launch <code>latex</code> or <code>zip</code> commands.</p>
</li>
<li><p id = "para-1000">Crowbook uses <code>term</code> library in order to display colors correctly on e.g. Windows.</p>
</li>
<li><p id = "para-1001">The new argument <code>--lang</code> (or <code>-L</code>) allows to set the runtime language used by Crowbook, overriding <code>LANG</code> environment variable.</p>
</li>
<li><p id = "para-1002"><code>--list-options</code> no longer uses colors as it caused problems depending on the terminal or when piping to <code>less</code>.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-140">0.10.2 (2016-10-21)</h2>
<p id = "para-1003">Only minor changes in this version:</p>
<ul>
<li><p id = "para-1004">Options:</p>
<ul>
<li><p id = "para-1005"><code>author</code> and <code>title</code>s default values are both set to the empty string, instead of <code>Anonymous</code> and <code>Untitled</code>.</p>
</li>
<li><p id = "para-1006"><code>input.autoclean</code> has been renamed <code>input.clean</code>.</p>
</li>
<li><p id = "para-1007"><code>input.smart_quotes</code> has been renamed <code>input.clean.smart_quotes</code>.</p>
</li>
<li><p id = "para-1008">new option: <code>input.clean.ligature.dashes</code> will (if set to true) replace <code>--</code> to en dash (<code></code>) and <code>---</code> to em dash (<code></code>).</p>
</li>
<li><p id = "para-1009">new option: <code>input.clean.ligature.guillemets</code> will (if set to true) replace <code>&lt;&lt;</code> and <code>&gt;&gt;</code> to french guillemets (<code>«</code> and <code>»</code>).</p>
</li>
</ul>
</li>
<li><p id = "para-1010">Rendering:</p>
<ul>
<li><p id = "para-1011">HTML: if <code>html_single.one_chapter</code> and <code>rendering.inline_toc</code> are both set to true, only render the TOC if currently displayed chapter is the first.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-141">0.10.1 (2016-10-18)</h2>
<p id = "para-1012">Fixed a bug in <code>fr.po</code> translation that prevented building from fresh install.</p>
<h2 id = "link-142">0.10.0 (2016-10-18)</h2>
<p id = "para-1013">This release contains some breaking changes (mostly for the API, which has been split in separate libraries). It alse features some internationalization support, and the program should now be tranlated if your <code>LANG</code> environment variable is set to french.</p>
<ul>
<li><p id = "para-1014"><b>Breaking changes</b>:</p>
<ul>
<li><p id = "para-1015">Templates:</p>
<ul>
<li><p id = "para-1016">Conditional inclusion depending on <code>lang</code> must now be done using <code>lang_LANG</code> (e.g. <code>lang_fr</code>, <code>lang_en</code>, and so on). This might impact custom <code>epub.css</code> and <code>html.css</code> templates.</p>
</li>
</ul>
</li>
<li><p id = "para-1017">API:</p>
<ul>
<li><p id = "para-1018">The <code>escape</code> module has been moved to a separate crate, <code>crowbook_text_processing</code>. The <code>cleaner</code> module is no longer public, but the features it provided are also available in <code>crowbook_text_processing</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-1019">New options:</p>
<ul>
<li><p id = "para-1020"><code>html.css.colors</code> allows to provide a CSS file that only redefine the colour scheme. Such a file can be built from <code>crowbook --print-template html.css.colors</code>.</p>
</li>
<li><p id = "para-1021"><code>input.smart_quotes</code>: if set to <code>true</code>, tries to replace <code>'</code> and <code>"</code> by curly quotes.</p>
</li>
</ul>
</li>
<li><p id = "para-1022">Command line interface:</p>
<ul>
<li><p id = "para-1023">Crowbook is now (imperfectly) localized in french, and can be translated to other languages.</p>
</li>
<li><p id = "para-1024">Added the <code>--quiet</code> (or <code>-q</code>) argument, that makes crowbook run without displaying any messages (except some error messages at this point).</p>
</li>
</ul>
</li>
<li><p id = "para-1025">Rendering:</p>
<ul>
<li><p id = "para-1026">HTML:</p>
<ul>
<li><p id = "para-1027">The table of contents menu is no longer displayed in the HTML single renderer if it doesnt contain at least two elements.</p>
</li>
<li><p id = "para-1028">The default colour theme has been modified a little.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-1029">Bugfixes:</p>
<ul>
<li><p id = "para-1030">Fix the escaping of non-breaking spaces in EPUB, as <code>&amp;nbsp;</code> and its friends arent valid entities in XHTML, apparently.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-143">0.9.1 (2016-09-29)</h2>
<p id = "para-1031">This release mainly introduces generation of proofreading copies, allowing, if they are set (and <code>crowbook</code> was compiled with the <code>proofread</code> feature) to generate proofreading copies, using tools to check grammar and detect repetitions. These features are currently experimental.</p>
<ul>
<li><p id = "para-1032">New options:</p>
<ul>
<li><p id = "para-1033"><code>html.escape_nb_spaces</code>, if set to true (by default), will replace unicode non breaking spaces with HTML entites and CSS so it can display correctly even if readers dont have a browser/font supporting these unicode symbols.</p>
</li>
<li><p id = "para-1034">Output files for proofread documents: <code>output.proofread.html</code>, <code>output.proofread.html_dir</code> and <code>output.proofread.pdf</code>.</p>
</li>
<li><p id = "para-1035">Proofread options <code>proofread.repetitions</code> and <code>proofread.nb_spaces</code> have been added.</p>
<ul>
<li><p id = "para-1036"><code>proofread.nb_spaces</code>, if set to true, highlights non-breaking spaces so it is easier to check the correct typography of a book. Note that it requires that <code>html.escape_nb_spaces</code> be set to true (default) to work.</p>
</li>
<li><p id = "para-1037"><code>proofread.reppetitions</code>, if set to true, uses <a href = "https://github.com/lise-henry/caribon">Caribon</a> to highlight repetitions in a document. It also uses the settings <code>proofread.repetitions.fuzzy</code>, <code>proofread.repetitions.max_distance</code>, <code>proofread.repetitions.threshold</code>, <code>proofread.repetitions.fuzzy.threshold</code>, <code>proofread.repetitions.ignore_proper</code>. Note that this feature is not built by default, youll have to build crowbook with <code>cargo build --release --features "repetitions"</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-1038">New default settings for options:</p>
<ul>
<li><p id = "para-1039"><code>tex.command</code> is now <code>xelatex</code> by default.</p>
</li>
</ul>
</li>
<li><p id = "para-1040">Rendering:</p>
<ul>
<li><p id = "para-1041">LaTeX:</p>
<ul>
<li><p id = "para-1042">Add support for xelatex in the default template.</p>
</li>
</ul>
</li>
<li><p id = "para-1043">Improved french cleaner (see <a href = "https://crowdagger.github.io/textes/articles/heuristique.html">an article (in french)</a> that talks about what it does).</p>
</li>
</ul>
</li>
<li><p id = "para-1044">Crowbook user guide: documentation has been updated to correctly reflect 0.9.x options.</p>
</li>
<li><p id = "para-1045">API:</p>
<ul>
<li><p id = "para-1046"><code>clap</code> dependency is now optional, people who want to use Crowbook as a library should include it with <code>crowbook = { version = "0.9", default-features = false }</code>. (<code>clap</code> is still required to build a working binary).</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-144">0.9.0 (2016-09-23)</h2>
<p id = "para-1047">The main objective of this release is to clean public interfaces, in order to limit breaking changes in the future. <em>Ideally</em>, all pre-1.0 releases should thus be 0.9.x. Concretely, this meant three things:</p>
<ul>
<li><p id = "para-1048">reducing the surface of Crowbooks library API;</p>
</li>
<li><p id = "para-1049">cleaning options names</p>
</li>
<li><p id = "para-1050">cleaning the names exported in templates and document them, in order not to break user-defined templates in future (non-breaking) releases. More detailed changes for this release:</p>
</li>
<li><p id = "para-1051"><b>Breaking change for users</b>: removed <code>tex.short</code> option, replaced by a more generic <code>tex.class</code> (default being <code>book</code>). <code>html.crowbook_link</code> has also been removed.</p>
</li>
<li><p id = "para-1052">Renamed options. Using the old name will print a deprecation warning but will still work for a while.</p>
<ul>
<li><p id = "para-1053"><code>temp_dir</code> -&gt; <code>crowbook.temp_dir</code></p>
</li>
<li><p id = "para-1054"><code>zip.command</code> -&gt; <code>crowbook.zip.command</code></p>
</li>
<li><p id = "para-1055"><code>verbose</code> -&gt; <code>crowbook.verbose</code></p>
</li>
<li><p id = "para-1056"><code>html.print_css</code> -&gt; <code>html.css.print</code></p>
</li>
<li><p id = "para-1057"><code>html.display_chapter</code> -&gt; <code>html_single.one_chapter</code></p>
</li>
<li><p id = "para-1058"><code>html.script</code> -&gt; <code>html_single.js</code></p>
</li>
<li><p id = "para-1059"><code>numbering</code> -&gt; <code>rendering.num_depth</code></p>
</li>
<li><p id = "para-1060"><code>numbering_template</code> -&gt; <code>rendering.chapter_template</code></p>
</li>
<li><p id = "para-1061"><code>display_toc</code> -&gt; <code>rendering.inline_toc</code></p>
</li>
<li><p id = "para-1062"><code>toc_name</code> -&gt; <code>rendering.inline_toc.name</code></p>
</li>
<li><p id = "para-1063"><code>enable_yaml_blocks</code> -&gt; <code>input.yaml_blocks</code></p>
</li>
<li><p id = "para-1064"><code>use_initials</code> -&gt; <code>rendering.initials</code></p>
</li>
<li><p id = "para-1065"><code>autoclean</code> -&gt; <code>input.autoclean</code></p>
</li>
<li><p id = "para-1066"><code>html_dir.css</code> -&gt; <code>html.css</code> (not really renamed, <code>html_dir.css</code> isactually removed as there is no point in having different CSS for standalone and multifile HTML rendering, is it?)</p>
</li>
</ul>
</li>
<li><p id = "para-1067">New options:</p>
<ul>
<li><p id = "para-1068">More metadata: <code>license</code>, <code>version</code> and <code>date</code>. These metadata are not treated by the renderers, but they are exported to the templates: <code>{{{metadata}}}</code> allows to access the content. If they are present, a <code>has_metadata</code> is also set to true, allowing to do something like <code>{{{title}}} {{#has_version}}version {{{version}}} {{/has_version}}</code>.</p>
</li>
<li><p id = "para-1069">Yet more metadata: it is possible to add custom metadata by prefixing it with <code>metadata.</code>. They will then be accessible in the templates, with dots ('.') replaced by underscores ('_'). E.g., with <code>metadata.foo: bar</code> you can access it in your templates with <code>{{{metadata_foo}}}</code>.</p>
</li>
<li><p id = "para-1070"><code>output.base_path</code> specifies a directory where the output files (set by <code>output.FORMAT</code> will be written.</p>
</li>
<li><p id = "para-1071"><code>resources.base_path.templates</code> specifies where templates can be found.</p>
</li>
</ul>
</li>
<li><p id = "para-1072">Rendering:</p>
<ul>
<li><p id = "para-1073">Metadata can now contain Markdown and will be rendered by the renderers. This might not be a good idea for common fields (e.g. “title”), though. Use with caution.</p>
</li>
<li><p id = "para-1074"><code>rendering.inline_toc.name</code> can use <code>{{{loc_toc}}}</code> to specify a localized name.</p>
</li>
<li><p id = "para-1075">HTML:</p>
<ul>
<li><p id = "para-1076"><code>html.top</code> and <code>hstml.footer</code> are now considered as templates, so you can use some <code>{{{metadata}}}</code> in it.</p>
</li>
<li><p id = "para-1077">Improved the way footnotes are displayed.</p>
<li><p id = "para-978">Improved the way footnotes are displayed.</p>
</li>
<li><p id = "para-1078">In standalone HTML, footnotes are rendered at the end of the document instead of at the end of the chapter, unless <code>html_single.one_chapter</code> is true.</p>
<li><p id = "para-979">In standalone HTML, footnotes are rendered at the end of the document instead of at the end of the chapter, unless <code>html_single.one_chapter</code> is true.</p>
</li>
</ul>
</li>
<li><p id = "para-1079">LaTeX:</p>
<li><p id = "para-980">LaTeX:</p>
<ul>
<li><p id = "para-1080">If <code>tex.class</code> is set to <code>article</code>, chapters will be displayed as <code>\sections</code> since <code>article</code> class doesnt handle chapters.</p>
<li><p id = "para-981">If <code>tex.class</code> is set to <code>article</code>, chapters will be displayed as <code>\sections</code> since <code>article</code> class doesnt handle chapters.</p>
</li>
<li><p id = "para-1081">Except if <code>tex.class</code> is set to <code>book</code>, margins are now symmetrical.</p>
<li><p id = "para-982">Except if <code>tex.class</code> is set to <code>book</code>, margins are now symmetrical.</p>
</li>
<li><p id = "para-1082">LaTex template now uses <code>version</code> and <code>date</code>.</p>
<li><p id = "para-983">LaTex template now uses <code>version</code> and <code>date</code>.</p>
</li>
</ul>
</li>
</ul>
</li>
<li><p id = "para-1083">Bugfixes:</p>
<li><p id = "para-984">Bugfixes:</p>
<ul>
<li><p id = "para-1084"><code>import_config</code> only import options from another book file that are not equal to the default ones and that havent already been set by the caller. E.g., <code>author: foo</code> then <code>import_config: bar.book</code> wont erase the author previously set.</p>
<li><p id = "para-985"><code>import_config</code> only import options from another book file that are not equal to the default ones and that havent already been set by the caller. E.g., <code>author: foo</code> then <code>import_config: bar.book</code> wont erase the author previously set.</p>
</li>
<li><p id = "para-1085"><code>import_config</code> now correctly translates the imported books paths.</p>
<li><p id = "para-986"><code>import_config</code> now correctly translates the imported books paths.</p>
</li>
</ul>
</li>
<li><p id = "para-1086">Crowbook program:</p>
<li><p id = "para-987">Crowbook program:</p>
<ul>
<li><p id = "para-1087">Still working to improve error messages.</p>
<li><p id = "para-988">Still working to improve error messages.</p>
</li>
<li><p id = "para-1088"><code>crowbook --list-options</code> uses colors. This might hurt your eyes.</p>
<li><p id = "para-989"><code>crowbook --list-options</code> uses colors. This might hurt your eyes.</p>
</li>
<li><p id = "para-1089">Display an error message when mustache cant compile a template, instead of panicking.</p>
<li><p id = "para-990">Display an error message when mustache cant compile a template, instead of panicking.</p>
</li>
</ul>
</li>
<li><p id = "para-1090">Internal/API:</p>
<li><p id = "para-991">Internal/API:</p>
<ul>
<li><p id = "para-1091">Added static methods to <code>Logger</code> to allows displaying messages more easily/prettily.</p>
<li><p id = "para-992">Added static methods to <code>Logger</code> to allows displaying messages more easily/prettily.</p>
</li>
<li><p id = "para-1092">Reduce pubic APIs surface so less changes will need to be considered breaking in the future.</p>
<li><p id = "para-993">Reduce pubic APIs surface so less changes will need to be considered breaking in the future.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-145">0.8.0 (2016-09-19)</h2>
<p id = "para-1093">This release adds support for syntax higlighting in code blocks, customized top and footer blocks for HTML rendering, and the special <code>import_config</code> option that allows to import options from another book file. It also provides (hopefully) better error messages.</p>
<h2 id = "link-253">0.8.0 (2016-09-19)</h2>
<p id = "para-994">This release adds support for syntax higlighting in code blocks, customized top and footer blocks for HTML rendering, and the special <code>import_config</code> option that allows to import options from another book file. It also provides (hopefully) better error messages.</p>
<ul>
<li><p id = "para-1094">New options:</p>
<li><p id = "para-995">New options:</p>
<ul>
<li><p id = "para-1095"><code>import_config</code>is not really an option, but allows to import another configuration file, useful if you share a same set of options between multiple books.</p>
<li><p id = "para-996"><code>import_config</code>is not really an option, but allows to import another configuration file, useful if you share a same set of options between multiple books.</p>
</li>
<li><p id = "para-1096"><code>use_initials</code> (set to false by default) makes Crowbook use initials (“lettrines”) at start of each chapter. Support is still experimental.</p>
<li><p id = "para-997"><code>use_initials</code> (set to false by default) makes Crowbook use initials (“lettrines”) at start of each chapter. Support is still experimental.</p>
</li>
<li><p id = "para-1097"><code>html.highlight_code</code> (set to true by default) allows syntax highlighting for code blocks, using highlight.js.</p>
<li><p id = "para-998"><code>html.highlight_code</code> (set to true by default) allows syntax highlighting for code blocks, using highlight.js.</p>
</li>
<li><p id = "para-1098"><code>html.higlight.css</code> and <code>html.highlight.js</code> can be used to provide other themes (default is default.css) and an highlight.js build that support other languages.</p>
<li><p id = "para-999"><code>html.higlight.css</code> and <code>html.highlight.js</code> can be used to provide other themes (default is default.css) and an highlight.js build that support other languages.</p>
</li>
<li><p id = "para-1099"><code>html.footer</code> allows to specify custom footer. If not set, <code>html.crowbook_link</code> allows to disable “Generated by Crowbook” message.</p>
<li><p id = "para-1000"><code>html.footer</code> allows to specify custom footer. If not set, <code>html.crowbook_link</code> allows to disable “Generated by Crowbook” message.</p>
</li>
<li><p id = "para-1100"><code>html.top</code> allows to specify a custom header that will be displayed at the top of HTML file(s).</p>
<li><p id = "para-1001"><code>html.top</code> allows to specify a custom header that will be displayed at the top of HTML file(s).</p>
</li>
</ul>
</li>
<li><p id = "para-1101">Deprecated options:</p>
<li><p id = "para-1002">Deprecated options:</p>
<ul>
<li><p id = "para-1102"><code>side_notes</code> has been renamed <code>html.side_notes</code>.</p>
<li><p id = "para-1003"><code>side_notes</code> has been renamed <code>html.side_notes</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-1103">Crowbook program:</p>
<li><p id = "para-1004">Crowbook program:</p>
<ul>
<li><p id = "para-1104">All output formats are now rendered concurrently.</p>
<li><p id = "para-1005">All output formats are now rendered concurrently.</p>
</li>
<li><p id = "para-1105">Better error messages. Crowbook now tries to give more information when displaying an error, with the file name where a problem was found, and, in some cases, the line. It also tries to detect errors (such as files not found) sooner.</p>
<li><p id = "para-1006">Better error messages. Crowbook now tries to give more information when displaying an error, with the file name where a problem was found, and, in some cases, the line. It also tries to detect errors (such as files not found) sooner.</p>
</li>
<li><p id = "para-1106">Some “warning” messages have also been “moved” to error messages, to make sure they are displayed even when crowbook isnt runned with <code>--verbose</code>.</p>
<li><p id = "para-1007">Some “warning” messages have also been “moved” to error messages, to make sure they are displayed even when crowbook isnt runned with <code>--verbose</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-1107">Rendering:</p>
<li><p id = "para-1008">Rendering:</p>
<ul>
<li><p id = "para-1108">Hidden chapter now produce empty <code>\chapter*{}</code> and <code>&lt;h1&gt;</code> in LaTeX and HTML. This allow to delimit a chapter break even if nothing is displayed.</p>
<li><p id = "para-1009">Hidden chapter now produce empty <code>\chapter*{}</code> and <code>&lt;h1&gt;</code> in LaTeX and HTML. This allow to delimit a chapter break even if nothing is displayed.</p>
</li>
</ul>
</li>
<li><p id = "para-1109">Bugfixes:</p>
<li><p id = "para-1010">Bugfixes:</p>
<ul>
<li><p id = "para-1110">Navigation menu of standalone HTML didnt include a call to javascript when <code>html.display_chapter</code> was set to true, meaning it didnt display the chapter correctly.</p>
<li><p id = "para-1011">Navigation menu of standalone HTML didnt include a call to javascript when <code>html.display_chapter</code> was set to true, meaning it didnt display the chapter correctly.</p>
</li>
<li><p id = "para-1111">Implementations of <code>Image</code> and <code>StandaloneImage</code> were reversed in LaTeX.</p>
<li><p id = "para-1012">Implementations of <code>Image</code> and <code>StandaloneImage</code> were reversed in LaTeX.</p>
</li>
<li><p id = "para-1112"><code>StandaloneImage</code> urls were not adjusted (meanning that running <code>crowbook</code> from another directory failed).</p>
<li><p id = "para-1013"><code>StandaloneImage</code> urls were not adjusted (meanning that running <code>crowbook</code> from another directory failed).</p>
</li>
<li><p id = "para-1113">Image paths are now found correctly in HtmlDir rendering even if <code>crowbook</code> is called from another directory (same fix as 0.6s for Epub and LaTeX, which was forgotten for HtmlDir).</p>
<li><p id = "para-1014">Image paths are now found correctly in HtmlDir rendering even if <code>crowbook</code> is called from another directory (same fix as 0.6s for Epub and LaTeX, which was forgotten for HtmlDir).</p>
</li>
</ul>
</li>
<li><p id = "para-1114">Internal/API:</p>
<li><p id = "para-1015">Internal/API:</p>
<ul>
<li><p id = "para-1115">In order to have better error messages, there was a need to refactor the <code>Error</code> type, and make more methods return <code>Result&lt;X&gt;</code> instead of <code>X</code>. The API is, therefore, quite modified.</p>
<li><p id = "para-1016">In order to have better error messages, there was a need to refactor the <code>Error</code> type, and make more methods return <code>Result&lt;X&gt;</code> instead of <code>X</code>. The API is, therefore, quite modified.</p>
</li>
<li><p id = "para-1116">Added a <code>Renderer</code> trait used by the various renderers.</p>
<li><p id = "para-1017">Added a <code>Renderer</code> trait used by the various renderers.</p>
</li>
<li><p id = "para-1117">Removed some methods from public API.</p>
<li><p id = "para-1018">Removed some methods from public API.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-146">0.7.0 (2016-09-11)</h2>
<p id = "para-1118">This releases renders images differently when they are on a standalone paragraph or inside a paragraph.</p>
<h2 id = "link-254">0.7.0 (2016-09-11)</h2>
<p id = "para-1019">This releases renders images differently when they are on a standalone paragraph or inside a paragraph.</p>
<ul>
<li><p id = "para-1119">Internal/API:</p>
<li><p id = "para-1020">Internal/API:</p>
<ul>
<li><p id = "para-1120"><code>Token</code> has a new variant, <code>StandaloneImage</code>. This is used to distinguish an image that is alone in a paragraph of an image that is inlined alongside text.</p>
<li><p id = "para-1021"><code>Token</code> has a new variant, <code>StandaloneImage</code>. This is used to distinguish an image that is alone in a paragraph of an image that is inlined alongside text.</p>
</li>
<li><p id = "para-1121"><code>Parser.parse</code> method now distingues between <code>Image</code> and <code>StandaloneImage</code>. Currently, an image is considered “standalone” if it is the sole element of a paragraph, even if it is among a link.</p>
<li><p id = "para-1022"><code>Parser.parse</code> method now distingues between <code>Image</code> and <code>StandaloneImage</code>. Currently, an image is considered “standalone” if it is the sole element of a paragraph, even if it is among a link.</p>
</li>
<li><p id = "para-1122"><code>Token</code> has a new <code>is_image</code> method.</p>
<li><p id = "para-1023"><code>Token</code> has a new <code>is_image</code> method.</p>
</li>
</ul>
</li>
<li><p id = "para-1123">Rendering:</p>
<li><p id = "para-1024">Rendering:</p>
<ul>
<li><p id = "para-1124">Standalone images are now rendered differently than inline images (80% of width VS original size) in HTML/EPUB and LaTeX.</p>
<li><p id = "para-1025">Standalone images are now rendered differently than inline images (80% of width VS original size) in HTML/EPUB and LaTeX.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-147">0.6.0 (2016-09-09)</h2>
<h2 id = "link-255">0.6.0 (2016-09-09)</h2>
<ul>
<li><p id = "para-1125">Deprecated options:</p>
<li><p id = "para-1026">Deprecated options:</p>
<ul>
<li><p id = "para-1126"><code>nb_char</code>: since it was only used for french cleaner and for typography reasons its better to use different non breaking spaces according to context, this option was not really useful anymore.</p>
<li><p id = "para-1027"><code>nb_char</code>: since it was only used for french cleaner and for typography reasons its better to use different non breaking spaces according to context, this option was not really useful anymore.</p>
</li>
</ul>
</li>
<li><p id = "para-1127">Rendering:</p>
<li><p id = "para-1028">Rendering:</p>
<ul>
<li><p id = "para-1128">Images are now displayed at 80% width of the page.</p>
<li><p id = "para-1029">Images are now displayed at 80% width of the page.</p>
</li>
</ul>
</li>
<li><p id = "para-1129">Bugfixes:</p>
<li><p id = "para-1030">Bugfixes:</p>
<ul>
<li><p id = "para-1130">Image paths are now found correctly in LaTeX and EPUB rendering even if <code>crowbook</code> is called from another directory.</p>
<li><p id = "para-1031">Image paths are now found correctly in LaTeX and EPUB rendering even if <code>crowbook</code> is called from another directory.</p>
</li>
<li><p id = "para-1131">Fixed a bug in <code>French</code> cleaner when a string to clean ended by a non-breaking space (space was doubled with a breaking one).</p>
<li><p id = "para-1032">Fixed a bug in <code>French</code> cleaner when a string to clean ended by a non-breaking space (space was doubled with a breaking one).</p>
</li>
<li><p id = "para-1132">LaTeX/PDF:</p>
<li><p id = "para-1033">LaTeX/PDF:</p>
<ul>
<li><p id = "para-1133">“Autocleaning” is now also activated (for french at least) for LaTeX rendering, since it doesnt correctly insert non-breaking spaces for e.g. ‘«’ or ‘»’.</p>
<li><p id = "para-1034">“Autocleaning” is now also activated (for french at least) for LaTeX rendering, since it doesnt correctly insert non-breaking spaces for e.g. ‘«’ or ‘»’.</p>
</li>
<li><p id = "para-1134">Fixed escaping of <code>--</code> to <code>-{}-</code> to avoid tex ligatures.</p>
<li><p id = "para-1035">Fixed escaping of <code>--</code> to <code>-{}-</code> to avoid tex ligatures.</p>
</li>
</ul>
</li>
<li><p id = "para-1135">HTML/EPUB:</p>
<li><p id = "para-1036">HTML/EPUB:</p>
<ul>
<li><p id = "para-1136"><code>html.display_chapter</code> now defaults to <code>false</code> (e.g., by default the HTML displays the entirety of a book).</p>
<li><p id = "para-1037"><code>html.display_chapter</code> now defaults to <code>false</code> (e.g., by default the HTML displays the entirety of a book).</p>
</li>
<li><p id = "para-1137">Fixed rendering of lists when <code>lang</code> is set to <code>fr</code>.</p>
<li><p id = "para-1038">Fixed rendering of lists when <code>lang</code> is set to <code>fr</code>.</p>
</li>
<li><p id = "para-1138">Links are now HTML-escaped, fixing errors in XHTML (for EPUB rendering) when links contained &amp; character.</p>
<li><p id = "para-1039">Links are now HTML-escaped, fixing errors in XHTML (for EPUB rendering) when links contained &amp; character.</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id = "link-148">0.5.1 (2016-04-14)</h2>
<p id = "para-1139">Mostly rendering fixes:</p>
<h2 id = "link-256">0.5.1 (2016-04-14)</h2>
<p id = "para-1040">Mostly rendering fixes:</p>
<ul>
<li><p id = "para-1140">Epub:</p>
<li><p id = "para-1041">Epub:</p>
<ul>
<li><p id = "para-1141">Fix a validation problem when book contained hidden chapters.</p>
<li><p id = "para-1042">Fix a validation problem when book contained hidden chapters.</p>
</li>
</ul>
</li>
<li><p id = "para-1142">French cleaner:</p>
<li><p id = "para-1043">French cleaner:</p>
<ul>
<li><p id = "para-1143">Use semi-cadratine space instead of cadratine space for dialogs.</p>
<li><p id = "para-1044">Use semi-cadratine space instead of cadratine space for dialogs.</p>
</li>
<li><p id = "para-1144">Use non-narrow non-breaking spapce instead of narrow one for :, ‘«’ and ‘»’ (following <a href = "https://fr.wikipedia.org/wiki/Espace_ins%C3%A9cable#En_France">https://fr.wikipedia.org/wiki/Espace_ins%C3%A9cable#En_France</a>).</p>
<li><p id = "para-1045">Use non-narrow non-breaking spapce instead of narrow one for :, ‘«’ and ‘»’ (following <a href = "https://fr.wikipedia.org/wiki/Espace_ins%C3%A9cable#En_France">https://fr.wikipedia.org/wiki/Espace_ins%C3%A9cable#En_France</a>).</p>
</li>
</ul>
</li>
<li><p id = "para-1145">HTML:</p>
<li><p id = "para-1046">HTML:</p>
<ul>
<li><p id = "para-1146">Add viewport meta tags.</p>
<li><p id = "para-1047">Add viewport meta tags.</p>
</li>
<li><p id = "para-1147">Standalone HTML:</p>
<li><p id = "para-1048">Standalone HTML:</p>
<ul>
<li><p id = "para-1148">Dont display the button to display chapter and the previous/next chapter link if <code>html.display_chapter</code> is set to <code>false</code>.</p>
<li><p id = "para-1049">Dont display the button to display chapter and the previous/next chapter link if <code>html.display_chapter</code> is set to <code>false</code>.</p>
</li>
<li><p id = "para-1149">Fix chapter displaying when some chapters are not numbered.</p>
<li><p id = "para-1050">Fix chapter displaying when some chapters are not numbered.</p>
</li>
</ul>
</li>
<li><p id = "para-1150">Multi-files HTML:</p>
<li><p id = "para-1051">Multi-files HTML:</p>
<ul>
<li><p id = "para-1151">Fix previous/next chapter display to make it consistent with standalone HTML.</p>
<li><p id = "para-1052">Fix previous/next chapter display to make it consistent with standalone HTML.</p>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id = "link-149">0.5.0 (2016-04-02)</h2>
<h2 id = "link-257">0.5.0 (2016-04-02)</h2>
<ul>
<li><p id = "para-1152">Crowbook now requires Rustc 1.7.0.</p>
<li><p id = "para-1053">Crowbook now requires Rustc 1.7.0.</p>
</li>
<li><p id = "para-1153">It is now possible to render HTML in multiple files:</p>
<li><p id = "para-1054">It is now possible to render HTML in multiple files:</p>
<ul>
<li><p id = "para-1154"><code>output.html_dir</code> will activate this renderer, and specify in which directory to render these files;</p>
<li><p id = "para-1055"><code>output.html_dir</code> will activate this renderer, and specify in which directory to render these files;</p>
</li>
<li><p id = "para-1155"><code>html_dir.css</code> allows to override the CSS for this rendering;</p>
<li><p id = "para-1056"><code>html_dir.css</code> allows to override the CSS for this rendering;</p>
</li>
<li><p id = "para-1156"><code>html_dir.index.html</code> allows to specify a template for the <code>index.html</code> page;</p>
<li><p id = "para-1057"><code>html_dir.index.html</code> allows to specify a template for the <code>index.html</code> page;</p>
</li>
<li><p id = "para-1157"><code>html_dir.chapter.html</code> allows to specify a template for the chapters pages.</p>
<li><p id = "para-1058"><code>html_dir.chapter.html</code> allows to specify a template for the chapters pages.</p>
</li>
</ul>
</li>
<li><p id = "para-1158">New book options:</p>
<li><p id = "para-1059">New book options:</p>
<ul>
<li><p id = "para-1159"><code>tex.short</code>: if set to true, the LaTeX renderer will use <code>article</code> instead of <code>book</code> as document class, and will use the default <code>\maketitle</code> command for article. This option is by default set to false, except when Crowbook is called with <code>--single</code>.</p>
<li><p id = "para-1060"><code>tex.short</code>: if set to true, the LaTeX renderer will use <code>article</code> instead of <code>book</code> as document class, and will use the default <code>\maketitle</code> command for article. This option is by default set to false, except when Crowbook is called with <code>--single</code>.</p>
</li>
<li><p id = "para-1160"><code>enable_yaml_blocks</code>: parsing YAML blocks is no longer activated by default, except when using <code>--single</code>. This is because you might want to have e.g. multiple short stories using YAML blocks to set their titles and so on, <em>and</em> a separate <code>.book</code> file to render a book as a collection of short stories. In this case, you wouldnt want the displayed title or the output.pdf/html/epub files be redefined by the short stories .md files.</p>
<li><p id = "para-1061"><code>enable_yaml_blocks</code>: parsing YAML blocks is no longer activated by default, except when using <code>--single</code>. This is because you might want to have e.g. multiple short stories using YAML blocks to set their titles and so on, <em>and</em> a separate <code>.book</code> file to render a book as a collection of short stories. In this case, you wouldnt want the displayed title or the output.pdf/html/epub files be redefined by the short stories .md files.</p>
</li>
<li><p id = "para-1161"><code>html.print_css</code>: allows to specify a stylesheet for media print</p>
<li><p id = "para-1062"><code>html.print_css</code>: allows to specify a stylesheet for media print</p>
</li>
<li><p id = "para-1162"><code>html.display_chapter</code>: displays one chapter at a time in standalone HTML</p>
<li><p id = "para-1063"><code>html.display_chapter</code>: displays one chapter at a time in standalone HTML</p>
</li>
<li><p id = "para-1163"><code>html.script</code>: allows to specify a custom javascript file for standalone HTML</p>
<li><p id = "para-1064"><code>html.script</code>: allows to specify a custom javascript file for standalone HTML</p>
</li>
<li><p id = "para-1164"><code>html_dir.script</code>: same thing for multipage HTML</p>
<li><p id = "para-1065"><code>html_dir.script</code>: same thing for multipage HTML</p>
</li>
<li><p id = "para-1165"><code>resources.base_path</code>: by default, Crowbook resolves local links in markdown files relatively to the markdown file. This option allows to resolve them relatively to a base path. This option comes with two variants, <code>resources.base_path.images</code> and <code>resources.base_path.links</code>, which only activate it for respectively images tags and links tags. These two options are ignored when <code>base_path</code> is set. There is also <code>resources.base_path.files</code> which specify where additional files (see below) should be read, but this is one is set to <code>.</code> (i.e., the directory where the <code>.book</code> file is) by default.</p>
<li><p id = "para-1066"><code>resources.base_path</code>: by default, Crowbook resolves local links in markdown files relatively to the markdown file. This option allows to resolve them relatively to a base path. This option comes with two variants, <code>resources.base_path.images</code> and <code>resources.base_path.links</code>, which only activate it for respectively images tags and links tags. These two options are ignored when <code>base_path</code> is set. There is also <code>resources.base_path.files</code> which specify where additional files (see below) should be read, but this is one is set to <code>.</code> (i.e., the directory where the <code>.book</code> file is) by default.</p>
</li>
<li><p id = "para-1166"><code>resources.files</code>: indicate a (whitespace-separated) list of files that should be embedded. Currently only used with the EPUB renderer.</p>
<li><p id = "para-1067"><code>resources.files</code>: indicate a (whitespace-separated) list of files that should be embedded. Currently only used with the EPUB renderer.</p>
</li>
<li><p id = "para-1167"><code>resources.out_path</code>: indicate where <code>resources.files</code> should be copied in the final document. Default to <code>data</code>, meaning that files will be placed in a <code>data</code> directory in the EPUB.</p>
<li><p id = "para-1068"><code>resources.out_path</code>: indicate where <code>resources.files</code> should be copied in the final document. Default to <code>data</code>, meaning that files will be placed in a <code>data</code> directory in the EPUB.</p>
</li>
</ul>
</li>
<li><p id = "para-1168">Rendering:</p>
<li><p id = "para-1069">Rendering:</p>
<ul>
<li><p id = "para-1169">Templates can now use localized strings according to the <code>lang</code> option</p>
<li><p id = "para-1070">Templates can now use localized strings according to the <code>lang</code> option</p>
</li>
<li><p id = "para-1170">Standalone HTML now includes locale files using base64.</p>
<li><p id = "para-1071">Standalone HTML now includes locale files using base64.</p>
</li>
<li><p id = "para-1171">Standalone HTML displays one chapter at a time, thouht it can be changed via a button in the menu.</p>
<li><p id = "para-1072">Standalone HTML displays one chapter at a time, thouht it can be changed via a button in the menu.</p>
</li>
<li><p id = "para-1172">HTML/EPUB: default CSS now uses the <code>lang</code> value do determine how to display lists (currently the only difference is it uses “–” when <code>lang</code> is set to “fr” and standard bullets for other languages).</p>
<li><p id = "para-1073">HTML/EPUB: default CSS now uses the <code>lang</code> value do determine how to display lists (currently the only difference is it uses “–” when <code>lang</code> is set to “fr” and standard bullets for other languages).</p>
</li>
</ul>
</li>
<li><p id = "para-1173">Bugfixes:</p>
<li><p id = "para-1074">Bugfixes:</p>
<ul>
<li><p id = "para-1174">Fixed a bug of filename “resolution” when Crowbook was called with <code>--single</code> (e.g., <code>crowbook -s tests/test.md</code> would previously try to load <code>tests/tests/test.md)</code>.</p>
<li><p id = "para-1075">Fixed a bug of filename “resolution” when Crowbook was called with <code>--single</code> (e.g., <code>crowbook -s tests/test.md</code> would previously try to load <code>tests/tests/test.md)</code>.</p>
</li>
<li><p id = "para-1175">Epub renderer now uses the <code>mime_guess</code> library to guess the mime type based on extension, which should fix the mime type guessed for a wide range of extensions (e.g., svg).</p>
<li><p id = "para-1076">Epub renderer now uses the <code>mime_guess</code> library to guess the mime type based on extension, which should fix the mime type guessed for a wide range of extensions (e.g., svg).</p>
</li>
</ul>
</li>
<li><p id = "para-1176">Internal/API:</p>
<li><p id = "para-1077">Internal/API:</p>
<ul>
<li><p id = "para-1177">The <code>Book::new</code>, <code>new_from_file</code>, and <code>new_from_markdown_file</code> take an additional <code>options</code> parameter. To create a book with default options, set it to <code>&amp;[]</code>.</p>
<li><p id = "para-1078">The <code>Book::new</code>, <code>new_from_file</code>, and <code>new_from_markdown_file</code> take an additional <code>options</code> parameter. To create a book with default options, set it to <code>&amp;[]</code>.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-150">0.4.0 (2016-03-01)</h2>
<h2 id = "link-258">0.4.0 (2016-03-01)</h2>
<ul>
<li><p id = "para-1178">Crowbook now internally uses a true YAML parser, <code>yaml_rust</code>, for its options. Since the “old” Crowbookss config format was similar, but had some subtle differences, this is somewhat of a breaking change:</p>
<li><p id = "para-1079">Crowbook now internally uses a true YAML parser, <code>yaml_rust</code>, for its options. Since the “old” Crowbookss config format was similar, but had some subtle differences, this is somewhat of a breaking change:</p>
<ul>
<li><p id = "para-1179">strings should now be escaped with “” in some cases (e.g. if it contains special characters). On the other hand, it <em>allows</em> to optionally escape a string with these quotes, which wasnt possible until then and might be useful in some cases.</p>
<li><p id = "para-1080">strings should now be escaped with “” in some cases (e.g. if it contains special characters). On the other hand, it <em>allows</em> to optionally escape a string with these quotes, which wasnt possible until then and might be useful in some cases.</p>
</li>
<li><p id = "para-1180">multiline strings now follow the YAML format, instead of the previous “YAML-ish” format. This can impact the way newlines are added at the end of a multiline string. See e.g. <a href = "http://stackoverflow.com/questions/3790454/in-yaml-how-do-i-break-a-string-over-multiple-lines">this link</a> for the various ways to include mulitiline strings in Yaml.</p>
<li><p id = "para-1081">multiline strings now follow the YAML format, instead of the previous “YAML-ish” format. This can impact the way newlines are added at the end of a multiline string. See e.g. <a href = "http://stackoverflow.com/questions/3790454/in-yaml-how-do-i-break-a-string-over-multiple-lines">this link</a> for the various ways to include mulitiline strings in Yaml.</p>
</li>
</ul>
</li>
<li><p id = "para-1181">Crowbook now parses YAML blocks (delimited by two lines with “---”) in Markdown files, ignoring keys that it doesnt recognize. This allows crowbook to be compatible(-ish) with Markdown that contains YAML blocks for Jekyll or Pandoc.</p>
<li><p id = "para-1082">Crowbook now parses YAML blocks (delimited by two lines with “---”) in Markdown files, ignoring keys that it doesnt recognize. This allows crowbook to be compatible(-ish) with Markdown that contains YAML blocks for Jekyll or Pandoc.</p>
</li>
<li><p id = "para-1182">New option <code>--single</code> allows to give Crowbook a single Markdown file (which can contain options within an inline YAML block) instead of a book configuration file. This is useful for e.g. short stories.</p>
<li><p id = "para-1083">New option <code>--single</code> allows to give Crowbook a single Markdown file (which can contain options within an inline YAML block) instead of a book configuration file. This is useful for e.g. short stories.</p>
</li>
<li><p id = "para-1183">Enhanced the way debugging/warning/info messages are handled and displayed:</p>
<li><p id = "para-1084">Enhanced the way debugging/warning/info messages are handled and displayed:</p>
<ul>
<li><p id = "para-1184">Added a <code>--debug</code> option to the binary.</p>
<li><p id = "para-1085">Added a <code>--debug</code> option to the binary.</p>
</li>
<li><p id = "para-1185">Internal: added a <code>Logger</code> struct.</p>
<li><p id = "para-1086">Internal: added a <code>Logger</code> struct.</p>
</li>
<li><p id = "para-1186">Different levels of information (debug/warning/info/error) get different colors.</p>
<li><p id = "para-1087">Different levels of information (debug/warning/info/error) get different colors.</p>
</li>
</ul>
</li>
<li><p id = "para-1187">Bugfixes:</p>
<li><p id = "para-1088">Bugfixes:</p>
<ul>
<li><p id = "para-1188">Crowbook no longer crashes when called with the <code>--to</code> argument if it cant create a file.</p>
<li><p id = "para-1089">Crowbook no longer crashes when called with the <code>--to</code> argument if it cant create a file.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-151">0.3.0 (2016-02-27)</h2>
<h2 id = "link-259">0.3.0 (2016-02-27)</h2>
<ul>
<li><p id = "para-1189">Crowbook now tries to convert local links. That is, if you link to a Markdown file that is used in the book. (e.g. <a href = "chapter_000.html">README.md</a>), it <em>should</em> link to an appropriate inner reference inside the book.</p>
<li><p id = "para-1090">Crowbook now tries to convert local links. That is, if you link to a Markdown file that is used in the book. (e.g. <a href = "chapter_000.html">README.md</a>), it <em>should</em> link to an appropriate inner reference inside the book.</p>
</li>
<li><p id = "para-1190">Latex renderer now supports (local) images.</p>
<li><p id = "para-1091">Latex renderer now supports (local) images.</p>
</li>
<li><p id = "para-1191">Epub renderer now embed (local) images in the EPUB file.</p>
<li><p id = "para-1092">Epub renderer now embed (local) images in the EPUB file.</p>
</li>
<li><p id = "para-1192">Some changes to the HTML/Epub stylesheets.</p>
<li><p id = "para-1093">Some changes to the HTML/Epub stylesheets.</p>
</li>
<li><p id = "para-1193">Internal (or usage as a library):</p>
<li><p id = "para-1094">Internal (or usage as a library):</p>
<ul>
<li><p id = "para-1194">Crowbook no longer changes current directory, which worked in the binary but could cause problem if library was used in multithreaded environment (e.g. in <code>cargo test</code>).</p>
<li><p id = "para-1095">Crowbook no longer changes current directory, which worked in the binary but could cause problem if library was used in multithreaded environment (e.g. in <code>cargo test</code>).</p>
</li>
<li><p id = "para-1195">More modules and methods are now private.</p>
<li><p id = "para-1096">More modules and methods are now private.</p>
</li>
<li><p id = "para-1196">Improved documentation.</p>
<li><p id = "para-1097">Improved documentation.</p>
</li>
<li><p id = "para-1197">Added more unit tests.</p>
<li><p id = "para-1098">Added more unit tests.</p>
</li>
</ul>
</li>
<li><p id = "para-1198">Bugfixes:</p>
<li><p id = "para-1099">Bugfixes:</p>
<ul>
<li><p id = "para-1199">Epub renderer now correctly renders unnumbered chapter without a number in its toc.ncx file</p>
<li><p id = "para-1100">Epub renderer now correctly renders unnumbered chapter without a number in its toc.ncx file</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-152">0.2.2 (2016-02-25)</h2>
<h2 id = "link-260">0.2.2 (2016-02-25)</h2>
<ul>
<li><p id = "para-1200">Bugfixes:</p>
<li><p id = "para-1101">Bugfixes:</p>
<ul>
<li><p id = "para-1201">French cleaner now correctly replaces space after — (in e.g. dialogs) with “em space”.</p>
<li><p id = "para-1102">French cleaner now correctly replaces space after — (in e.g. dialogs) with “em space”.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-153">0.2.1 (2016-02-25)</h2>
<h2 id = "link-261">0.2.1 (2016-02-25)</h2>
<ul>
<li><p id = "para-1202">Bugfixes:</p>
<li><p id = "para-1103">Bugfixes:</p>
<ul>
<li><p id = "para-1203">HTML/Epub rendering no longer incorrectly increment chapter count for unnumbered chapters.</p>
<li><p id = "para-1104">HTML/Epub rendering no longer incorrectly increment chapter count for unnumbered chapters.</p>
</li>
<li><p id = "para-1204">Latex: makes what is possible to avoid orverflowing the page.</p>
<li><p id = "para-1105">Latex: makes what is possible to avoid orverflowing the page.</p>
</li>
</ul>
</li>
<li><p id = "para-1205">Minor changes:</p>
<li><p id = "para-1106">Minor changes:</p>
<ul>
<li><p id = "para-1206">Latex: improvement of the default way URLs are displayed.</p>
<li><p id = "para-1107">Latex: improvement of the default way URLs are displayed.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-154">0.2.0 (2016-02-25)</h2>
<h2 id = "link-262">0.2.0 (2016-02-25)</h2>
<ul>
<li><p id = "para-1207">Command line arguments:</p>
<li><p id = "para-1108">Command line arguments:</p>
<ul>
<li><p id = "para-1208">New argument <code>--print-template</code> now allows to print a built-in template to stdout.</p>
<li><p id = "para-1109">New argument <code>--print-template</code> now allows to print a built-in template to stdout.</p>
</li>
<li><p id = "para-1209">New argument <code>--list-options</code> prints out all valid options in a config file (or in <code>set</code>), their type and default value.</p>
<li><p id = "para-1110">New argument <code>--list-options</code> prints out all valid options in a config file (or in <code>set</code>), their type and default value.</p>
</li>
<li><p id = "para-1210">New argument <code>--set</code> allows to define or override whatever option set in a book configuration.</p>
<li><p id = "para-1111">New argument <code>--set</code> allows to define or override whatever option set in a book configuration.</p>
</li>
<li><p id = "para-1211"><code>--create</code> can now be used without specifying a <code>BOOK</code>, printing its result on <code>stdout</code>.</p>
<li><p id = "para-1112"><code>--create</code> can now be used without specifying a <code>BOOK</code>, printing its result on <code>stdout</code>.</p>
</li>
</ul>
</li>
<li><p id = "para-1212">Configuration file:</p>
<li><p id = "para-1113">Configuration file:</p>
<ul>
<li><p id = "para-1213">Added support for multiline strings in <code>.book</code> files, with either | (preserving line returns) or &gt; (transforming line returns in spaces)</p>
<li><p id = "para-1114">Added support for multiline strings in <code>.book</code> files, with either | (preserving line returns) or &gt; (transforming line returns in spaces)</p>
</li>
<li><p id = "para-1214">New option <code>display_toc</code> allows to display the table of contents (whose name, at least for HTML, is specified by <code>toc_name</code>) in HTML and PDF documents.</p>
<li><p id = "para-1115">New option <code>display_toc</code> allows to display the table of contents (whose name, at least for HTML, is specified by <code>toc_name</code>) in HTML and PDF documents.</p>
</li>
<li><p id = "para-1215">Option <code>numbering</code> now takes an int instead of a boolean, allowing to specify the maximum level to number (e.g. <code>1</code>: chapters only, <code>2</code>: chapters and sectino, ..., <code>6</code>: everything).</p>
<li><p id = "para-1116">Option <code>numbering</code> now takes an int instead of a boolean, allowing to specify the maximum level to number (e.g. <code>1</code>: chapters only, <code>2</code>: chapters and sectino, ..., <code>6</code>: everything).</p>
</li>
</ul>
</li>
<li><p id = "para-1216">Rendering:</p>
<li><p id = "para-1117">Rendering:</p>
<ul>
<li><p id = "para-1217">Added support for numbering all headers, not just level-1 (e.g., having a subsection numbered <code>2.3.1</code>).</p>
<li><p id = "para-1118">Added support for numbering all headers, not just level-1 (e.g., having a subsection numbered <code>2.3.1</code>).</p>
</li>
<li><p id = "para-1218">Tables and Footnotes are now implemented for HTML/Epub and LaTeX output.</p>
<li><p id = "para-1119">Tables and Footnotes are now implemented for HTML/Epub and LaTeX output.</p>
</li>
</ul>
</li>
<li><p id = "para-1219">Internal:</p>
<li><p id = "para-1120">Internal:</p>
<ul>
<li><p id = "para-1220">Refactored <code>Book</code> to use an HashMap of <code>BookOption</code>s instead of having like 42 fields.</p>
<li><p id = "para-1121">Refactored <code>Book</code> to use an HashMap of <code>BookOption</code>s instead of having like 42 fields.</p>
</li>
</ul>
</li>
</ul>
<h2 id = "link-155">0.1.0 (2016-02-21)</h2>
<h2 id = "link-263">0.1.0 (2016-02-21)</h2>
<ul>
<li><p id = "para-1221">initial release</p>
<li><p id = "para-1122">initial release</p>
</li>
</ul>
@ -1384,7 +1673,7 @@ function toggle() {
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1298">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1199">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -83,10 +83,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -104,108 +121,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1301">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1202">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -219,37 +494,37 @@ function toggle() {
« ChangeLog
</a>
</p>
<h1 id = 'link-156'>GNU LESSER GENERAL PUBLIC LICENSE</h1><pre><span style="color:#839496;"> Version 2.1, February 1999
</span></pre><p id = "para-1222">Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.</p>
<p id = "para-1223">[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]</p>
<h1 id = 'link-264'>GNU LESSER GENERAL PUBLIC LICENSE</h1><pre><span style="color:#839496;"> Version 2.1, February 1999
</span></pre><p id = "para-1123">Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.</p>
<p id = "para-1124">[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]</p>
<pre><span style="color:#839496;"> Preamble
</span></pre><p id = "para-1224">The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.</p>
<p id = "para-1225">This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.</p>
<p id = "para-1226">When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.</p>
<p id = "para-1227">To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.</p>
<p id = "para-1228">For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.</p>
<p id = "para-1229">We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.</p>
<p id = "para-1230">To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original authors reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.</p>
<p id = "para-1231">Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.</p>
<p id = "para-1232">When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.</p>
<p id = "para-1233">We call this license the “Lesser” General Public License because it does Less to protect the users freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.</p>
<p id = "para-1234">For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.</p>
<p id = "para-1235">In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.</p>
<p id = "para-1236">Although the Lesser General Public License is Less protective of the users freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.</p>
<p id = "para-1237">The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a “work based on the library” and a “work that uses the library”. The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</p>
</span></pre><p id = "para-1125">The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users.</p>
<p id = "para-1126">This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below.</p>
<p id = "para-1127">When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things.</p>
<p id = "para-1128">To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it.</p>
<p id = "para-1129">For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights.</p>
<p id = "para-1130">We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library.</p>
<p id = "para-1131">To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original authors reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license.</p>
<p id = "para-1132">Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs.</p>
<p id = "para-1133">When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library.</p>
<p id = "para-1134">We call this license the “Lesser” General Public License because it does Less to protect the users freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances.</p>
<p id = "para-1135">For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License.</p>
<p id = "para-1136">In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system.</p>
<p id = "para-1137">Although the Lesser General Public License is Less protective of the users freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library.</p>
<p id = "para-1138">The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a “work based on the library” and a “work that uses the library”. The former contains code derived from the library, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</p>
<ol start = "0">
<li><p id = "para-1238">This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called “this License”). Each licensee is addressed as “you”.</p>
<li><p id = "para-1139">This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called “this License”). Each licensee is addressed as “you”.</p>
</li>
</ol>
<p id = "para-1239">A “library” means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.</p>
<p id = "para-1240">The “Library”, below, refers to any such software library or work which has been distributed under these terms. A “work based on the Library” means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term “modification”.)</p>
<p id = "para-1241">“Source code” for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.</p>
<p id = "para-1242">Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.</p>
<p id = "para-1140">A “library” means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.</p>
<p id = "para-1141">The “Library”, below, refers to any such software library or work which has been distributed under these terms. A “work based on the Library” means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term “modification”.)</p>
<p id = "para-1142">“Source code” for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library.</p>
<p id = "para-1143">Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does.</p>
<ol>
<li><p id = "para-1243">You may copy and distribute verbatim copies of the Librarys complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.</p>
<li><p id = "para-1144">You may copy and distribute verbatim copies of the Librarys complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library.</p>
</li>
</ol>
<p id = "para-1244">You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:</p>
<p id = "para-1145">You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:</p>
<pre><span style="color:#839496;">a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
@ -272,28 +547,28 @@ application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
</span></pre><p id = "para-1245">These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.</p>
<p id = "para-1246">Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.</p>
<p id = "para-1247">In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.</p>
</span></pre><p id = "para-1146">These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.</p>
<p id = "para-1147">Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library.</p>
<p id = "para-1148">In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.</p>
<ol start = "3">
<li><p id = "para-1248">You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.</p>
<li><p id = "para-1149">You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy.</p>
</li>
</ol>
<p id = "para-1249">This option is useful when you wish to copy part of the code of the Library into a program that is not a library.</p>
<p id = "para-1150">This option is useful when you wish to copy part of the code of the Library into a program that is not a library.</p>
<ol start = "4">
<li><p id = "para-1250">You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.</p>
<li><p id = "para-1151">You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange.</p>
</li>
</ol>
<p id = "para-1251">If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.</p>
<p id = "para-1152">If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code.</p>
<ol start = "5">
<li><p id = "para-1252">A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a “work that uses the Library”. Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.</p>
<li><p id = "para-1153">A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a “work that uses the Library”. Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License.</p>
</li>
</ol>
<p id = "para-1253">However, linking a “work that uses the Library” with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a “work that uses the library”. The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.</p>
<p id = "para-1254">When a “work that uses the Library” uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.</p>
<p id = "para-1255">If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)</p>
<p id = "para-1256">Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a “work that uses the Library” with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customers own use and reverse engineering for debugging such modifications.</p>
<p id = "para-1257">You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:</p>
<p id = "para-1154">However, linking a “work that uses the Library” with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a “work that uses the library”. The executable is therefore covered by this License. Section 6 states terms for distribution of such executables.</p>
<p id = "para-1155">When a “work that uses the Library” uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law.</p>
<p id = "para-1156">If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.)</p>
<p id = "para-1157">Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. 6. As an exception to the Sections above, you may also combine or link a “work that uses the Library” with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customers own use and reverse engineering for debugging such modifications.</p>
<p id = "para-1158">You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things:</p>
<pre><span style="color:#839496;">a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
@ -325,8 +600,8 @@ specified materials from the same place.
e) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
</span></pre><p id = "para-1258">For an executable, the required form of the “work that uses the Library” must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.</p>
<p id = "para-1259">It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:</p>
</span></pre><p id = "para-1159">For an executable, the required form of the “work that uses the Library” must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.</p>
<p id = "para-1160">It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things:</p>
<pre><span style="color:#839496;">a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
@ -336,36 +611,36 @@ b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
</span></pre><ol start = "8">
<li><p id = "para-1260">You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.</p>
<li><p id = "para-1161">You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.</p>
</li>
<li><p id = "para-1261">You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.</p>
<li><p id = "para-1162">You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it.</p>
</li>
<li><p id = "para-1262">Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. </p>
<li><p id = "para-1163">Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. </p>
</li>
<li><p id = "para-1263">If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.</p>
<li><p id = "para-1164">If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library.</p>
</li>
</ol>
<p id = "para-1264">If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.</p>
<p id = "para-1265">It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.</p>
<p id = "para-1266">This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.</p>
<p id = "para-1165">If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances.</p>
<p id = "para-1166">It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.</p>
<p id = "para-1167">This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.</p>
<ol start = "12">
<li><p id = "para-1267">If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.</p>
<li><p id = "para-1168">If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.</p>
</li>
<li><p id = "para-1268">The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.</p>
<li><p id = "para-1169">The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.</p>
</li>
</ol>
<p id = "para-1269">Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and “any later version”, you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.</p>
<p id = "para-1170">Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and “any later version”, you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.</p>
<pre><span style="color:#839496;"> NO WARRANTY
</span></pre><ol start = "15">
<li><p id = "para-1270">BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
<li><p id = "para-1171">BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
</li>
<li><p id = "para-1271">IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
<li><p id = "para-1172">IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</p>
<pre><span style="color:#839496;"> END OF TERMS AND CONDITIONS
</span></pre></li>
</ol>
<p id = "para-1272"> How to Apply These Terms to Your New Libraries</p>
<p id = "para-1273">If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License).</p>
<p id = "para-1274">To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.</p>
<p id = "para-1173"> How to Apply These Terms to Your New Libraries</p>
<p id = "para-1174">If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License).</p>
<p id = "para-1175">To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.</p>
<pre><span style="color:#839496;">&lt;one line to give the library&#39;s name and a brief idea of what it does.&gt;
Copyright (C) &lt;year&gt; &lt;name of author&gt;
@ -382,15 +657,15 @@ Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
</span></pre><p id = "para-1275">Also add information on how to contact you by electronic and paper mail.</p>
<p id = "para-1276">You should also get your employer (if you work as a programmer) or your school, if any, to sign a “copyright disclaimer” for the library, if necessary. Here is a sample; alter the names:</p>
<p id = "para-1277">Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob (a library for tweaking knobs) written by James Random Hacker.</p>
<p id = "para-1278">&lt;signature of Ty Coon&gt;, 1 April 1990 Ty Coon, President of Vice</p>
<p id = "para-1279">Thats all there is to it!</p>
</span></pre><p id = "para-1176">Also add information on how to contact you by electronic and paper mail.</p>
<p id = "para-1177">You should also get your employer (if you work as a programmer) or your school, if any, to sign a “copyright disclaimer” for the library, if necessary. Here is a sample; alter the names:</p>
<p id = "para-1178">Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob (a library for tweaking knobs) written by James Random Hacker.</p>
<p id = "para-1179">&lt;signature of Ty Coon&gt;, 1 April 1990 Ty Coon, President of Vice</p>
<p id = "para-1180">Thats all there is to it!</p>
</div>
<footer id = "footer"><p id = "para-1300">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1201">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>

View File

@ -65,10 +65,27 @@ function toggle() {
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
@ -86,108 +103,366 @@ function toggle() {
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_003.html#link-77">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-78">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-79">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-80">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-81">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-82">4.5. Interactive fiction</a></li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-83">5. Templates</a>
<ul><li><a href="chapter_004.html#link-84">5.1. Create and edit template</a></li>
<li><a href="chapter_004.html#link-88">5.2. List of templates</a></li>
<li><a href="chapter_004.html#link-102">5.3. List of accessible variables</a></li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_005.html#link-106">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-107">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-108">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-109">6.3. Grammar checking</a></li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
<li><a href="chapter_006.html#link-112">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-113">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-114">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-115">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-116">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-117">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-118">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-119">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-120">8.1. Using Crowbook with Emacs markdown mode</a></li>
<li><a href="chapter_007.html#link-122">8.2. Embedding fonts in an EPUB file</a></li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-123">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-124">9.1. Internationalization</a></li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-125">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-126">unreleased</a></li>
<li><a href="chapter_009.html#link-127">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-128">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-129">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-130">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-131">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-132">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-133">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-134">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-135">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-136">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-137">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-138">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-139">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-140">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-141">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-142">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-143">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-144">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-145">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-146">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-147">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-148">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-149">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-150">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-151">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-152">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-153">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-154">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-155">0.1.0 (2016-02-21)</a></li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-156">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</nav>
<div id = "content">
<div id = "top"><p id = "para-1302">Crowbook User Guide 0.15.0</p>
<div id = "top"><p id = "para-1203">Crowbook User Guide 0.15.0</p>
</div>
<div id = "page">
<header>
@ -205,14 +480,414 @@ function toggle() {
</div>
<div id = "cover">
<img class = "cover" alt = "Crowbook User Guide" src = "images/image_2.png" />
</div><p class = "next_chapter">
</div><h1>Table of contents</h1>
<div id = "toc">
<ul>
<li><a href="chapter_000.html#link-1">1. Crowbook</a>
<ul><li><a href="chapter_000.html#link-2">1.1. Example</a></li>
<li><a href="chapter_000.html#link-3">1.2. Installing</a>
<ul><li><a href="chapter_000.html#link-4">1.2.1. Binaries</a></li>
<li><a href="chapter_000.html#link-5">1.2.2. Using Cargo</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-6">1.3. Dependencies</a></li>
<li><a href="chapter_000.html#link-7">1.4. Quick tour</a></li>
<li><a href="chapter_000.html#link-8">1.5. Current features</a>
<ul><li><a href="chapter_000.html#link-9">1.5.1. Output formats</a></li>
<li><a href="chapter_000.html#link-10">1.5.2. Input format</a></li>
<li><a href="chapter_000.html#link-11">1.5.3. Typographic “cleaning”</a></li>
<li><a href="chapter_000.html#link-12">1.5.4. Links handling</a></li>
<li><a href="chapter_000.html#link-13">1.5.5. Inline YAML blocks</a></li>
<li><a href="chapter_000.html#link-14">1.5.6. Proofreading</a></li>
<li><a href="chapter_000.html#link-15">1.5.7. Interactive fiction</a></li>
<li><a href="chapter_000.html#link-16">1.5.8. Customization</a></li>
<li><a href="chapter_000.html#link-17">1.5.9. Bugs</a></li>
</ul>
</li>
<li><a href="chapter_000.html#link-18">1.6. Contributors</a></li>
<li><a href="chapter_000.html#link-19">1.7. Acknowledgements</a></li>
<li><a href="chapter_000.html#link-20">1.8. ChangeLog</a></li>
<li><a href="chapter_000.html#link-21">1.9. Contributing</a></li>
<li><a href="chapter_000.html#link-22">1.10. Library</a></li>
<li><a href="chapter_000.html#link-23">1.11. License</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-24">2. Arguments</a>
<ul><li><a href="chapter_001.html#link-25">2.1. <code>--create</code></a></li>
<li><a href="chapter_001.html#link-26">2.2. <code>--single</code></a></li>
<li><a href="chapter_001.html#link-27">2.3. <code>--set</code></a></li>
<li><a href="chapter_001.html#link-28">2.4. <code>--list-options</code></a></li>
<li><a href="chapter_001.html#link-29">2.5. <code>--print-template</code></a></li>
<li><a href="chapter_001.html#link-30">2.6. <code>--stats</code></a></li>
<li><a href="chapter_001.html#link-31">2.7. <code>--proofread</code></a></li>
<li><a href="chapter_001.html#link-32">2.8. <code>--autograph</code></a>
<ul><li><a href="chapter_001.html#link-33">2.8.1. Example</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-34">2.9. <code>--verbose</code></a></li>
<li><a href="chapter_001.html#link-35">2.10. <code>--to</code></a>
<ul><li><a href="chapter_001.html#link-36">2.10.1. Examples</a></li>
</ul>
</li>
<li><a href="chapter_001.html#link-37">2.11. <code>--output</code></a></li>
<li><a href="chapter_001.html#link-38">2.12. <code>--lang</code></a>
<ul><li><a href="chapter_001.html#link-39">2.12.1. Example</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-40">3. The configuration file</a>
<ul><li><a href="chapter_002.html#link-41">3.1. Configuration in an inline YAML block</a></li>
<li><a href="chapter_002.html#link-42">3.2. The list of files</a>
<ul><li><a href="chapter_002.html#link-43">3.2.1. Parts</a></li>
<li><a href="chapter_002.html#link-44">3.2.2. Subchapters</a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-45">3.3. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-46">3.3.1. Metadata</a></li>
<li><a href="chapter_002.html#link-47">3.3.2. The <code>import</code> special option</a></li>
<li><a href="chapter_002.html#link-48">3.3.3. Output options</a>
<ul><li><a href="chapter_002.html#link-49">3.3.3.1. The <code>output</code> option</a></li>
<li><a href="chapter_002.html#link-50">3.3.3.2. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-51">3.3.4. Input options</a></li>
<li><a href="chapter_002.html#link-52">3.3.5. Generic options for rendering</a></li>
<li><a href="chapter_002.html#link-53">3.3.6. HTML Options</a>
<ul><li><a href="chapter_002.html#link-54">3.3.6.1. Options for standalone HTML</a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-55">3.3.7. Options for LaTeX/PDF rendering</a></li>
<li><a href="chapter_002.html#link-56">3.3.8. Options for EPUB rendering</a></li>
<li><a href="chapter_002.html#link-57">3.3.9. Resources options</a>
<ul><li><a href="chapter_002.html#link-58">3.3.9.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-59">3.3.9.2. <code>resources.out_path</code></a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_002.html#link-60">3.4. Full list of options</a>
<ul><li><a href="chapter_002.html#link-61">3.4.1. Metadata</a>
<ul><li><a href="chapter_002.html#link-62">3.4.1.1. <code>author</code></a></li>
<li><a href="chapter_002.html#link-63">3.4.1.2. <code>title</code></a></li>
<li><a href="chapter_002.html#link-64">3.4.1.3. <code>lang</code></a></li>
<li><a href="chapter_002.html#link-65">3.4.1.4. <code>subject</code></a></li>
<li><a href="chapter_002.html#link-66">3.4.1.5. <code>description</code></a></li>
<li><a href="chapter_002.html#link-67">3.4.1.6. <code>cover</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-68">3.4.2. Additional metadata</a>
<ul><li><a href="chapter_002.html#link-69">3.4.2.1. <code>subtitle</code></a></li>
<li><a href="chapter_002.html#link-70">3.4.2.2. <code>license</code></a></li>
<li><a href="chapter_002.html#link-71">3.4.2.3. <code>version</code></a></li>
<li><a href="chapter_002.html#link-72">3.4.2.4. <code>date</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-73">3.4.3. Output options</a>
<ul><li><a href="chapter_002.html#link-74">3.4.3.1. <code>output</code></a></li>
<li><a href="chapter_002.html#link-75">3.4.3.2. <code>output.epub</code></a></li>
<li><a href="chapter_002.html#link-76">3.4.3.3. <code>output.html</code></a></li>
<li><a href="chapter_002.html#link-77">3.4.3.4. <code>output.html.dir</code></a></li>
<li><a href="chapter_002.html#link-78">3.4.3.5. <code>output.tex</code></a></li>
<li><a href="chapter_002.html#link-79">3.4.3.6. <code>output.pdf</code></a></li>
<li><a href="chapter_002.html#link-80">3.4.3.7. <code>output.odt</code></a></li>
<li><a href="chapter_002.html#link-81">3.4.3.8. <code>output.html.if</code></a></li>
<li><a href="chapter_002.html#link-82">3.4.3.9. <code>output.base_path</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-83">3.4.4. Rendering options</a>
<ul><li><a href="chapter_002.html#link-84">3.4.4.1. <code>rendering.highlight</code></a></li>
<li><a href="chapter_002.html#link-85">3.4.4.2. <code>rendering.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-86">3.4.4.3. <code>rendering.initials</code></a></li>
<li><a href="chapter_002.html#link-87">3.4.4.4. <code>rendering.inline_toc</code></a></li>
<li><a href="chapter_002.html#link-88">3.4.4.5. <code>rendering.inline_toc.name</code></a></li>
<li><a href="chapter_002.html#link-89">3.4.4.6. <code>rendering.num_depth</code></a></li>
<li><a href="chapter_002.html#link-90">3.4.4.7. <code>rendering.chapter</code></a></li>
<li><a href="chapter_002.html#link-91">3.4.4.8. <code>rendering.part</code></a></li>
<li><a href="chapter_002.html#link-92">3.4.4.9. <code>rendering.chapter.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-93">3.4.4.10. <code>rendering.part.roman_numerals</code></a></li>
<li><a href="chapter_002.html#link-94">3.4.4.11. <code>rendering.part.reset_counter</code></a></li>
<li><a href="chapter_002.html#link-95">3.4.4.12. <code>rendering.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-96">3.4.4.13. <code>rendering.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-97">3.4.5. Special option</a>
<ul><li><a href="chapter_002.html#link-98">3.4.5.1. <code>import</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-99">3.4.6. HTML options</a>
<ul><li><a href="chapter_002.html#link-100">3.4.6.1. <code>html.icon</code></a></li>
<li><a href="chapter_002.html#link-101">3.4.6.2. <code>html.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-102">3.4.6.3. <code>html.header</code></a></li>
<li><a href="chapter_002.html#link-103">3.4.6.4. <code>html.footer</code></a></li>
<li><a href="chapter_002.html#link-104">3.4.6.5. <code>html.css</code></a></li>
<li><a href="chapter_002.html#link-105">3.4.6.6. <code>html.css.add</code></a></li>
<li><a href="chapter_002.html#link-106">3.4.6.7. <code>html.css.colors</code></a></li>
<li><a href="chapter_002.html#link-107">3.4.6.8. <code>html.js</code></a></li>
<li><a href="chapter_002.html#link-108">3.4.6.9. <code>html.css.print</code></a></li>
<li><a href="chapter_002.html#link-109">3.4.6.10. <code>html.highlight.js</code></a></li>
<li><a href="chapter_002.html#link-110">3.4.6.11. <code>html.highlight.css</code></a></li>
<li><a href="chapter_002.html#link-111">3.4.6.12. <code>html.side_notes</code></a></li>
<li><a href="chapter_002.html#link-112">3.4.6.13. <code>html.escape_nb_spaces</code></a></li>
<li><a href="chapter_002.html#link-113">3.4.6.14. <code>html.chapter.template</code></a></li>
<li><a href="chapter_002.html#link-114">3.4.6.15. <code>html.part.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-115">3.4.7. Standalone HTML options</a>
<ul><li><a href="chapter_002.html#link-116">3.4.7.1. <code>html.standalone.template</code></a></li>
<li><a href="chapter_002.html#link-117">3.4.7.2. <code>html.standalone.one_chapter</code></a></li>
<li><a href="chapter_002.html#link-118">3.4.7.3. <code>html.standalone.js</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-119">3.4.8. Multifile HTML options</a>
<ul><li><a href="chapter_002.html#link-120">3.4.8.1. <code>html.dir.template</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-121">3.4.9. Interactive fiction HTML options</a>
<ul><li><a href="chapter_002.html#link-122">3.4.9.1. <code>html.if.js</code></a></li>
<li><a href="chapter_002.html#link-123">3.4.9.2. <code>html.if.new_turn</code></a></li>
<li><a href="chapter_002.html#link-124">3.4.9.3. <code>html.if.end_turn</code></a></li>
<li><a href="chapter_002.html#link-125">3.4.9.4. <code>html.if.new_game</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-126">3.4.10. EPUB options</a>
<ul><li><a href="chapter_002.html#link-127">3.4.10.1. <code>epub.version</code></a></li>
<li><a href="chapter_002.html#link-128">3.4.10.2. <code>epub.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-129">3.4.10.3. <code>epub.css</code></a></li>
<li><a href="chapter_002.html#link-130">3.4.10.4. <code>epub.css.add</code></a></li>
<li><a href="chapter_002.html#link-131">3.4.10.5. <code>epub.chapter.xhtml</code></a></li>
<li><a href="chapter_002.html#link-132">3.4.10.6. <code>epub.toc.extras</code></a></li>
<li><a href="chapter_002.html#link-133">3.4.10.7. <code>epub.escape_nb_spaces</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-134">3.4.11. LaTeX options</a>
<ul><li><a href="chapter_002.html#link-135">3.4.11.1. <code>tex.highlight.theme</code></a></li>
<li><a href="chapter_002.html#link-136">3.4.11.2. <code>tex.links_as_footnotes</code></a></li>
<li><a href="chapter_002.html#link-137">3.4.11.3. <code>tex.command</code></a></li>
<li><a href="chapter_002.html#link-138">3.4.11.4. <code>tex.template</code></a></li>
<li><a href="chapter_002.html#link-139">3.4.11.5. <code>tex.template.add</code></a></li>
<li><a href="chapter_002.html#link-140">3.4.11.6. <code>tex.class</code></a></li>
<li><a href="chapter_002.html#link-141">3.4.11.7. <code>tex.paper.size</code></a></li>
<li><a href="chapter_002.html#link-142">3.4.11.8. <code>tex.margin.left</code></a></li>
<li><a href="chapter_002.html#link-143">3.4.11.9. <code>tex.margin.right</code></a></li>
<li><a href="chapter_002.html#link-144">3.4.11.10. <code>tex.margin.top</code></a></li>
<li><a href="chapter_002.html#link-145">3.4.11.11. <code>tex.margin.bottom</code></a></li>
<li><a href="chapter_002.html#link-146">3.4.11.12. <code>tex.title</code></a></li>
<li><a href="chapter_002.html#link-147">3.4.11.13. <code>tex.font.size</code></a></li>
<li><a href="chapter_002.html#link-148">3.4.11.14. <code>tex.hyperref</code></a></li>
<li><a href="chapter_002.html#link-149">3.4.11.15. <code>tex.stdpage</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-150">3.4.12. Resources option</a>
<ul><li><a href="chapter_002.html#link-151">3.4.12.1. <code>resources.files</code></a></li>
<li><a href="chapter_002.html#link-152">3.4.12.2. <code>resources.out_path</code></a></li>
<li><a href="chapter_002.html#link-153">3.4.12.3. <code>resources.base_path</code></a></li>
<li><a href="chapter_002.html#link-154">3.4.12.4. <code>resources.base_path.links</code></a></li>
<li><a href="chapter_002.html#link-155">3.4.12.5. <code>resources.base_path.images</code></a></li>
<li><a href="chapter_002.html#link-156">3.4.12.6. <code>resources.base_path.files</code></a></li>
<li><a href="chapter_002.html#link-157">3.4.12.7. <code>resources.base_path.templates</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-158">3.4.13. Input options</a>
<ul><li><a href="chapter_002.html#link-159">3.4.13.1. <code>input.clean</code></a></li>
<li><a href="chapter_002.html#link-160">3.4.13.2. <code>input.clean.smart_quotes</code></a></li>
<li><a href="chapter_002.html#link-161">3.4.13.3. <code>input.clean.ligature.dashes</code></a></li>
<li><a href="chapter_002.html#link-162">3.4.13.4. <code>input.clean.ligature.guillemets</code></a></li>
<li><a href="chapter_002.html#link-163">3.4.13.5. <code>input.yaml_blocks</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-164">3.4.14. Crowbook options</a>
<ul><li><a href="chapter_002.html#link-165">3.4.14.1. <code>crowbook.html_as_text</code></a></li>
<li><a href="chapter_002.html#link-166">3.4.14.2. <code>crowbook.markdown.superscript</code></a></li>
<li><a href="chapter_002.html#link-167">3.4.14.3. <code>crowbook.temp_dir</code></a></li>
<li><a href="chapter_002.html#link-168">3.4.14.4. <code>crowbook.zip.command</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-169">3.4.15. Output options (for proofreading)</a>
<ul><li><a href="chapter_002.html#link-170">3.4.15.1. <code>output.proofread.html</code></a></li>
<li><a href="chapter_002.html#link-171">3.4.15.2. <code>output.proofread.html.dir</code></a></li>
<li><a href="chapter_002.html#link-172">3.4.15.3. <code>output.proofread.pdf</code></a></li>
</ul>
</li>
<li><a href="chapter_002.html#link-173">3.4.16. Proofreading options (only for <code>output.proofread.*</code> targets)</a>
<ul><li><a href="chapter_002.html#link-174">3.4.16.1. <code>proofread</code></a></li>
<li><a href="chapter_002.html#link-175">3.4.16.2. <code>proofread.languagetool</code></a></li>
<li><a href="chapter_002.html#link-176">3.4.16.3. <code>proofread.languagetool.port</code></a></li>
<li><a href="chapter_002.html#link-177">3.4.16.4. <code>proofread.grammalecte</code></a></li>
<li><a href="chapter_002.html#link-178">3.4.16.5. <code>proofread.grammalecte.port</code></a></li>
<li><a href="chapter_002.html#link-179">3.4.16.6. <code>proofread.repetitions</code></a></li>
<li><a href="chapter_002.html#link-180">3.4.16.7. <code>proofread.repetitions.max_distance</code></a></li>
<li><a href="chapter_002.html#link-181">3.4.16.8. <code>proofread.repetitions.fuzzy</code></a></li>
<li><a href="chapter_002.html#link-182">3.4.16.9. <code>proofread.repetitions.fuzzy.threshold</code></a></li>
<li><a href="chapter_002.html#link-183">3.4.16.10. <code>proofread.repetitions.ignore_proper</code></a></li>
<li><a href="chapter_002.html#link-184">3.4.16.11. <code>proofread.repetitions.threshold</code></a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_003.html#link-185">4. Markdown format</a>
<ul><li><a href="chapter_003.html#link-186">4.1. Tables</a></li>
<li><a href="chapter_003.html#link-187">4.2. Footnotes</a></li>
<li><a href="chapter_003.html#link-188">4.3. Superscript and subscript</a></li>
<li><a href="chapter_003.html#link-189">4.4. “Standalone” images</a></li>
<li><a href="chapter_003.html#link-190">4.5. Interactive fiction</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-191">5. Templates</a>
<ul><li><a href="chapter_004.html#link-192">5.1. Create and edit template</a>
<ul><li><a href="chapter_004.html#link-193">5.1.1. <code>--print-template</code></a></li>
<li><a href="chapter_004.html#link-194">5.1.2. Mustache syntax</a>
<ul><li><a href="chapter_004.html#link-195">5.1.2.1. Syntax in LaTeX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_004.html#link-196">5.2. List of templates</a>
<ul><li><a href="chapter_004.html#link-197">5.2.1. html.js</a></li>
<li><a href="chapter_004.html#link-198">5.2.2. html.css</a></li>
<li><a href="chapter_004.html#link-199">5.2.3. html.css.colors</a></li>
<li><a href="chapter_004.html#link-200">5.2.4. html.css.print</a></li>
<li><a href="chapter_004.html#link-201">5.2.5. html.highlight.js</a></li>
<li><a href="chapter_004.html#link-202">5.2.6. html.highlight.css</a></li>
<li><a href="chapter_004.html#link-203">5.2.7. html.standalone.js</a></li>
<li><a href="chapter_004.html#link-204">5.2.8. html.standalone.template</a></li>
<li><a href="chapter_004.html#link-205">5.2.9. html.dir.template</a></li>
<li><a href="chapter_004.html#link-206">5.2.10. tex.template</a></li>
<li><a href="chapter_004.html#link-207">5.2.11. epub.chapter.xhtml</a></li>
<li><a href="chapter_004.html#link-208">5.2.12. epub.css</a></li>
<li><a href="chapter_004.html#link-209">5.2.13. Inline templates</a></li>
</ul>
</li>
<li><a href="chapter_004.html#link-210">5.3. List of accessible variables</a>
<ul><li><a href="chapter_004.html#link-211">5.3.1. Metadata</a></li>
<li><a href="chapter_004.html#link-212">5.3.2. Localisation strings</a></li>
<li><a href="chapter_004.html#link-213">5.3.3. Template-dependent values</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_005.html#link-214">6. Proofreading with Crowbook</a>
<ul><li><a href="chapter_005.html#link-215">6.1. Enabling proofreading</a></li>
<li><a href="chapter_005.html#link-216">6.2. Repetition detection</a></li>
<li><a href="chapter_005.html#link-217">6.3. Grammar checking</a>
<ul><li><a href="chapter_005.html#link-218">6.3.1. With Languagetool</a></li>
<li><a href="chapter_005.html#link-219">6.3.2. With Grammalecte</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="chapter_006.html#link-220">7. Interactive fiction</a>
<ul><li><a href="chapter_006.html#link-221">7.1. Basics</a></li>
<li><a href="chapter_006.html#link-222">7.2. The interactive fiction renderer</a></li>
<li><a href="chapter_006.html#link-223">7.3. Using Javascript in your interactive fiction</a></li>
<li><a href="chapter_006.html#link-224">7.4. Embedding Makdown in your Javascript code embedded in your Markdown</a></li>
<li><a href="chapter_006.html#link-225">7.5. Conditional blocks</a></li>
<li><a href="chapter_006.html#link-226">7.6. Interactive fiction options</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-227">8. Tips and tricks</a>
<ul><li><a href="chapter_007.html#link-228">8.1. Using Crowbook with Emacs markdown mode</a>
<ul><li><a href="chapter_007.html#link-229">8.1.1. Some explanations if it looks a bit cryptic to you</a></li>
</ul>
</li>
<li><a href="chapter_007.html#link-230">8.2. Embedding fonts in an EPUB file</a></li>
</ul>
</li>
<li><a href="chapter_008.html#link-231">9. Contributing</a>
<ul><li><a href="chapter_008.html#link-232">9.1. Internationalization</a></li>
</ul>
</li>
<li><a href="chapter_009.html#link-233">ChangeLog</a>
<ul><li><a href="chapter_009.html#link-234">0.15.1 (2020-07-07)</a></li>
<li><a href="chapter_009.html#link-235">0.15.0 (2019-07-18)</a></li>
<li><a href="chapter_009.html#link-236">0.14.1 (2018-06-01)</a></li>
<li><a href="chapter_009.html#link-237">0.14.0 (2017-11-26)</a></li>
<li><a href="chapter_009.html#link-238">0.14.0-beta (2017-10-08)</a></li>
<li><a href="chapter_009.html#link-239">0.13.0 (2017-07-14)</a></li>
<li><a href="chapter_009.html#link-240">0.12.0 (2017-06-05)</a></li>
<li><a href="chapter_009.html#link-241">0.11.4 (2017-03-21)</a></li>
<li><a href="chapter_009.html#link-242">0.11.3 (2017-03-19)</a></li>
<li><a href="chapter_009.html#link-243">0.11.2 (2017-03-05)</a></li>
<li><a href="chapter_009.html#link-244">0.11.1 (2017-01-05)</a></li>
<li><a href="chapter_009.html#link-245">0.11.0 (2016-12-31)</a></li>
<li><a href="chapter_009.html#link-246">0.10.4 (2016-12-16)</a></li>
<li><a href="chapter_009.html#link-247">0.10.3 (2016-11-19)</a></li>
<li><a href="chapter_009.html#link-248">0.10.2 (2016-10-21)</a></li>
<li><a href="chapter_009.html#link-249">0.10.1 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-250">0.10.0 (2016-10-18)</a></li>
<li><a href="chapter_009.html#link-251">0.9.1 (2016-09-29)</a></li>
<li><a href="chapter_009.html#link-252">0.9.0 (2016-09-23)</a></li>
<li><a href="chapter_009.html#link-253">0.8.0 (2016-09-19)</a></li>
<li><a href="chapter_009.html#link-254">0.7.0 (2016-09-11)</a></li>
<li><a href="chapter_009.html#link-255">0.6.0 (2016-09-09)</a></li>
<li><a href="chapter_009.html#link-256">0.5.1 (2016-04-14)</a></li>
<li><a href="chapter_009.html#link-257">0.5.0 (2016-04-02)</a></li>
<li><a href="chapter_009.html#link-258">0.4.0 (2016-03-01)</a></li>
<li><a href="chapter_009.html#link-259">0.3.0 (2016-02-27)</a></li>
<li><a href="chapter_009.html#link-260">0.2.2 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-261">0.2.1 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-262">0.2.0 (2016-02-25)</a></li>
<li><a href="chapter_009.html#link-263">0.1.0 (2016-02-21)</a></li>
</ul>
</li>
<li><a href="chapter_010.html#link-264">GNU LESSER GENERAL PUBLIC LICENSE</a></li>
</ul>
</div>
<p class = "next_chapter">
<a href = "chapter_000.html">
1. Crowbook »
</a>
</p>
</div>
<footer id = "footer"><p id = "para-1303">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
<footer id = "footer"><p id = "para-1204">Generated by <a href = "https://github.com/lise-henry/crowbook">Crowbook</a> 0.15.1</p>
</footer>
</div>
</body>