Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author advanpix

    (@advanpix)

    Now QuickLaTeX handles comments only inside formulas.

    As a workaround you can insert comments anywhere in the post using something like this:

    $% Comment goes here$

    Thread Starter Serkan

    (@slmdesign)

    I have tried it, but i get this error in preview:

    *** QuickLaTeX cannot compile formula:
    % Comment goes here

    *** Error message:
    Missing $ inserted.
    leading text: \end{preview}

    comment should not visible for visiter on my site.

    Plugin Author advanpix

    (@advanpix)

    QuickLaTeX should replace this string:

    $% Comment goes here $

    with empty image of 1px x 1px – no comments are shown or included in page markup.

    This works well on my site (latest QuickLaTeX + latest WordPress).

    Could you check – do you have closing dollar sign $?

    Thread Starter Serkan

    (@slmdesign)

    hi,

    yes, I have the latest version of QuickLatex and WordPress. I tried now with [latex] $% Comment goes here $ [/latex] and with [latexpage] $% Comment goes here $ – but I get the same Error. I’m wondering what I’m doing false.

    Plugin Author advanpix

    (@advanpix)

    Try to turn off “Debug Mode” in QuackLaTeX Admin page -> System -> Debug Mode.

    And please also try [latex] % Comment goes here [/latex] (without “$”).

    Thread Starter Serkan

    (@slmdesign)

    hi,

    yes its working with [latex] % Comment goes here [/latex] (when I’m closing the DebugMode

    but its not working with [latexpage]. Why? and what is the big diffrence between those?

    and another question: Have I have to close [latexpage] like this: [/latexpage] or is it not necessary.

    thanks

    Plugin Author advanpix

    (@advanpix)

    [latexpage] just tells plugin that page contains some formulas (native or marked with [latex]) to be parsed and compiled.

    [latexpage] is a switch to turn on/off plugin processing for the page. This helps to avoid unnecessary parsing for pages without formulas. Closing tag [/latexpage] is not needed (it is ignored).

    Whereas [latex] or native delimiters describe formulas - that enclosed piece of text is actually LaTeX code - and should go through LaTeX compiler.

    QL doesn't parse % in plain post text, but it does parse % inside formulas.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP QuickLaTeX] QuickLatex: Comments in my post with %’ is closed to new replies.