summaryrefslogtreecommitdiff
path: root/doc/input.but
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-03-26 18:18:57 +0000
committerSimon Tatham <anakin@pobox.com>2004-03-26 18:18:57 +0000
commit086c683684f8eeead39fc664f829804276150d0a (patch)
treedf35d9ecf0718db93de1324f7aa9a46174262a2a /doc/input.but
parent6b06f96f6c5e70a952e923a3d154f82402ec5cce (diff)
downloadhalibut-086c683684f8eeead39fc664f829804276150d0a.zip
halibut-086c683684f8eeead39fc664f829804276150d0a.tar.gz
halibut-086c683684f8eeead39fc664f829804276150d0a.tar.bz2
halibut-086c683684f8eeead39fc664f829804276150d0a.tar.xz
Second instalment of the manual: added a chapter on output formats.
I _think_ the manual now contains all the information a user should need, even if not yet in an optimal order for a beginner to learn from. [originally from svn r3989]
Diffstat (limited to 'doc/input.but')
-rw-r--r--doc/input.but18
1 files changed, 9 insertions, 9 deletions
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{<title>} 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 ...