```
% pandoc -f latex -t native
\newtoggle{ebook}
\toggletrue{ebook}
\iftoggle{ebook}{
ebook
}%
{
not ebook
}%
more

\togglefalse{ebook}
\iftoggle{ebook}{%
ebook
}{
not ebook
}%
more

hello \iftoggle{ebook}{ebook}{noebook}
^D
[Para [Str "ebook",SoftBreak,Str "more"]
,Para [Str "not",Space,Str "ebook",SoftBreak,Str "more"]
,Para [Str "hello",Space,Str "noebook"]]
```
