Date: Feb 21, 2013 3:36 AM
Author: Martin
Subject: Exclude chapter in Pubish

Hi, I have a large document with many chapters and I want to optionally exclude some parts when publishing, but this

if p1
%% Part1
% Here comes Part 1
...
end
if p2
%% Part2
% Here comes Part 2
...
end

does not work.
Is there a way to do that?
Thanks, martin