\documentclass[12pt,titlepage]{article}
\usepackage{amsmath}
\usepackage{mathrsfs}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{color}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{xparse}
\usepackage{hyperref}
%----Macros----------
%
% Unresolved issues:
%
% \righttoleftarrow
% \lefttorightarrow
%
% \color{} with HTML colorspec
% \bgcolor
% \array with options (without options, it's equivalent to the matrix environment)
% Of the standard HTML named colors, white, black, red, green, blue and yellow
% are predefined in the color package. Here are the rest.
\definecolor{aqua}{rgb}{0, 1.0, 1.0}
\definecolor{fuschia}{rgb}{1.0, 0, 1.0}
\definecolor{gray}{rgb}{0.502, 0.502, 0.502}
\definecolor{lime}{rgb}{0, 1.0, 0}
\definecolor{maroon}{rgb}{0.502, 0, 0}
\definecolor{navy}{rgb}{0, 0, 0.502}
\definecolor{olive}{rgb}{0.502, 0.502, 0}
\definecolor{purple}{rgb}{0.502, 0, 0.502}
\definecolor{silver}{rgb}{0.753, 0.753, 0.753}
\definecolor{teal}{rgb}{0, 0.502, 0.502}
% Because of conflicts, \space and \mathop are converted to
% \itexspace and \operatorname during preprocessing.
% itex: \space{ht}{dp}{wd}
%
% Height and baseline depth measurements are in units of tenths of an ex while
% the width is measured in tenths of an em.
\makeatletter
\newdimen\itex@wd%
\newdimen\itex@dp%
\newdimen\itex@thd%
\def\itexspace#1#2#3{\itex@wd=#3em%
\itex@wd=0.1\itex@wd%
\itex@dp=#2ex%
\itex@dp=0.1\itex@dp%
\itex@thd=#1ex%
\itex@thd=0.1\itex@thd%
\advance\itex@thd\the\itex@dp%
\makebox[\the\itex@wd]{\rule[-\the\itex@dp]{0cm}{\the\itex@thd}}}
\makeatother
% \tensor and \multiscript
\makeatletter
\newif\if@sup
\newtoks\@sups
\def\append@sup#1{\edef\act{\noexpand\@sups={\the\@sups #1}}\act}%
\def\reset@sup{\@supfalse\@sups={}}%
\def\mk@scripts#1#2{\if #2/ \if@sup ^{\the\@sups}\fi \else%
\ifx #1_ \if@sup ^{\the\@sups}\reset@sup \fi {}_{#2}%
\else \append@sup#2 \@suptrue \fi%
\expandafter\mk@scripts\fi}
\def\tensor#1#2{\reset@sup#1\mk@scripts#2_/}
\def\multiscripts#1#2#3{\reset@sup{}\mk@scripts#1_/#2%
\reset@sup\mk@scripts#3_/}
\makeatother
% \slash
\makeatletter
\newbox\slashbox \setbox\slashbox=\hbox{$/$}
\def\itex@pslash#1{\setbox\@tempboxa=\hbox{$#1$}
\@tempdima=0.5\wd\slashbox \advance\@tempdima 0.5\wd\@tempboxa
\copy\slashbox \kern-\@tempdima \box\@tempboxa}
\def\slash{\protect\itex@pslash}
\makeatother
% math-mode versions of \rlap, etc
% from Alexander Perlis, "A complement to \smash, \llap, and lap"
% http://math.arizona.edu/~aprl/publications/mathclap/
\def\clap#1{\hbox to 0pt{\hss#1\hss}}
\def\mathllap{\mathpalette\mathllapinternal}
\def\mathrlap{\mathpalette\mathrlapinternal}
\def\mathclap{\mathpalette\mathclapinternal}
\def\mathllapinternal#1#2{\llap{$\mathsurround=0pt#1{#2}$}}
\def\mathrlapinternal#1#2{\rlap{$\mathsurround=0pt#1{#2}$}}
\def\mathclapinternal#1#2{\clap{$\mathsurround=0pt#1{#2}$}}
% Renames \sqrt as \oldsqrt and redefine root to result in \sqrt[#1]{#2}
\let\oldroot\root
\def\root#1#2{\oldroot #1 \of{#2}}
\renewcommand{\sqrt}[2][]{\oldroot #1 \of{#2}}
% Manually declare the txfonts symbolsC font
\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
\SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n}
\DeclareFontSubstitution{U}{txsyc}{m}{n}
% Manually declare the stmaryrd font
\DeclareSymbolFont{stmry}{U}{stmry}{m}{n}
\SetSymbolFont{stmry}{bold}{U}{stmry}{b}{n}
% Manually declare the MnSymbolE font
\DeclareFontFamily{OMX}{MnSymbolE}{}
\DeclareSymbolFont{mnomx}{OMX}{MnSymbolE}{m}{n}
\SetSymbolFont{mnomx}{bold}{OMX}{MnSymbolE}{b}{n}
\DeclareFontShape{OMX}{MnSymbolE}{m}{n}{
<-6> MnSymbolE5
<6-7> MnSymbolE6
<7-8> MnSymbolE7
<8-9> MnSymbolE8
<9-10> MnSymbolE9
<10-12> MnSymbolE10
<12-> MnSymbolE12}{}
% Declare specific arrows from txfonts without loading the full package
\makeatletter
\def\re@DeclareMathSymbol#1#2#3#4{%
\let#1=\undefined
\DeclareMathSymbol{#1}{#2}{#3}{#4}}
\re@DeclareMathSymbol{\neArrow}{\mathrel}{symbolsC}{116}
\re@DeclareMathSymbol{\neArr}{\mathrel}{symbolsC}{116}
\re@DeclareMathSymbol{\seArrow}{\mathrel}{symbolsC}{117}
\re@DeclareMathSymbol{\seArr}{\mathrel}{symbolsC}{117}
\re@DeclareMathSymbol{\nwArrow}{\mathrel}{symbolsC}{118}
\re@DeclareMathSymbol{\nwArr}{\mathrel}{symbolsC}{118}
\re@DeclareMathSymbol{\swArrow}{\mathrel}{symbolsC}{119}
\re@DeclareMathSymbol{\swArr}{\mathrel}{symbolsC}{119}
\re@DeclareMathSymbol{\nequiv}{\mathrel}{symbolsC}{46}
\re@DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol{\Vbar}{\mathrel}{symbolsC}{121}
\re@DeclareMathSymbol{\sslash}{\mathrel}{stmry}{12}
\re@DeclareMathSymbol{\bigsqcap}{\mathop}{stmry}{"64}
\re@DeclareMathSymbol{\biginterleave}{\mathop}{stmry}{"6}
\re@DeclareMathSymbol{\invamp}{\mathrel}{symbolsC}{77}
\re@DeclareMathSymbol{\parr}{\mathrel}{symbolsC}{77}
\makeatother
% \llangle, \rrangle, \lmoustache and \rmoustache from MnSymbolE
\makeatletter
\def\Decl@Mn@Delim#1#2#3#4{%
\if\relax\noexpand#1%
\let#1\undefined
\fi
\DeclareMathDelimiter{#1}{#2}{#3}{#4}{#3}{#4}}
\def\Decl@Mn@Open#1#2#3{\Decl@Mn@Delim{#1}{\mathopen}{#2}{#3}}
\def\Decl@Mn@Close#1#2#3{\Decl@Mn@Delim{#1}{\mathclose}{#2}{#3}}
\Decl@Mn@Open{\llangle}{mnomx}{'164}
\Decl@Mn@Close{\rrangle}{mnomx}{'171}
\Decl@Mn@Open{\lmoustache}{mnomx}{'245}
\Decl@Mn@Close{\rmoustache}{mnomx}{'244}
\makeatother
% Widecheck
\makeatletter
\DeclareRobustCommand\widecheck[1]{{\mathpalette\@widecheck{#1}}}
\def\@widecheck#1#2{%
\setbox\z@\hbox{\m@th$#1#2$}%
\setbox\tw@\hbox{\m@th$#1%
\widehat{%
\vrule\@width\z@\@height\ht\z@
\vrule\@height\z@\@width\wd\z@}$}%
\dp\tw@-\ht\z@
\@tempdima\ht\z@ \advance\@tempdima2\ht\tw@ \divide\@tempdima\thr@@
\setbox\tw@\hbox{%
\raise\@tempdima\hbox{\scalebox{1}[-1]{\lower\@tempdima\box
\tw@}}}%
{\ooalign{\box\tw@ \cr \box\z@}}}
\makeatother
% \mathraisebox{voffset}[height][depth]{something}
\makeatletter
\NewDocumentCommand\mathraisebox{moom}{%
\IfNoValueTF{#2}{\def\@temp##1##2{\raisebox{#1}{$\m@th##1##2$}}}{%
\IfNoValueTF{#3}{\def\@temp##1##2{\raisebox{#1}[#2]{$\m@th##1##2$}}%
}{\def\@temp##1##2{\raisebox{#1}[#2][#3]{$\m@th##1##2$}}}}%
\mathpalette\@temp{#4}}
\makeatletter
% udots (taken from yhmath)
\makeatletter
\def\udots{\mathinner{\mkern2mu\raise\p@\hbox{.}
\mkern2mu\raise4\p@\hbox{.}\mkern1mu
\raise7\p@\vbox{\kern7\p@\hbox{.}}\mkern1mu}}
\makeatother
%% Fix array
\newcommand{\itexarray}[1]{\begin{matrix}#1\end{matrix}}
%% \itexnum is a noop
\newcommand{\itexnum}[1]{#1}
%% Renaming existing commands
\newcommand{\underoverset}[3]{\underset{#1}{\overset{#2}{#3}}}
\newcommand{\widevec}{\overrightarrow}
\newcommand{\darr}{\downarrow}
\newcommand{\nearr}{\nearrow}
\newcommand{\nwarr}{\nwarrow}
\newcommand{\searr}{\searrow}
\newcommand{\swarr}{\swarrow}
\newcommand{\curvearrowbotright}{\curvearrowright}
\newcommand{\uparr}{\uparrow}
\newcommand{\downuparrow}{\updownarrow}
\newcommand{\duparr}{\updownarrow}
\newcommand{\updarr}{\updownarrow}
\newcommand{\gt}{>}
\newcommand{\lt}{<}
\newcommand{\map}{\mapsto}
\newcommand{\embedsin}{\hookrightarrow}
\newcommand{\Alpha}{A}
\newcommand{\Beta}{B}
\newcommand{\Zeta}{Z}
\newcommand{\Eta}{H}
\newcommand{\Iota}{I}
\newcommand{\Kappa}{K}
\newcommand{\Mu}{M}
\newcommand{\Nu}{N}
\newcommand{\Rho}{P}
\newcommand{\Tau}{T}
\newcommand{\Upsi}{\Upsilon}
\newcommand{\omicron}{o}
\newcommand{\lang}{\langle}
\newcommand{\rang}{\rangle}
\newcommand{\Union}{\bigcup}
\newcommand{\Intersection}{\bigcap}
\newcommand{\Oplus}{\bigoplus}
\newcommand{\Otimes}{\bigotimes}
\newcommand{\Wedge}{\bigwedge}
\newcommand{\Vee}{\bigvee}
\newcommand{\coproduct}{\coprod}
\newcommand{\product}{\prod}
\newcommand{\closure}{\overline}
\newcommand{\integral}{\int}
\newcommand{\doubleintegral}{\iint}
\newcommand{\tripleintegral}{\iiint}
\newcommand{\quadrupleintegral}{\iiiint}
\newcommand{\conint}{\oint}
\newcommand{\contourintegral}{\oint}
\newcommand{\infinity}{\infty}
\newcommand{\bottom}{\bot}
\newcommand{\minusb}{\boxminus}
\newcommand{\plusb}{\boxplus}
\newcommand{\timesb}{\boxtimes}
\newcommand{\intersection}{\cap}
\newcommand{\union}{\cup}
\newcommand{\Del}{\nabla}
\newcommand{\odash}{\circleddash}
\newcommand{\negspace}{\!}
\newcommand{\widebar}{\overline}
\newcommand{\textsize}{\normalsize}
\renewcommand{\scriptsize}{\scriptstyle}
\newcommand{\scriptscriptsize}{\scriptscriptstyle}
\newcommand{\mathfr}{\mathfrak}
\newcommand{\statusline}[2]{#2}
\newcommand{\tooltip}[2]{#2}
\newcommand{\toggle}[2]{#2}
% Theorem Environments
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{prop}{Proposition}
\newtheorem{cor}{Corollary}
\newtheorem*{utheorem}{Theorem}
\newtheorem*{ulemma}{Lemma}
\newtheorem*{uprop}{Proposition}
\newtheorem*{ucor}{Corollary}
\theoremstyle{definition}
\newtheorem{defn}{Definition}
\newtheorem{example}{Example}
\newtheorem*{udefn}{Definition}
\newtheorem*{uexample}{Example}
\theoremstyle{remark}
\newtheorem{remark}{Remark}
\newtheorem{note}{Note}
\newtheorem*{uremark}{Remark}
\newtheorem*{unote}{Note}
%-------------------------------------------------------------------
\begin{document}
%-------------------------------------------------------------------
\section*{FAQ}
\hypertarget{frequently_asked_questions}{}\section*{{Frequently Asked Questions}}\label{frequently_asked_questions}
\noindent\hyperlink{instiki_features_and_features}{Instiki features and ``features''}\dotfill \pageref*{instiki_features_and_features} \linebreak
\noindent\hyperlink{how_do_i_make_lessthan_and_greaterthan_signs}{How do I make less-than and greater-than signs?}\dotfill \pageref*{how_do_i_make_lessthan_and_greaterthan_signs} \linebreak
\noindent\hyperlink{markdown1}{How do I put math inside HTML?}\dotfill \pageref*{markdown1} \linebreak
\noindent\hyperlink{how_do_i_make_commutative_diagrams}{How do I make commutative diagrams?}\dotfill \pageref*{how_do_i_make_commutative_diagrams} \linebreak
\noindent\hyperlink{my_math_doesnt_look_like_math}{My math doesn't look like math}\dotfill \pageref*{my_math_doesnt_look_like_math} \linebreak
\noindent\hyperlink{lists_are_acting_strangely}{Lists are acting strangely.}\dotfill \pageref*{lists_are_acting_strangely} \linebreak
\noindent\hyperlink{my_latex_produces_gobbledygook_in_itex_and_vice_versa}{My \LaTeX\xspace produces gobbledygook in iTeX and vice versa.}\dotfill \pageref*{my_latex_produces_gobbledygook_in_itex_and_vice_versa} \linebreak
\noindent\hyperlink{i_searched_for_a_page_that_i_know_exists_but_i_couldnt_find_it}{I searched for a page that I know exists, but I couldn't find it}\dotfill \pageref*{i_searched_for_a_page_that_i_know_exists_but_i_couldnt_find_it} \linebreak
\noindent\hyperlink{why_is_there_no_preview_button}{Why is there no ``Preview'' button?}\dotfill \pageref*{why_is_there_no_preview_button} \linebreak
\noindent\hyperlink{WhyMathML}{itex is a pain, why do you guys use MathML?}\dotfill \pageref*{WhyMathML} \linebreak
\noindent\hyperlink{i_want_to_help_out_with_the_software_what_can_i_do}{I want to help out with the software, what can I do?}\dotfill \pageref*{i_want_to_help_out_with_the_software_what_can_i_do} \linebreak
\noindent\hyperlink{html_xml_etc}{HTML, XML, etc.}\dotfill \pageref*{html_xml_etc} \linebreak
\noindent\hyperlink{how_do_i_get_accented_characters}{How do I get accented characters?}\dotfill \pageref*{how_do_i_get_accented_characters} \linebreak
\noindent\hyperlink{nlab_specifics}{\emph{n}-Lab Specifics}\dotfill \pageref*{nlab_specifics} \linebreak
\noindent\hyperlink{why_did_my_page_get_redirected}{Why did my page get redirected?}\dotfill \pageref*{why_did_my_page_get_redirected} \linebreak
\noindent\hyperlink{AskAQuestion}{Where do I ask a question?}\dotfill \pageref*{AskAQuestion} \linebreak
\noindent\hyperlink{Citing}{How do I cite a page on the nLab?}\dotfill \pageref*{Citing} \linebreak
\noindent\hyperlink{i_want_to_help_but_writing_math_on_a_wiki_is_scary_what_can_i_do}{I want to help, but writing math on a wiki is scary; what can I do?}\dotfill \pageref*{i_want_to_help_but_writing_math_on_a_wiki_is_scary_what_can_i_do} \linebreak
\noindent\hyperlink{how_can_i_get_a_personal_section_of_the_nlab}{How can I get a personal section of the nLab?}\dotfill \pageref*{how_can_i_get_a_personal_section_of_the_nlab} \linebreak
\noindent\hyperlink{i_got_access_denied_when_editing_a_page}{I got ``Access denied'' when editing a page.}\dotfill \pageref*{i_got_access_denied_when_editing_a_page} \linebreak
\noindent\hyperlink{i_got_internal_application_error_when_doing_something}{I got ``Internal application error'' when doing something.}\dotfill \pageref*{i_got_internal_application_error_when_doing_something} \linebreak
Also including questions that should be frequently asked but aren't. See also [[HowTo]].
\hypertarget{instiki_features_and_features}{}\subsection*{{Instiki features and ``features''}}\label{instiki_features_and_features}
\hypertarget{how_do_i_make_lessthan_and_greaterthan_signs}{}\subsubsection*{{How do I make less-than and greater-than signs?}}\label{how_do_i_make_lessthan_and_greaterthan_signs}
The characters {\tt \symbol{60}} and {\tt \symbol{62}} are interpreted as beginning or ending HTML tags. To make a less-than or greater-than sign in iTeX math mode, use {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~lt}} and {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~gt}} respectively. For example, {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char48~lt\char32\char49\char36}} produces $0\lt 1$.
\hypertarget{markdown1}{}\subsubsection*{{How do I put math inside HTML?}}\label{markdown1}
By default, the itex syntax {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char46\char46\char46\char36}} is disabled inside raw HTML. However, you can re-enable it by giving the HTML parameter {\colorbox[rgb]{1.00,0.93,1.00}{\tt markdown\char61\char34\char49\char34}}. Thus
\begin{verbatim}
| I can has $m^a_t \hbar$!! |
\end{verbatim}
produces
(Well, that \emph{used} to work, but it seems to have broken along the way!)
At least for tables, you can also use the \href{http://michelf.com/projects/php-markdown/extra/#table}{PHP Markdown Extra} syntax inside which {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char46\char46\char46\char36}} works without a problem.
\hypertarget{how_do_i_make_commutative_diagrams}{}\subsubsection*{{How do I make commutative diagrams?}}\label{how_do_i_make_commutative_diagrams}
See the [[HowTo]]
\hypertarget{my_math_doesnt_look_like_math}{}\subsubsection*{{My math doesn't look like math}}\label{my_math_doesnt_look_like_math}
One of the notable ways in which itex differs from latex is that in itex's math mode, a string of letters without spaces in between is interpreted as a single identifier. This has the advantage that you can invent new identifiers without needing to use {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~operatorname}} or {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~DeclareMathOperator}}, but it means that when you \emph{don't} want a string of letters interpreted that way you need to put spaces in between. For example, {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36sin\char40x\char41\char36}} produces $sin(x)$ which is probably what you want, but {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36h\char61gf\char36}} produces $h=gf$, whereas you probably wanted to write {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36h\char61g\char32f\char36}} to get $h=g f$. On the other hand, you can (and, for the sake of the \LaTeX\xspace output, probably should) use {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36~sin\char40x\char41\char36}}, etc.
\hypertarget{lists_are_acting_strangely}{}\subsubsection*{{Lists are acting strangely.}}\label{lists_are_acting_strangely}
There are several bugs (or ``edge cases'') in the handling of lists by Maruku (the formatting filter used by Instiki). These include:
\begin{itemize}%
\item \href{http://rubyforge.org/tracker/index.php?func=detail&aid=22109&group_id=2795&atid=10735}{single-element unordered lists}
\item \href{http://rubyforge.org/tracker/index.php?func=detail&aid=8862&group_id=2795&atid=10735}{indentation by more than one space}
\end{itemize}
\hypertarget{my_latex_produces_gobbledygook_in_itex_and_vice_versa}{}\subsubsection*{{My \LaTeX\xspace produces gobbledygook in iTeX and vice versa.}}\label{my_latex_produces_gobbledygook_in_itex_and_vice_versa}
iTeX is not \LaTeX\xspace . iTeX is a pure converter whereas \LaTeX\xspace is a mixture of a converter and renderer (technically, latex is the rules for converting the input into pure TeX which is then rendered by tex, but since the conversion is also handled by tex, it can cheat and use information about the rendered output to reinterpret the input). Therefore getting the two to do exactly the same is \textbf{never} going to happen.
On the other hand, the aim is to keep iTeX as close as possible to standard \LaTeX\xspace whilst keeping in mind that iTeX produces MathML. Their similarity can make the differences all the more jarring. Here is a list of the differences that we know about together with suggested work-arounds.
\begin{itemize}%
\item Numbers are one thing. The syntax {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char49\char48\char94\char49\char48\char36}} produces $10^10$ in iTeX but $10^{1}0$ in \LaTeX\xspace . The \textbf{safe} syntax is to always use braces: {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char49\char48\char94\char123\char49\char48\char125\char36}} is consistent.
\item Numbers include punctuation. Periods and commas \emph{within} numbers are numbers. This is so that {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char49\char44\char48\char48\char48\char44\char48\char48\char48\char46\char48\char48\char36}} (or {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char49\char46\char48\char48\char48\char46\char48\char48\char48\char44\char48\char48\char36}} if you are European) renders correctly as $1,000,000.00$ and not ${1},{000},{000}.{00}$. When combined with the previous difference, this means that {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36t\char94\char51\char46\char50\char36}} renders as $t^3.2$ instead of $t^{3}.2$. Either use braces or spaces. (However, for some reason, {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36t\char94\char51\char44\char50\char36}} renders as $t^3,2$ like you'd expect from TeX, so the two differences don't interact entirely logically. This might have been different in earlier versions of iTeX.)
\item Operator names. Since iTeX does not have macro support, extending the list of operator names would be difficult except for the fact that neighbouring strings of letters get combined into an operator name. Thus {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36cos\char36}} produces $cos$. However, in \LaTeX\xspace this produces $c o s$. Where the operator name is a standard \LaTeX\xspace one, such as {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~cos}}, the backslash can be added so {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36~cos\char36}} renders correctly in both cases. Where the operator name is not a standard \LaTeX\xspace one, say {\colorbox[rgb]{1.00,0.93,1.00}{\tt Poly}}, the \textbf{safe} syntax is to use {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~operatorname}}; thus {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36~operatorname\char123Poly\char125\char36}} renders correctly as $\operatorname{Poly}$ in both situations. If you \emph{don't} want an operator name, then use spaces; thus {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36c\char32o\char32s\char36}} produces $c o s$.
\item Whitespace in embedded text. In \LaTeX\xspace {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36x\char32~text\char123\char32and\char32\char125\char32y\char36}} renders as $x\;\text{and}\;y$ but in iTeX it renders as $x\text{ and }y$. This is because MathML says that fore and aft whitespace on {\colorbox[rgb]{1.00,0.93,1.00}{\tt mtext}} elements should be swallowed. The \textbf{safe} syntax is {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36x~\char59~text\char123and\char125~\char59y\char36}}.
\item Two-character relations. In \LaTeX\xspace , two neighbouring relation symbols are combined into one relation symbol. Thus {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36y\char32\char58\char61\char32f\char40x\char41\char36}} becomes $y \mathrel{:=} f(x)$, while {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36y\char32\char61\char32\char45f\char40x\char41\char36}} becomes $y = -f(x)$ because a minus sign is a unary operator instead of a binary relation. Since MathML doesn't know the difference between unary operators and binary relations, it is inconvenient for iTeX to do this, so {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36y\char32\char58\char61\char32f\char40x\char41\char36}} comes out as $y := f(x)$ instead. The \textbf{safe} syntax is {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36y\char32~mathrel\char123\char58\char61\char125\char32f\char40x\char41\char36}}, which produces $y \mathrel{:=} f(x)$. However, in many cases, there is a combined command that you can use. In this case, {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36y\char32~coloneqq\char32f\char40x\char41\char36}} produces $y \coloneqq f(x)$. This method is better when \href{http://golem.ph.utexas.edu/~distler/blog/itex2MMLcommands.html}{available}; even in \LaTeX\xspace , it will adjust the vertical positioning a bit to look nice.
\item Non-ascii characters. iTeX is designed only to parse the mathematical sections of any page and so it assumes that any strange characters will be generated via iTeX commands such as {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~infty}} instead of being directly input as ?. iTeX actually takes an extreme view on this and will not parse mathematics if it includes non-ascii characters. In ordinary mathematics this should not be a problem since one should use the iTeX commands themselves to produce such characters. Where it can be a problem is in {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text}} commands embedded in mathematics because these are \textbf{still} parsed by iTeX even though it does nothing with them. Thus {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text\char123\char63\char125}} is not a legal construct and will simply produce $\text{?}$. Since iTeX does not allow nesting, the construction {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text\char123\char36~infty\char36\char125}} will not work. There are two possibilities:
\begin{enumerate}%
\item Break the {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text}} command: {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text\char123in\char126\char125~infty\char123\char45categories\char125}} produces $\text{in}\;\infty{-categories}$ (note the forced space, simple whitespace there will not work).
\item Use \textbf{numbered} entities: {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~text\char123in\char32\char8734\char45categories}} produces $\text{in ∞-categories}$. Named entities will not work here as they get converted to unicode internally before being sent to the iTeX parser.
\end{enumerate}
\end{itemize}
\hypertarget{i_searched_for_a_page_that_i_know_exists_but_i_couldnt_find_it}{}\subsubsection*{{I searched for a page that I know exists, but I couldn't find it}}\label{i_searched_for_a_page_that_i_know_exists_but_i_couldnt_find_it}
Instiki's search uses regular expressions. That means you can do all sorts of fancy searches, but it also means that pages with special characters in their names are hard to search for. For instance, if you search for {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char40n\char44r\char41\char45category}} you will come up with nothing, because Instiki interprets the parentheses as a regular expression grouping construct. To search for actual parentheses, you need to backslash them: search instead for {\colorbox[rgb]{1.00,0.93,1.00}{\tt ~\char40n\char44r~\char41\char45category}}.
\hypertarget{why_is_there_no_preview_button}{}\subsubsection*{{Why is there no ``Preview'' button?}}\label{why_is_there_no_preview_button}
Instiki's philosophy is that the ``Preview'' button is the one labeled ``Save''. If you don't like the result, just click ``Edit'' again. Multiple edits by the same person within a 30 minute interval are collapsed into a single ``edit'' in the revision history.
One merit of this approach is that in the case when your preview was correct and doesn't require re-editing, it saves you an extra click. Another is that it prevents you from ever \emph{forgetting} to make the extra click.
\hypertarget{WhyMathML}{}\subsubsection*{{itex is a pain, why do you guys use MathML?}}\label{WhyMathML}
Many web sites ``support'' \LaTeX\xspace by running it through a script which converts \LaTeX\xspace equations to image files for display. While this produces acceptable results for many users, it is not true ``support'' for mathematics. Images can sometimes be hard to see, and the user cannot easily resize them or change their color or font, nor can software easily read them aloud to a blind user. In contrast, MathML is a markup language, like HTML, specifically designed to carry information not only about the display of mathematics, but its content and meaning. A suitable client application can resize MathML along with the rest of the page, change its color or font, or even read it aloud, making MathML a much more accessible way to display mathematics. See, for instance, \href{http://terrytao.wordpress.com/2009/10/29/displaying-mathematics-on-the-web/#comment-42119}{this comment}.
\hypertarget{i_want_to_help_out_with_the_software_what_can_i_do}{}\subsubsection*{{I want to help out with the software, what can I do?}}\label{i_want_to_help_out_with_the_software_what_can_i_do}
See \href{http://www.math.ntnu.no/~stacey/Mathforge/nForum/comments.php?DiscussionID=1112}{this discussion}.
\hypertarget{html_xml_etc}{}\subsection*{{HTML, XML, etc.}}\label{html_xml_etc}
\hypertarget{how_do_i_get_accented_characters}{}\subsubsection*{{How do I get accented characters?}}\label{how_do_i_get_accented_characters}
You can use HTML/XML/SGML \href{https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references}{character entity references}. If the character you want has a mnemonic HTML name, like \&{}eacute; for \'e{}, you can use that. Otherwise, you can use an SGML numerical code, like \&{}\#x34AB; for , that corresponds directly to Unicode. To look up the numbers for SGML characters, try the \href{http://unicode.org/charts/charindex.html}{Unicode Character Names Index}. [[Toby Bartels|Toby]] has a \href{http://tobybartels.name/characters/}{complete list of HTML and XML character entity references} (or try the Unicode Databank pages listed below) with individual pages where you can check browser compliance (originally for when you couldn't take even things like \&{}harr; for granted, but even now \&{}lrm; and \&{}thinsp; may be lacking). While you can use this technique for mathematical symbols too, it's best to do those in iTeX as explained above.
\begin{itemize}%
\item \href{http://www.sql-und-xml.de/unicode-database/}{Unicode Data Bank} pages:
\begin{enumerate}%
\item \href{http://www.sql-und-xml.de/unicode-database/sm.html}{Math Symbols}
\item \href{http://www.sql-und-xml.de/unicode-database/mathematical-operators.html}{Math Operators}
\item \href{http://www.sql-und-xml.de/unicode-database/miscellaneous-mathematical-symbols-a.html}{Math Miscellaneous A}
\item \href{http://www.sql-und-xml.de/unicode-database/miscellaneous-mathematical-symbols-b.html}{Math Miscellaneous B}
\item \href{http://www.sql-und-xml.de/unicode-database/letterlike-symbols.html}{Letterlike Symbols}
\item \href{http://www.sql-und-xml.de/unicode-database/miscellaneous-symbols.html}{Miscellaneous Symbols}
\item \href{http://www.sql-und-xml.de/unicode-database/general-punctuation.html}{General Punctuation}
\item \href{http://www.sql-und-xml.de/unicode-database/ps.html}{Open Punctuation}
\item \href{http://www.sql-und-xml.de/unicode-database/po.html}{Other Punctuation}
\item \href{http://www.sql-und-xml.de/unicode-database/pe.html}{Close Punctuation}
\item \href{http://www.sql-und-xml.de/unicode-database/geometric-shapes.html}{Geometric Shapes}
\item \href{http://www.sql-und-xml.de/unicode-database/so.html}{Other Symbols}
\item \href{http://www.sql-und-xml.de/unicode-database/dingbats.html}{Dingbats}
\end{enumerate}
\item \textbf{NB.} Depending on your font settings, the less ordinary symbols may look better if you use ``iTeX + $\backslash$text + numerical entity''. Compare and contrast:
\begin{enumerate}%
\item direct : {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38\char35\char56\char52\char55\char50\char59}} or or {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char38\char35x\char50\char49\char49\char56\char59}} $\rightarrow$ `$\wp$'
\item iTeX : {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char38\char35x\char50\char49\char49\char56\char59\char36}} (but not {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36\char38\char35\char56\char52\char55\char50\char59\char36}} or ) $\rightarrow$ `$℘$'
\item iTeX + $\backslash$text + numerical entity: {\colorbox[rgb]{1.00,0.93,1.00}{\tt \char36~text\char123\char38\char35x\char50\char49\char49\char56\char59\char125\char36}} $\rightarrow$ `$\text{℘}$'
\end{enumerate}
\end{itemize}
\hypertarget{nlab_specifics}{}\subsection*{{\emph{n}-Lab Specifics}}\label{nlab_specifics}
\hypertarget{why_did_my_page_get_redirected}{}\subsubsection*{{Why did my page get redirected?}}\label{why_did_my_page_get_redirected}
Did you read the \emph{Naming Conventions} section on the [[HowTo]]?
\hypertarget{AskAQuestion}{}\subsubsection*{{Where do I ask a question?}}\label{AskAQuestion}
How many times have you wanted to ask it? If more than three times, put it here (\emph{joke}!).
Seriously, if about a specific page then put it on that page in a query block:
\begin{verbatim}+-- {: .query}
How do I prove the Riemannian Hypothesis?
=--\end{verbatim}
If about the \emph{n}-Lab then try the \href{http://www.math.ntnu.no/~stacey/Mathforge/nForum/}{n-Forum}.
If about something mathematical then try to convince [[John Baez|John]], [[Urs Schreiber|Urs]], or [[David Corfield|David]] to start a blog entry on the \emph{n}-Category Caf\'e{} about it.
\hypertarget{Citing}{}\subsubsection*{{How do I cite a page on the nLab?}}\label{Citing}
You should, of course, include a link or URL to the page or pages that you wish to cite. You should also give the information about which \emph{version} of the page you are citing, since pages change over time. The version number can be found as follows: look at the bottom of the page where it says ``Back in time ($N$ revisions)''; the current version number is $N+1$.
You can link directly to the version you want to cite by using a url such as
\begin{verbatim}http://ncatlab.org/nlab/revision/PageName/VERSIONNUMBER\end{verbatim}
We recommend that if you only include one URL, it be of the form {\colorbox[rgb]{1.00,0.93,1.00}{\tt show\char47PageName}} which will point to whatever version of the page is current when it is accessed. This is because pages generally improve over time, and whoever is following your reference ought to be taken to the best, up-to-date version of the page. Anyone who cares about finding the exact version of the page that you cited can figure out how to find it in the history.
On the other hand, if you can give two URLs (this would be cumbersome in a printed paper, but is possible with links on a web page), then it may be helpful to give the appropriate {\colorbox[rgb]{1.00,0.93,1.00}{\tt revision}} link as well as the {\colorbox[rgb]{1.00,0.93,1.00}{\tt show}} one.
\emph{All nLab pages now include a ``Cite'' link at the bottom of the page which produces a BibTeX entry in accord with the suggestions above.}
\hypertarget{i_want_to_help_but_writing_math_on_a_wiki_is_scary_what_can_i_do}{}\subsubsection*{{I want to help, but writing math on a wiki is scary; what can I do?}}\label{i_want_to_help_but_writing_math_on_a_wiki_is_scary_what_can_i_do}
There are numerous ways you can help out and get acquainted with the community even if you don't (yet) feel comfortable writing math publically on a wiki.
\begin{enumerate}%
\item You can do [[lab elf]] duty, such as correcting typos and spelling errors, fixing links, creating links, creating redirects (there are many pages that still need redirects created for alternate and plural forms of the title), organizing pages, and so on.
\item You can ask questions (see previous question), and join discussions, at the nForum, and comment at the nCafe.
\item You can try writing small additions to existing pages, for instance a paragraph or two that helps explain something that puzzled you initially. If you aren't entirely positive that what you wrote was correct, when you announce your edit at Latest Changes on the nForum, you can mention that you're unsure and someone will usually reassure you or give a correction.
\item If you don't sign your edits, then they are attributed to the [[AnonymousCoward]]. We prefer that you sign your edits, but anonymous help is better than none at all, so that option is available to you.
\end{enumerate}
\hypertarget{how_can_i_get_a_personal_section_of_the_nlab}{}\subsubsection*{{How can I get a personal section of the nLab?}}\label{how_can_i_get_a_personal_section_of_the_nlab}
Some users have personal areas of the \emph{n}-Lab where they can have password protected pages and do work without fitting it into the rest of \emph{n}-Lab. If you would like to have such an area, ask the [[nlabmeta:steering committee|steering committee]].
\hypertarget{i_got_access_denied_when_editing_a_page}{}\subsubsection*{{I got ``Access denied'' when editing a page.}}\label{i_got_access_denied_when_editing_a_page}
The \emph{n}-Lab has a spam filter that checks your IP against a blacklist. The blacklists used are maintained by \href{http://www.spamcop.net/}{spamcop.net} and \href{http://www.spamhaus.org/}{spamhaus.org}. IPs are added to these lists if they are detected doing things usually associated with computers infected with viruses. There are instructions on the webpages for finding out if your IP has been added to these lists and what to do to remove your IP from them. Three things to point out are:
\begin{enumerate}%
\item The \emph{n}-Lab cannot remove your IP from the list, you have to do that yourself.
\item The \emph{n}-Lab is not going to remove its spam protection.
\item If you got your IP dynamically (e.g. using some wireless providers) it is entirely possible that it is not your computer that was behaving badly but a previous one using the same IP. A quick workaround is to disconnect from the network and try reconnecting (sometimes you have to wait a bit before reconnecting to get a new IP). Of course, you should ensure that your virus software is up to date.
\end{enumerate}
\hypertarget{i_got_internal_application_error_when_doing_something}{}\subsubsection*{{I got ``Internal application error'' when doing something.}}\label{i_got_internal_application_error_when_doing_something}
Sometimes something doesn't work quite right with the software and it bails out. If you think that you were doing something that should work, please log the error message at the \href{http://www.math.ntnu.no/~stacey/Mathforge/nForum/}{n-Forum}. The more information that you log, the easier it is for us to debug. Useful information is: your IP, the time and date, and the URL that you were trying to access.
There is actually more information contained in the HTML source of the error message (``view source''): some errors can be down to malformed input when editing a page and that can help you fix it yourself.
category: meta
\end{document}