1 of 425

1

2 of 425

PTXprint – Bible Layout For Everyone!

Master Slides

Developed by: Martin Hosken, Mark Penny, David Gardner

2

3 of 425

What still needs to be added…

  1. How to save multiple sets of settings using configs (pros and cons; naming etc.)
  2. Thumb Tabs + incl. single sided
  3. Ornaments x2 kinds, including how to populate the ptxprint-mods.sty file
  4. How to set up dynamic borders and section headings
  5. Style Editor (needs more detail)
  6. Ptxprint-mods.tex and other special files in the advanced section
  7. a slide to discuss auto-correct USFM
  8. the different things that can go in the header or footer �(improve the slide about 2 languages in the header?)
  9. Codelet buttons on View+Edit
  10. Inserting \zrules, \zqrcode
  11. Creating and using .triggers files (‘inserts’?)
  12. Downloading and importing from picture data sets
  13. Slides ? 36-46 ? need to have newer screenshots

3

4 of 425

Background History

4

5 of 425

Why PTXprint?

Why is it so hard to get well-formatted scripture output �from Paratext? It needs to be made easier for everyone.

“There’s a tool missing from our toolbox”

5

6 of 425

6

7 of 425

7

8 of 425

Why PTXprint exists

To make it easy for translators to print Scripture

  • Universally available
  • Community driven
  • Stand-alone tool
  • Well supported
  • Rapidly fixed
  • Open Source
  • Free of cost
  • Archaic!

  • Uses Paratext data
  • Multiple outputs
  • Minimum effort
  • Instant results
  • Configurable
  • Easy to learn
  • Rapid setup
  • Scalable

8

Often broken but…

9 of 425

Who is behind this tool?

A collaborative, open source project led by SIL’s WSTech

PTXprint builds on a long and rich 45-year history!

← ← PTX2PDF ← PTXprint

1978 2004-2013 2004... 2020...

The current distributed development team consists of:

  • Martin Hosken (Project Lead, System Architect, TeX macros) - UK/TH
  • Mark Penny (UI Developer, Testing, Documentation) - IN/UK/NZ
  • David Gardner (TeX Macro Coding, Diglot Specialist) - UK/RO
  • David Coward (User Acceptance Testing) - US/ID
  • Nicolas Spalinger (Linux Packaging) - FR/US (and many other contributors)

9

10 of 425

Goals of PTXprint Bible Layout for Everyone

  • Putting you in control of your day-to-day typesetting needs
  • Empowering translation projects to be more self-sufficient
  • Reducing the load on overworked “professional” typesetters
  • A zero-cost alternative to the complex high-end tools (InDesign)
  • Lower the training curve (hours instead of weeks)

10

Ultimately, our goal is to get God’s word into the hands of people sooner, and more regularly in whichever formats are best for whichever audiences.

11 of 425

Not limited by just ONE layout

Use your imagination...

  • Draft for feedback and manual/written corrections
  • Diglot for the Translation Committee to compare with LWC
  • Di-script for people to learn to read in a new script
  • Story book format for children to enjoy reading scripture
  • Interlinear for consultants to understand the text better
  • Formal “Bible layout” for trial publications
  • Even final typesetting (if used by an experienced typesetter)

11

“the sky's the limit as to what you can produce yourself with PTXprint”

12 of 425

Capabilities

What it does:

What it doesn’t do:

  • Allow you to edit the text
  • Make you a good typesetter
  • HTML/web page output
  • Android/iOS App creation
  • ePubs for e-books (but it helps!)
  • Dictionaries (but it does glossaries)

12

  • Produces PDFs of Paratext (USFM) scripture
  • Can print a range of chapters, an entire book, a module, the whole NT or Bible
  • Works very fast and reliably
  • Helps keep your translation work in focus
  • Creates endless possibilities
  • Study Bibles (with limited options)
  • Peripheral materials (GLO, TDX, NDX, XXG)
  • Front and back matter
  • Wrap-around covers
  • Booklet pagination
  • PDF Finishing (RGB, B/W, CMYK, Spot-Color)

13 of 425

Advanced Features of PTXprint

What you can do with ease:

Possible with some pain:

Coming soon:

  • Decorative elements
  • Thumb tabs
  • Text borders (dynamic, text-based or static)
  • Decorative section headings
  • Use Graphite fonts (e.g. Scheherazade)
  • End of Ayah (for Arabic script publications)
  • Booklet pagination (2, 4, 8-up)
  • Aligned Polyglot Publications
  • Create Strong’s Index with Biblical Terms
  • On-the-fly QR code generation (Chapters)
  • Whitespace detection
  • Collision detection
  • Book Covers
  • Interlinear (main work in PT)
  • Complex on-the-fly interlinear*
  • Almost anything is possible with macros (+some support)
  • Marginal notes, x-refs and section headings

13

14 of 425

How are PTXprint and Paratext related?

Interdependent

PTXprint has been added to the Paratext menu* so it is available right away.

PTXprint makes use of PT’s Send/Recv functionality to share saved configurations

��*to replace the earlier option: PrintDraft / Export Draft PDF

14

15 of 425

Français

15

16 of 425

PTXprint is also happy to run on Linux

16

17 of 425

17

18 of 425

Example Outputs

18

19 of 425

19

20 of 425

20

21 of 425

21

22 of 425

22

23 of 425

23

24 of 425

24

T�o�p��T o��Bo t�t o m

L e f t T o R i g h t

25 of 425

25

26 of 425

26

27 of 425

27

28 of 425

28

29 of 425

29

30 of 425

30

31 of 425

31

32 of 425

32

33 of 425

How does it compare with PubAssist+InDesign?

PTXprint does have some limitations:

  • No ‘freedom’ to edit the text
  • Formatting is through styles + rules
  • Need to re-run to update the layout
  • Longer books are cumbersome
  • And you can’t pay for PTXprint 😁

33

34 of 425

How does it compare with PubAssist+InDesign?

PubAssist has some limitations too:

  • You can’t do interlinear layouts
  • Dynamic text borders are difficult
  • Impossible: polyglot, Graphite, QR…
  • Making last minute changes hurts
  • And you have to pay for InDesign 💵

34

35 of 425

35

36 of 425

Getting Started

36

37 of 425

Getting Started

Just search Google for �“PTXprint” or visit:�software.sil.org/ptxprint

  • Download
  • Install
  • Run

37

38 of 425

Download PTXprint

Download the installer for the Current Version

38

39 of 425

Download PTXprint

Run the Setup file, step through the options with Next >

39

40 of 425

Why use SumatraPDF? (isn’t Adobe good enough?)

40

Some PDF viewers allow the file to be updated while you are viewing it (without the need to close it first).

Adobe Acrobat PDF Reader doesn’t allow you to do this, and this gets rather frustrating very quickly.

When you get fed up of seeing this message, and closing the PDF before trying again, you’ll gladly switch over to using a more flexible, Open Source PDF viewer such as Sumatra PDF.

41 of 425

How to download SumatraPDF?

41

Easy as 1,2,3…

Then run the installer and you’re almost done.

42 of 425

How to set up SumatraPDF as default?

42

Click this folder icon to show the PDFs created by PTXprint.

43 of 425

Final tweaks for SumatraPDF Viewer

43

44 of 425

44

45 of 425

What if you’re NOT a Bible translator?

Anyone can use it…

  • Click on the Import Scripture button (see top right of Basic tab)
  • Install the Berean Standard Bible (BSB)� OR
  • Follow the 3 steps to download and install a scripture text (DBL etc.)�THEN
  • Choose one or more books to print and hit Print� OR
  • Download a Module* & create a derivative scripture product�(*customized scripture selections with optional bridging material)

45

46 of 425

Basic View should be adequate

46

1. Select a Project

2. Choose one book �or several books

3. Click Print

47 of 425

47

48 of 425

Loads of options but easy to get started...

48

49 of 425

But Mini View is also possible!

For users who only want the fewest possible settings.

49

50 of 425

Start with the defaults...

50

...and don’t change anything unless you’re curious, or need to fix something specific.

These tooltips �are everywhere. �So read them!

51 of 425

Book/Ch/Vs selection is very flexible

a) One or more Books, Ranges within books�b) Most Recently Used list

  1. JHN
  2. LUK ACT GLO BAK
  3. ROM 3-5
  4. JHN 21-ACT 3 JHN 21 ACT 1-3
  5. EXO 20:12-17 MAT 5:3-11
  6. JHN 19:17-end LUK 15:11-32 REV 21:1-22:21
  7. PSA PRO JOB SNG RUT LAM ECC EST DAN EZR NEH 1CH 2CH (Hebrew order)
  8. MAT MRK LUK JHN ACT ROM 1CO 2CO GAL EPH PHP COL 1TH 2TH 1TI 2TI TIT PHM HEB JAS 1PE 2PE 1JN 2JN 3JN JUD REV GLO BAK TDX XXB CNC

51

Practically anything decipherable is possible!

52 of 425

Twisties and Marker Style Links

52

53 of 425

Twisties and Marker Style Links

53

54 of 425

54

55 of 425

PDF Preview Pane - interactive!

55

56 of 425

PDF Preview Pane

56

Setting safe limits for shrinking and expanding �the text

57 of 425

Send Ref to Paratext

57

58 of 425

Managing Pictures with a Right-Click

58

59 of 425

PDF Preview Pane - any questions?

59

60 of 425

60

61 of 425

Help!

61

62 of 425

Don’t ignore the HELP tab!

62

63 of 425

Support Chatbot - experimental!

63

64 of 425

Tooltips are abundant! (Please use them)

64

With contextual help available on every option.

Over 400 options to customize!

65 of 425

But where is the user manual?

You may not need one !

Tooltips Practically everything you need to know is documented in the extensive built-in tooltips. Hover over an option or label to find out what it does.

The How to Use and FAQ pages on the main website have some useful information for more complex tasks.

There are several kinds of training videos:

https://vimeo.com/showcase/10946202 - Official Paratext PTXprint - Getting Startedhttps://vimeo.com/showcase/9331905 - multiple other videos

65

66 of 425

Info tooltips

External Cross-Reference Lists (description of each)

66

67 of 425

Info tooltips

View+Edit tab with details about codes that can be used in the Front Matter.

67

68 of 425

Searching for Settings

68

Use�to quickly locate what you’re looking for.

Try it now! Look for one of these obscure features:

  • Refresh captions
  • Underline thickness
  • Stretch a font
  • Watermark
  • Strong’s Numbers
  • Sidebars
  • Thumb tabs
  • Spine

69 of 425

How to handle errors and warnings

  • Pay attention to status bar messages
  • If errors or warnings have been detected, there will usually be some additional information to help

69

70 of 425

Diagnostic support is available

Diagnostic Error Messages

  • Scan the text at the top �to see if it gives a clue (!)
  • Look at the hints at the �end of the message
  • If it remains an unsolvable mystery send an e-mail but please include an archive

70

Argh!

71 of 425

Before you ask for help? Are you up-to-date?

71

A new version is released several times a month, so make sure you’ve got the latest version with known bugs fixed.

Keep an eye out for the “new version available” icon on the status bar.

Minor newer version available

Significant newer version available

You’re using a very old version!

72 of 425

PTXprint Community Site?

Help each other...

  • Recent releases news
  • Common questions
  • Feature requests
  • History of questions and solutions

You can helps the developers have more time to fix bugs and add new features

72

community.scripture.software.sil.org/c/ptxprint/27

We have moved!

73 of 425

PTXprint Community Site: support.bible/ptxprint

Help each other...

  • Easy to search for answers in the history (or use tags)
  • Ask new questions
  • Get rapid responses from other PTXprint users
  • Better than sending an e-mail as everyone learns & benefits
  • News of recent releases?

73

74 of 425

Contacting PTXprint_Support@sil.org

74

75 of 425

Google for them OR … Visit the PTXprint site

Google for videos

75

76 of 425

Training Videos at: vimeo.com/showcase/9331905

76

77 of 425

PT9.4 PTXprint videos: vimeo.com/showcase/10946202

77

78 of 425

78

79 of 425

Import Settings

79

80 of 425

Your Settings are safe (Configurations)

80

81 of 425

Settings are stored in a Config (folder of settings)

81

STOP! Think through the implications of when to create a new Configuration and how to name it.

A group of settings is called a Configuration.

These are saved in the Paratext Project’s shared folder.

They get shared with other project members when Send/Recv happens.

82 of 425

What is stored where

82

shared/ptxprint folder contains settings file

local/ptxprint contains tmp folders + pdf files

These temporary folders get removed (leaving just the PDFs)

83 of 425

You can Copy a Configuration to other projects

83

84 of 425

Copy Configuration (export) is good when…

  • You have access to the other projects you are �sharing with (via Paratext’s Send/Recv feature)
  • You have Edit access to those projects
  • All the settings are more-or-less the same

But these conditions could be rather rare!

“Why not make it possible to import someone else’s settings?”

84

85 of 425

Import Settings

  • Why have this feature?

Aiming towards a public gallery of PDFs.

  • You can submit sample PDFs to let others see what you’ve created
  • They can download and import those settings to emulate your setup

85

86 of 425

Import Settings (from PDFs, ZIPs or Other Configs)

Multiple options for

  • Source and Target
  • Which settings to import from the source

86

87 of 425

Import Settings (from PDFs, ZIPs or Other Configs)

*ptxp.pdf

*PTXprintArchive.zip

Project + Config

87

88 of 425

Import Settings

  • How is this different from “Copy config to Project XYZ”?
    • not dependent on you having access to their Paratext project via S/R
    • can import directly from any* PTXprint-created PDF or ZIP archive�(i.e. this is a pull for settings, not a push)
  • Prerequisites:
    • PDF created with 2.3 or later with embedded settings or a ZIP archive
  • Best practices:
  • create a new config
  • import PDF setting into it

88

89 of 425

89

90 of 425

90

Layout

91 of 425

Things to decide before setting layout options

91

From the end backwards (starting with a realistic vision of what the end product will look like)

Who is going to print it? And what is their �optimum page size and binding option?

What are their minimum margins? (+/- gutter, etc.)

Font size(s) and leading - have these been tested?

Single/Double column, and is hyphe- ← what?�nation even an option in the language?

Gutter rule? Horizontal rule? Headers, footers?

Footnotes, cross-references, glossary markup.

What else can you think of?

92 of 425

Layout - starts off simple (but gets complicated!)

92

Mini View: 5 controls

Basic View: 14 controls

Full View: 27 controls

93 of 425

Guides

93

94 of 425

Margins look very complicated (but interactive)

Hovering over a setting, or changing an option updates the exemplar:

94

95 of 425

Tip for optimizing settings

The cogs (or gears) do the hard maths for you to optimize settings.

95

96 of 425

How to easily get rid of those big gaps…

96

But there is more to learn later on…

97 of 425

Variable Line Spacing (short runs on thick paper in a hurry)

97

98 of 425

Headers and Footers

Think about these settings early on, and not just as an afterthought.

98

99 of 425

Layout

Demo and time for practice exercises

99

100 of 425

Practice Exercise:

100

Set up the Layout according to the following specifications:

  • Project: WSGBTpub
  • Page size: A5 (half of A4)
  • Left+Right, Top+Bottom margins: 10mm
  • Inner gutter: 5mm
  • 2-column layout, with a vertical rule
  • No horizontal rule below the header
  • Font: Gentium Book Basic
  • Font size and Spacing: 11/13.5
  • ½ blank line between top of text and header text
  • Optimize Lines Per Page
  • Apply a watermark which says DRAFT

101 of 425

101

102 of 425

Fonts, Scripts, Spacing, Hyphenation

102

103 of 425

Changing the font (Mini View)

103

By default, PTXprint will set the font to that which is used by Paratext.

But the Fonts+Scripts tab allows

you to set the underlying font(s) for

the entire document.

Notice that the options on the font chooser change depending on which view you are operating in.

Note that the Bold, Italic & Bold Italic typefaces will get filled in for you.

104 of 425

Changing the font (Basic View)

104

Notice that the options on the font chooser change depending on which view you are operating in:

The Basic View allows you to create Fake Bold/Italic typefaces for Fonts that only have a single face.

Questions: �1. Why are some font names listed in bold, and others in regular?

2. And why does it show (italic)?

105 of 425

Changing the font (Basic View)

105

106 of 425

Changing the font (Full View)

106

The Full View enables a LOT more options in the Font Chooser, including Digit (Script) mapping.

107 of 425

Inter-character Spacing Adjustments

107

Warning: This can have disastrous results in some situations!

This is a global setting on the Fonts+Script tab which impacts the entire document.

108 of 425

Why stretchable text is so important (1 of 2)

108

109 of 425

Why stretchable text is so important (1 of 2)

109

110 of 425

Why stretchable text is so important

110

111 of 425

Why stretchable text is so important (2 of 2)

111

Preventing�Widows & Orphans

Keep block �together

Stretch or� shrink this�paragraph

Column �Balancing

Footnotes

Pictures

Stretch or shrink this paragraph?

112 of 425

Adjustment List

112

Almost any paragraph can be forced to grow longer by an extra line

JHN 1.35 +1

JHN 1.42 +0[2]

JHN 1.43 +0

JHN 2.0 +0

But very few can shrink by one line.

JHN 2.1 +-1

JHN 3.1 +-0

JHN 3.9 -1

113 of 425

Adjustment List

113

Almost any paragraph can be forced to grow longer by an extra line

JHN 1.35 +1

JHN 1.42 +0[2]

JHN 1.43 +0

JHN 2.0 +0

But very few can shrink by one line.

JHN 2.1 +-1

JHN 3.1 +-0

JHN 3.9 -1

114 of 425

Adjusting the Layout? Out with the old. In with the new.�����

Just Right-Click!

114

115 of 425

You've just simplified my life…

115

I can't believe how much you've just simplified my life with the release of PTXprint 2.7.5. I'm just blown away at how easy it is to use the interactive PDF viewer page. It has turned a painful process into something that is, dare I say, "fun". I watched the video and was excited to try it myself. I ended up typesetting Galatians, Ephesians and 1 John in about 3 minutes each. It's taking a bit longer for Matthew just because XeTeX takes a while to rebuild and the Gospels have so many small sections with titles and cross-references. But seeing the colour bars on each paragraph as I scan forwards and backwards through the pages makes it so easy to see where a change might be causing a new problem and experiment with possible solutions and resetting them if they don't accomplish the desired outcome.

SK, An experienced typesetter

116 of 425

Shrinking and Expanding Paragraphs

116

Left side = Shrink

Line (tighter spacing)�

Text (compress chars)�

Line and Text

Right = Expand

Line (looser spacing)

Text (expand chars)�

Line and Text (manually)

117 of 425

Shrinking and Expanding Paragraphs

117

118 of 425

SpeedSlice

118

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

119 of 425

A little shrink can make a huge difference

119

A minimal shrink of the text can make things fit really nicely:

\p

\p^95

More details in in this snippet

120 of 425

Digit script settings & Stretch/Shrink

120

121 of 425

Hyphenation

Understanding difference between:� Paratext’s hyphenation (wordlist) file� and� PTXprint’s hyphen.tex file

If the team hasn’t done the hard work to mark appropriate hyphenation points, then it is impossible for TeX to hyphenate the text properly in an unknown language.

Roman script projects can “hope for the best” w.r.t. hyphenation points, but complex scripts usually need some smarter logic to prevent bad breaks.

121

122 of 425

Hyphenation can be very complex

Understanding syllable-based line breaking and/or hyphenation.

Available in these complex scripts: mymr, thai, arab, sinh, �mlym, taml, telu, knda, orya

Also note that if you have more words than the limit (63,929) PTXprint will automatically use the most likely words to be hyphenated (based on length and frequency).

And you can take further steps…

122

123 of 425

Setting Marker Fonts

123

124 of 425

Fallback Font

124

125 of 425

125

126 of 425

126

Body Tab Settings

127 of 425

What do you want to talk about?

127

128 of 425

Practice Exercise:

128

Adjust the styling of the Chapter \c and Verse \v numbers :

129 of 425

Introductory Outlines

129

130 of 425

Introductory Outlines . . . . . . . . . . Right-aligned

130

131 of 425

Introductory Outline formatting

131

\io1

\io2

\ior … \ior*

132 of 425

132

John begins

Luke finishes

133 of 425

Looking after orphan words (if possible)

133

134 of 425

Taking care of verse widow words!

134

Exodus 22:22 Do not mistreat widows or orphans. (CEV)

135 of 425

What about taking care of verse orphans?

135

Exodus 22:22 Do not mistreat widows or orphans. (CEV)

We will come to this later when we look at changes.txt

136 of 425

Configurable Marginal Verses

Marginal verse numbers have been around for a while

But now you can also select where they go on the page

136

137 of 425

Configurable Marginal Verses

137

138 of 425

Configurable Marginal Verses

138

139 of 425

Interactive Glossary

139

140 of 425

Glossary Markup options

140

  • If using either of the floor options, make sure you add a font that supports those markup characters
  • \zglm style allows you to style the Glossary markup appropriately
  • The last two options are very important if you want to stay in control and do your own styling
  • Note: Even None does something!�(it removes the \w word|...\w* markup)

141 of 425

\w character style

141

142 of 425

\zglm character style

142

143 of 425

Practice Exercise:

143

Make style adjustments for the headings:

\s Stretch=95%� Font: Calibri / Arial� Color: Dark Gray� Size: 0.98 = 10.8pt� Space Above: 0.50� Space Below: 0.00�

\r Stretch=98%� Size: 0.91 = 10.0pt� Space Above: 0.00� Space Below: 0.00�

Get glossary words \w �to appear in Bold Blue:

144 of 425

Other Features

144

  • “Optimize Layout”: Poetry books are really hard to typeset �(so allow these books to be unbalanced, and even ignore widows + orphans)
  • Note One/Two column layout is opposite to the prevailing number of cols

145 of 425

Column settings can be toggled per book

145

When working on a 2-col publication, you may want to have certain books with a 1-col layout (for example, Psalms, and Glossary).

146 of 425

146

147 of 425

147

148 of 425

Hanging Poetry Verse Numbers

148

149 of 425

149

150 of 425

150

Cross References (and Footnotes)

151 of 425

Footnotes are easy

151

152 of 425

Footnotes are easy…but wait, there’s more, and more!

152

153 of 425

153

154 of 425

Cross References are similar with a few extra options

154

155 of 425

External Cross-Reference Lists

One of the more powerful tools within PTXprint: Automatically include 1000’s of cross-references (without adding to your USFM text)

  • Why so many different lists?
  • What’s the difference between them?
  • How does the filter work?
  • Placement options �(esp. Side Align Notes)

155

156 of 425

External Cross-Reference Lists

One of the more powerful tools within PTXprint: Automatically include 1000’s of cross-references (without adding to your USFM text)

  • Why so many different lists?
  • What’s the difference between them?
  • How does the filter work?
  • Placement options �(esp. Side Align Notes)

156

157 of 425

Placement options for lists of cross-references

157

158 of 425

Side-aligned columnar references

158

159 of 425

Inner might waste less space

159

160 of 425

Center column references for 2-col layout

160

161 of 425

Practice Exercise:

161

Add an External List of Cross-references to the publication:

  • Use the Standard list (fewest)
  • Only include cross-references that point to one of the books in the current publication (JHN, 1,2,3JN and REV)
  • Place the cross-references below the footnotes
  • Do not use the existing �cross-references from �the project
  • End result should �look like this —--------→

162 of 425

162

163 of 425

163

Pictures (Handling Illustrations)

164 of 425

Global Options

164

165 of 425

How PTXprint looks for illustrations

165

  • My Paratext 9 Projects\<ProjID>\Figures ← usually low-resolution .jpg files (shared when Send/Receive takes place)
  • My Paratext 9 Projects\<ProjID>\local\figures ← high-resolution files (NOT shared by Send/Receive)
  • Users\<UserID>\AppData\Local\SIL\ptxprint\imagesets ← where PTXprint keeps any installed images
  • Custom folder: C:\Reference\Bible related\BiblePictures ← your images shared across multiple projects

166 of 425

Remove image borders

166

This is a global option so you can’t restrict it to certain images or books. Keep your maps in mind!

167 of 425

Details - for each illustration

167

  • Anchor Ref is very import for solving white space issues�(different to Caption Ref)
  • You can select multiple rows and change options �(e.g. to change the Scale)
  • Known illustration series (CN,CO, etc.) have automatic �© attribution.

168 of 425

Details - for each illustration

168

  • Refresh captions

����

  • Position on page

169 of 425

Illustration position options

169

170 of 425

Details - for each illustration

170

171 of 425

Mirroring Illustrations Left hand?

171

172 of 425

Mirroring Illustrations Right hand!

172

173 of 425

Can text wrap around images?

173

Q: Can text wrap to the right or left of images?

A: Yes, that’s called a cutout. Remember to scale the image to an appropriate size as well.

174 of 425

Checklist for Illustrations

174

  • picLists are stored along with the config (so each config can use different pictures)
  • But the Checklist information is shared across all the configs in the project (so you don’t have to repeat the work done earlier)

175 of 425

Copyrights and Credits are Important

175

And so easy �to generate automatically!

Even in other languages:

\zimagecopyrightsfr

\zimagecopyrightses

Languages supported: (en), hu, ro, fr, es, (id),

176 of 425

Automatic Credits (for known series)

176

ab | cn | co | hk | lb | bk | ba | dy | gt | dh | mh | mn | wa | dn | ib

177 of 425

Handling Sensitivity Issues

177

178 of 425

Practice Exercise:

178

Get the Pictures working for your publication:

  • Enable Pictures (on the Global Options tab)
  • Filter the PicList to only show pictures from JHN
  • Adjust the position and size of pictures as needed
  • Make sure that the image in JHN 9.6 is culturally appropriate for an Asian audience (mirror it!)
  • Adjust the Anchor Ref for any images that need to be moved in order to help fill & balance the page
  • Add the required Credit Overlay “© David C Cook” �to all the CN and CO illustrations

179 of 425

What to check if pictures don’t show up?

179

  1. Have the pictures been listed in the PicList?
  2. Are the pictures stored on your computer?
  3. Can PTXprint “see” them (do they show up in the preview window)
  4. Are all missing, or just some of them?
  5. Valid Anchor Refs? (does that verse exist? Or is it bridged?)
  6. Size? (perhaps too big)
  7. Too many on one page?

180 of 425

David C Cook illustrations

180

  • You need prior permission
  • Click Get Permission…
  • Fill in any missing values �on the Peripherals tab:
    • Country
    • Ethnologue Code
    • Language name
    • Book Title
    • Kind of publication
    • Number of copies
    • Publishing entity

181 of 425

David C Cook illustrations

181

  • You need prior permission
  • Click Get Permission…
  • Fill in any missing values �on the Peripherals tab:
    • Country
    • Ethnologue Code (langiso)
    • Language name
    • Book Title
    • Kind of publication
    • Number of copies
    • Publishing entity
  • Go back to the Pictures tab and click Get Permission…

182 of 425

Pre-filled Google Form

182

  • To use David C Cook illustrations, �you need prior permission
  • PTXprint fills in as many details as it knows�based on the information in the variables
  • If you provide the link to the Paratext project�in the Registry, this speeds up the approval
  • PTXprint builds the list of illustrations for�which permission is being sought

183 of 425

Pre-filled Google Form

183

  • To use David C Cook illustrations, �you need prior permission
  • PTXprint fills in as many details as it knows�based on the information in the variables
  • If you provide the link to the Paratext project�in the Registry, this speeds up the approval
  • PTXprint builds the list of illustrations for�which permission is being sought

184 of 425

Pre-filled Google Form

184

  • To use David C Cook illustrations, �you need prior permission
  • PTXprint fills in as many details as it knows�based on the information in the variables
  • If you provide the link to the Paratext project�in the Registry, this speeds up the approval
  • PTXprint builds the list of illustrations for�which permission is being sought

185 of 425

Pre-filled Google Form

185

  • To use David C Cook illustrations, �you need prior permission
  • PTXprint fills in as many details as it knows�based on the information in the variables
  • If you provide the link to the Paratext project�in the Registry, this speeds up the approval
  • PTXprint builds the list of illustrations for�which permission is being sought
  • And don’t forget to read the Terms of Use before you sign electronically. Then Submit

186 of 425

186

187 of 425

Getting Access to High Quality Illustrations

187

  • To gain access to the illustrations without watermarks, follow a similar process
  • Select High Resolution�(Larger File)
  • Click Request Access…
  • As usual, PTXprint fills �in as many details as it knows based on the information in the variables

188 of 425

Getting Access to High Quality Illustrations

188

189 of 425

Getting Access to High Quality Illustrations

189

190 of 425

Getting Access to High Quality Illustrations

190

  • After submitting the request, WAIT…�(<24 hrs for first time,�<2 mins subsequently)
  • Check your email…
  • Open the link
  • Download the .zip file
  • DO NOT unzip it (PTXprint will handle that for you)

191 of 425

Homework Exercise:

191

Obtain the High Quality Illustrations for your publication:

  • On the Basic tab select all the books in this publication
  • Follow the steps to obtain the illustrations needed
  • Fill in the Google form and submit it
  • Wait for a response from the Repository manager

  • Install the illustrations
  • Create the publication with appropriate credits

192 of 425

Downloading and Installing Illustrations

192

193 of 425

Image Catalogue (content still under construction)

193

194 of 425

Practice Exercise:

194

Add 2 or 3 new illustrations from the Catalogue:

  • Download the Sample image set (CC licensed)
  • Agree to the terms of use (it should auto-install them)
  • Filter on JHN and REV
  • Select several new images for the publication
  • Add these selected images to the PicList
  • Adjust the position, size and add a caption
  • Create the publication - check it works!

Think: What are the disadvantages of using this method?

195 of 425

Illustrations in Peripheral Books (FRT, BAK, GLO, etc.)

195

\periph Cover Page

\esb\cat frontpage\cat*

\zgap|.8in\*

\zmt2 కొండ బాసదు

\zmt1 నెగ్గి కబ్రు

\zgap|.8in\*

\zrule |cat="ornaments" width=".40" align="c" thick="7pt"\*

\zmt2 కొత్త ఒపుమానం

\zgap|1pt\*

\zrule |cat="ornaments" width=".40" align="c" thick="7pt"\*

\zgap|1.5in\*

\fig |src="C:\My Paratext 9 Projects\XYZ\local\KTDF\Logo 2-bw.png" size="span" pgpos="h" scale="0.18" copy="None"\fig*

\zmt3 కొండ ట్రయ్‍బల్ డవ్‍లాప్‍మెంట్ పవుండేసన్

\zgap|10pt\*

\esbe

196 of 425

196

197 of 425

197

Styles (and using the Style Editor)

198 of 425

Filter Styles to show markers in use

198

The Styles tab is very useful but also a little overwhelming.

Use the Filter button to only

show the styles in use for the current project.

199 of 425

Find Styles the easier way

199

Also note that you can search for any word, �not just the marker itself.

200 of 425

What do all these settings mean?

200

201 of 425

Styles are usually USFM markers (but not always)

201

mt1 = Main title = USFM \mt1

cat:coverfront|mt1 = Main title on the front cover

cat:coverspine|mt1 = Main title on the spine of the cover

id:GLO|mt1 = Main title in the GLOssary book

202 of 425

To create a new Style:

202

203 of 425

Sidebars tend to be used in Study Bibles

203

204 of 425

Sidebars have special settings

204

  • Position on page
  • Width (relative to the page)
  • Background Shading
  • Borders
  • Foreground (FG…)
  • Background (BG…)
  • Transparency (Alpha)

205 of 425

205

206 of 425

Diglot

206

207 of 425

Diglot → Polyglot

207

208 of 425

Add Diglot best practices from John Nystrom

(T1=pri, T2=sec)

  • Choosing the best merging options (depending on how closely the 2 projects align)
  • Getting the best combination of line spacing and column size
  • Pictures (especially with Dual captions)
  • Custom tools to help align pictures in Paratext USFM
  • Working with AdjLists and changes.txt
  • Handling 2 Configs at once (what you can and cannot do)
  • Front matter complexity
  • Back matter (especially Diglot GLOssary)
  • Polyglots?

208

209 of 425

Diglot, Di-script, Di-...imagine!

209

Primary

Secondary

210 of 425

Diglot, Di-script, Di-...imagine!

210

211 of 425

Clever use of color and fonts

211

212 of 425

New Diglot Settings Enable Much More

212

Primary

Secondary

213 of 425

213

214 of 425

…and Polyglot is now possible

214

215 of 425

215

216 of 425

The significance of Right-Click (context!)

216

217 of 425

Polyglot Layout is Customizable

217

218 of 425

What is versification? & Why it matters…

“No one worries about versification models until they put two texts side-by-side and then realize that something’s not right.”

218

219 of 425

Synchronize texts with different versification

219

220 of 425

What if you don’t have a secondary text?

220

221 of 425

Getting a text from the Digital Bible Library

221

Click the DBL button

222 of 425

Getting a text from the Open.Bible site

222

Then follow the 3 simple steps:�

Step 1. Click one of the blue links to � open a site & select a text

223 of 425

Getting a text from the Open.Bible site

223

224 of 425

Getting a text from the Open.Bible site

224

225 of 425

Getting a text from the Open.Bible site

225

If you just want the whole text as a PDF, then use that option (as is).

But if you want to create your own derivative scripture products, then select and download the USX file

226 of 425

Unpacking the text bundle

226

Step 2. Locate the downloaded DBL bundle

227 of 425

Unpacking the text bundle

227

Step 3. Assign a Name to the DBL Project

When you click OK PTXprint will:

a) Unzip the bundle in the right location

b) Create the appropriate settings file

c) Open the (new) project for you

228 of 425

Produce your own Hausa scripture portions

228

229 of 425

229

230 of 425

230

231 of 425

231

Special Layouts (incl. Study Bibles)

232 of 425

Special Layouts

Various options allow increased flexibility:

  • Reader edition - hide distracting ch+vs numbers, footnotes, x-refs
  • Journaling - single column layout with very wide outer margins
  • Conventional study Bible layout - possible for merged SB projects
  • Pastor’s study Bible - external list of cross-references, Strong’s index
  • Interactive Content using QR codes - possible but still experimental
  • Derivative scripture products - using modules
  • Concordance

232

233 of 425

Special Layouts

Your chance to !magine

233

234 of 425

Reader edition

234

  • No inline ch/vs numbers
  • No footnotes/x-refs
  • Simple “book” layout
  • Faint marginal verses of just 1st verse in each paragraph
  • Uses a .tex “snippet”

Snippets available here

235 of 425

Journaling Bible (outer margins with Notelines)

235

236 of 425

Study Bible Layout (with just 3 clicks!)

236

Extended footnotes are easy to make within your usual Paratext project. Just use \ef … \ef* �instead of \f …\f*

237 of 425

237

238 of 425

Sidebars (for study Bibles) can be set up too

238

239 of 425

239

240 of 425

Pastor’s Cross-reference Bible (Strong’s #)

240

241 of 425

Interactive Content (using generated QR codes)

241

\zqrcode|Hello\*

\zqrcode|pgpos="cr" size="1.2cm" data="This is the text shown"\*

\setcvhook{LUK7.50}{\zqrcode|pgpos="cr" background="1 1 0.5" colour="0 0 .5" size="1.5cm" data="jesusfilm.org/watch/�jesus.html/sinful-woman-forgiven/�southern-gondi-adilabad.html"\*}

We’re still working on how to make �this much easier for most people to �use for the JESUS Film clips and FCBH’s Lumo Gospel Films too.

242 of 425

242

243 of 425

Don’t edit your USFM text to insert QR codes!

243

244 of 425

Spreadsheet can generate a .trigger file

244

245 of 425

3-Column Concordance Layout

245

246 of 425

246

Derivative Scripture Products (Modules)

247 of 425

What kinds of Modules are available?

  • The Christmas Story Harmony
  • Proverbs arranged by Topic
  • OT Stories (from PNG)
  • Lives of the Prophets (Cerita Nabi, from Indonesia)
  • Children’s Bible (Bible Society of India)
  • Key Verses of the Bible
  • Verses used in the Power to Save booklet
  • Any homemade module (e.g. Important verses on Unity)

247

Use your imagination…

248 of 425

Where can I get modules from?

lingtran.net/Bible-Module-Repository

or just: tiny.cc/modules

Or you can create your own:

249 of 425

Or you can get really creative

You can even get ChatGPT to do some of the heavy lifting for you:

Did it work?

250 of 425

Yes!

251 of 425

Save it as a plain text file (with .sfm extension)

252 of 425

Did it work?

253 of 425

You can customize headings etc. as needed

254 of 425

Going beyond�our expectations!

255 of 425

256 of 425

257 of 425

258 of 425

259 of 425

260 of 425

261 of 425

261

262 of 425

262

Strong’s Numbers�Cross-References + Indexes (using PT’s Biblical Terms)

263 of 425

Sri Lankan Tamil example

263

264 of 425

Sharing the gold stored in PT’s Biblical Terms

264

265 of 425

Generate Strong’s Index

A powerful tool

Multilingual options

Configure as needed to create a customized index (usually in XXS).

Gets typeset along with all the other books.

265

266 of 425

This one dialog helps us pull it all together

266

267 of 425

267

268 of 425

268

Strong’s Index - tied to PT’s Key Biblical Terms

269 of 425

Strong’s Index Numbers (within text)

In-text markup relies on Biblical Terms Renderings in Paratext

269

270 of 425

Strong’s Index Numbers (within text)

So everything else becomes easy - just a few clicks away!

270

271 of 425

Strong’s Index Numbers (within text)

Styling for the \xts marker (Strong’s 4 digit cell)

271

272 of 425

Separate Indexes for Greek and Hebrew

272

Use the style \links to adjust the formatting for each of the elements

273 of 425

Why bother?

273

  • Sharing the gold previously locked up in PT’s Biblical Terms list �is extremely easy now
  • It takes < 10min to do (i.e. it costs you next to nothing to create)
  • It gives back to the people group the data they have created
  • It empowers students of God’s word to dig deeper - following �a particular Greek or Hebrew word through links
  • It can help connect their vernacular language to LWC
  • It can be printed as an appendix or stand-alone document
  • Consultants might benefit from a nicely formatted list of �the project’s key Biblical terms with all the renderings

So why wouldn’t�you do this?

274 of 425

274

275 of 425

Interlinear Text

275

276 of 425

Interlinear

276

277 of 425

Interlinear

277

278 of 425

Interlinear

278

279 of 425

Interlinear diglot

279

280 of 425

280

281 of 425

281

282 of 425

On-the-fly Interlinear (using a TECkit mapping)

282

283 of 425

On-the-fly Interlinear (it takes a bit of setup!)

283

# Wrap every Hebrew word in \zb ...\zb* in order to romanize each word

in "\\v \d+ .*(\\c |$)": "(\p{sc=Hebr}+)" > "\\zb \1\\zb*"

This looks messy, but enables

us to create an interlinear stack

for every word in the text.

When we generate a copy of the Hebrew word, and assign a style of int|zb, we can instruct the style definition to use a TECkit map (YiddishPasekh2Latin) which romanizes it on-the-fly.

284 of 425

On-the-fly Interlinear (and a bit more setup!)

284

This piece of .tex code does the clever work of duplicating the words and applying the right spacing and styles.

285 of 425

More Magic (3-levels using TECkit + PT interlinear)

285

Similar to the previous example but with Paratext’s interlinear data (using Ruby glossing markers.)

It is not expected that users will be able to set this up alone. Get help from your support person.

286 of 425

286

287 of 425

287

Ornaments

288 of 425

Decorative rules

288

289 of 425

Decorative rules

289

\zrule\*

Can optionally include parameters:�

  • width (as a proportion of �the col/page width)
  • align l=left, r=right, c=centre
  • thick (thickness of the rule in Points)

  • cat (applies styling using a category which can define ornamental rules)

\zrule|cat="ornaments3" width="0.3" align="r" thick="8pt"\*

290 of 425

Decorative rules

290

291 of 425

Decorative rules

291

# Add an ornamental ‘rule’ under the book’s main title

"(\\mt1 .+?\n)" > '\1\\zrule |cat="ornaments3"� width=".5" align="c" thick="8pt"\*\n'

# Or just add a plain rule/line under the book’s main title

"(\\mt1 .+?\n)" > '\1\\zrule |width=".5" align="c" thick="1pt"\*\n'

292 of 425

Decorative rules (how to define ornaments)

292

% The ornamental rule on the cover & the Lord's prayer page�

\Marker cat:ornaments3|zrule

\BorderColour 0 0 0

\BorderStyle VectorianRule1

\BorderLineWidth 0.2

\TextProperties publishable

%\BorderFillColour xFFC000

To use it:�\zrule |cat="ornaments3" width=".40" align="c" thick="7pt"\*

293 of 425

Ornaments for front page design

293

\Marker cat:frontpage|esb

\Position Fcf

\BoxPadding 0

\BorderHPadding -50

\BorderVPadding -55

\Border All

\BorderStyle ornaments

\BorderPatternTop 400|||8.0,0||*a,400|h||8.0

\BorderPatternBot 400|v||8.0,0||*a,400|d||8.0

\BorderPatternLeft 0|l|*a

\BorderPatternRight 0|r|*a

\BorderLineWidth 1

\BorderWidth 16

To use it:

\esb\cat frontpage\cat* …put everything else in here… \esbe

294 of 425

Ornaments for front page design

294

\periph Front Page

\esb\cat frontpage\cat*

\zgap|.8in\*

\zmt2 కొండ బాసదు

\zmt1 నెగ్గి కబ్రు

\zgap|.8in\*

\zrule |cat="ornaments" width=".40" align="c" thick="7pt"\*

\zmt2 కొత్త ఒపుమానం

\zgap|1pt\*

\zrule |cat="ornaments" width=".40" align="c" thick="7pt"\*

\zgap|1.5in\*

\fig |src="C:\My Paratext 9 Projects\XYZ\local\KTDF\Logo 2-bw.png" size="span" pgpos="h" scale="0.18" copy="None"\fig*

\zmt3 కొండ ట్రయ్‍బల్ డవ్‍లాప్‍మెంట్ పవుండేసన్

\zgap|10pt\*

\esbe

295 of 425

Page Borders (a) Dynamically Generated

295

296 of 425

296

297 of 425

297

Table of Contents (and Thumb Tabs)

298 of 425

Table of Contents (the simple way)

298

299 of 425

Or Insert Table of contents using Front Matter

299

\ip \ztoc|main\*

300 of 425

Table of Contents (in PTXprint’s local FRT file)

300

\rem ---------------------------------------------

\periph Table of Contents|id="contents"

\rem ---------------------------------------------

\mt \zvar|contentsheader\*

\is Books of the Old Testament

\ip \ztoc|ot\*

\is Books of the New Testament

\ip \ztoc|nt\*

\is Bible Study Materials

\ip \ztoc|post\*

The parameter for \ztoc|___\* can be any of the following:�main - includes all books as a single table

ot - only Old Testament books

nt - only New Testament books

dc - only Deutero-canonical books

pre - books before scripture (e.g. Introduction)

post - books after scripture (e.g. Glossary, maps, indexes)

heb - Hebrew order (OT books use a different sort order)

sorta - sort by 1st column of table (\toc1 order)

sortb - sort by 2nd column of table (\toc2 order)

sortc - sort by 3rd column of table (\toc3 order)

bible - all scripture books (OT, NT, DC)

biba - sort bible books by 1st column of table (\toc1 order)

bibb - sort bible books by 2nd column of table (\toc2 order)

bibc - sort bible books by 3rd column of table (\toc3 order)

If books don’t show up at all in the Table of Contents, then check to see if their \toc# fields are missing.

301 of 425

Keeping things distinct

301

\rem ---------------------------------------------

\periph Table of Contents|id="contents"

\rem ---------------------------------------------

\dopagenums

\resetpagenums -1

\mt3 \zvar|contentsheader\*

\ip \ztoc|nt\*

\b

\ip \ztoc|post\*

Separating scripture books in the ToC from other supplementary materials at the end of an NT

302 of 425

Sorting ToC - understanding the difference

302

What difference do these parameters make?�main - includes all books as a single table

sorta - sort by 1st column of table (\toc1 order)

sortb - sort by 2nd column of table (\toc2 order)

sortc - sort by 3rd column of table (\toc3 order)

303 of 425

Getting ToC columns to line up (across tables)

303

  1. On the Styles tab, select Tables category.
  2. Then select style cat:toc|tc1
  3. Change the Space Before Factor �(which sets the width of the 1st column �of all the Table of Contents tables)

304 of 425

Getting ToC columns to line up (across tables)

If the columns don’t line up correctly, you can adjust the column widths as needed �by modifying the �Space Before Factor:

cat:toc|tc1 0.70%

cat:toc|tc2 0.18%

304

305 of 425

Diglot Table of Contents

305

And for Diglots, just add an�L suffix (for Primary language) or �R suffix (for Secondary language) �to get the appropriate subsets.��Otherwise the Table of Contents gets both Pri & Sec languages mixed together.

\periph Table of Contents

\mt3 \zvar|pritoctitle\*

\ip \ztoc|mainL\*

\b

\mt3 \zvar|sectoctitle\*

\ip \ztoc|mainR\*

306 of 425

Mixing RTL and LTR ToCs in Diglots

306

Things can get quite complicated when you need both RTL and LTR tables in the same document!

But by using \zglot|R\* and \zglot|L\* you can make each side do the right thing.

307 of 425

Mixing RTL and LTR ToCs in Diglots

307

Tweak the cat:toc|tr style in EACH of the configurations to adjust the indentation for each side of the diglot.

  • The Alignment is set to “Left” even for the RTL ToC as PTXprint knows that Left→Right in RTL publications.
  • The Left (and Right) Indent Factors will need to be different if you have set a different Base Indent for each side of the diglot.

308 of 425

Thumb Tabs

308

309 of 425

Thumb Tabs bleed off the page (get cropped)

309

310 of 425

310

311 of 425

311

Peripheral Matter

312 of 425

312

313 of 425

Handling front matter (Peripherals tab)

313

  1. One (or more) PDFs can be imported BEFORE any PTXprint- generated content even starts.
  2. Table of Contents can be simple, or rather complex (defined in FRT)
  3. The actual content of Front matter is defined elsewhere �(on the View+Edit tab)
  4. Variables are used for convenience & link to FRT matter
  5. The Colophon is turned off when Front Matter is enabled
  6. One (or more) PDFs can be imported/attached AFTER all the PTXprint-generated content.

314 of 425

Generate PTXprint-local Front Matter

314

Basic: Front page, verso page & contents

Advanced: Much more material usually used for whole NT or Bible

Paratext: Makes a local copy of PT’s FRT book, and can be modified further as needed.

315 of 425

How Front Matter works

315

316 of 425

List of special codes (Creative Commons logos are built in)

316

There are some additional special codes

that can be used in PTXprint’s FRT definition

\zcopyright These three codes

\zlicense don’t have |variables

\zimagecopyrights or the closing \*

\fig |src="C:\path-to-my-file\cc-logo.png" size="col" pgpos="pc" scale="0.15"\fig*

Or use the built-in logos:

\ztoc|main\* - generate main Table of Contents

\zvar|variablename\* - insert the text of variablename from the table on the Peripherals tab

\zbl|3\* - leave 3 blank lines These last few codes don’t use a

\zgap|1.3cm\* - leave vertical gap (can also use mm, in, em, pt) preceding marker like \pc or \ip

\nopagenums \dopagenums \resetpagenums -1 (= start with i) but all the others need something.

\zccimg by-nd|size="col" pgpos="p" scale="0.20"\*

317 of 425

Shortcut Buttons (saves you from having to copy-paste codes)

317

318 of 425

Using the Advanced template for Front Matter

318

319 of 425

Working with QR codes

319

320 of 425

Working with QR codes

320

Note that the style id:FRT|m was created with an increased LeftMargin

321 of 425

Peripherals

321

The Basic template just uses these periphs:

\periph Title Page|id="title"

\periph Publication Data|id="pubdata"

\periph Table of Contents|id="contents"

The Advanced template adds a few others and should be edited/completed before use:

Title Page|id="title"

Publication Data|id="pubdata"

Foreword|id="foreword"

Preface|id="preface"

Table of Contents|id="contents"

Alphabetical Contents|id="alphacontents"

4 additional periphs for the cover: coverback, coverfront, coverspine and coverwhole

322 of 425

322

323 of 425

Wrap-around Covers

323

324 of 425

324

325 of 425

325

326 of 425

Creating a wrap-around Cover

  • Single sheet
  • Front, Back, Spine, Whole
  • Shading
  • Borders
  • Image(s)
  • Crop/Trim marks
  • Bleed
  • Title and Subtitle
  • ISBN (optional)

326

327 of 425

327

328 of 425

Metadata for the Cover Page

328

329 of 425

Cover to cover; everything is covered!

329

330 of 425

It can be harder than it looks!

330

331 of 425

Covers Can Be Tricky

331

332 of 425

Background or Foreground Image?

332

333 of 425

Getting the barcode just right…

333

334 of 425

And of course, RTL covers work too!

334

335 of 425

335

336 of 425

Getting the bar code just right…

336

337 of 425

Practice

337

1. Create a simple black and white cover page for the current publication with just titles and border (no spine needed).

2. Then add the other elements to create a full color cover page using the background image from the Resources2Share folder: CoverBackgroundImage.JPG

3. Bonus: add the text & ISBN on the back cover

338 of 425

338

339 of 425

339

340 of 425

340

Finishing Well

341 of 425

Summary Report

Access the post-typesetting report from the 🛈 button on the Preview Pane

or from the Help tab.

341

342 of 425

Summary Report

342

343 of 425

Whitespace detection (vertical rivers + horiz spacing)

Collision detection

343

344 of 425

Marginal Section Headings (coming soon)

344

345 of 425

Several new languages (still need your help to refine them)

345

346 of 425

Finishing Options

346

347 of 425

(a) Booklet Pagination

347

348 of 425

(a) Booklet Pagination

348

When printing back-to-back, flip paper on left (short) side

349 of 425

(a) Booklet Pagination

349

When printing back-to-back, flip paper on left (long) side

350 of 425

(a) Booklet Pagination

350

When printing back-to-back, flip paper on left (short) side

351 of 425

(a) Booklet Pagination

Tip: a) Create a 16-page PDF (by adjusting the chapters and/or font & spacing)

b) In Booklet Pagination, turn on 4-up (and increase Physical Paper Size A3)

c) Try printing it out on paper (with back to back enabled)

d) Make booklet (fold top-to-bottom, then left-to-right, staple & trim top)

If that doesn’t give you what you need, then try with Fold First checked and repeat

351

352 of 425

(b) Compare PDFs

352

353 of 425

(b) Compare PDFs

353

354 of 425

(b) Compare PDFs

If the Create Diff option is enabled, it will then:

  1. Create the normal PDF with the current settings
  2. Do a VISUAL comparison between �the previous PDF and the new PDF

The new PDF will appear first, and then… � … … … wait … … … wait! (be patient…)�IF there is a difference, then another “fuzzy gray” PDF will appear showing changes. Anything in gray is identical to the original. Red has fled. And Blue is new.

354

355 of 425

(b) Compare PDFs

355

356 of 425

(b) Compare PDFs

Why would anyone need this feature?

  • Change a setting - and see what difference it made
  • If the team updated the text, did it alter the layout or balancing at all?

Keep in mind:

  1. Any previously made PDF can be selected �(by default it compares to the previous “_1” version)
  2. It cannot compare PDFs with different page sizes
  3. If no *_diff.pdf file is created, then it usually means there were no differences
  4. Highly recommend “Only Show Pages with Differences” & a low Max Diff Pages
  5. The resulting *_diff.pdf files can be rather large (so tidy up afterwards)

356

Does it really work?

357 of 425

Accurate to spot even the smallest difference

357

358 of 425

(c) PDF Options

A handy way to:

(i) preserve your settings long term� and/or

(ii) share your layout with others

(without needing to have S/R access to each other’s projects)

358

359 of 425

(c) PDF Options

Pro: the original text is copyable from the PDF

Con: the original text is copyable from the PDF

(think about where this PDF is going�and how it might be used or abused)

359

360 of 425

(c) PDF Options

Print-CMYK (if using color)

Print-Gray (B/W avoids any color at all)

Print-Spot (two-color publication)

Screen (Quickest) with no post-processing

Digital-RGB

Digital-CMYK (Transparency)

360

Output formats for viewing on a device (on a screen)

Output formats for printed books (on paper)

361 of 425

(c) PDF Options

Print-Spot (two-color publication)

361

362 of 425

(c) PDF Options

362

363 of 425

363

364 of 425

What does Extra XDV Processing mean?

364

365 of 425

365

366 of 425

366

Extras

367 of 425

Show Unicode Character Codes

Select any segment of text in the View+Edit window, and use Alt-X to display the codes.

367

368 of 425

TeX Customization Code Snippets

  • Headers (and Footers)
    • Diglot Headers
    • Set custom page numbers (Header/Footer)
    • Page numbers on title page of a book (Header/Footer)
    • Set Custom Footers
  • Chapters
    • Nudge chapter number down at specific \nb chapters
    • Add QR codes before all chapter numbers
  • Verses
    • Show bridged verses at the start of chapters
    • Paragraph Initial Verses
    • Suppress hyphen between bridged verses
    • Avoid two marginal verses crashing into each other
    • Apply rounded rectangular box to bridged verses
  • Hooks
    • \sethook{pos}{mrkr}{code}
    • \setcvhook{#1}{code}
    • \setbookhook{pos}{GEN}{code}
    • \setbookhook{end}{final}{code}
    • \sethook{final}{afterincludes}{code}
    • \sethook{page}{2}{code}
    • \setbetweenhook{mkr1}{mkr2}{code}
  • Tweaks
    • Forces better calculation of the number of lines
    • Move the qr word up to the end of previous line (if space permits)
  • Strong's
    • Tabbed indent for glossary or Strong's index
    • Change Strong's numbers from the 4-digit cell into a 4-in-a-line number
  • Notes
    • Adjust space after \fr and \xo references
    • Reset callers (for \f and \x) at start of each book
    • Stylize the Notelines (color and dots)
    • Set a larger space before footnote caller in the text
  • Other
    • Force a book to start on an odd page
    • Special page numbering for a specific book
    • Horiz rule to fill left and right edges of \s2 titles
    • Table of Contents right-align column 2
    • Move colophon to after included pages
    • Apply end-of-book decoration to ALL books
    • Technique: Setting style parameters in ptxprint-mods.tex
    • Set different background images for different pages�
  • Tracing
    • B - Balancing o f - footnotes
    • F - fonts o g & P - figs, esbs, piclists
    • j - paragraph adjustments o m - milestones
    • o - output routines o s - stylesheet
    • T - triggers o Debug tracing

368

369 of 425

Code Snippets for Diglot Headers

369

370 of 425

Code Snippets for QR codes

370

371 of 425

Auto-generated QR Codes

Create an interactive layout with QR codes beside chapter numbers �to direct readers to more in-depth online content

371

372 of 425

Front Matter Code Snippets

  • Pages
    • \dopagenums
    • \nopagenums
    • \resetpagenums pnum
    • \zEmptyPage
    • \zNeedOddPage
    • \zNeedEvenPage
    • \zNeedQuadPage
    • \zfillsignature\*
  • Label
    • \zlabel|uniquelabel\*
    • \zpage|uniquelabel\*
    • \zref|id="uniquelabel" show="b_c:v"\*
  • Condition
    • \zifvarset|var="varname"\*
    • \ztruetext …\ztruetext\*
    • \zfalsetext …\zfalsetext\*
    • \zifhooks|marker\*
  • Diglot
    • \zglot|[L|R]\*
    • \zgetperiph|side="L|R" id="preface"\*
    • \ztoc|main[L|R]\*
  • Other
    • \beginL
    • \beginR
    • \singlecolumn
    • \doublecolumns
    • \ztmon
    • \ztmoff

  • Periph+Var
    • \periph
    • \zendperiph
    • \zgetperiph|id\*
    • \zvar|variablename\*
    • \zbl[|num]\*
    • \zgap[|dimen]\*
  • Image
    • \zfiga|anchor\*
    • \fig |src="path/to/filename.png" size="size" pgpos="pgpos" scale="0.2" copy="None"
  • Legal
    • \zcopyright
    • \zccimg by-nd|size="size" pgpos="pgpos" scale="scale"\*
    • \zimagecopyrights[LANG]
    • \zlicence
  • ISBN+QR
    • Generate ISBN bar code for a specific number.
    • Generate ISBN bar code (if ISBN number exists)
    • Generate QR code (to link to other content)
  • Contents
    • \ztocbefore…\ztocbefore*
    • \ip \ztoc[|order]\*
    • \ztocafter …. \ztocafter*
    • \zthumbtab bookname

372

373 of 425

Arranging ToC in 2 columns

373

374 of 425

changes.txt & SFM Code Snippets

  • Punctuation
    • Use narrow no-break space between single and double quote
    • French punctuation rules
    • Change spaces before final punctuation into no-break narrow space
  • Other
    • Drop (remove) an illustration
    • Combine \toc2 and \toc3 for Table of Contents
    • Use Section headers \s or \s1 for Table of Contents
    • Change \p to \nb
  • Arabic
    • Add Tatweels

SFMs

  • Insert
    • Insert a sidebar with Category
    • Insert a page break
    • Insert a picture
  • Rules/Lines
    • Insert a simple rule
    • Insert a short, thin rule
    • Insert an ornamental rule

  • Change
    • 'wrongword' > 'rightword'
    • at JHN 3:16 'world' > 'people of the world'
    • in '\f .+?\f*': 'Syria' > 'Aram'
    • at LUK 2:53 in '\f .+?\f*': 'Syria' > 'Aram'
  • Insert
    • Insert a page break
    • Insert line break within Intro Outline
    • Insert a rule before \c 1 starts
    • Insert a shorter rule before any chapter starts
    • Insert an ornamental rule before any chapter starts
    • Insert a page break at specific location
    • Insert a picture at specific reference
    • Insert book separator pages
  • Format
    • Add 3-letter book codes to headers (temporarily)
    • Allow linebreaks after in-word hyphens
    • Add \emdash after glossary keyword
    • Make glossary entries list items
    • Make \ior* consistent
    • 1-col for Poetry in 2-col layout
    • Auto lengthen poetry
    • Add section headers to Strong's index
    • Place GLO cross-references in parentheses
    • Suppress introductory material for some books

374

375 of 425

Autosave and Text Changed  

Autosave and Text Changed  

375

376 of 425

What is Quick Run used for?

PTXprint re-runs the job multiple times:

  • Lays out the text, then re-runs, �& re-runs…
  • Re-positions the chapter numbers, illustrations, and other “cutouts”
  • Generates the colophon text with illustration credits and page numbers
  • Creates table of contents

376

This tells PTXprint, I don’t need it perfect yet, so just run it once

377 of 425

Web links are smart for non-English users

377

378 of 425

But you can disable the (Google Translate) feature

378

379 of 425

And if needed, you can disable ALL Internet Use

379

380 of 425

380

381 of 425

381

Advanced / Technical Features

382 of 425

Apply changes

382

PrintDraftChanges.txt (at Project level) and so can be applied to every config.

changes.txt is config-specific and so only affects the current config.

C:\My Paratext 9 Projects\WSGlatin\shared\PTXprint\MyNTpublication

383 of 425

Kinds of things you can do in changes.txt

383

  • Fix things (temporarily), e.g. Spelling mistakes, or bad \usfm markup
  • Remove things (without affecting their project text)�at JHN 4 "\\fig .+?\\fig\*" > "" - drop the picture from John ch 4
  • Fix problems with mark-up�at 2CO 2:0; 2CO 7:0; COL 2:0; COL 4:0; HEB 10:0 "\\p" > "\\nb"
  • ‘Change’ styles - to apply very specify stretch/shrink to a paragraph�at MRK 1:8; 8:13; 14:36 "\\p" > "\\p^97" - shrink the text by 3%
  • Almost anything you want to do is possible using RegEx based rules�(this also provides an easy way to keep track of what needed to be tweaked)

384 of 425

Restricting changes.txt rules

384

  1. Unrestricted rules that apply globally

"Jesus" > "Yesu" # simple rule showing how to change X > Y everywhere it occurs

"(?<=\s[^\\]*\D)-(?=\D)" > "-\u200B" # complex RegEx rule which allow hyphens to break at end of line

  • Restrict changes to a specific book (or books)

at GLO "\\p \\k " > "\\ili \k " # Only in glossary, use the indented-list marker \ili in place of \p

at MAT;ACT;GAL;EPH "(\\c 1[ \r\n])" > "\\p\n\\pb\n\1" # For some books, force chapter 1 to start on a new page

  • Restrict changes to a specific book and chapter:

at JHN 2 "grape juice" > "wine" # for any occurrences of grape juice in John chapter 2

  • Restrict change to specify a book, chapter and verse with surgical precision:

at MAT 7:23 "आनि तेल्वि" > "आनि//तेल्वि" # Split the line right between these two words

at LUK 1:0; 2:24; 19:10; 19:13; 24:0 "\\p" > "\\p^95" # Apply a tighter (shrink) paragraph style at these locations�

  • Restrict change to anything found within a specified environment (talk about surgical precision!):

in "(?s)\\m Chorus:.+?\\m": "\\p" > "\\q1" # Change all \p to \q1 but only if between \m Chorus:\m

You can even combine these: at LUK 3:10 in "\\f .+?\\f\*": "Syria" > "Aram"

385 of 425

Restricting changes to an environment

385

Here, we want to shorten the Parallel Passage book names to that they easily squeeze onto a single line. So only in this context of \r … will the names be abbreviated.

in '\\r .+?\n': 'Matthew' > 'Mt'

in '\\r .+?\n': 'Mark' > 'Mk'

in '\\r .+?\n': 'Luke' > 'Lk'

in '\\r .+?\n': 'John' > 'Jn'

in '\\r .+?\n': 'Acts' > 'Ac'

386 of 425

Some ‘live’ examples (MRU)

386

  • Adding ornamental rules after \mt1
  • Applying SMALL CAPS \sc … \sc* to text*
  • Putting real Hebrew characters before the pronunciation

* When working from the live project without any edit access

387 of 425

Practice Exercise:

387

Write some Change rules to fix the following problems:

  • Change all the Parallel Passage References to shorter forms: Mt,Mk,Lk,Jn,Ac (and use the Ctrl-D duplicate shortcut)
  • Change the headers: 1st John, 2nd John, 3rd John� to be standard: 1 John, 2 John, 3 John
  • Remove the unwanted ‘[‘ and ‘]’ �brackets (keep the content between)�(And beware of: 5:3-4; 7:53–8:11)
  • Remove the string: [back-ref]
  • Remove the para break at ch 8

388 of 425

Some ‘live’ examples (Sinhala)

388

  • Wrapping English words in another style so that the right font is used
  • Tidying up spacing
  • Changing markup
  • Forcing words in specific places to hyphenate
  • Spelling corrections! :-)

389 of 425

Some ‘live’ examples (ESG)

389

  • Temporary fixes (until they can be fixed back in Paratext by the team)*
  • Insert page breaks, or horizontal rules
  • Add discretionary line breaks in poetry

* When working from the live project without any edit access

390 of 425

Multi-lingual headers (even in monoglot)

390

Did you know?�Some Bible publishers insist that the English book names also appear in the header!

391 of 425

Multi-lingual headers (automate \h1 insertion)

391

Look in Resources2Share: AddEnglishAlt-Header.txt

Or just copy the ID: "(\\id (...).+\n)" > "\1\\h1 \2\r\n"

392 of 425

Pre-processing the text with a custom script

392

Windows .bat (batch) file

Windows .exe executable

Python .py script

Linux .sh (shell) script

program infile outfile

393 of 425

Misc. Refinement Settings

393

394 of 425

Misc. Refinement Settings - reset values

Did you know?�You can reset values to their defaults

When you change a setting, the corresponding label becomes bold.

To reset the value back to the original default value, just click on the bold label.

394

395 of 425

Auto-tag \wh Hebrew\wh* & \wg Greek\wg* words

Getting rid of�Greek & Hebrew�tofu (empty boxes)

395

396 of 425

Auto-tag \wh Hebrew\wh* & \wg Greek\wg* words

Getting rid of�Greek & Hebrew�tofu (empty boxes)

396

397 of 425

Making Selah smarter!

397

398 of 425

Making Selah smarter!

398

  • Use a changes.txt rule to find and apply a custom character style to Selah

at PSA "\\qr Selah" > "\\zpqr Selah\\zpqr*" ← Simple rule where just \qr was used in USFM text

at PSA, HAB "(\\q[\s\r\n+])?\\qs Selah\.?\\qs\*\.?" > "\\zpqr Selah\\zpqr*" ← Or a more complex rule if needed

  • Set up a custom character style which will right-align and italicize Selah

  • Place code in ptxprint-mods.tex to use a ‘hook’

% Move the \zpqr word up to the end of previous line (if space permits)

\sethook{start}{zpqr}{\unskip\nobreak\hfill\penalty50\hskip0.3em\hbox{}\nobreak\hfill\hbox\bgroup}

\sethook{end}{zpqr}{\egroup}

399 of 425

Making Selah smarter!

399

Hint: Use the buttons on the right to insert this piece of TeX code, and then tweak the marker qr > zpqr

400 of 425

Right-aligned, and moves up if there is space

up

400

401 of 425

Clickable Links, and PDF bookmarks

Did you know? (for electronic PDFs) �You can create clickable links and PDF bookmarks.

\jmp Produce a link | link-id="here" link-title="There" link-href="http://elsewhere/"\jmp*

\jmp Produce a PDF bookmark | link-id="here" link-title="a bookmark to here"\jmp*

\jmp Produce a PDF bookmark | link-id="here" outline-entry="a bookmark to here"\jmp*

\jmp Produce a PDF bookmark and a link | link-id="here" outline-entry="a bookmark to here" link-href="http://elsewhere/"\jmp*

401

402 of 425

402

403 of 425

TeXpert Hacks

Also, did you know?�You can toggle highlighting on an option using Ctrl+Click

403

404 of 425

Commandline options

404

C:\Program Files\PTXprint\ptxprint.exe” -b ROM -c SingleSpaceDraft -P XYZ

Prints the book of Romans for Project XYZ

C:\Program Files\PTXprint\ptxprint.exe” -h� Displays list of arguments

405 of 425

Deploying PTXprint rapidly (silent install)

405

If you’re fed up of installing PTXprint on multiple devices (clicking through the Next >, Next >, Next > buttons, you can always run it silently using the parameters:��/VERYSILENT �/SUPPRESSMSGBOXES �/NORESTART

It will automatically open/start once the installation is complete.

406 of 425

Arabic-specific Features

406

407 of 425

Tatweel / Kashida Insertion

Used to lengthen words for neater justified Arabic text.

  • Right-Click on verse
  • Select Send Ref to Paratext
  • Switch over to Paratext
  • Copy the word to be lengthened
  • Place cursor within word(s) where kashidas need to be inserted
  • Use Ctrl-grave `to insert
  • Click Insert Rule

407

Note that this only changes the text during typesetting and does not affect the original USFM text in Paratext.

408 of 425

Viewer navigation is RTL-aware!

408

409 of 425

End of Ayah?

409

410 of 425

Colored diacritics for Arabic script

410

411 of 425

Contextual Spaces

411

412 of 425

Enabling Font Features

412

413 of 425

413

414 of 425

414

Setting Overrides

415 of 425

Project + Config Setting Overrides

  • You can LOCK settings so that they cannot be changed by the user�(shown as disabled)
  • You can LOCK settings so that they can be�*changed temporarily�by the user (until next time the config loads)
  • Why/When would you want to do this?

416 of 425

Project + Config Setting Overrides

  • Helps with consistency, standards, across multiple projects, or even multiple configs of the same project (making it harder to make mistakes, etc.)
  • This still allows (most) settings to be changed if needed.
  • But each time you open up a config, even though you may have accidentally �messed up the settings earlier, it will have the right default settings again.�
  • Project-level overrides are in this file: �My Paratext 9 Projects\<XyzProj>\shared\ptxprint\ptxprint_project.cfg
  • Config-level overrides are stored in the configuration’s sub-folder:�My Paratext 9 Projects\<XyzProj>\shared\ptxprint\<config>\ptxprint_override.cfg

416

417 of 425

Project Setting Overrides

  • Project-level overrides: �My Paratext 9 Projects\<XyzProj>\shared\ptxprint\�ptxprint_project.cfg
  • All configs used with this project will have these settings (common to all)

417

418 of 425

Config Setting Overrides

  • Config-level overrides (in config sub-folder):�My Paratext 9 Projects\<XyzProj>\shared\ptxprint\<config>\�ptxprint_override.cfg
  • Only this specific config will set these settings

418

419 of 425

Project + Config Setting Overrides

  • Easy to BLOCK users from changing certain complex settings which you don’t want them to change
  • The *star means “set this value BUT allow the user to change it if they want to”

Creating an override file is currently a �manual and complicated process:

  1. Open ptxprint.cfg in a text editor
  2. Save As… and name appropriately
  3. Delete lines you don’t wish to override
  4. Save + repeat for the other file if needed

419

420 of 425

420

421 of 425

421

422 of 425

The End

422

423 of 425

Okay, this really is the end

or a new beginning…

424 of 425

BLR Language Technology Workshop PLAN/sequence

424

425 of 425

PTXprint - Bible Layout for Everyone

Using the Preview Pane to fill the page

Mark Penny, Language Technology Senior Consultant, SIL International