Changeset 30743 for documentation/trunk/tutorials/xml-source
- Timestamp:
- 2016-08-24T14:25:07+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r30738 r30743 1312 1312 <Text id="ep-7"><b>Build</b> and <b>preview</b> the collection. View the text versions of some of the PDF documents. <MajorVersion number="2">Note that these are now split into a series of pages, and a "go to page" box is provided. 1313 1313 </MajorVersion> 1314 <MajorVersion number="3">Note that these are now split into a series of pages, and two means of jumping between various pages is provided: on the left, individual pages are listed vertically by page number and clicking the "plus" box next to a page will expand its contents, while on the right there's a box with a horizontal scroller which can be used to scroll to the page you wish to view.1314 <MajorVersion number="3">Note that these are now split into a series of pages, and a table of contents is provided to the right. 1315 1315 </MajorVersion> 1316 1316 <MajorVersion number="2">The format is still a bit ugly though, and</MajorVersion><MajorVersion number="3">Note that</MajorVersion> pdf05-notext.pdf is still not processed.</Text> … … 1328 1328 <NumberedItem> 1329 1329 <Text id="ep-14-3"><b>Build</b> the collection and <b>preview</b>. 1330 All PDF documents (including pdf05-notext.pdf) have been processed and divided into sections.1331 Images from the document are now displayed instead of the extracted text. Both <Path>pdf05-notext.pdf</Path> and <Path>pdf06-weirdchars.pdf</Path> display nicely now.</Text>1330 All PDF documents (including pdf05-notext.pdf) have been processed and divided into a series of page sections, one image per page. 1331 Images from the document are now displayed instead of the extracted text. The table of contents on the right now displays a horizontal scroller containing thumbnails of each page. Both <Path>pdf05-notext.pdf</Path> and <Path>pdf06-weirdchars.pdf</Path> display nicely now.</Text> 1332 1332 </NumberedItem> 1333 1333 </MajorVersion> … … 1393 1393 <Text id="ep-33">Build and preview the collection. All PDF documents should look relatively nice. Try searching this collection. You will be able to search for the PDFs that were converted to HTML (try e.g. <AutoText text="bibliography" type="quoted"/>), but not the ones that were converted to images (try searching for <AutoText text="FAO" type="quoted"/> or <AutoText text="METS" type="quoted"/>).</Text> 1394 1394 </NumberedItem> 1395 <MajorVersion number="3"> 1396 <Heading> 1397 <Text id="ep-sd-1">Customising the table of contents section heading display</Text> 1398 </Heading> 1399 <NumberedItem> 1400 <Text id="ep-sd-2">In the table of contents (on the right) by default a section number and section title are displayed. For documents like these where the section titles are the same as the section numbers, this doesn't make much sense, as you end up with headings like "1 1". We can hide the section number from the display by adding some CSS style information.</Text> 1401 </NumberedItem> 1402 <NumberedItem> 1403 <Text id="ep-sd-3">Click on the <AutoText text="display"/> format statement in the <AutoText key="glidict::CDM.GUI.Formats"/> list. Add the following to the start of the content:</Text> 1404 <Format> 1405 <gsf:template name="additionalHeaderContent-collection"><br/> 1406 <Tab n="1"/><style>span.tocSectionNumber { display: none; }</style><br/> 1407 </gsf:template> 1408 </Format> 1409 </NumberedItem> 1410 <NumberedItem> 1411 <Text id="ep-sd-4">Note that if you'd rather hide the title instead, you can use <AutoText type="italics" text="span.tocSectionTitle" /> in the above CSS code instead of <AutoText type="italics" text="span.tocSectionNumber" />.</Text> 1412 </NumberedItem> 1413 </MajorVersion> 1395 1414 <!-- 1396 1415 <Heading>
Note:
See TracChangeset
for help on using the changeset viewer.