User Tools

Site Tools


lostplot:manual:writer_formatting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lostplot:manual:writer_formatting [2021/11/14 18:04]
admin
lostplot:manual:writer_formatting [2021/11/16 12:40] (current)
admin
Line 47: Line 47:
   * <​del>​Strikethrough</​del>​ - text is wrapped in double-hyphen characters [ ~ ~ ]   * <​del>​Strikethrough</​del>​ - text is wrapped in double-hyphen characters [ ~ ~ ]
   * ''​Monospaced Text''​ - (also known as '​code'​) text is wrapped in double reverse-ticks (gravs) [``]   * ''​Monospaced Text''​ - (also known as '​code'​) text is wrapped in double reverse-ticks (gravs) [``]
-  * Superscript - text is wrapped in ++ at the start of the text and ++ at the end +  * Superscript - text is wrapped in double-plus characters [ + + ] 
-  * Subscript - text is wrapped in -- at the start of the text and -- at the end+  * Subscript - text is wrapped in double-minus characters [ - - ]
  
 //Note: To show characters in this document, spaces are often added to prevent the MarkDown interpreter of the Wiki from processing them. In the case of using these tags manually in **//​LostPlot//​**,​ do not include any spaces within the tags.// //Note: To show characters in this document, spaces are often added to prevent the MarkDown interpreter of the Wiki from processing them. In the case of using these tags manually in **//​LostPlot//​**,​ do not include any spaces within the tags.//
Line 63: Line 63:
   * Resource Tags   * Resource Tags
  
-__Placeholders__+**__Placeholders__**
  
 Placeholders wrap selected text in double-curled braces in the form { {name} } and represent direct replacements for text that has been defined within the project configuration. Adding the placeholder { {author} } into the __Content__ of an __Index Card__ for example, will result in the actual author'​s name being embedded into the final styled document in the __Document__ pane. Placeholders wrap selected text in double-curled braces in the form { {name} } and represent direct replacements for text that has been defined within the project configuration. Adding the placeholder { {author} } into the __Content__ of an __Index Card__ for example, will result in the actual author'​s name being embedded into the final styled document in the __Document__ pane.
Line 70: Line 70:
  
  
-__Resources__+**__Resources__**
  
 In nearly all respects, Resource tags act and produce final __Document__ pane text in exactly the same manner as conventional Placeholder tags. Their main benefit comes from internal use within **//​LostPlot//​** in regards to referencing and giving access to background information and research. In nearly all respects, Resource tags act and produce final __Document__ pane text in exactly the same manner as conventional Placeholder tags. Their main benefit comes from internal use within **//​LostPlot//​** in regards to referencing and giving access to background information and research.
Line 85: Line 85:
  
 It should also be noted that LostPlot is **//not//** advising that authors should utilise the Resource tagging system for //every// occasion that a resource (character, event, place etc.) is used in the text. The most conventional method of using the Resource tag system is to place the //1st occurrence//​ of a resource in an __Index Card__ into a tagged reference so that the author can bring up the details of the resource for reference when required. It should also be noted that LostPlot is **//not//** advising that authors should utilise the Resource tagging system for //every// occasion that a resource (character, event, place etc.) is used in the text. The most conventional method of using the Resource tag system is to place the //1st occurrence//​ of a resource in an __Index Card__ into a tagged reference so that the author can bring up the details of the resource for reference when required.
 +
 +==== Links and Images ====
 +
 +The most complex MarkDown tags that **//​LostPlot//​** supports from the menu are the hyperlinks and images. These two tags involve two, or possibly even three set of tags embedded within each other but luckily are not used very commonly within the body text of a document. Usually when used, they have a special purpose in certain situations only.
 +
 +=== Hyperlinks ===
 +
 +The most common use of Hyperlinks is in the linking of references to sources on the internet - not just within the final document such as in a reference or appendix, but also within the summary for author reference during development.
 +
 +Hyperlinks are embedded in the text in two parts separated by square and conventional braces:
 +
 +> ''​[Text to appear in the document](hyperlink to the document)''​
 +
 +  * The text within the **square-braces** (which must always comes first) is displayed within the document in the style usually connected with a hyperlink. This may vary according to the web browser in use, but is usually blue and underlined.
 +  * The text within the **normal braces** (which must always come last) is hidden from the reader, and represents the link to the destination web resource.
 +
 +The following example therefore, would result in a clickable link to the Esferico ltd. website (ignore spaces - these have been added to prevent automatic formatting by the wiki):
 +
 +> ''​[Esferico Website](https : / / www. esferico. net)''​
 +
 +Note that if the [Hyperlink] menu option is selected, currently selected text is placed into the **plain-text** portion of the link. You are required to enter the hyperlink portion manually.
 +
 +=== Images ===
 +
 +The image MarkDown tag is at present the most complex MarkDown tag supported directly by the **//​LostPlot//​** menu. This takes the form of:
 +
 +> ''​![description](image_path "Alt Text"​)''​
 +
 +  * **Description** - This component, while a requirement of the MarkDown tag, is not currently utilised by the **//​LostPlot//​** MarkDown formatter. While it can be used by authors to give a description of the image, it will not translate into any visual component within the __Document__ pane.
 +
 +  * **Image_path** - This is the path to the image file which should be placed into the document. It can be a fully qualified URL (web address), or a relative address to an image stored within **//​LostPlot//​**. In the latter case, use the syntax ''​images:''​ followed by the image name, such as ''​images:​johns_passport.png''​. It is usual practice to avoid using spaces in file names, but where unavoidable replace spaces in the //tag// (i.e. not the actual file) with a '​+'​ symbol (the conventional web syntax for a space, preventing interpretation as a real syntax-relevant space). This will maintain the tag syntax, but still allow the display of images with spaces embedded in their file name.
 +
 +  * **Alt Text** - This component is a requirement of the web standards to provide a caption for the image where the image file can not be displayed (such as a missing file, but more importantly for text-readers). Not that the caption //must// be enclosed in double quotes and be separated from the image path by a single space. A prefix can be added to the Alt Text field however, which describes how the image is displayed in the __Document__ pane (see below).
 +
 +There are four options for prefixing format information within the Alt Caption component of the image tag, controlling where the image is displayed in the text:
 +
 +  * No Prefix - Entering just the caption, with no special prefix results in the image being included in-line using normal web--display rules and with no special considerations.
 +
 +  * **<<​** - Entering double left-arrows (e.g. ''"<<​caption"''​) results in the image being embedded in the text on the left hand side of the paragraph, with the following text wrapping around the image.
 +
 +  * **>>​** - Entering double right-arrows (e.g. ''">>​caption"''​) results in the image being embedded in the text on the right hand side of the paragraph, with the following text wrapping around the image.
 +
 +  * **><​** - Entering a right then left arrow (e.g. ''"><​caption"''​) results in the image being placed on its own line, centred in the page width. This is the most common and advised method of entering images as '​illustrations'​ in the document.
  
 ---- ----
lostplot/manual/writer_formatting.1636913073.txt.gz · Last modified: 2021/11/14 18:04 by admin