Changeset 22914
- Timestamp:
- 2010-09-16T10:13:06+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/trunk/tutorials/xml-source/tutorial_en.xml
r22908 r22914 1193 1193 <Text id="0403">Exporting a collection to CD-ROM/DVD</Text> 1194 1194 </Title> 1195 <Version initial="2.60" current="2.8 2"/>1195 <Version initial="2.60" current="2.84"/> 1196 1196 <Content> 1197 1197 <Comment> 1198 <Text id="0404"> To publish a collection on CD-ROM or DVD, Greenstone's Export to CD-ROM export module must be installed. This is included with CD-ROM distributions, and all distributions 2.70w and later. It must be installed separately for non-CD-ROM versions of Greenstone, version 2.70 and earlier (see <TutorialRef id="install_greenstone"/>).</Text>1198 <Text id="0404">Greenstone collections can be published on a self-installing CD-ROM/DVD that works on Windows.</Text> 1199 1199 </Comment> 1200 1200 <NumberedItem> … … 1218 1218 </Title> 1219 1219 <SampleFiles folder="tudor"/> 1220 <Version initial="2.60" current="2.8 2"/>1220 <Version initial="2.60" current="2.84"/> 1221 1221 <Content> 1222 1222 <Comment> … … 1279 1279 </Title> 1280 1280 <Prerequisite id="large_html_collection"/> 1281 <Version initial="2.60" current="2.8 2"/>1281 <Version initial="2.60" current="2.84"/> 1282 1282 <Content> 1283 1283 <Comment> … … 1336 1336 </NumberedItem> 1337 1337 <NumberedItem> 1338 <Text id="0448">For versions before 2.82, this feature is disabled because you are operating in <AutoText key="glidict::Preferences.Mode.Librarian"/> mode (this is indicated in the title bar at the top of the window). Switch to <AutoText text="Library Systems Specialist"/> mode by going to <AutoText key="glidict::Menu.File_Options"/> (on the <AutoText key="glidict::Menu.File"/> menu) and clicking <AutoText key="glidict::Preferences.Mode" type="button"/>. Read about the other modes too.</Text> 1339 </NumberedItem> 1340 <NumberedItem> 1341 <Text id="0449">Return to the <AutoText key="glidict::CDM.GUI.Subcollections"/> section of the <AutoText key="glidict::GUI.Design"/> panel. Ensure that the <AutoText key="glidict::CDM.SubcollectionManager.Subcollection_Controls"/> tab is selected (the default). Define a subcollection filter with name <b>monarchs</b> that matches against <AutoText key="metadata::dc.Subject"/>, and type <b>Monarchs</b> as the regular expression to match with. Click <AutoText key="glidict::CDM.SubcollectionManager.Add" type="button"/>. This filter includes any file whose <AutoText key="metadata::dc.Subject"/> metadata contains the word <i>Monarchs</i>.</Text> 1338 <Text id="0449">Ensure that the <AutoText key="glidict::CDM.SubcollectionManager.Subcollection_Controls"/> tab is selected (the default). Define a subcollection filter with name <b>monarchs</b> that matches against <AutoText key="metadata::dc.Subject"/>, and type <b>Monarchs</b> as the regular expression to match with. Click <AutoText key="glidict::CDM.SubcollectionManager.Add" type="button"/>. This filter includes any file whose <AutoText key="metadata::dc.Subject"/> metadata contains the word <i>Monarchs</i>.</Text> 1342 1339 </NumberedItem> 1343 1340 <NumberedItem> … … 1365 1362 <NumberedItem> 1366 1363 <Text id="0455a">The text in the drop down box on the search page is based on the filters each partition was built on. To change the text that is displayed, go to the <AutoText key="glidict::CDM.GUI.SearchMetadata"/> section of the <AutoText key="glidict::GUI.Format"/> panel. The single filter partitions have sensible default text, but the combined partition does not. Set the <AutoText key="glidict::CDM.SearchMetadataManager.Component_Name"/> for the combined partition to "all". <b>Preview</b> the collection.</Text> 1367 </NumberedItem>1368 <NumberedItem>1369 <Text id="0456">For versions before 2.82, now return to <AutoText key="glidict::Preferences.Mode.Librarian"/> mode in the Librarian Interface, using <AutoText key="glidict::Menu.File_Options"/> (on the <AutoText key="glidict::Menu.File"/> menu).</Text>1370 1364 </NumberedItem> 1371 1365 <Heading> … … 1391 1385 </Title> 1392 1386 <Prerequisite id="large_html_collection"/> 1393 <Version initial="2.60" current="2.8 2"/>1387 <Version initial="2.60" current="2.84"/> 1394 1388 <Content> 1395 1389 <NumberedItem> … … 1485 1479 <Text id="st-1">Section tagging for HTML documents</Text> 1486 1480 </Title> 1487 <Version initial="2.70w" current="2.8 2"/>1481 <Version initial="2.70w" current="2.84"/> 1488 1482 <Content> 1489 1483 <NumberedItem> … … 1541 1535 <Text id="0411">Downloading files from the web</Text> 1542 1536 </Title> 1543 <Version initial="2.60" current="2.8 2"/>1537 <Version initial="2.60" current="2.84"/> 1544 1538 <Content> 1545 1539 <Comment> … … 1583 1577 </Title> 1584 1578 <Prerequisite id="downloading_from_internet"/> 1585 <Version initial="2.60" current="2.8 2"/>1579 <Version initial="2.60" current="2.84"/> 1586 1580 <Content> 1587 1581 <NumberedItem> … … 1617 1611 </Title> 1618 1612 <SampleFiles folder="marc"/> 1619 <Version initial="2.60" current="2.8 2"/>1613 <Version initial="2.60" current="2.84"/> 1620 1614 <Content> 1621 1615 <Comment> … … 1774 1768 </Title> 1775 1769 <SampleFiles folder="isis"/> 1776 <Version initial="2.70w" current="2.8 2"/>1770 <Version initial="2.70w" current="2.84"/> 1777 1771 <Content> 1778 1772 <Comment> … … 1836 1830 </Title> 1837 1831 <SampleFiles folder="custom"/> 1838 <Version initial="2.70" current="2.8 2"/>1832 <Version initial="2.70" current="2.84"/> 1839 1833 <Content> 1840 <Text id="mf-2">The appearance of all pages produced by Greenstone is governed by macro files, which reside in the folder <Path>Greenstone → macros</Path>, and images and CSS stylesheets reside in <Path>Greenstone → web → style</Path> (for versions before 2.82 it's <Path>Greenstone → images</Path>).</Text>1834 <Text id="mf-2">The appearance of all pages produced by Greenstone is governed by macro files, which reside in the folder <Path>Greenstone → macros</Path>, and images and CSS stylesheets reside in <Path>Greenstone → web → style</Path>.</Text> 1841 1835 <Text id="mf-3">A macro takes the form <Format>_macroname_ {macro value}</Format>. Macro names start and end with underscores (_), and the macro value is enclosed in curly brackets ({}). Macro values can be text or HTML, and can include other macros.</Text> 1842 1836 <Text id="mf-4">Macros are grouped into packages, and different packages control the appearance of different pages. For example, the <AutoText text="home"/>, <AutoText text="help"/>, <AutoText text="preferences"/>, <AutoText text="query"/>, <AutoText text="document"/> packages control the home, help, preferences, query, and document pages, respectively. Some macro files contain macros for just one package, for example, <Path>home.dm</Path>, <Path>query.dm</Path>, <Path>document.dm</Path>, while others contain macros for many packages. <Path>base.dm</Path> contains macros used globally, <Path>style.dm</Path> controls the common style of each page, <Path>english.dm</Path>, <Path>french.dm</Path> and other language files contain the text fragments for the entire interface, in that language. </Text> 1843 <Text id="mf-5">The output of the library program is a page of HTML which is viewed in a web browser. CSS (Cascading Style Sheets) are often used alongside HTML pages to control the formatting, such as layout, colour, font etc. The default Greenstone stylesheet is <Path>Greenstone → web → style → style.css</Path> (for versions before 2.82 it's <Path>Greenstone → images → style.css</Path>).</Text>1837 <Text id="mf-5">The output of the library program is a page of HTML which is viewed in a web browser. CSS (Cascading Style Sheets) are often used alongside HTML pages to control the formatting, such as layout, colour, font etc. The default Greenstone stylesheet is <Path>Greenstone → web → style → style.css</Path>.</Text> 1844 1838 <Text id="mf-6">In this exercise, we customize the macros, images and stylesheets to change the appearance of our library.</Text> 1845 1839 <Heading> … … 1929 1923 <Text id="mf-17">In the previous exercises we changed a single collection. Now we change all the pages in our Greenstone installation by modifying style and macro files outside the Librarian Interface. First, we format the page so that some other parts are blue. Preview any collection after each change to make sure that it has worked properly. On Windows, macro file changes require a restart of the Greenstone local library server. Stylesheet changes may require a forced reload in the web browser.</Text> 1930 1924 <NumberedItem> 1931 <Text id="mf-23">The majority of the style definitions reside in an external style file, <Path>Greenstone → web → style → style.css</Path> (<Path>Greenstone → images → style.css</Path> for versions before 2.82), and most style changes involve modifying that file. Open the <Path>style.css</Path> file in a text editor, e.g. WordPad (and save a .backup copy). Make the following modifications. You might want to preview after each one to see the effect.</Text>1925 <Text id="mf-23">The majority of the style definitions reside in an external style file, <Path>Greenstone → web → style → style.css</Path>, and most style changes involve modifying that file. Open the <Path>style.css</Path> file in a text editor, e.g. WordPad (and save a .backup copy). Make the following modifications. You might want to preview after each one to see the effect.</Text> 1932 1926 <Text id="mf-24">Change some of the colours:</Text> 1933 1927 <BulletList> … … 1964 1958 </NumberedItem> 1965 1959 <NumberedItem> 1966 <Text id="mf-8">Now we will customize the default Greenstone header image and the background image. Two new images for this exercise can be found in <Path>sample_files → custom</Path>. Copy <Path>newbgimg.gif</Path>, <Path>newheadimg.gif</Path> from the <Path>custom</Path> folder into the <Path>Greenstone → web → images</Path> (for versions before 2.82 it's <Path>Greenstone → images</Path>)folder.</Text>1960 <Text id="mf-8">Now we will customize the default Greenstone header image and the background image. Two new images for this exercise can be found in <Path>sample_files → custom</Path>. Copy <Path>newbgimg.gif</Path>, <Path>newheadimg.gif</Path> from the <Path>custom</Path> folder into the <Path>Greenstone → web → images</Path> folder.</Text> 1967 1961 </NumberedItem> 1968 1962 <NumberedItem> … … 2043 2037 </Title> 2044 2038 <SampleFiles folder="beatles"/> 2045 <Version initial="2.60" current="2.8 2"/>2039 <Version initial="2.60" current="2.84"/> 2046 2040 <Content> 2047 2041 <NumberedItem> 2048 2042 <Text id="0541">Copy the entire folder</Text> 2049 2043 <Path>sample_files → beatles → advbeat_large</Path> 2050 <Text id="0542">(with all its contents) into your Greenstone <Path>collect</Path> folder. If you have installed Greenstone in the usual place, for Greenstone version 2.81 and above,this is</Text>2044 <Text id="0542">(with all its contents) into your Greenstone <Path>collect</Path> folder. If you have installed Greenstone in the usual place, this is</Text> 2051 2045 <Path> 2052 2046 <Text id="0542a"><Path>My Computer → Local Disk (C:) → Users → <Username> → collect</Path></Text> 2053 2047 </Path> 2054 <Text id="0542b">where <Username> is the username under with Greenstone is installed. For versions below 2.81, this is</Text> 2055 <Path> 2056 <Text id="0542c"><Path>My Computer → Local Disk (C:) → Program Files → Greenstone → collect</Path></Text> 2057 </Path> 2048 <Text id="0542b">where <Username> is the username under with Greenstone is installed.</Text> 2058 2049 <Text id="0543">Put <Path>advbeat_large</Path> in there.</Text> 2059 2050 </NumberedItem>
Note:
See TracChangeset
for help on using the changeset viewer.