Book settings: Difference between revisions

From MoodleDocs
(content moved from Using Book, importing chapters)
 
(36 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Book}}
{{Book}}
==Adding a book==
This page explores in more detail the settings for the Book resource once you have added it to your course and also covers the Site administration settings.
Turn on editing in your course and choose the book resource from the drop down resources menu.
==General==
 
Give the Book a name and a description if required, checking the box if you want the description to display on the course page.
=== Give your book a name and a summary ===
==Appearance==
 
;Chapter formatting
Tell your students what your book is called and provide a brief description of its content. Keep in mind that ''the name you give your book will become the text for the link to it'' on your main course page. This is true of all the activities you create in Moodle.
:The options are:
 
* None - chapter and subchapter titles are not formatted at all, use if you want to define special numbering styles. For example, letters: in chapter title type "A First Chapter", "A.1 Some Subchapter",...
[[Image:Book2.png|frame|none|add name and summary]]
 
=== Indicate how you want chapters numbered ===
 
There are several predefined numbering types:  
 
* None - chapter and subchapter titles are not formatted at all, use if you want to define special numbering styles. For example letters: in chapter title type "A First Chapter", "A.1 Some Subchapter",...


* Numbers - chapters and subchapters are numbered (1, 1.1, 1.2, 2, ...)
* Numbers - chapters and subchapters are numbered (1, 1.1, 1.2, 2, ...)
Line 21: Line 14:
* Indented - subchapters are indented.
* Indented - subchapters are indented.


[[Image:Book3.png|frame|none|define numbering]]
Note that the width of the table of contents is set by the administrator of your site.


=== Enable or disable printing ===
;Custom titles
:If you disallow custom titles, the chapter title (the one that appears on the table of contents) will appear as a header at the top of your content (''1 below'') If you enable custom titles, you will be able to create a title different from the one that appears in the ToC or display no title at all (''2 below'') If you enable custom titles, you will need to enter the chapter title as part of the page content.
{|
|[[File:customtitles.png|thumb|Example of a custom title.]]
|}
==Other settings==
Depending on what is enabled for your site and course, you may also need to explore [[Common module settings]], [[Restrict access]], [[Activity completion]], [[Tags]] and [[Competencies]].
==Site administration settings==
The administrator can set the default values for chapter formatting and navigational links in ''Administration > Site administration > Plugins > Activity modules > Book.''
==Adding chapters and subchapters==
Titles of chapters appear as links in the table of contents to the left of your content. It is recommended to keep your titles short.


''Disabling printing'' means hiding the print icons. (The print option is one of this resource's most popular features, so you might not want to disable it.)
To add a chapter:
 
# Turn editing on via the link in the Book administration or, in Moodle 3.1.3 onwards, by clicking the 'Turn editing on' button at the top right of the page.
[[Image:Book4.png|frame|none|allow printing?]]
# Click on the '''+''' icon in the Table of Contents or first chapter. The new chapter will be inserted directly after the chapter whose title is on the same line as the red cross you click (Screenshot 1).
 
Note that the sub chapter box is checked. A chapter may have many sub chapters, but sub chapters cannot have further sub chapters. In order to keep this resource simple, you are limited to two levels (Screenshot 2).
=== Allow or disallow custom titles ===
 
If you disallow custom titles, the chapter title (the one that appears on the table of contents)  will appear as a header at the top of your content. If you enable custom titles, you will be able to create a title different from the one that appears in the ToC or display no title at all. If you enable custom titles, you will need to enter the chapter title as part of the page content.
 
[[Image:Book5.png|frame|none|permit custom titles?]]
 
[[Image:Custom_title.jpg|frame|none|Custom Titles Enabled: The custom title (red arrow) is different than the title in the table of contents (green arrow).]]
 
[[Image:Custom_title2.jpg|frame|none|Custom Titles Disabled: The titles in the table of contents and in the chapter are the same.]]
 
== Add a chapter ==
 
Titles of chapters appear as links in the table of contents to the left of your content. Keep your titles short.
 
[[Image:Book6.png|frame|none|add a chapter]]
 
=== View work to date ===
 
So far, you see the table of contents on the left and the content on the right. Note the print icons near the top.
 
To add another chapter, click on the red cross in the Table of Contents or first chapter. The new chapter will be inserted directly after the chapter whose title is on the same line as the red cross you click.
 
[[Image:Book7.png|frame|none|so far, so good]]
 
== Add a sub chapter ==
 
Note that the sub chapter box is checked. A chapter may have many sub chapters, but sub chapters cannot have subchapters. In order to keep this resource simple, you are limted to two levels.
 
[[Image:Book8.png|frame|none|add a sub chapter]]


You now see a chapter and a sub chapter. Because we did not elect to number chapters, the fact that the second chapter is a sub chapter cannot be seen in the table of contents. Note that you do, however, see this in the title above the content.
You now see a chapter and a sub chapter. Because we did not elect to number chapters, the fact that the second chapter is a sub chapter cannot be seen in the table of contents. Note that you do, however, see this in the title above the content.


By the way, the items in the table of contents are neither numbered nor are they indented only because that is the option we chose when setting up the book. We can always go back and change that.
By the way, the items in the table of contents are neither numbered nor are they indented only because that is the option we chose when setting up the book. We can always go back and change that (Screenshot 3).
 
{|
[[Image:Book9.png|frame|none|better and better]]
|[[File:addnewchapter.png|thumb|(1) Adding a new chapter]]
|[[File:subchapter.png|thumb|(2) Adding a subchapter]]
|[[File:viewofsubchapter.png|thumb|(3) View of subchapter]]
|}
When you have finished adding chapters and subchapters, you can turn editing off.
===Tags===
A teacher (or any other user with editing rights) can tag book chapters.


Tags can be managed by a site administrator in [[Managing tags|Manage tags]] in the Site administration. Book chapter tags may be added to a specified tag collection and standard tags may be suggested or forced. If desired, book chapter tagging may be disabled completely.
==Importing chapters==
==Importing chapters==
To import chapters
To import chapters
 
*Create a zip file of HTML files and optional multimedia files and folders. If you wish to upload subchapters, add "_sub" to the end of HTML file or folder names.
# Create a zip file of HTML files and optional multimedia files and folders. If you wish to upload subchapters, add "_sub" to the end of HTML file or folder names.
*Go to Administration > Book administration > Import chapter
# Go to Settings > Book administration > Import chapter
*Choose whether each HTML file or folder represents one chapter
# Choose whether each HTML file or folder represents one chapter
*Browse for and select the zip file, either using the Add button or the drag and drop method:
# Browse for and select the zip file
{|
# Click the import button
|[[File:importbook.png|thumb|Import book]]
 
|}
Note: Relative file links are converted to absolute chapter links. Images, Flash and Java are relinked too. Remember to upload images and multimedia files as well as HTML files.
*Click the import button
 
Note: Relative file links are converted to absolute chapter links. Images, Flash and Java are re-linked too. Remember to upload images and multimedia files as well as HTML files.
===Importing chapters from existing content===
There are a number of contributed plugins which support importing content into books from other formats.
*[https://moodle.org/plugins/booktool_importepub Lucimoo epub import] supports importing content from ePub files.
*[https://moodle.org/plugins/booktool_wordimport Word import] supports importing content from Word (''.docx'') files. See [[How to prepare a Word file for import into a Book]] resource.
==Book capabilities==
==Book capabilities==
*[[Capabilities/mod/book:edit|Edit book chapters]]
*[[Capabilities/mod/book:edit|Edit book chapters]]
*[[Capabilities/mod/book:read|Read book]]
*[[Capabilities/mod/book:read|Read book]]
Line 87: Line 67:
*[[Capabilities/booktool/importhtml:import|Import chapters]]
*[[Capabilities/booktool/importhtml:import|Import chapters]]
*[[Capabilities/booktool/print:print|Print book]]
*[[Capabilities/booktool/print:print|Print book]]
*[[Capabilities/mod/book:addinstance|Add a new book]]
[[de:Buch konfigurieren]]
[[es:Configuraciones de libro]]

Latest revision as of 15:55, 2 August 2022

This page explores in more detail the settings for the Book resource once you have added it to your course and also covers the Site administration settings.

General

Give the Book a name and a description if required, checking the box if you want the description to display on the course page.

Appearance

Chapter formatting
The options are:
  • None - chapter and subchapter titles are not formatted at all, use if you want to define special numbering styles. For example, letters: in chapter title type "A First Chapter", "A.1 Some Subchapter",...
  • Numbers - chapters and subchapters are numbered (1, 1.1, 1.2, 2, ...)
  • Bullets - subchapters are indented and displayed with bullets.
  • Indented - subchapters are indented.


Custom titles
If you disallow custom titles, the chapter title (the one that appears on the table of contents) will appear as a header at the top of your content (1 below) If you enable custom titles, you will be able to create a title different from the one that appears in the ToC or display no title at all (2 below) If you enable custom titles, you will need to enter the chapter title as part of the page content.
Example of a custom title.

Other settings

Depending on what is enabled for your site and course, you may also need to explore Common module settings, Restrict access, Activity completion, Tags and Competencies.

Site administration settings

The administrator can set the default values for chapter formatting and navigational links in Administration > Site administration > Plugins > Activity modules > Book.

Adding chapters and subchapters

Titles of chapters appear as links in the table of contents to the left of your content. It is recommended to keep your titles short.

To add a chapter:

  1. Turn editing on via the link in the Book administration or, in Moodle 3.1.3 onwards, by clicking the 'Turn editing on' button at the top right of the page.
  2. Click on the + icon in the Table of Contents or first chapter. The new chapter will be inserted directly after the chapter whose title is on the same line as the red cross you click (Screenshot 1).

Note that the sub chapter box is checked. A chapter may have many sub chapters, but sub chapters cannot have further sub chapters. In order to keep this resource simple, you are limited to two levels (Screenshot 2).

You now see a chapter and a sub chapter. Because we did not elect to number chapters, the fact that the second chapter is a sub chapter cannot be seen in the table of contents. Note that you do, however, see this in the title above the content.

By the way, the items in the table of contents are neither numbered nor are they indented only because that is the option we chose when setting up the book. We can always go back and change that (Screenshot 3).

(1) Adding a new chapter
(2) Adding a subchapter
(3) View of subchapter

When you have finished adding chapters and subchapters, you can turn editing off.

Tags

A teacher (or any other user with editing rights) can tag book chapters.

Tags can be managed by a site administrator in Manage tags in the Site administration. Book chapter tags may be added to a specified tag collection and standard tags may be suggested or forced. If desired, book chapter tagging may be disabled completely.

Importing chapters

To import chapters

  • Create a zip file of HTML files and optional multimedia files and folders. If you wish to upload subchapters, add "_sub" to the end of HTML file or folder names.
  • Go to Administration > Book administration > Import chapter
  • Choose whether each HTML file or folder represents one chapter
  • Browse for and select the zip file, either using the Add button or the drag and drop method:
Import book
  • Click the import button

Note: Relative file links are converted to absolute chapter links. Images, Flash and Java are re-linked too. Remember to upload images and multimedia files as well as HTML files.

Importing chapters from existing content

There are a number of contributed plugins which support importing content into books from other formats.

Book capabilities