{"id":56,"date":"2013-12-31T14:03:40","date_gmt":"2013-12-31T14:03:40","guid":{"rendered":"https:\/\/openbook.ums.edu.my\/userguide\/chapter\/bring-your-content-into-pressbooks\/"},"modified":"2024-09-19T04:19:23","modified_gmt":"2024-09-19T04:19:23","slug":"bring-your-content-into-pressbooks","status":"publish","type":"chapter","link":"https:\/\/openbook.ums.edu.my\/userguide\/chapter\/bring-your-content-into-pressbooks\/","title":{"raw":"Bring Your Content Into Pressbooks","rendered":"Bring Your Content Into Pressbooks"},"content":{"raw":"No matter what state your book idea exists in now, whether its entirely in your head, already exists in manuscript form in another software format, or has already been published as an ebook or print text, there's a way to get it into Pressbooks to write, complete, or revise it. This chapter provides an overview of several ways you can bringing your book content into the Pressbooks platform.\n<h1>Write Your Book Directly in Pressbooks<\/h1>\nWriting your book directly in Pressbooks is one of the easiest ways to assure your book is well-formatted. Plus, it gives you the added benefit of using the platform itself as a tool to organize your book. To learn more about writing your book in Pressbooks, see the chapters in the 'Making Your Book' section of this guide.\n<h1>Copy and Paste from Another Source<\/h1>\nCopying and pasting content from another application (like your word processor) is a reliable but sometimes labor-intensive way to bring content into Pressbooks. If you'd like to copy and paste your text into Pressbooks, we recommend:\n<ol>\n \t<li>Create empty Parts and Chapters in Pressbooks which reflect the desired structure of your finished manuscript.<\/li>\n \t<li>From the book dashboard, click <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/organize\/\"><strong>Organize<\/strong><\/a> and select the first Chapter you would like to paste content into.<\/li>\n \t<li>Open your source document and highlight and copy your desired text selection.<\/li>\n \t<li>Return to the browser tab with the open Pressbooks chapter and place your cursor in the body of the chapter.<\/li>\n \t<li>Use your computer's paste command to paste text into the chapter body.<\/li>\n \t<li>Click <strong>Update<\/strong> to save your changes.<\/li>\n \t<li>Repeat as needed until all of your content has been pasted in the relevant sections of your book.<\/li>\n<\/ol>\nIf you use this copy &amp; paste method, you will likely still want to review the pasted text to make sure that it does not include unwanted elements. The text editor can help you spot span tags and other unwanted artifacts that may have been present in your source document.\n<div class=\"textbox\"><strong>Note:<\/strong> Pressbooks will attempt to automatically clean up text that has been pasted from Microsoft Word by retaining formatting that will be displayed correctly into book files (things like headings, paragraphs, line breaks, bolding, italics and lists), and removing styling-specific span tags and other unnecessary cruft. You can choose to bypass this feature and paste your selection as plain text by activating 'Paste as Text' in the Visual Text Editor.\n<img class=\"alignnone size-full wp-image-141\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2019\/12\/Screenshot-from-2021-10-13-16-29-31.png\" alt=\"\" width=\"516\" height=\"113\"><\/div>\n<h1>Import from a Word Document<\/h1>\n<span style=\"text-align: initial; font-size: 1em;\">Pressbooks includes <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/import\/\">an import tool<\/a> that allows you to import content from several sources, including Word (.docx) documents. <\/span><span style=\"text-align: initial; font-size: 1em;\">This importer will bring in all your chapters along with basic styling choices you've made (italic, bold, lists, etc). <\/span>\n<h2>Prepare Your .docx File Before Import<\/h2>\nThere are a few things you can do in Microsoft to improve the resulting quality of the import to Pressbooks.\n<ol>\n \t<li>Select all the text in your Word document and apply the Normal style.<\/li>\n \t<li>Use the Styles tool to apply the 'Heading 1' style to each of your desired chapter titles. This will help Pressbooks recognize this content as the start of a new chapter upon import.\n<img class=\"alignnone size-full wp-image-142\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-51-11.png\" alt=\"\" width=\"954\" height=\"486\"><\/li>\n \t<li>Add any of the <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/use-shortcodes\/\">supported shortcodes<\/a> to your Word document to have this content handled properly upon import.<\/li>\n<\/ol>\n<h2>Import a Prepared .docx File<\/h2>\nTo import your content into Pressbooks from a Word document:\n<ol>\n \t<li style=\"list-style-type: none;\">\n<ol>\n \t<li>Navigate to\u00a0<strong>Import\u00a0<\/strong>from the left sidebar menu<\/li>\n \t<li>Select '<strong>Microsoft Word (.docx)<\/strong>' from the 'Import Type' menu<\/li>\n \t<li>Choose\u00a0<strong>Upload File<\/strong> from the 'Import Source' option<\/li>\n \t<li>Click '<strong>Choose File<\/strong>' and select the word document you'd like to import.<\/li>\n \t<li>Click \u2018<strong>Begin Import\u2019\n<img class=\"alignnone size-full wp-image-143\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-40-54.png\" alt=\"\" width=\"587\" height=\"355\">\n<\/strong><\/li>\n \t<li>Once your docx file has been uploaded and processed by Pressbooks, you\u2019ll see an overview of the available content Pressbooks can import from this file. Select each chunk of content you\u2019d like to import by checking the box in the left column of the table. Select all content at once by clicking the checkbox in the top row of the table.<\/li>\n \t<li>Apply the relevant content type (front\/back matter, chapter, etc.) for each section of the document you wish to import.\u00a0(Note: part is not an available selection for docx imports, but post-import, it is possible to <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/create-and-edit-parts\/\">create a new part<\/a> and move imported content into that part.)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n \t<li>Click <strong>Import Selection\u00a0<\/strong>to initiate the import process\n<img class=\"alignnone size-full wp-image-144\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-42-17.png\" alt=\"\" width=\"789\" height=\"464\"><\/li>\n<\/ol>\n<div class=\"mceTemp\"><\/div>\nhttps:\/\/youtu.be\/DDoCW3eHtWs\n<h1>Import from a Pressbooks XML file<\/h1>\nPressbooks allows you to quickly and easily export and import all or part of your book from one network to another, or from one book shell to another within the same network using XML imports and exports. XML imports are particularly powerful when <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/book-cloning\/\">book cloning<\/a> is not an option (as is the case for users of Pressbooks.com).\n\n<a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/export-2\">Once you have obtained an XML file for the book you'd like to import<\/a>, you can import all or part of this book into a new or existing book in Pressbooks. To do so:\n<ol>\n \t<li>Click '<strong>Import<\/strong>' from the book admin dashboard of the book you'd like to import into.<\/li>\n \t<li>From the dropdown menu, select WordPress WXR as your format.\n<img class=\"alignnone size-full wp-image-3515\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-05-18-11-04.png\" alt=\"\" width=\"597\" height=\"374\"><\/li>\n \t<li>Click <strong>'Choose<\/strong> <strong>File<\/strong>' and upload the XML file that you previously downloaded.<\/li>\n \t<li>Click '<strong>Begin Import<\/strong>'<\/li>\n \t<li>Select all of the content you wish to import into this second book and click <strong>'Import Selection<\/strong>'.<\/li>\n \t<li>Repeat for any other books or content your want to import.<\/li>\n<\/ol>","rendered":"<p>No matter what state your book idea exists in now, whether its entirely in your head, already exists in manuscript form in another software format, or has already been published as an ebook or print text, there&#8217;s a way to get it into Pressbooks to write, complete, or revise it. This chapter provides an overview of several ways you can bringing your book content into the Pressbooks platform.<\/p>\n<h1>Write Your Book Directly in Pressbooks<\/h1>\n<p>Writing your book directly in Pressbooks is one of the easiest ways to assure your book is well-formatted. Plus, it gives you the added benefit of using the platform itself as a tool to organize your book. To learn more about writing your book in Pressbooks, see the chapters in the &#8216;Making Your Book&#8217; section of this guide.<\/p>\n<h1>Copy and Paste from Another Source<\/h1>\n<p>Copying and pasting content from another application (like your word processor) is a reliable but sometimes labor-intensive way to bring content into Pressbooks. If you&#8217;d like to copy and paste your text into Pressbooks, we recommend:<\/p>\n<ol>\n<li>Create empty Parts and Chapters in Pressbooks which reflect the desired structure of your finished manuscript.<\/li>\n<li>From the book dashboard, click <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/organize\/\"><strong>Organize<\/strong><\/a> and select the first Chapter you would like to paste content into.<\/li>\n<li>Open your source document and highlight and copy your desired text selection.<\/li>\n<li>Return to the browser tab with the open Pressbooks chapter and place your cursor in the body of the chapter.<\/li>\n<li>Use your computer&#8217;s paste command to paste text into the chapter body.<\/li>\n<li>Click <strong>Update<\/strong> to save your changes.<\/li>\n<li>Repeat as needed until all of your content has been pasted in the relevant sections of your book.<\/li>\n<\/ol>\n<p>If you use this copy &amp; paste method, you will likely still want to review the pasted text to make sure that it does not include unwanted elements. The text editor can help you spot span tags and other unwanted artifacts that may have been present in your source document.<\/p>\n<div class=\"textbox\"><strong>Note:<\/strong> Pressbooks will attempt to automatically clean up text that has been pasted from Microsoft Word by retaining formatting that will be displayed correctly into book files (things like headings, paragraphs, line breaks, bolding, italics and lists), and removing styling-specific span tags and other unnecessary cruft. You can choose to bypass this feature and paste your selection as plain text by activating &#8216;Paste as Text&#8217; in the Visual Text Editor.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-141\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2019\/12\/Screenshot-from-2021-10-13-16-29-31.png\" alt=\"\" width=\"516\" height=\"113\" \/><\/div>\n<h1>Import from a Word Document<\/h1>\n<p><span style=\"text-align: initial; font-size: 1em;\">Pressbooks includes <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/import\/\">an import tool<\/a> that allows you to import content from several sources, including Word (.docx) documents. <\/span><span style=\"text-align: initial; font-size: 1em;\">This importer will bring in all your chapters along with basic styling choices you&#8217;ve made (italic, bold, lists, etc). <\/span><\/p>\n<h2>Prepare Your .docx File Before Import<\/h2>\n<p>There are a few things you can do in Microsoft to improve the resulting quality of the import to Pressbooks.<\/p>\n<ol>\n<li>Select all the text in your Word document and apply the Normal style.<\/li>\n<li>Use the Styles tool to apply the &#8216;Heading 1&#8217; style to each of your desired chapter titles. This will help Pressbooks recognize this content as the start of a new chapter upon import.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-142\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-51-11.png\" alt=\"\" width=\"954\" height=\"486\" \/><\/li>\n<li>Add any of the <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/use-shortcodes\/\">supported shortcodes<\/a> to your Word document to have this content handled properly upon import.<\/li>\n<\/ol>\n<h2>Import a Prepared .docx File<\/h2>\n<p>To import your content into Pressbooks from a Word document:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Navigate to\u00a0<strong>Import\u00a0<\/strong>from the left sidebar menu<\/li>\n<li>Select &#8216;<strong>Microsoft Word (.docx)<\/strong>&#8216; from the &#8216;Import Type&#8217; menu<\/li>\n<li>Choose\u00a0<strong>Upload File<\/strong> from the &#8216;Import Source&#8217; option<\/li>\n<li>Click &#8216;<strong>Choose File<\/strong>&#8216; and select the word document you&#8217;d like to import.<\/li>\n<li>Click \u2018<strong>Begin Import\u2019<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-143\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-40-54.png\" alt=\"\" width=\"587\" height=\"355\" \/><br \/>\n<\/strong><\/li>\n<li>Once your docx file has been uploaded and processed by Pressbooks, you\u2019ll see an overview of the available content Pressbooks can import from this file. Select each chunk of content you\u2019d like to import by checking the box in the left column of the table. Select all content at once by clicking the checkbox in the top row of the table.<\/li>\n<li>Apply the relevant content type (front\/back matter, chapter, etc.) for each section of the document you wish to import.\u00a0(Note: part is not an available selection for docx imports, but post-import, it is possible to <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/create-and-edit-parts\/\">create a new part<\/a> and move imported content into that part.)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li>Click <strong>Import Selection\u00a0<\/strong>to initiate the import process<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-144\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-13-16-42-17.png\" alt=\"\" width=\"789\" height=\"464\" \/><\/li>\n<\/ol>\n<div class=\"mceTemp\"><\/div>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Importing a Word File into Pressbooks\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/DDoCW3eHtWs?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h1>Import from a Pressbooks XML file<\/h1>\n<p>Pressbooks allows you to quickly and easily export and import all or part of your book from one network to another, or from one book shell to another within the same network using XML imports and exports. XML imports are particularly powerful when <a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/book-cloning\/\">book cloning<\/a> is not an option (as is the case for users of Pressbooks.com).<\/p>\n<p><a href=\"https:\/\/pressbooks.pub\/guide\/chapter\/export-2\">Once you have obtained an XML file for the book you&#8217;d like to import<\/a>, you can import all or part of this book into a new or existing book in Pressbooks. To do so:<\/p>\n<ol>\n<li>Click &#8216;<strong>Import<\/strong>&#8216; from the book admin dashboard of the book you&#8217;d like to import into.<\/li>\n<li>From the dropdown menu, select WordPress WXR as your format.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3515\" src=\"https:\/\/pressbooks.pub\/app\/uploads\/sites\/4748\/2022\/10\/Screenshot-from-2021-10-05-18-11-04.png\" alt=\"\" width=\"597\" height=\"374\" \/><\/li>\n<li>Click <strong>&#8216;Choose<\/strong> <strong>File<\/strong>&#8216; and upload the XML file that you previously downloaded.<\/li>\n<li>Click &#8216;<strong>Begin Import<\/strong>&#8216;<\/li>\n<li>Select all of the content you wish to import into this second book and click <strong>&#8216;Import Selection<\/strong>&#8216;.<\/li>\n<li>Repeat for any other books or content your want to import.<\/li>\n<\/ol>\n","protected":false},"author":1,"menu_order":2,"template":"","meta":{"pb_show_title":"","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-56","chapter","type-chapter","status-publish","hentry"],"part":53,"_links":{"self":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/56\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/56\/revisions\/57"}],"part":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/parts\/53"}],"metadata":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapters\/56\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/pressbooks\/v2\/chapter-type?post=56"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/contributor?post=56"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbook.ums.edu.my\/userguide\/wp-json\/wp\/v2\/license?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}