- Timestamp:
- 2012-08-14T12:16:02+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r26098 r26101 1045 1045 </NumberedItem> 1046 1046 <NumberedItem> 1047 <Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator="&lt;br/&gt;" /></Format>. This will add a new line after each author (<Format>&lt;br/&gt;</Format> is the escaped version of <Format><br/></Format> which specifies a line break in HTML and XML). Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text> 1047 <MajorVersion number="2"><Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator="&lt;br/&gt;" /></Format>. This will add a new line after each author (<Format>&lt;br/&gt;</Format> is the escaped version of <Format><br/></Format> which specifies a line break in HTML and XML). Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text></MajorVersion> 1048 <MajorVersion number="3"><Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format><gsf:metadata name="dc.Creator" /></Format> with <Format><gsf:metadata name="dc.Creator" separator=" "></Format>. This will add a space after each author. Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text></MajorVersion> 1048 1049 <Text id="fw-23">If you have done exercise <TutorialRef id="enhanced_word"/>, the collection will have both dc.Creator and ex.Creator metadata. To display the metadata values for both, you can use </Text> 1049 1050 <Format> … … 1413 1414 </Heading> 1414 1415 <NumberedItem> 1415 <Text id="ew-21">If you look at the HTML version s of <Path>word05.doc</Path> and<Path>word06.doc</Path>, you will see that it now has two tables of contents. One is generated by Greenstone based on the document's styles, the other was already defined in the Word document. <AutoText text="WordPlugin"/> can be configured to remove predefined tables of contents and tables of figures. The tables must be defined with Word styles in order for this to work.</Text>1416 </NumberedItem> 1417 <NumberedItem> 1418 <Text id="ew-22">To remove the tables of contents and figures from <Path>word06.doc</Path> and the table of contents from <Path>word05.doc</Path>, switch on the <AutoText text="delete_toc"/> option in <AutoText text="WordPlugin"/>. Set the <AutoText text="toc_header"/> option to <Format>(MsoToc1|MsoToc2|MsoToc3|MsoTof|TOA)</Format>. In this document, the table of contents and list of figures use these four style names. Click <AutoText key="glidict::General.OK" type="button"/>.</Text>1419 </NumberedItem> 1420 <NumberedItem> 1421 <Text id="ew-24"><b>Build</b> and <b>preview</b> the collection. Both <Path>word05.doc</Path> and<Path>word06.doc</Path> should now have only one table of contents.</Text>1416 <Text id="ew-21">If you look at the HTML version<MajorVersion number="2">s of <Path>word05.doc</Path> and</MajorVersion> <Path>word06.doc</Path>, you will see that it now has two tables of contents. One is generated by Greenstone based on the document's styles, the other was already defined in the Word document. <AutoText text="WordPlugin"/> can be configured to remove predefined tables of contents and tables of figures. The tables must be defined with Word styles in order for this to work.</Text> 1417 </NumberedItem> 1418 <NumberedItem> 1419 <Text id="ew-22">To remove the tables of contents and figures from <Path>word06.doc</Path><MajorVersion number="2"> and the table of contents from <Path>word05.doc</Path></MajorVersion>, switch on the <AutoText text="delete_toc"/> option in <AutoText text="WordPlugin"/>. Set the <AutoText text="toc_header"/> option to <Format>(MsoToc1|MsoToc2|MsoToc3|MsoTof|TOA)</Format>. In this document, the table of contents and list of figures use these four style names. Click <AutoText key="glidict::General.OK" type="button"/>.</Text> 1420 </NumberedItem> 1421 <NumberedItem> 1422 <Text id="ew-24"><b>Build</b> and <b>preview</b> the collection. <MajorVersion number="2">Both <Path>word05.doc</Path> and </MajorVersion><Path>word06.doc</Path> should now have only one table of contents.</Text> 1422 1423 </NumberedItem> 1423 1424 <Heading>
Note:
See TracChangeset
for help on using the changeset viewer.