Download User Guide - Turn

Transcript
Quick start guide
•
Use the Page Up and Page Down keys to move to the next or previous page.
•
•
•
Use the buttons on the Preview toolbar:
Use the items in the Page menu.
Expand the Pages item in the left-hand pane and double-click a page.
Now select File » Create PDF.... Press OK on the first dialog that opens to use the default options
and choose a location to store the PDF file in the second.
After the PDF is created it should open automatically in a PDF viewer application (such as Adobe®
Reader®). If it does not open, check that you have a suitable application installed and that it is
associated with the “.pdf” file extension in Windows.
2.3 Working with stylesheets
The PDF you created in the previous step is a tutorial that will introduce you to basic stylesheet
concepts. It is based on the partition that you used to create it.
Warning:
Experimenting with the tutorial partition is a good way to learn how stylesheets work.
However, note that the TopLeaf installer replaces files in the Demonstrations folder, so
any stylesheet changes you make will be lost if you install a new version.
After completing the tutorial you can find a description of how TopLeaf stylesheets work in
Chapter 3.
Once you are familiar with the basics, you will want to start working with your own content. The way
to get started depends on the sort of content you have. The following describes the process for
different types of data.
2.3.1 Getting started with DITA
DITA (Darwin Information Typing Architecture) is a standard for representing topic-based
documents in XML. As well as a schema it defines how specific tags should be processed during
publishing.
If your content conforms to the DITA specification you can make use of the resources provided with
TopLeaf to accelerate your stylesheet development. The way to use these resources depends on
the publishing environment you are using. There is a supplement to this documentation called the
TopLeaf for DITA Guide located at
http://www.turnkey.com.au/tksweb/xmtp/webhelp_out/guide.html that describes the available
options.
See Chapter 9 for information about the DITA-specific facilities in TopLeaf. It also describes the
DITA stylesheets which you can use as a starting point for your own stylesheet development.
2.3.2 Getting started with other XML
TopLeaf can be used to format any well-formed XML content. The XML does not need to be valid
with respect to a specific DTD or schema.
The following will guide you through the process of creating an initial stylesheet from some content.
It assumes that the content is available on the local file system. If your content is stored in a content
management system you will need to extract a copy to the file system. If it refers to other resources
(such as images) make sure these are copied as well.
Page 5