WinEdtWinEdt+SumatraPDF inverse search fails in \ifthenelse

Information and discussion about WinEdt, a commercial integrated LaTeX environment for Windows
Post Reply
xzhang
Posts: 1
Joined: Tue Sep 20, 2011 8:27 am

WinEdt+SumatraPDF inverse search fails in \ifthenelse

Post by xzhang »

I am using WinEdt 5.5 and SumatraPDF. The inverse search fails in the following block:

\usepackage{ifthen}
\newboolean{aaa}
\setboolean{aaa}{true}

...

\ifthenelse {\boolean{aaa}}
{line 1
line 2
...
}

The inverse search will only move to the end of the \ifthenelse block, not the lines in the block (eg line 2). Does anybody have any solution?

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
Post Reply