mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 10:04:05 +09:00
btex: img tag with src attrib
This commit is contained in:
@@ -162,18 +162,19 @@
|
||||
|
||||
<section>Figures</section>
|
||||
|
||||
<p>Figures, or external images can be inserted using the self-closing <code>img</code> tag.
|
||||
This tag inserts the image starting from the current line; if the size is taller than the
|
||||
remaining lines, the image will be printed onto the next page. Its syntax is as follows:</p>
|
||||
<p><index id="img (tag)"/>Figures, or external images can be inserted using the self-closing <code>img</code> tag.
|
||||
This tag inserts the image at the centre of the page, starting from the current line;
|
||||
if the size is taller than the remaining lines, the image will be printed onto the next page.
|
||||
Its syntax is as follows:</p>
|
||||
|
||||
<callout align="left" class="code"><!--
|
||||
--><img src="web URL" height="8"/><br/><!--
|
||||
--><img src="http(s) or file URL" height="8"/><br/><!--
|
||||
--><img fromgame="basegame:gui/small.png" height="4"/><br/><!--
|
||||
--><img gameitem="basegame:33" height="1"/>
|
||||
</callout>
|
||||
|
||||
<p>The <code>height</code> attribute specifies the height of the image <emph>in the number of lines</emph>,
|
||||
rather than pixels.</p>
|
||||
rather than pixels, the width is calculated automatically. Image width wider than the text width will cause an error.</p>
|
||||
|
||||
<p>Supported image formats: JPEG, PNG, BMP or TGA</p>
|
||||
|
||||
@@ -295,6 +296,22 @@
|
||||
|
||||
|
||||
|
||||
<part>Non-laymen Zone</part>
|
||||
|
||||
<chapter alt="The Waiting Process">Why Wait for the Books to be Printed? Why Can’t I just Print Them by Myself?</chapter>
|
||||
|
||||
<p>The <btex/> engine is not fast; it takes at least a few seconds to print a book. The “waiting”
|
||||
system is there because the book is being printed in the background on separate threads
|
||||
(yes, they are multi-threaded!) to not interfere with the normal gameplay, or else the players will
|
||||
encounter the freezing every time the book is being printed, and this would be a huge minus towards
|
||||
the gameplay experience. If the process exits without any error, the mailing system will be
|
||||
notified and will send the mail containing finished books to the player; if the process exits
|
||||
with errors, the mail containing details of the errors will be sent instead.</p>
|
||||
|
||||
<p>For this reason the “printing press” is not exposed to the player, they only get to interact with it
|
||||
indirectly through the “publisher” via mail.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<newpage/>
|
||||
|
||||
Reference in New Issue
Block a user