⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 content.txt

📁 Emdros is a text database middleware-layer aimed at storage and retrieval of "text plus information
💻 TXT
📖 第 1 页 / 共 2 页
字号:
<page ID="1000"></page><page ID="1001"><P>This is the User's Guide to the Emdros Chunking Tool.</P><P>The Emdros Chunking Tool allows you to split running text intolines and then indent those lines with respect to each other.</P></page><page ID="1005"><P>The Emdros Chunking Tool exists in two graphical versions:</P><UL>     <LI>A non-Unicode version     <LI>A Unicode-aware version</UL></page><page ID="1010"><h2>Introduction</h2><index term="configuration file"> <P>Before running the Emdros Chunking Tool for the first time on adatabase, you need to write a configuration file that matches yourdatabase.  This is a one-off thing: Once it's done, you don't need tobother with it any more.</P><h2>Sample configuration file</h2><P>A number of sample configuration files are supplied with Emdros.You can use these as a starting point for writing your ownconfiguration file.</P><P>One supplied configuration file is called "tisch.cfg", whileanother is called "wihebrew.cfg".  You can search for these on yourcomputer to locate where they are, or see the manual page forchunkingtool to know where they are installed (on Windows, they areinstalled in %EMDROSINSTALLPREFIX%\etc\).  </P><h2>Full details</h2><P>The "tisch.cfg" file is almost self-documenting.  However, youcan get more information about the details of the configuration filehere:</P><UL>  <LI><page_anchor ID="2000">Configuring the program</page_anchor></UL></page><page ID="1100"><P>We now explain how to use the program.</P></page><page ID="1110"><h2>Getting started</h2><P>Once you open the program, you will be presented with the mainscreen.  You will then need to "connect" to a database.  Either choosethe menu-item "File|Connect" or press the button <IMGSRC="connect.png"> "Connect to database".</P><h2>Connection dialog</h2><P>You will then be given a dialog box allowing you to choose theConnection Settings.  At the top is a drop-down box allowing you tochoose the backend.  Based on this choice, the dialog box will appearslightly differently depending whether the backend is:</P><UL>  <LI><page_anchor ID="1115">SQLite 2 or 3</page_anchor>, or  <LI><page_anchor ID="1118">MySQL or PostgreSQL</page_anchor><index term="MySQL"><index term="PostgreSQL"></UL>  <H2>Non-Unicode vs. Unicode</h2><P>For each backend, the program exists in two versions:</P><UL>  <LI>A non-Unicode version  <LI>A Unicode-aware version</UL></page><page ID="1115"><P>The Connection Settings dialog looks like this if you have selectedSQLite 2 or 3 as the backend:</P><index term="Connection settingsdialog"><IMG SRC="SQLiteConnSettings.png" ALT="SQLite Connection settings dialog"><h2>Set the configuration file</h2><index term="configuration file"><P>The first thing you should do is press the "Browse" button next tothe "Configuration" edit box, then navigate to where you have your<page_anchor ID="1010">configuration file</page_anchor>.</P><P>Once you've opened the configuration file, the "database" fieldwill be filled from the "database" value stored in the configurationfile, if any.  If this is not the database you want, simply enter (orbrowse for) the database you want.</P><P>For example:</P><IMG SRC="SQLiteConnSettingsFilled.png" ALT="SQLite Connectionsettings dialog, filled with values"><h2>Press OK</h2><P>Once you're done setting the configuration file and the database,press "OK".  If you want to quit the program instead, press"Cancel".</P></page><page ID="1118"><P>When you start the Emdros Chunking Tool using the MySQL or the<indexterm="MySQL"> PostgreSQL backend, you will see this dialog:</P><IMG SRC="MyPgSQLConnSettings.png" ALT="MySQL/PostgreSQL Connectionsettings dialog"><index term="Connection settings dialog"><index term="configuration file"><h2>Set the configuration file</h2><P>The first thing you should do is press the "Browse" button next tothe "Configuration" edit box, then navigate to where you have your<page_anchor ID="1010">configuration file</page_anchor>.</P><h2>Database</h2><P>Once you've opened the configuration file, the "database" fieldwill be filled from the "database" value stored in the configurationfile, if any.  If this is not the database you want, simply enter thedatabase you want.</P><h2>Host, user, password</h2><P>Most people can leave the "host" and "user" fields as they are, andsimply write the password.</P><index term="password"><P>The "host" field shows which computer to connect to, i.e., thecomputer where the MySQL or PostgreSQL backend is running. "localhost"means the computer where the Chunking Tool is running.</P><P>The "user" field is the database user to connect to the backend as.Note that this may be different from your computer user name.  Thedefault is "emdf", since that is the recommended default user tocreate when you bootstrap the MySQL or PostgreSQL database (see"bootstrapping.txt" in the <AHREF="http://emdros.org/docs-download.html">Emdrosdocumentation</A>).</P><P>The "password" field is for the password of the database user toconnect as.  This is set either by the database administrator, or bythe one who bootstrapped the MySQL or PostgreSQL database.</P><indexterm="password"><h2>Example</h2><IMG SRC="MyPgConnSettingsFilled.png" ALT="MySQL/PostgreSQL Connection settings dialog, filled with values"><h2>Press OK</h2><P>Once you're done setting the configuration file and the database,press "OK".  If you want to quit the program instead, press"Cancel".</P></page><page ID="1120"><P>Once you've pressed "OK" on the "Connection settings" dialog box,you will see the main screen:</P><IMG SRC="MainScreen.png" ALT="The main screen"><h2>Parts</h2><P>The main screen consist of these parts:</P><UL>  <LI>A <page_anchor ID="1140">menu</page_anchor> at the top.   <IMG SRC="MenuBar.png" ALT="The menu bar">  <LI>Below that, a <page_anchor ID="1130">toolbar</page_anchor> with  buttons.   <IMG SRC="ToolBar.png" ALT="The toolbar">  <LI>Below that, an area that is to display the text you want to  chunk.  In the picture above, it is all white.</UL><h2>Next</h2><P>Next, we describe each of these parts.</P></page><page ID="1130"><P>The toolbar looks like this:</P><IMG SRC="ToolBar.png" ALT="The toolbar"><P>The buttons represent actions, each of which will be explainedbelow.</P><h2>New Connection</h2><P><strong>New Connection</strong>&nbsp;<IMG SRC="connect.png"ALT="New Connection">&nbsp;: Connects to a database via a <page_anchorID="2000">configuration file</page_anchor> <index term="configurationfile"></P><h2>Commit</h2><P><strong>Commit</strong>&nbsp;<IMG SRC="commit.png"ALT="Commit">&nbsp;: Saves the chunking-changes made in the program,by committing them to the database.</P><h2>Split, Combine</h2><P><strong>Split</strong>&nbsp;<IMG SRC="flash.png"ALT="Split">&nbsp;: Splits the current chunk right before the currentlyselected box.</P><P><strong>Combine</strong>&nbsp;<IMG SRC="together.png"ALT="Combine">&nbsp;: Combines the chunk containing the currentlyselected box with the previous chunk.</P><h2>Move left, Move right</h2><P><strong>Move left</strong>&nbsp;<IMG SRC="leftarrow.png" ALT="Moveleft">&nbsp;: Moves the chunk containing the currently selected boxone tab-stop to the left.</P><P><strong>Move right</strong>&nbsp;<IMG SRC="rightarrow.png" ALT="Moveright">&nbsp;: Moves the chunk containing the currently selected boxone tab-stop to the right.</P></page><page ID="1140"><P>There are four menus, each explained on its own:</P><OL>  <LI><page_anchor ID="1145">File menu</page_anchor>  <LI><page_anchor ID="1150">Edit menu</page_anchor>  <LI><page_anchor ID="1155">Tools menu</page_anchor>  <LI><page_anchor ID="1160">Help menu</page_anchor></OL></page><page ID="1145"><h2>Connect...</h2><P>The "Connect..." menu item connects to a database via a

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -