# MyLibrary User Guide

### Create Note

Use "Library > New Note" to create a new note. Use "Library > Import File..." or drag and drop a file to the table on the right to create a note contain the file. File can be opened by double-click the icon of it.

### Editing Note

Use "Libary > Edit Note" menu to switch between "Edit" and "Render" model. The background of text view become yellow in "Edit" model. In "Edit" model, you can edit the note. In "Render" model, you can not edit the note, but you can jump to other notes via the links as normal web notes

### Render Tag

In "Edit" model, you can use several tags to rendner the note.

1. <b> renders text as bold
2. <i> renders text as italic
3. <code> everything inside will be rendered as in fix-pitched font and this tag acts as <pre> in HTML
4. <hr/> draws the horizontal bar

These tags can be anywhere except in-between the tags below.

### Information Tag

These tags will display a graphic view to emphasize the text

1. <information> renders text as an information
2. <note> renders text as an note
3. <caution> renders text as an caution

Text in these tags can't be selected for now. There is no difference among them. Just use different icons to represent them.

### Link Tag

This tags will link among notes or external resources

1. <link> text inside will be a link to a note with a title the same as the text. It acts as CapitalText in most of the wiki. Clicking on it will jump to a linked note. If the note is not existed, a new note will be created.
2. <uref url="..."> link to a url as http:// or file:///. Clicking it will open the url with default web browser.
3. <email address="..."> link to an email address. Clicking it will do nothing now.

For tags with attributes inside, you can use any of these three forms:

1. <uref>URL</uref>
2. <uref url="URL">URL description</uref>
3. <uref location="URL"/>

### Special Character

Because '<' and '>' are used for tags, you need to use '<<' in "Edit" model to render it as '<'. So does '>>' for '>'. Space and return behave as they are. These special characters make notes as non-standard XML format, but easy to work on.

### Add and Delete note

You can add notes by creating links first, then click on them. Or you can use "Library > New Note" menu to create a note. Pages are not required to be linked.

### Change title of notes

Double click on the title and all the links will be updated.

### Put note into source panel

Just drag and drop the note into source panel on the left.

### Folder

"Library > New Folder" to create new folder. Drag and drop notes into folder

### Smart Folder

"Library > New Smart Folder" to create new smart folder. Criterions of smart folder can be edited via "Library > Edit Smart Folder".

### Search

"Window > Search Bar" to search. The search result will be placed in a folder called "Search". Change the name of this "Search" folder to make it a Smart Folder. By this way, search result can be saved. In the subject popup button (most left one), title with prefix "-" indicates its an attribute-style meta-data.

### Content Indexing

Indexes have to be made before content can be search. Use "Library > Indexing..." to create indexes. Namazu is the search engine. xpdf is required for searching PDF content. A binary version for Mac can be found in the bottom of xpdf download page. Install the downloaded xpdf-tools.pkg and rebuild the indexes.

### Summary

"Window > Summary View" displays a summary of selected notes, including the files, attributes and note in three different styles.

### Change Library Location

You can change the library location. Use "Go > Set Library Location..." to set new library.