Changeset 26101 for documentation


Ignore:
Timestamp:
2012-08-14T12:16:02+12:00 (12 years ago)
Author:
ak19
Message:

More changes for GS3 to the Formatting Word and PDF Collection tutorial and the Enhanced Word doc handling tutorial: 1. at present, can no longer use break as meta separator, so using space in the tutorial example for GS3. 2. word06.doc has a clear Word-defined TOC, which I can't see in word05.doc so the instructions on getting rid of a Word-defined TOC is only mentions word06.doc for GS3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/xml-source/tutorial_en.xml

    r26098 r26101  
    10451045</NumberedItem>
    10461046<NumberedItem>
    1047 <Text id="fw-22-3">You can change the separator between the authors. Modify the format statement, and replace <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot;&amp;lt;br/&amp;gt;&quot; /&gt;</Format>. This will add a new line after each author (<Format>&amp;lt;br/&amp;gt;</Format> is the escaped version of <Format>&lt;br/&gt;</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>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot;&amp;lt;br/&amp;gt;&quot; /&gt;</Format>. This will add a new line after each author (<Format>&amp;lt;br/&amp;gt;</Format> is the escaped version of <Format>&lt;br/&gt;</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>&lt;gsf:metadata name=&quot;dc.Creator&quot; /&gt;</Format> with <Format>&lt;gsf:metadata name=&quot;dc.Creator&quot; separator=&quot; &quot;&gt;</Format>. This will add a space after each author. Preview the <AutoText key="coredm::_Global:labelCreator_" type="italics"/> list.</Text></MajorVersion>
    10481049<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>
    10491050<Format>
     
    14131414</Heading>
    14141415<NumberedItem>
    1415 <Text id="ew-21">If you look at the HTML versions 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>
    14221423</NumberedItem>
    14231424<Heading>
Note: See TracChangeset for help on using the changeset viewer.