Blame test/command/3853.md
|
Packit Service |
d2f85f |
```
|
|
Packit Service |
d2f85f |
% pandoc -f latex -t native
|
|
Packit Service |
d2f85f |
\newtoggle{ebook}
|
|
Packit Service |
d2f85f |
\toggletrue{ebook}
|
|
Packit Service |
d2f85f |
\iftoggle{ebook}{
|
|
Packit Service |
d2f85f |
ebook
|
|
Packit Service |
d2f85f |
}%
|
|
Packit Service |
d2f85f |
{
|
|
Packit Service |
d2f85f |
not ebook
|
|
Packit Service |
d2f85f |
}%
|
|
Packit Service |
d2f85f |
more
|
|
Packit Service |
d2f85f |
|
|
Packit Service |
d2f85f |
\togglefalse{ebook}
|
|
Packit Service |
d2f85f |
\iftoggle{ebook}{%
|
|
Packit Service |
d2f85f |
ebook
|
|
Packit Service |
d2f85f |
}{
|
|
Packit Service |
d2f85f |
not ebook
|
|
Packit Service |
d2f85f |
}%
|
|
Packit Service |
d2f85f |
more
|
|
Packit Service |
d2f85f |
|
|
Packit Service |
d2f85f |
hello \iftoggle{ebook}{ebook}{noebook}
|
|
Packit Service |
d2f85f |
^D
|
|
Packit Service |
d2f85f |
[Para [Str "ebook",SoftBreak,Str "more"]
|
|
Packit Service |
d2f85f |
,Para [Str "not",Space,Str "ebook",SoftBreak,Str "more"]
|
|
Packit Service |
d2f85f |
,Para [Str "hello",Space,Str "noebook"]]
|
|
Packit Service |
d2f85f |
```
|