catbase logo

Publishing a Catalogue

Publishing a Catalogue with QuarkXPress

CatBase makes it easy to publish your catalogue using QuarkXPress. It does all the hard, boring work for you! The process, in a nutshell, goes like this:

1. Get your data into the CatBase database. You can either enter it manually, import a delimited text file, or (Data Chameleon Edition) retrieve it from a MySql or ODBC-compliant database or spreadsheet (such as Microsoft SqlServer, Access, etc.)
2. Set up Style Sheets in CatBase. These tell CatBase what data you want to publish and how you want it sorted and formatted. You can have any number of Style Sheets, so you can publish your data in lots of different ways (and to various publishing destinations).
3. Select the records you want to publish.
4. Export the data to a text file, using one of your Style Sheets.
5. Import that text file into your Quark template. All the text is - magically - formatted exactly as you want it to be, even with pictures included if appropriate! (Including pictures requires the use of the XTags plugin for Quark).

OK then, let's see just how easy it is!

For the purposes of this Tutorial, we are using the Demo Database that is supplied with the CatBase Demo. If you would like to follow along and try it for yourself, you can download the fully-functional Demo from here.

Publish a Catalogue with Pictures

For this example we are going to create a catalog that shows photographs offered for sale by our fictitious stock photo agency, Castlephotos. The photos are organised into Categories; the Categories are sorted in alphabetical order with the appropriate photos listed under each one, also sorted alphabetically by name. For each picture we will include the following data:

Stage One: Preparing to Publish

Step One: Set up a Publishing Style Sheet

Publishing Style Sheets tell CatBase:

The Publishing Style Sheet we are using for this project is called Picture Catalogue by Category (to view or edit Publishing Style Sheets, click on the Style Sheets button on the main window and choose Publishing Style Sheets from the pop-up menu). It looks like this:

Publishing Style Sheet

To specify the formatting of the Category headings, click on the Category Settings tab (in our example, we've chosen to use pictures for the headings).

Perhaps the most important thing here is the list of Paragraphs. This is where we specify exactly what data is going to be published and how it will be formatted. For example, the first paragraph will be the picture name, and it will be formatted using a style sheet called "Name". Paragraphs can contain any number of elements; there are seven element types:

Elements are the building blocks of paragraphs.

A quick look at the Prices paragraph (double-click on it in the list of Paragraphs) shows us that it is comprised of four elements:

Elements

The detailed workings of Publishing Style Sheets are covered in a separate Tutorial.

Step Two: Select the data you want to publish

You can create Sets, which are groups of records meeting certain criteria. Sets can be automatically updated by the Event Scheduler. For this example, our data is sorted by Category, so we've created a Set called All Categories.

Step Three: Create a Publishing Project

With Publishing Projects, you don't need to remember the specific parameters for each project: which Set of data to use, which Publishing Style Sheet, etc. We've created one called Catalog by Category for Quark.

Stage Two: Ready to Publish

Step One: Publish the data

Click on the Publish data button in the main window and choose Catalog by Category for Quark from the pop-up menu. CatBase creates the transfer file and saves it into the specified folder (if you have not specified a folder in the Project, it will go into a folder called Data Exports on your desktop).

Step Two: Import the transfer file into your Quark template

Note: You must have the Xtags Xtension installed in the Xtension folder in your Quark folder, otherwise you will get an error message when you try to place the file. We have included a demo version of Xtags with our demo (you'll find it in the 3rd Party Demos folder).

Open up your QuarkXPress template, or create a new document. We have included a simple template in the Goodies folder with the CatBase demo. If you create a new document, you MUST save it into the CatBase folder first, otherwise the pictures will not import.

We have set up the Demo with relative path names for all the pictures. They are all in a folder called Pictures, which is in the CatBase folder. In order for the pictures to import correctly, your Quark document must also be in the CatBase folder.

Now for the fun part ...

Watch in amazement as the catalogue is created before your very eyes! It should look like this:

catalog

"Animals" is the top-level Category

"Bears" is a sub-category.

The product information consists of:

- Picture name

- The picture itself

- A description

- The photographer's name

- Pricing information

... and it was all formatted automatically!

It really is that simple!

What do do next ...

About Us | Site Map | Privacy Policy | Contact Us | ©2007 CatBase Software Ltd.