How to Show a Section Only in Print or Only in Your E-Book
A device-specific section goes into one edition of your book only: your print-ready PDF or your e-book. A hidden section stays in your project and goes into neither.
Set it from the section’s right-click menu in the sidebar. For a few paragraphs inside a section, use a device-specific block instead.
How to show a section only in print or only in your e-book
-
Right-click the section in the sidebar and choose Set Device Type.
-
Choose Ebook or Print.
| Choose | To put the section in |
|---|---|
| Any | Your e-book and print: every file. Where every section starts. |
| Ebook | Your e-book only: the EPUB and the eBook PDF. A phone marks the section. |
| Print only: your print-ready PDF and your Word document (DOCX). A book marks the section. | |
| Hidden | No file at all. The section stays in your project. A crossed-out eye marks it. |
| Split to Both Device Types | Two copies: one for your e-book, one for print. |
A mark beside the section shows where it goes:
| Beside the section | Means |
|---|---|
| A phone | E-book only. |
| A book | Print only. |
| A crossed-out eye, the name gray and italic | Hidden: in no file. |
| Nothing | In your e-book and print. |
To change several sections at once, select them and right-click one of them.
If the section is where your body matter begins, Lacuna asks Continue with this change?, because the edition you take it out of needs a new start. Click Continue, then right-click the section where that edition should begin and choose Begin body matter here.
How to preview a print-only or e-book-only section
The editor shows every section. The preview shows a section only on a device the section goes to. Otherwise it says so, or an e-reader stays on the section before it:
| Open | The preview shows |
|---|---|
| A print only section on an e-reader | The section before it: a print only section is not in the e-book, so the e-reader has no page to turn to (device-renderer.tsx:294 never raises the message). |
| A print only section on the eBook PDF | Device Incompatibility, and which preview to switch to. |
| An e-book only section on a print mode | Device Incompatibility, and which preview to switch to. |
| A hidden section, on any device | Section Hidden. |
Switch the device list at the top of the preview: an e-reader or the eBook PDF for an e-book section, a print mode for a print section. See how to choose a device and how to choose a print mode.
How to make one copy of a section for your e-book and one for print
- Right-click the section in the sidebar and choose Set Device Type › Split to Both Device Types.
You get two copies, one under the other, with the same title, text and settings: a phone marks the e-book copy and a book marks the print copy. Open each and change what differs. A split chapter keeps its number in both editions.
Split a section once: a section that already has its copy is skipped. To copy a section into one edition and leave the original in both, choose Clone › Clone as EPUB Only or Clone as Print Only instead.
How to hide a section from every export
Keep an outline, notes or a chapter you are not ready to publish in your project without putting it in your book.
- Right-click the section in the sidebar and choose Set Device Type › Hidden.
Its name turns gray and italic, with a crossed-out eye beside it. The section stays in the sidebar to open and edit, and the preview shows Section Hidden while it is open. A hidden chapter gives up its number to the next chapter.
To put it back in your book, choose Set Device Type › Any.
How to filter the sidebar by device type
-
Click Filter sections, the button beside Add New Section(s) at the bottom of the sidebar.
-
Under Filter by Device Type, untick the types to hide: Any (E-Book & Print), E-Book Only, Print Only or Hidden.
The button turns blue while a filter is on. Book parts and volumes always show. Click Reset Filters to show every section again.
Which sections each file includes
| In | Sections it includes |
|---|---|
| Your EPUB and eBook PDF | Any and Ebook sections. |
| Your print-ready PDF | Any and Print sections. |
| Your Word document (DOCX) | The same as print: Any and Print sections. |
| Every file | Never a Hidden section. |
Each file numbers only the chapters it includes, and its table of contents lists only the sections it includes. A Contents section you split uses each copy’s own settings for its edition.
Questions
Can I keep a draft chapter in my book without publishing it?
Yes. Right-click it and choose Set Device Type › Hidden. It stays in your project and goes into no file until you set it back to Any.
Why does the preview say Device Incompatibility?
The section is print only and the preview is on the eBook PDF, or e-book only and the preview is on a print mode. Switch the device, or set the section back to Any. An e-reader shows no message: it stays on the section before.
Why do two chapters have the same number in the sidebar?
One is hidden, or one is e-book only and the other print only. A hidden chapter keeps the number it would have, and the next chapter takes it too. An e-book chapter and a print chapter each count only in their own edition.