Re: export pdf only in certain pages

2010-01-21 Thread Daniel Lohmann


On 22.01.2010, at 06:13, Waluyo Adi Siswanto wrote:


Dear All

I am going to export lyx file to pdf, but not all pages.
What I usually do: File>export>pdf(pdflatex)
but it will export all pages.

Is that possible to chose only at specific pages, for example page 13
to 14 only.


This is not possible directly from within LyX or pdflatex. However,  
you can easily use an external tool to extract the pages you want from  
the final pdf, such as the free pdftk tool kit (pre-installed on most  
Linux distros, easily to get via macports/fink on Mac and most  
probable also available for windows):


(1) Export from lyx to doc.pdf

(2) run the following command in a command shell:

pdftk doc.pdf cat 14-14 output doc-selected-pages.pdf


Daniel


export pdf only in certain pages

2010-01-21 Thread Waluyo Adi Siswanto
Dear All

I am going to export lyx file to pdf, but not all pages.
What I usually do: File>export>pdf(pdflatex)
but it will export all pages.

Is that possible to chose only at specific pages, for example page 13
to 14 only.

Thanks
Waluyo