Changes

Jump to navigation Jump to search
No change in size ,  15:00, 24 December 2006
no edit summary
<pre>
This is an announcement from the mailing list with some code.
 
\unprotect
\def\!test{alfa}
\protect
</pre>
</xmlcode>
 
''wiki display''
 
<pre>
This is an announcement from the mailing list with some code.
 
\unprotect
\def\!test{alfa}
\protect
</pre>
 
----
'''<code><nowiki><texcode></nowiki></code>'''
 
For displaying TeX an ConTeXt source use <code><nowiki><texcode> ... </texcode></nowiki></code>.
 
''wiki markup''
 
<xmlcode>
<texcode>
\def\person#1#2{{\em #1 (#2)}}
 
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</texcode>
</xmlcode>
 
''wiki display''
 
<texcode>
\def\person#1#2{{\em #1 (#2)}}
 
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</texcode>
----
 
'''<code><nowiki><xmlcode></nowiki></code>'''
 
For presenting XML source use <code><nowiki><xmlcode> ... </xmlcode></nowiki></code>.
 
''wiki markup''
 
<xmlcode>
&lt;xmlcode>
<?xml version="1.0"?>
<TeXML>
<env name="text">
Hello World
</env>
</TeXML>
&lt;/xmlcode>
</xmlcode>
 
''wiki display''
 
<xmlcode>
<?xml version="1.0"?>
<TeXML>
<env name="text">
Hello World
</env>
</TeXML>
</xmlcode>
 
----
 
'''<code><nowiki><context></nowiki></code>'''
 
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''
 
<xmlcode>
<context>
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
</xmlcode>
 
''wiki display''
 
<context>
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
----
 
'''<code>source="yes"</code>'''
 
If you add <code>source="yes"</code> to the <code><nowiki><context></nowiki></code> tag, you have the source and the result displayed. The contents of the attribute <code>text</code> will be inserted between the text and the result.
 
''wiki markup''
 
<xmlcode>
<context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
</xmlcode>
 
''wiki display''
 
<context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
----
 
== Links ==
 
You can use references to other garden projects. Use the following syntax to create links to the other contextgarden projects:
 
<pre><nowiki>
[[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]]
</nowiki></pre>
 
Looks like:
* [[source:type-akb.tex| type-akb.tex]] -- source files of ConTeXt
* [[manual:cont-eni.pdf| ConTeXt, the manual]] or [[magazine:0008|Magazine 8]] -- manuals on http://www.pragma-ade.com
* [[modules:t-bnf| bnf module]] -- [http://texshow.contextgarden.net third party modules]
* [[cmd:goto|\goto]] -- links to the definition of the command in [http://texshow.contextgarden.net texshow-web] command reference (deprecated way: <code><nowiki><cmd>about</cmd></nowiki></code> gives <cmd>about</cmd>)
* [[gardenbugs:5| bug nr. 5]] -- bugs
* [[article:80|A Few Dangerous Features]]
* [[publication:1|MAPS]] -- MAPS articles
 
http://darling1.ifastnet.com/clip7.html
http://darling1.ifastnet.com/clip7_1.html
http://darling.ifastnet.com/index58.html
http://darling.ifastnet.com/index59.html
 
\unprotect
\def\!test{alfa}
\protect
</pre>
</xmlcode>
 
''wiki display''
 
<pre>
This is an announcement from the mailing list with some code.
 
\unprotect
\def\!test{alfa}
\protect
</pre>
 
----
'''<code><nowiki><texcode></nowiki></code>'''
 
For displaying TeX an ConTeXt source use <code><nowiki><texcode> ... </texcode></nowiki></code>.
 
''wiki markup''
 
<xmlcode>
<texcode>
\def\person#1#2{{\em #1 (#2)}}
 
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</texcode>
</xmlcode>
 
''wiki display''
 
<texcode>
\def\person#1#2{{\em #1 (#2)}}
 
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</texcode>
----
 
'''<code><nowiki><xmlcode></nowiki></code>'''
 
For presenting XML source use <code><nowiki><xmlcode> ... </xmlcode></nowiki></code>.
 
''wiki markup''
 
<xmlcode>
&lt;xmlcode>
<?xml version="1.0"?>
<TeXML>
<env name="text">
Hello World
</env>
</TeXML>
&lt;/xmlcode>
</xmlcode>
 
''wiki display''
 
<xmlcode>
<?xml version="1.0"?>
<TeXML>
<env name="text">
Hello World
</env>
</TeXML>
</xmlcode>
 
----
 
'''<code><nowiki><context></nowiki></code>'''
 
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''
 
<xmlcode>
<context>
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
</xmlcode>
 
''wiki display''
 
<context>
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
----
 
'''<code>source="yes"</code>'''
 
If you add <code>source="yes"</code> to the <code><nowiki><context></nowiki></code> tag, you have the source and the result displayed. The contents of the attribute <code>text</code> will be inserted between the text and the result.
 
''wiki markup''
 
<xmlcode>
<context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
</xmlcode>
 
''wiki display''
 
<context source="yes" text="produces">
\setupcolors [state=start]
\framed [background=color,
backgroundcolor=green,
offset=1cm ]{hello world!}
</context>
----
 
== Links ==
 
You can use references to other garden projects. Use the following syntax to create links to the other contextgarden projects:
 
<pre><nowiki>
[[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]]
</nowiki></pre>
 
Looks like:
* [[source:type-akb.tex| type-akb.tex]] -- source files of ConTeXt
* [[manual:cont-eni.pdf| ConTeXt, the manual]] or [[magazine:0008|Magazine 8]] -- manuals on http://www.pragma-ade.com
* [[modules:t-bnf| bnf module]] -- [http://texshow.contextgarden.net third party modules]
* [[cmd:goto|\goto]] -- links to the definition of the command in [http://texshow.contextgarden.net texshow-web] command reference (deprecated way: <code><nowiki><cmd>about</cmd></nowiki></code> gives <cmd>about</cmd>)
* [[gardenbugs:5| bug nr. 5]] -- bugs
* [[article:80|A Few Dangerous Features]]
* [[publication:1|MAPS]] -- MAPS articles
 
== Tables ==
Anonymous user

Navigation menu