You can make copies of text, single elements, and also entire structures in Paligo. This can make it easier and quicker to create content that is similar to content that already exists. Instead of creating the content from scratch, you can make a copy and then edit the copy to meet your requirements. This is similar to how you might work in word processors and text editors.
But Paligo also has content reuse features, where you can reuse the same piece of content (block element) wherever you need it. So before you start copying your content, you should consider which approach is best for you, copying or content reuse. If you intend to have the exact same content in multiple places, it is usually better to reuse the content rather than make copies. To find out more, see About Reusing Content.
Tip
To copy a publication, see Publications.
You can use the XML Tree View to make a copy of an element in a topic. Paligo adds the copy directly after the original version, and then you can move the copy in the structure if needed.
When you copy an element, Paligo duplicates:
-
The element
-
Any text or other content inside the element
-
Any "child" elements inside the element
-
Any text or other content from inside the "child" elements.
All of the copies are new versions that reproduce the content and structure of the original versions. They have unique IDs and are separate from the original versions. If you use the XML Tree View to make a copy, and then you edit the copy, the changes will only apply to the copy. They will not apply to the original version (the XML Tree View copy is not content reuse).
To copy an element using the XML Tree View:
-
Open a topic in the editor and select the XML Tree View in the side panel.
The XML Tree View shows the main elements in your topic as blue boxes, arranged in a hierarchy that matches the structure. Any box with a white cross has lower level content. If you select the white cross icon, the tree expands to show the lower levels.
-
Expand the hierarchy until you can see the element that you want to copy.
-
Position the cursor over the element you want to copy.
-
Select the copy icon (overlapping files).
Paligo creates a copy of the selected element. It places the copy directly after the element you selected.
Note
If you copy an element that has elements inside it ("children"), Paligo will make copies of the "child" elements too. For example, if you copy a procedure with three steps, Paligo will create a duplicate procedure that also has three steps. The procedures and steps all have unique IDs so that if you change them, they do not affect the original version.
To learn more about the parent-child relationships between elements in a topic, see Understanding Content Structures
-
If you need to move the copy to a new position in the structure, select it in the XML Tree View and drag it to the new position.
To learn more about moving elements, see Move Block Elements with XML Tree View.
You can use the Element Structure Menu to create a copy of an element. You can then add the copy to the same topic or a different topic, either as a unique piece of content or as a reused element.
To use the Element Structure Menu to copy content:
-
Click inside the block element you want to cut or copy.
-
Select the same element in the Element Structure Menu. For example, if you wanted to copy a paragraph, select
para#text
. -
Select Copy.
Paligo creates a copy of the element. The copy is stored in your computer's clipboard so that you can paste it into your content.
-
Place the cursor in the position where you want to add the copied/cut element. It is important that you position the cursor at a position where the element is valid. For example, if you have cut or copied a
listitem
, you can place the cursor in anitemizedlist
. -
Select the element in the Element Structure Menu. (The element for the position in the structure that you selected in the previous step).
-
Select one of the following options:
-
Paste before - Paligo will reuse the original content above the selected position. If you edit this "copy", your changes will also affect the original too.
-
Paste after - Paligo will reuse the original content below the selected position. If you edit this "copy", your changes will also affect the original too.
-
Insert - Paligo will insert the copy into the selected element. The copy has a unique ID. If you make changes to it, those changes will not affect the original version.
-
Insert as reuse - Paligo will reuse the original content inside the selected element. If you edit this "copy", your changes will also affect the original.
-
-
Select Save.
Comments
0 comments
Article is closed for comments.