Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex complex-geometry computable-mathematics computer-science constructive cosmology deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nforum nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf sheaves simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorMike Shulman
    • CommentTimeJan 28th 2011

    I added a section to HowTo about making floating TOCs. However, the [[!include ...]] in the sample code got parsed and included the contents page into HowTo, unless I broke it up somehow. Is there a way to tell instiki not to parse an !include?

    • CommentRowNumber2.
    • CommentAuthorAndrew Stacey
    • CommentTimeJan 28th 2011

    Working from memory, you can surround something wiki-ish that you don’t want parsed in <nowiki> ... </nowiki> pseudo-tags. (Check the instiki instiki to be sure - google “instiki golem” if you can’t find a link somewhere nearby, that’s what I always do.)

    • CommentRowNumber3.
    • CommentAuthorRodMcGuire
    • CommentTimeJan 28th 2011
    • (edited Jan 28th 2011)

    I’ve tried a bunch of things, including nowiki, at the bottom of the Sandbox page and none of them work.

    EDIT: at very bottom I fake things by wrapping it in ’pre’ tags and then I use ampersand #33; to put in the exclamation mark.

    • CommentRowNumber4.
    • CommentAuthorRodMcGuire
    • CommentTimeJan 28th 2011

    fixed HowTo using ’pre’ tags.

    • CommentRowNumber5.
    • CommentAuthorAndrew Stacey
    • CommentTimeJan 29th 2011

    I didn’t realise that it was in the middle of a code block, sorry. That complicates matters because the include stuff is done by a separate parser and happens before markdown gets its hands on the code block. So there are complicated interactions between the two parsers, what they see and what they ignore, to deal with. Although this may well be one of those situations where one bites the bullet and uses raw XHTML syntax, just for future reference there is a way to do it and as it involves a useful trick to know about, I’ve changed HowTo to do it this way.

    The trick is to know that the markdown parser treats named entities and numbered entities as syntactically different. At least, it does when it encounters them in code blocks. A numbered entity is escaped but a named entity is converted to its correct character. Don’t ask me why it does this, but it’s a useful thing to know about and a useful feature in cases like this so I’m not complaining! So although &#33; gets escaped and you should just see the raw entity code, &excl; doesn’t get escaped and you see just !. So to put the include syntax in a code block, I wrote [[&excl;include category theory - contents]].

    (Note that the parser on the forum isn’t so sophisticated: it escapes everything in code blocks.)

    • CommentRowNumber6.
    • CommentAuthorMike Shulman
    • CommentTimeJan 31st 2011

    Huh! Thanks.