~ubuntu-branches/ubuntu/karmic/zim/karmic

« back to all changes in this revision

Viewing changes to share/zim/doc/Zim/Usage/getting_started.txt

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Hertzog
  • Date: 2007-12-01 20:50:34 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20071201205034-bpweecgj7wtt9ze2
Tags: 0.23-1
* New upstream version. Closes: #452999
  * Now handles symlinks properly. Closes: #446870
* Add myself to Uploaders.
* Updated dependencies to match new requirements: libfile-basedir-perl 
  (>= 0.03), libfile-desktopentry-perl (>= 0.04)
* Add Vcs-Svn and Vcs-Browser fields to document the SVN repository now used
  to co-maintain the package.
* Add an Homepage field pointing to the upstream website.
* Moved libmodule-build-perl to Build-Depends-Indep as it's needed for the
  clean target.
* Fix some bad permissions detected by lintian.
* Updated debian/menu file to conform to the new menu policy and added an
  icon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
====== Getting started ======
 
2
 
 
3
When you run **zim** for the first time, the first thing you need to do is to add a [[notebooks|notebook]]. This means that you need to tell **zim** in which directory you want to store your pages.
 
4
 
 
5
When you open a newly created [[notebooks|notebook]] you get an empty page titled "**Home**". You can just start typing on this page. Do not worry about saving, this is done automatically.
 
6
 
 
7
Now you can use the items in the //Format// menu or their corresponding [[keybindings]] to make text **bold** or //italic//. A special format type is "Link" which highlights a word as a hyperlink. Try selecting a word in your text and press ''<ctrl>L'' this will make the word a link. Now when you click on this word (or press ''<Enter>'' while the cursor is on the link) you go to a new page. You will notice that this new page is generated on the fly.
 
8
 
 
9
Once you have several pages you can navigate them like you would in a browser. Their are buttons and [[keybindings]] for going Back, Forward or Home.
 
10
 
 
11
It is also possible to order your pages into namespaces. The namespace separator is the colon ":" character. So when you use this character as part of a page name the name will be split at that point. The tree in the side pane will show a hierarchy of namespaces when you use this.
 
12
 
 
13
After you have edited some pages you might want to have a look at how they are saved. Use the "//Tools//->//Open folder//" menu item for this. It will open the directory where the content of the notebook is stored. As you will see there is a simple text file corresponding to each page. These text files are formatted with [[syntax|wiki format]] to preserve markup. This "raw" markup can also be used in **zim**, try entering some raw syntax in your page and press ''<ctrl>R'' to reload the page; your formatting codes are now parsed into markup. Apart from the raw wiki syntax there are also a number of formats that are parsed as you type them, this is called [[autoformat|autoformatting]] and can be very useful to speed up your typing.
 
14
 
 
15
===== Some tips =====
 
16
 
 
17
**Zim** has a lot of little features to make often performed routines quicker. Some of these are highlighted below. Just try out some ways to work with **zim** and see what suits you.
 
18
 
 
19
=== Use the "Jump to.." dialog ===
 
20
If you want to start a new page without linking to it you can popup the //Jump to..// dialog using "''<Ctrl>J''" and type the name of the page you want. The page you jump to does not have to exist, if it doesn't it will be created on the fly when you start editing. This routine can be used to make notes of thought unrelated to what you are working on when they popup in your mind. You can use "''<Alt>Left''" or the "Back" button to return to what you were doing.
 
21
 
 
22
=== Use CamelCase ===
 
23
CamelCase is a way of to mark page names that is often used in wikis. The idea is that a page name always is a contraction of two words both starting with a capital (like for example the word "CamelCase"). The wiki recognizes these words and highlights them as links. **Zim** [[autoformat|auto-formats]] these CamelCase words on the fly when you type them. Thus you do not have to explicitly create links as long as you choose your page names to match this format.
 
24
 
 
25
If you do not like CamelCase it can be turned off in the preferences menu (//Edit//->//Preferences//) under the "Editing" tab.
 
26
 
 
27
=== Use backlinks ===
 
28
You can use [[:zim:usage:linking|backlinks]] to trace all pages that link to a certain page. This can be used to create wiki-style categories. For example a lot of people put "TODO" or "FIXME" tags at places where more work needs to be done. Of course you can find all pages containing such tags using the //Search// dialog. But you could also type ":TODO" instead and thus create a link to the "TODO" page. Now when you go to this "TODO" page you can get a list with [[linking|backlinks]] that lists all pages that link to this "TODO" page. Since link relations are stored in a cache this is more efficient than searching for tags each time.
 
29
 
 
30
=== Use the <ctrl><space> keybinding ===
 
31
The ''<ctrl><space>'' [[keybindings|keybinding]] is used to switch focus between the text area and the tree in the side pane. This allows you to switch pages using the keyboard instead of needing to grab the mouse. As an extra feature the ''<ctrl><space>'' keybinding pops open the side pane when it was hidden but closes it as soon as you have selected a page. This is very useful when you do not want to have the side pane open all the time but instead use it occasionally to find another page.