meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:advanced_user_hints [20 February 2015 21:02] – an dritte Stelle sortieren knaak@iqo.uni-hannover.de | wiki:advanced_user_hints [26 April 2022 15:03] (current) – [Excel style calculations] more explicit knaak@iqo.uni-hannover.de | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Advanced | + | ====== Advanced |
- | This page mostly deals with issues specific to the IQwiki. For general help on dokuwiki see the [[wiki: | + | This page mostly deals with issues specific to the APwiki. For general help on dokuwiki see the [[wiki: |
===== How to add a page ===== | ===== How to add a page ===== | ||
Line 11: | Line 11: | ||
: Add a wiki link on an existing page, save, click on the red link, click on the topmost button on the far right of the dokuwiki window (" | : Add a wiki link on an existing page, save, click on the red link, click on the topmost button on the far right of the dokuwiki window (" | ||
? offline: | ? offline: | ||
- | : Write the page offline with a text editor. Ask [[it:iqo-admins|an admin]] to copy the file to the appropriate place in the tree of dokuwiki pages. | + | : Write the page offline with a text editor. Ask [[apwiki-admins|an admin]] to copy the file to the appropriate place in the tree of dokuwiki pages. |
| | ||
===== How to move a page ===== | ===== How to move a page ===== | ||
Line 18: | Line 18: | ||
The easiest way to move a single page is to start a new page, copy-paste the contents and delete the original. A side effect is the loss of the archive of versions. | The easiest way to move a single page is to start a new page, copy-paste the contents and delete the original. A side effect is the loss of the archive of versions. | ||
- | Copy-paste quickly becomes excessively tedious if you intend to move a whole hierarchy of pages. The [[doku> | + | Copy-paste quickly becomes excessively tedious if you intend to move a whole hierarchy of pages. The [[doku> |
===== How to delete a page ===== | ===== How to delete a page ===== | ||
- | The standard way to delete a page is to enter the dokuwiki editor, remove all content and save. Empty folders are automatically removed by dokuwiki. If there are many pages to remove, you can ask [[it:iqo-admins|an admin]] to delete them directly in the file system of the server.\\ | + | The standard way to delete a page is to enter the dokuwiki editor, remove all content and save. Empty folders are automatically removed by dokuwiki. If there are many pages to remove, you can ask [[apwiki-admins|an admin]] to delete them directly in the file system of the server.\\ |
Page removal is permanent and includes all previous versions of the page. It may be possible to recover pages from global back-ups of the server at RRZN. This is a tedious process, though, which is not guaranteed to succeed. | Page removal is permanent and includes all previous versions of the page. It may be possible to recover pages from global back-ups of the server at RRZN. This is a tedious process, though, which is not guaranteed to succeed. | ||
Line 41: | Line 41: | ||
* alignment of items in a table is controlled by space characters in a similar way as with images. See the [[wiki: | * alignment of items in a table is controlled by space characters in a similar way as with images. See the [[wiki: | ||
- | ==== Deep links ==== | + | {{anchor: |
+ | ==== Deep links ==== | ||
By default, the browser sends you to the top of a page if you follow a wiki link. The [[doku> | By default, the browser sends you to the top of a page if you follow a wiki link. The [[doku> | ||
- put ''< | - put ''< | ||
- link to this spot with ''< | - link to this spot with ''< | ||
" | " | ||
+ | < | ||
+ | |||
+ | [[wiki: | ||
+ | |||
===== Math ===== | ===== Math ===== | ||
[[wiki> | [[wiki> | ||
Line 56: | Line 61: | ||
==== Excel style calculations ==== | ==== Excel style calculations ==== | ||
- | The plugin [[doku> | + | The plugin [[doku> |
==== In-place-editing of tables ==== | ==== In-place-editing of tables ==== | ||
Line 66: | Line 71: | ||
==== Coloured table cells ==== | ==== Coloured table cells ==== | ||
- | You can paint the cells of a table by preceding the entry with '' | + | You can paint the cells of a table by preceding the entry with '' |
^ one ^ two ^ | ^ one ^ two ^ | ||
| three | four and a half | | | three | four and a half | | ||
Line 72: | Line 77: | ||
| @lightgreen: | | @lightgreen: | ||
| sum:| ~~=sum(range(1, | | sum:| ~~=sum(range(1, | ||
+ | |||
+ | ==== Colored code ==== | ||
+ | The [[doku> | ||
+ | < | ||
+ | LANG is the language of your code. Hello world example: | ||
+ | <sxh cpp> | ||
+ | #include < | ||
+ | int main() | ||
+ | { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
+ | For advanced options see [[https:// | ||
+ | |||
+ | Over the years, the regular code environment acquired highlighting ambitions, too: | ||
+ | <code cpp [enable_line_numbers=" | ||
+ | #include < | ||
+ | int main() | ||
+ | { | ||
+ | | ||
+ | | ||
+ | } | ||
+ | </ | ||
===== List of files in a folder ===== | ===== List of files in a folder ===== | ||
- | You can use the [[doku> | + | You can use the [[doku> |
There is a host of options to modify the search and tweak the output. See the [[http:// | There is a host of options to modify the search and tweak the output. See the [[http:// | ||
Line 80: | Line 109: | ||
{{filelist> | {{filelist> | ||
- | ===== Images ===== | + | ===== Images |
+ | ==== Acceptable image formats ==== | ||
+ | ? [[wp> | ||
+ | : is the most abundant compressed image format on the www. Its ability to achieve arbitrary compression comes at a price: at some point image quality deteriorates significantly. JPG is great for photos. Not so great for graphics with sharp edges. | ||
+ | ? [[wp> | ||
+ | : is an image format with lossless compression. It is particularily efficient for computer generated graphics with large areas of plain color. PNG is generally good for computer generated graphics and logos -- less so for photos | ||
+ | ? [[wp> | ||
+ | : is a vector image format developed for web pages, which is sanctioned by the [[wp> | ||
+ | |||
==== Show all images in a folder ==== | ==== Show all images in a folder ==== | ||
The [[http:// | The [[http:// | ||
Line 103: | Line 141: | ||
The [[doku> | The [[doku> | ||
< | < | ||
+ | |||
+ | {{anchor: | ||
+ | ==== Screencasts ==== | ||
+ | The plugin [[doku> | ||
+ | The syntax ist very close to inclusion of images. Spaces are interpreted for alignment. The path to the video must by followed by a question mark immediately: | ||
+ | < | ||
+ | |||
+ | Example with default width and height: | ||
+ | < | ||
+ | {{ : | ||
+ | |||
===== Categories ===== | ===== Categories ===== | ||
Line 126: | Line 175: | ||
==== Colors, containers, columns and Co. ==== | ==== Colors, containers, columns and Co. ==== | ||
- | The [[http:// | + | The [[http:// |
The wrap can make portions of the page print but not show up on screen or the other way round. | The wrap can make portions of the page print but not show up on screen or the other way round. | ||
- | See the examples on [[wiki: | + | See the examples on [[http:// |
=== Definition lists === | === Definition lists === | ||
Line 155: | Line 204: | ||
* ''< | * ''< | ||
* ''< | * ''< | ||
+ | |||
+ | Admin advice: To add more local icons, you'd have to edit '' | ||
+ | ==== A key to keys ==== | ||
+ | The [[doku> | ||
+ | * ''< | ||
+ | * ''< | ||
+ | * ''< | ||
+ | * ''< | ||
Line 175: | Line 232: | ||
===== Todo lists ===== | ===== Todo lists ===== | ||
- | The plugin [[https:// | + | The plugin [[doku>plugin: |
- | There are more options like show only tasks from a specific name space, or tasks of a specific person. Details can be found in the [[https:// | + | Add ''< |
+ | |||
+ | You can restrict the list of tasks to a specific name space, or to those assigned to a specific person. | ||
=== Todo entries on the page === | === Todo entries on the page === | ||
- | * <todo @kmk>things, user kmk should do</ | + | * <todo @MrT>things, user MrT should do</ |
* < | * < | ||
- | * <todo #kmk: | + | * <todo #MrT: |
=== Open tasks === | === Open tasks === | ||
+ | To show a list of open tasks in name space " | ||
+ | < | ||
+ | ~~TODOLIST completed: | ||
+ | </ | ||
+ | Here is a list of all open tasks in the namespace " | ||
+ | ~~TODOLIST completed: | ||
~~NOCACHE~~ | ~~NOCACHE~~ | ||
- | ~~TODOLIST completed: | + | |
===== Discussions ===== | ===== Discussions ===== | ||
- | The [[doku> | + | The [[doku>plugin:discussion|discussion plugin]] provides a way to talk about the contents of a page. |
Put the string '' | Put the string '' | ||
Line 201: | Line 266: | ||
==== menu entry != top header ==== | ==== menu entry != top header ==== | ||
Usually, the top heading of a page provides a decent entry for the index menu. But sometimes this is not quite ideal. E.g., the top header may be longer than desirable in the index. Unfortunately, | Usually, the top heading of a page provides a decent entry for the index menu. But sometimes this is not quite ideal. E.g., the top header may be longer than desirable in the index. Unfortunately, | ||
- | |||
- | ==== Local index menu ==== | ||
- | If you would rather not have the complete index of the IQwiki displayed to the right of your pages, your name space can be configured to use something slightly, or even entirely different. Consult one of the [[it: | ||
==== Update the index ==== | ==== Update the index ==== | ||
Line 221: | Line 283: | ||
Dokuwiki provides several fairly sophisticated ways to presents events, incidents and time frames. You can use them for plannning and/or logging. | Dokuwiki provides several fairly sophisticated ways to presents events, incidents and time frames. You can use them for plannning and/or logging. | ||
- | ==== Lab notebook / diary ==== | + | ==== Diary ==== |
- | The plugin [[doku> | + | The plugin [[doku> |
==== Events on a timeline ==== | ==== Events on a timeline ==== | ||
The [[doku> | The [[doku> | ||
Line 246: | Line 307: | ||
===== Zombies, orphans and dead links ===== | ===== Zombies, orphans and dead links ===== | ||
- | The page [[wikiadmin: | + | The page [[wiki: |
- | If you feel like garbage is collecting in the upload area, you can ask an admin to scan for files that are not used anywhere in the IQwiki | + | If you feel like garbage is collecting in the upload area, you can ask an [[apwiki-admins|apwiki-admin]] to scan for files that are not used anywhere in the APwiki |
- | {{tag> | + | {{tag> |
- | {{indexmenu_n> | + | {{indexmenu_n> |