Left column of Dynamic Table of Context

This column allow users to search and browse the document by key terms, tags, and word frequency information.

General Information

The four tabs operate similarly in DToC.

When you click on an index term/tag/stat/annotation, DToC displays their location in different ways. The “Table of Contents” expands to show you where it is in each chapter/section. The document model highlights each line that contains the term. And the text area highlights the paragraphs that contain the selected term.

You can highlight index, terms, and words at the same time to see patterns in your text, each are represented by a different colour.
  • Index terms are represented by the colour orange.
  • Tags are represented in blue.
  • Word frequency terms are represented in purple.

To reset any search or filter option you can select the “Clear” button located at the top of the document model or unselect the chapter/section filter.

You can search or filter within the tabs. If you want to see a search term in a specific section/chapter, or see the index terms that are only found in a specific section/chapter, you can choose to “Filter by Chapter.”

Clicking on the “Filter by Chapter” brings up a drop down menu with the available sections to choose from. Once you have selected the chapter/section you want to focus on the index terms will automatically narrowed down.

If you’ve selected to filter by chapter in another section of the left column (e.g. Tag or Stats), this choice will not be remembered when you move to a different tab.





Index Tab

If you have terms indexed in your XML document they appear in the left column, organized under the index tab. For instructions on how to add an index see the "Adding an index to your XML document" link below. If you use an URL or paste in text rather than uploading your own XML document, you will not have an index.

The index can contain subsections and indexed cross references to provide a robust keyword catalogue. The numbers located beside each of the terms refers to how many time that term shows up in the complete text.





Tags Tab

The “Tags” tab displays any of the tags found in your XML document. If you use an URL or paste in text rather than uploading your own XML document, the “Tags” tab will be empty.

You can highlight index, terms, and words at the same time to see patterns in your text. The numbers next to the tags display how many times the tag is found in the document.



You can view specific tags in the other columns by selecting one from the list or searching for it in the filter search box at the top of the column. If you want to see only the tags that are found in a specific chapter/section then you can choose the “Filter by Chapter” option at the top right of the column.





You can curate and add tags to your document.

The “Curator” mode is found in the “Settings” menu under the mode drop down menu. This will organize the tags under two headings, “Tag/Path” and the “Label.”



At the bottom of the column there are three options to “Curate” the tags.
  • “Add” allows you to add new tags to the list.
  • “Remove Selected” allows you to delete any tags in the list.
  • “Show Selected” allows you to see in both the “Table of Contents” and the “Text Area” where the tags are located (if present).



Once you choose to “Add” a tag there are three options. You can choose from a drop down menu of tags that are found in the document but may not be in the list already.

You can add a new XML tag and the label you would like to apply to it. For example, you can add the ‘quote’ tag to the “Tag/Path” column and then label it “quotation” to the “Label” column.



If you would like to add tags that are not found in XML you can add them as targets. For example, if you would like to add a religion tag you can add it as a target of the ‘ref’ tag. It would look like this.

ref[@target*='religion']



This will add new tags to the tag list and will be viewable in the “Tag” column.



Stats Tab

The “Stats” tab displays the word frequency of your document. You can organize how you view word frequency by different organizational headings, by chapter or by creating a list of your “favorites.”

The Stats information is available whenever you use DToC (it is not dependent on uploading your own XML document).

You can view word frequencies in the reader column. Check the “Freq. Info in Reader” option in the "Settings" menu and when you hover your cursor over a word in the reader column the frequency of said word appears in a popup.



The preloaded organization options include “Type,” “Count,” “Relation,” and “Trend.” You can add or remove these options by choosing the black arrow menu that appears when you hover over the headings. The options are: “Sort Ascending,” “Sort Descending,” "Columns," “Group By This Field,” and “Show in Groups.”

The black arrow is not to be confused by a smaller grey arrow that is right beside the selected heading name (this option allows you to change the order of presentation -- alphabetical descending or ascending-- bypassing the need to select those options from the dropdown menu). You can see this gray arrow in the image below beside the "Type" column heading.





To change the headings available select the “Columns” option in the drop down menu to produce a checklist that you can customize.



This drop down menu also lets you choose the order that the words appear and how the words are grouped. If you would like to group by a specific organizational heading (e.g. Count) then you must select the black arrow drop down menu beside that option.

To change back to the default options click on the “Reset” option located at the bottom of the column.



You can filter terms by chapter or the entire document. At the top left of the column choose either “Chapter Stats” (the default selection) or “Collection Stats.”

If you don’t want to scroll through the list of terms, there is a search option at the bottom of the “Stats” column. The search feature is auto complete enabled. You need to select one of these options to search the “Stats” list.



The Stats tab also allows you to personalize a word frequency list under “favorites.” Select the term that you would like to “favorite” and then click on the double arrow button (located at the bottom of the column). This opens up a menu with two heart icons -- one with a green plus circle and just a plain heart. Choose the heart with the plus sign.



This will add the term(s) selected to your “favorites” list. To view the list click on the plain heart. To remove any words from your “favorites” list click on the heart with a red minus icon. This third heart icon appears at the bottom of the column when you are in your “favorites” list.



Annotation Tab

The Annotation tab displays the annotations that you have made in the text area. To annotate the text you must sign in to the tool “AnnotateIt.” Available at http://annotateit.org.



Once you have signed in and bookmarked “AnnotateIt” in your browser bar activate it by clicking on it while your DToC document is open (for more information see “Login/Annotator Authentication” and “Commenting on text”).

To annotate text highlight a chunk using your cursor in the Text Area. A small button appears to the right of your cursor (See below).

Click on this button to produce the annotation popup. This popup contains these annotation options:
  • “Comments” allows you to add additional information to the section of text you have highlighted.
  • “Allow anyone to view this annotation” is a check mark option to let anyone view the annotation you’ve made. It is preselected as a default.
  • “Allow anyone to edit this annotation” is an additional check mark option that allows people you share your document with to edit the annotations (once signed in to “AnnotateIt”). It is not selected as a default.
  • “Add some tags here…” use this to add XML tags to the text that you have highlighted.
  • “Cancel”/”Save” These buttons allow you to “Save” the document or “Cancel” creating the annotation (this option will delete the any option that you have entered).



You can view your annotations in the annotation tab. If you would like to “Filter” your annotations, type your search term in the “Filter” box. The search box is autocomplete-enabled.