/
Training Module: Generating a PDF (including page breaks)

Training Module: Generating a PDF (including page breaks)

This module will explain how to generate a PDF and how to insert page breaks to control the layout of your document in print format. You shouldn’t need to use page breaks very often as the PDF has been configured with appropriate ‘keep with next’ logic to make sure the document looks correct when printed.

Introduction

Generating and viewing a PDF

Exercises

Getting Started

Before you can draft a bill, you will need to create your own training project containing a half finished bill to continue drafting.
If you haven’t got one already, create a project containing a half finished bill:
The following steps will allow you to create the data required for this exercise.

  1. Download the XML document for the exercise by clicking on the link you’ve been provided with. By default, the downloaded file is usually placed in the “downloads” folder on your computer.

  2. Log in to Lawmaker.

  3. From the Dashboard, create a new project of the type you need for the exercise. Give it a title such as [Your Initials] Drafting a bill. (See Creating a new project.)

  4. From the Project tab for that project, select Document Actions > Upload document, and select the XML file for the exercise which you have downloaded. It can be uploaded into the default folder that has been created in the project. (See Create a new document by uploading an XML file.)

  5. On the newly uploaded document version, select Actions > Update Document Information and update the Title to match the title you originally gave the project.

  6. Duplicate this document version using Actions > Duplicate version and call the new version the name of this module. We will create a new document version per module.

  7. Open the duplicated version in the Editor

Exercise 1: Generate a PDF

This exercise takes you through the process of inserting provisions

If you haven’t already done so, duplicate the imported bill version and name it the description of this module so you can easily track work related to these exercises and open it in the Editor.

  1. From the Editor, select Document > Generate PDF

  2. Select the Generate button without changing any of the default settings and a PDF of your document will be generated


Exercise 2: Insert a page break

This exercise will show you how you can insert page breaks to control how it renders in print.

Step 1: Insert a page break

After section 1, insert a page break

  1. Place your cursor at the end of section 1(2) and select Insert > Insert Page Break

Step 2: Generate a PDF

Generate a PDF containing your page break

  1. From the Editor, select Document > Generate PDF

  2. Select the Generate button without changing any of the default settings and a PDF of your document will be generated

Step 3: Remove a page break

  1. Place your cursor in the page break

  2. Select Page Break from the breadcrumb and delete it


Exercise 3: Generate a PDF of a subset of provisions

Sometimes you might only be interested in printing one or a subset of provisions in your document.

Select a subset of provisions to print


Exercise 4: Generate a PDF with tracked changes and comments

You can optionally view tracked changes and comments in your document

Step 1: Insert tracked changes and comments

Turn on tracked change mode and recreate the following changes and comment in your document—

image-20250225-212855.png

Step 2: Generate a PDF showing tracked changes

Generate a PDF showing your tracked changes

Step 3: Generate a PDF showing changes applied and review comments

Generate a PDF showing changes applied and review comments


Exercise 5: Generate a PDF showing J-refs

You can optionally view J-refs in the margin and in cross references if you’ve used them in your document as part of drafting.

Step 1: Insert J-refs

First, you need to insert some J-refs into your document

Step 2: Insert cross reference containing the J-ref

Show J-refs in your cross references

Step 3: Generate a PDF showing J-refs in the margin and in cross references

Generate a PDF showing J-refs in the margin and in cross references


Exercise 6: Generate a PDF with a footer note

You can insert footer notes into the PDF of your document which can be useful if you want to mark it as draft or add a date/time. The footer note will appear on every page.


Exercise 7: View PDF snapshot

Every time you generate a PDF, a snapshot is created by default which can sometimes be useful if you want to revert back to an earlier version. This means you do not have to generate a PDF every time you want to see the document in PDF format. You can view the PDF from the snapshot.

You don’t have to generate a snapshot, simply de-select Record snapshot version under the Document version section in the Generate PDF dialog box

Related content

Training Module: Inserting, modifying and deleting provisions
Training Module: Inserting, modifying and deleting provisions
More like this
Training Module: Copying provisions between documents
Training Module: Copying provisions between documents
More like this
Training Module: Using the structure view (incl. moving provisions around a document)
Training Module: Using the structure view (incl. moving provisions around a document)
More like this
Training Module: Saving your document and using snapshots
Training Module: Saving your document and using snapshots
More like this
Training Module: Using document checks to validate your document
Training Module: Using document checks to validate your document
More like this
Training Module: Preparing the 'as introduced' version of the bill
Training Module: Preparing the 'as introduced' version of the bill
More like this