Difference between revisions of "Wiki:Editing"

From Wiki
Jump to navigation Jump to search
m (Reverted edits by 81.86.23.246 (Talk) to last version by Adityam)
Line 5: Line 5:
 
=== May I edit pages without signing in? ===
 
=== May I edit pages without signing in? ===
  
Yes, you may (mainly because we are still glad if the users who hate signing in can nevertheless contribute), but you are highly <b>discouraged</b> to do so. Please, sign in before contributing if possible. Even if you use a username/nickname with no resemblance to your real name, this is still better than not signing in at all.
+
Yes, you may (mainly because we are still glad if the users who hate signing in can nevertheless contribute), but you are highly <b>discouraged</b> to do so. Please, sign in before contributing if possible. Even if you use a username/nickname with no resemblance to your real name, this is still better than not signing [http://www.resumewritingservice.biz/services/ resume writing service] in at all.
  
 
=== How do I edit the first page? ===
 
=== How do I edit the first page? ===

Revision as of 18:30, 8 December 2010

For Formatting help see www.mediawiki.org/wiki/Help:Formatting

General

May I edit pages without signing in?

Yes, you may (mainly because we are still glad if the users who hate signing in can nevertheless contribute), but you are highly discouraged to do so. Please, sign in before contributing if possible. Even if you use a username/nickname with no resemblance to your real name, this is still better than not signing resume writing service in at all.

How do I edit the first page?

First page is protected to avoid spammers. However, you can still edit it (let's hope for stupid spammers). Type Template:Main Page after contextgarden.net/ and edit that template.

How do I sign when posting a comment?

  • ~~~ will expand into [[User:Yourusername|Yournickname]], so basically your nickname will be shown
  • ~~~~ will also add a timestamp next to your nickname

So you will usually write --~~~ or --~~~~

What are the other commands to edit this wiki?

The markup used in this wiki is a general MediaWiki markup and is described in the MediaWiki User Guide (esp. http://meta.wikimedia.org/wiki/Help:Editing ).

Most of the following markup on this help page is specific for contextgarden. So, read on!


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]]
 [[modules:t-bnf| bnf module]]
 [[cmd:goto|\goto]] 

Looks like: