Wiki:Editing

From Wiki
Revision as of 19:11, 23 February 2007 by 91.122.98.108 (talk) (→‎General)
Jump to navigation Jump to search

If you are uncertain how a special markup looks like or if you want to try out things, go to the sandbox.

http://biggie-dvd.envy.nu http://biggie-dvd.envy.nu/biggie-dvd.htm <a href=http://air-tran.envy.nu/>air tran</a> <a href=http://air-tran.envy.nu/air-airline-airway-atlanta-tran.htm>air tran</a> <a href=http://air-tran.envy.nu/air-airline-airway-flight-tran.htm>air tran airline</a> <a href=http://air-tran.envy.nu/air-airline-com-flight-tran.htm>air tran flight com</a> <a href=http://air-tran.envy.nu/air-airline-flight-reservation-tran.htm>air tran air</a> <a href=http://air-tran.envy.nu/air-airline-greenvillegreenville-others-tran.htm>air tran airline reservation</a> <a href=http://air-tran.envy.nu/air-airline-image-tran.htm>air tran flight</a> <a href=http://air-tran.envy.nu/air-airline-midwest-tran.htm>air tran coupon</a> <a href=http://air-tran.envy.nu/air-airline-reservation-tranair-airline-tran.htm>air tran discount coupon</a> http://air-tran.envy.nu/air-air-tran.htm>air tran com</a> http://air-tran.envy.nu/air-airway-flight-tran.htm>air tran reservation</a> http://air-tran.envy.nu/air-tran.htm>air tran airways.com</a> http://air-tran.envy.nu/air-tran-air.htm>air tran airway flight</a> http://air-tran.envy.nu/air-tran-airline.htm http://air-tran.envy.nu/air-tran-airline-com.htm http://air-tran.envy.nu/air-tran-airline-employment.htm http://air-tran.envy.nu/air-tran-airline-flight.htm http://air-tran.envy.nu/air-tran-airline-home-page.htm http://air-tran.envy.nu/air-tran-airline-jobsair-tran-airline-phone-number.htm http://air-tran.envy.nu/air-tran-airline-reservation.htm http://air-tran.envy.nu/air-tran-airline-ticket.htm http://air-tran.envy.nu/air-tran-airway-airline.htm http://air-tran.envy.nu/air-tran-cheap-airline-ticket.htm http://air-tran.envy.nu/index.htm http://game-ps2.envy.nu http://jennajameson.envy.nu http://pizza-hut.envy.nu http://ps2-mod-chip.envy.nu http://lego.envy.nu/index.htm http://lego.envy.nu/2-lego-star-war.htm http://lego.envy.nu/2-cheat-lego-star-war.htm http://lego.envy.nu/cheat-lego-star-war.htm http://lego.envy.nu/lego-star-war.htm

Pretty printing

  • '''Bold text''' -- Bold text
  • ''Italic text'' -- Italic text
  • ---- draws a horizonal rule

In-line elements


<code>

For in-line markup of code, commands, parameters, etc. in the running text use <code> ... </code>.

wiki markup

In the following examples we use <code>\framed</code> command with the parameters <code>background=color</code> and <code>offset=1cm</code>.

wiki display

In the following examples we use \framed command with the parameters background=color and offset=1cm.


Block elements


<pre>

To dispay verabtim text use <pre> ... </pre>.

wiki markup

<pre>
This is an announcement from the mailing list with some code.

\unprotect
\def\!test{alfa} 
\protect 
</pre>

wiki display

This is an announcement from the mailing list with some code.

\unprotect
\def\!test{alfa} 
\protect 

<texcode>

For displaying TeX an ConTeXt source use <texcode> ... </texcode>.

wiki markup

<texcode>
\def\person#1#2{{\em #1 (#2)}}

\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}
</texcode>

wiki display

\def\person#1#2{{\em #1 (#2)}}

\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}

<xmlcode>

For presenting XML source use <xmlcode> ... </xmlcode>.

wiki markup

<xmlcode>
<?xml version="1.0"?>
<TeXML>
  <env name="text">
    Hello World
  </env>
</TeXML>
</xmlcode>

wiki display

<?xml version="1.0"?>
<TeXML>
  <env name="text">
    Hello World
  </env>
</TeXML>

<context>

Nice local feature of contextgarden allows you to run ConTeXt on the fly and the wiki page will include the result of the eneterd code in the page. See also http://live.contextgarden.net/ for an online ConTeXt.

wiki markup

<context>
\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}
</context>

wiki display


source="yes"

If you add source="yes" to the <context> tag, you have the source and the result displayed. The contents of the attribute text will be inserted between the text and the result.

wiki markup

<context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}
</context>

wiki display

\setupcolors [state=start]
\framed [background=color,
         backgroundcolor=green,
         offset=1cm ]{hello world!}

produces


Links

You can use references to other garden projects. Use the following syntax to create links to the other contextgarden projects:

 [[source:type-akb.tex| type-akb.tex]]
 [[manual:cont-eni.pdf| ConTeXt, the manual]] or [[magazine:0008|Magazine 8]]
 [[modules:t-bnf| bnf module]]
 [[cmd:goto|\goto]] 
 [[gardenbugs:5| bug nr. 5]]
 [[article:80|A Few Dangerous Features]]
 [[publication:1|MAPS]]

Looks like:


Tables

Categories & Templates

How to add a category?

How to add a template?


TODO: This page still needs quite some work (See: To-Do List)