.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Jun 16, 2019 23:32 UTC.


This page was created/modified in commit b31105a "Fix the escaping of \{ and \} for Blackfriday parsing to work" on 2019-02-07.
Markdown source of this page

Blackfriday-specific escaping in equations

categories: upstream

tags: equations mathjax escaping blackfriday


Description/Summary

Test to check that the backslashes are correctly escaped.

Content

ox-hugo Issue #138

\|\\|

\[ C(w,b) = \frac{1}{2n} \sum_x{{\|y(x)-a\|}^2} \]

\\ at EOL → \\\\\\

\begin{align} a^1 &= x \\
a^2 &= σ(W^2a^1 + b^2) \\
a^3 &= σ(W^3a^2 + b^3) \\
⋯ \\
a^L &= σ(W^La^{L-1} + b^L) \\
y &= a^L \\
\end{align}

Same as above, but without space before the \\ at EOL

\begin{align} a^1 &= x\\
a^2 &= σ(W^2a^1 + b^2)\\
a^3 &= σ(W^3a^2 + b^3)\\
⋯\\
a^L &= σ(W^La^{L-1} + b^L)\\
y &= a^L\\
\end{align}

\{\\{, \}\\}

ox-hugo Issue #258

\begin{equation} \phi_j(x) = \mathrm{exp}\left\{ - \frac{(x - \mu_j)^2}{2s^2} \right\} \end{equation}


Page (Debug)

Page VariableValue
Name "Blackfriday-specific escaping in equations"
Title "Blackfriday-specific escaping in equations"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/equations-bf-escaping/"
RelPermalink "/posts/equations-bf-escaping/"
Data page.Data{} (type:page.Data)
NextPageBind footnotes to the preceding word
PrevPageCenter align
NextInSectionBind footnotes to the preceding word
PrevInSectionCenter align

Page Params (Debug)

KeyTypeValue
categories[]string "upstream"
descriptionstring "Test to check that the backslashes are correctly escaped."
draftbool false
iscjklanguagebool false
lastmodtime.Time 2019-02-07 13:18:00 -0500 -0500
tags[]string "equations" "mathjax" "escaping" "blackfriday"
titlestring "Blackfriday-specific escaping in equations"

File Object (Debug)

FileInfo VariableValue
UniqueID "c7520bae51a1ca3f48f6aff201ac0172"
BaseFileName "equations-bf-escaping"
TranslationBaseName "equations-bf-escaping"
Lang "en"
Section "posts"
LogicalName "equations-bf-escaping.md"
Dir "posts/"
Ext "md"
Path "posts/equations-bf-escaping.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.56.0-DEV (commit 5eb33859, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]