summaryrefslogtreecommitdiff
path: root/docview
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-25 16:19:00 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2011-07-25 16:19:00 +0200
commit8955692e201887391e65048d23900936d854618d (patch)
tree36b5717741655fc60729b5789239ed07d311e9af /docview
parent575d3f582674f5135cc084fb0f27250700f8a935 (diff)
downloadfpGUI-8955692e201887391e65048d23900936d854618d.tar.xz
docview help: fixed the formatting of example text.
- corrected the indentation level of example code - added two missing paragraph symbols that should have appeared after example text.
Diffstat (limited to 'docview')
-rw-r--r--docview/docs/docview.ipf25
1 files changed, 17 insertions, 8 deletions
diff --git a/docview/docs/docview.ipf b/docview/docs/docview.ipf
index baa80cc3..266f5dd8 100644
--- a/docview/docs/docview.ipf
+++ b/docview/docs/docview.ipf
@@ -966,30 +966,39 @@ how to compile it into a binary INF file - viewable with DocView of course. ;-)
:p.
Lets create a text file and call it "sample.ipf". Then type in the following using
your favourite text editor.
+
:xmp.
- &colon.userdoc.
- &colon.title. Sample INF file...
- &colon.h1.Header One
- &colon.p.This is a sample file with one header in the table of content.
- &colon.p.This is paragraph two of this single header.
- &colon.euserdoc.
+ &colon.userdoc.
+ &colon.title. Sample INF file...
+ &colon.h1.Header One
+ &colon.p.This is a sample file with one header in the table of content.
+ &colon.p.This is paragraph two of this single header.
+ &colon.euserdoc.
:exmp.
+
:p.
Save the document and close your editor. Now we have the source of our first help
file. Now all that remains is to compile it into a binary INF file.
+
:p.
To use the WIPC compiler, we need to setup an environment variable so the compiler
can find some of it's support files.
+
:p.
We do this as follows under Linux.
+
:xmp.
- export WIPFC=~/apps/wipfc/
+ export WIPFC=~/apps/wipfc/
:exmp.
+
+:p.
...or as follows under Windows.
+
:xmp.
- set WIPFC=C:\apps\wipfc\
+ set WIPFC=C:\apps\wipfc\
:exmp.
+:p.
I normally setup my computer so that those settings are permantantly set when my
computer boots up. I also make sure the "wipfc" executable is setup in the system
search path so I can run it form anywhere on my system. Now we are ready to compile