---
title: p.book.title
description: "## Syntax **p.book.title**   ## Purpose The p.book.title annotation is used to tag an element as being the full title of a book, including subtitles and additional title information. This annotation applies a tag which adds the element to the…"
url: "https://www.stilo.com/docs/migrate/book/p-book-title-2/"
updated: "2023-12-04"
category: Annotations / Book, Map and Bookmap
tags:
  - Annotations
---

# p.book.title

## Syntax

**p.book.title**

 

## Purpose

The p.book.title annotation is used to tag an element as being the full title of a book, including subtitles and additional title information. This annotation applies a tag which adds the element to the DITA bookmap’s metadata.

## Examples

The following is an example of a time where you might want to use the p.book.title annotation:

![](https://www.stilo.com/wp-content/uploads/2023/10/stilo-dita-xml-annotation-p.book_.title0_.png)

*Note: the relevant paragraph has been marked in bold for this example. The paragraph is not bold in the source document.*

The following is an example of a rule that will apply p.book.title:

![](https://www.stilo.com/wp-content/uploads/2023/12/stilo-dita-xml-annotation-p.book_.title1_.png)

The following is the DITA XML output for the previous rule (relevant portion in bold):

 

<booktitle>

**<title>MacGuffin User Manual First Edition</title>**

<mainbooktitle>MacGuffin User Manual</mainbooktitle>

<booktitlealt>MacGuffin Manual</booktitlealt>

<booklibrary>User Manuals</booklibrary>

</booktitle>

````
