New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Asked

\newcommand in preamble produces error

Both \def\foo{bar} and \newcommand\foo{bar} , used in
on the page Main.SitePreferences result in the error
! LaTeX Error: Missing \begin{document}.

when %$\foo$% is used on a page. \renewcommand and \definecolor both work as expected. So, how can I introduce a new command?

-- ShaughanLavine - 15 Jan 2011

QuestionForm edit

Subject Using an extension
Extension LatexModePlugin
Version Foswiki 1.1.2
Status Asked
Topic revision: r1 - 15 Jan 2011, ShaughanLavine - This page was cached on 15 Aug 2018 - 09:57.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy