meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:advanced_user_hints [17 June 2019 20:50] – [Colored code] For advanced options knaak@iqo.uni-hannover.dewiki:advanced_user_hints [26 April 2022 15:03] (current) – [Excel style calculations] more explicit knaak@iqo.uni-hannover.de
Line 1: Line 1:
-====== Advanced editor hints ======+====== Advanced features of the AP Wiki ======
 This page mostly deals with issues specific to the APwiki. For general help on dokuwiki see the [[wiki:syntax|local dokuwiki syntax help]] and/or the [[doku>manual|official manual]]. This page mostly deals with issues specific to the APwiki. For general help on dokuwiki see the [[wiki:syntax|local dokuwiki syntax help]] and/or the [[doku>manual|official manual]].
  
Line 61: Line 61:
  
 ==== Excel style calculations ==== ==== Excel style calculations ====
-The plugin [[doku>plugin:tablecalc|tablecalc]] adds the ability to do excel style calculations. There is a number of math functions. One of the most useful is ''sum(range)''. Check the table below for a simple example. The [[doku>plugin:tablecalc|manual of the plugin]] shows how more complex stuff can be done.+The plugin [[doku>plugin:tablecalc|tablecalc]] adds the ability to do excel style calculations. There is a number of math functions. One of the most useful is ''sum(range)''. Check the table below for a simple example. The [[doku>plugin:tablecalc|manual of the tablecalc plugin]] shows how to do more complex stuff.
  
 ==== In-place-editing of tables ==== ==== In-place-editing of tables ====
Line 71: Line 71:
  
 ==== Coloured table cells ==== ==== Coloured table cells ====
-You can paint the cells of a table by preceding the entry with ''@FOOBAR:''. Replace "FOOBAR" with your favourite colour. You choose from every colour known to HTML. This includes numerical [[http://html-color-codes.info/|RGB-codes]]. +You can paint the cells of a table by preceding the entry with ''@FOOBAR:''. Replace "FOOBAR" with your favourite colour. You can choose from every colour known to HTML. This includes numerical [[http://html-color-codes.info/|RGB-codes]]. 
 ^ one   ^ two              ^ ^ one   ^ two              ^
 | three  | four and a half  | | three  | four and a half  |
Line 79: Line 79:
  
 ==== Colored code ==== ==== Colored code ====
-The [[doku>plugins:syntaxhighlighting4|syntaxhighlighting4]] plugin can render your code in a colorful way. It understands many common languages like python, c++, java and perl. LaTeX is supported, too. Basic usage is: +The [[doku>plugin:syntaxhighlighter4|syntaxhighlighter4]] plugin can render your code in a colorful way. It understands many common languages like python, c++, java and perl. LaTeX is supported, too. Basic usage is: 
-<code><sxh LANG> CODE </sxh></code>+<code><sxh LANG> CODE </sxh></code>
 LANG is the language of your code. Hello world example: LANG is the language of your code. Hello world example:
 <sxh cpp> <sxh cpp>
Line 91: Line 91:
 </sxh> </sxh>
 For advanced options see [[https://github.com/crazy-max/dokuwiki-plugin-syntaxhighlighter4#syntax-and-usage|the github docs of the plugin]]. For advanced options see [[https://github.com/crazy-max/dokuwiki-plugin-syntaxhighlighter4#syntax-and-usage|the github docs of the plugin]].
 +
 +Over the years, the regular code environment acquired highlighting ambitions, too:
 +<code cpp [enable_line_numbers="true",highlight_lines_extra="2"]>
 +#include <stdio.h>
 +int main()
 +{
 +   printf("Hello, World!");
 +   return 0;
 +}
 +</code>
 +
 ===== List of files in a folder ===== ===== List of files in a folder =====
 You can use the [[doku>plugins:filelist|filelist]] plugin to list files in a folder of the media section of APwiki. Use the wildcards ''*'' and ''?'' to specify which names to show. Specifically, [[http://unixhelp.ed.ac.uk/CGI/man-cgi?glob+7|unix style globbing]] is used for the selection.  You can use the [[doku>plugins:filelist|filelist]] plugin to list files in a folder of the media section of APwiki. Use the wildcards ''*'' and ''?'' to specify which names to show. Specifically, [[http://unixhelp.ed.ac.uk/CGI/man-cgi?glob+7|unix style globbing]] is used for the selection. 
Line 137: Line 148:
 <code>{{ VideoURL | DokuwikiPathToVideo? WIDTHxHEIGHT & PathToPreviewImage | AlternateText}}</code> <code>{{ VideoURL | DokuwikiPathToVideo? WIDTHxHEIGHT & PathToPreviewImage | AlternateText}}</code>
  
-Example: +Example with default width and height
-<code>{{ http://bibo.iqo.uni-hannover.de/qtiplotvideo.mp4 ? & :wiki:playground:qtiplot_screenshot.jpg |}}</code> +<code>{{ :qti_faq:scatterplotundbeschriftung_kl.mp4? & :wiki:playground:qtiplot_screenshot.jpg |}}</code> 
-{{ http://bibo.iqo.uni-hannover.de/qtiplotvideo.mp4? & :wiki:playground:qtiplot_screenshot.jpg |}}+{{ :qti_faq:scatterplotundbeschriftung_kl.mp4? & :wiki:playground:qtiplot_screenshot.jpg |}}
  
  
Line 301: Line 312:
  
 {{tag>help APwiki}} {{tag>help APwiki}}
-{{indexmenu_n>3}}+{{indexmenu_n>4}}  /* sort this page after basic features */