X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/672e462641c3843b10089d25855397d1d92e4962..16ea3abeef2cdf062cd0270d920fc5ed47f94ff9:/doc/input.but diff --git a/doc/input.but b/doc/input.but index 7755d57..31c9f8d 100644 --- a/doc/input.but +++ b/doc/input.but @@ -308,14 +308,14 @@ omitted. So you can put a pair of braces after the \c{\\u} command containing fallback text. For example, to specify an amount of money in euros, you might write this: -\c This is likely to cost \u20AC{EUR }2500 at least. +\c This is likely to cost \u20AC{EUR\_}2500 at least. Halibut will render that as a Euro sign \e{if available}, and -the text \q{EUR } if not. In the output format you're currently +the text \q{EUR\_} if not. In the output format you're currently reading in, the above input generates this: \quote{ -This is likely to cost \u20AC{EUR }2500 at least. +This is likely to cost \u20AC{EUR\_}2500 at least. } If you read it in other formats, you may see different results. @@ -878,14 +878,14 @@ of a paragraph, and then just follow it with normal text, like this: The three special paragraph types are: -\dt \c{\\title} +\dt \cw{\\title} \dd This defines the overall title of the entire document. This title is treated specially in some output formats (for example, it's used in a \cw{} tag in the HTML output), so it needs a special paragraph type to point it out. -\dt \c{\\copyright} +\dt \cw{\\copyright} \dd This command indicates that the paragraph attached to it contains a copyright statement for the document. This text is @@ -895,7 +895,7 @@ is given additional special treatment. For example, Windows Help files have a standard slot in which to store a copyright notice, so that other software can display it prominently. -\dt \c{\\versionid} +\dt \cw{\\versionid} \dd This command indicates that the paragraph contains a version identifier, such as those produced by CVS (of the form \c{$\#{hope this @@ -1181,7 +1181,7 @@ appendices. In addition to these configuration commands, there are also configuration commands provided by each individual output format. These configuration commands are discussed along with each output -format, in FIXME. +format, in \k{output}. \H{input-macro} Defining macros @@ -1193,13 +1193,13 @@ In \k{input-unicode}, there is a sample piece of code which prints a Euro sign, or replaces it with \q{EUR} if the Euro sign is not available: -\c This is likely to cost \u20AC{EUR }2500 at least. +\c This is likely to cost \u20AC{EUR\_}2500 at least. If your document quotes a \e{lot} of prices in Euros, you might not want to spend all your time typing that out. So you could define a macro, using the \c{\\define} command: -\c \define{eur} \u20AC{EUR } +\c \define{eur} \u20AC{EUR\_} Then you can just write ...