Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: how to separate pdf file?

2011-05-16 Thread Julien Rioux

On 12/05/2011 11:04 AM, Diego Queiroz wrote:

Just curious, will pdftk preserve links between chapters? This seems
rather nontrivial.


Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).



I guess I wasn't precise enough. The PDF format supports links across 
files. The OP looks for a tool which does the split and rewrites the 
metadata so that links happen across the different pdf files. 
Apparently, pdftk is not this tool. But pdftk is based on iText which is 
very powerful, so I can imagine someone could hack at it do get this 
behavior. As I said, it's rather nontrivial, but it's not obvious that 
it cannot be done.


Nevertheless, pdftk is a great tool as it is.

Julien


Re: how to separate pdf file?

2011-05-15 Thread Hady Ariwibowo Teguh
Dear Diego,
pdf tk is powerful. thanks..:)
Teguh Hady A
CFD ENGINEER


--- On Thu, 5/12/11, Diego Queiroz queiroz.di...@gmail.com wrote:

From: Diego Queiroz queiroz.di...@gmail.com
Subject: Re: how to separate pdf file?
To: Hady Ariwibowo Teguh huget_te...@ymail.com
Cc: Julien Rioux jri...@physics.utoronto.ca, lyx-users@lists.lyx.org
Date: Thursday, May 12, 2011, 3:04 PM

 Just curious, will pdftk preserve links between chapters? This seems
 rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

 I have tried to split the document by pdf creator. it works but, the link 
 cannot work.
 Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's update_info parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-15 Thread Hady Ariwibowo Teguh
Dear Diego,
pdf tk is powerful. thanks..:)
Teguh Hady A
CFD ENGINEER


--- On Thu, 5/12/11, Diego Queiroz queiroz.di...@gmail.com wrote:

From: Diego Queiroz queiroz.di...@gmail.com
Subject: Re: how to separate pdf file?
To: Hady Ariwibowo Teguh huget_te...@ymail.com
Cc: Julien Rioux jri...@physics.utoronto.ca, lyx-users@lists.lyx.org
Date: Thursday, May 12, 2011, 3:04 PM

 Just curious, will pdftk preserve links between chapters? This seems
 rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

 I have tried to split the document by pdf creator. it works but, the link 
 cannot work.
 Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's update_info parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-15 Thread Hady Ariwibowo Teguh
Dear Diego,
pdf tk is powerful. thanks..:)
Teguh Hady A
CFD ENGINEER


--- On Thu, 5/12/11, Diego Queiroz <queiroz.di...@gmail.com> wrote:

From: Diego Queiroz <queiroz.di...@gmail.com>
Subject: Re: how to separate pdf file?
To: "Hady Ariwibowo Teguh" <huget_te...@ymail.com>
Cc: "Julien Rioux" <jri...@physics.utoronto.ca>, lyx-users@lists.lyx.org
Date: Thursday, May 12, 2011, 3:04 PM

> Just curious, will pdftk preserve links between chapters? This seems
> rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

> I have tried to split the document by pdf creator. it works but, the link 
> cannot work.
> Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's "update_info" parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-12 Thread Diego Queiroz
 Just curious, will pdftk preserve links between chapters? This seems
 rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

 I have tried to split the document by pdf creator. it works but, the link 
 cannot work.
 Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's update_info parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-12 Thread Diego Queiroz
 Just curious, will pdftk preserve links between chapters? This seems
 rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

 I have tried to split the document by pdf creator. it works but, the link 
 cannot work.
 Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's update_info parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-12 Thread Diego Queiroz
> Just curious, will pdftk preserve links between chapters? This seems
> rather nontrivial.

Pdftk output is exactly like the original file, so it keeps all links.
All links in the generated file will work if they point to an existent position.
For example, if there is a link for the chapter 10, but the chapter 10
is not in the file, that link will not work (obvious?).

> I have tried to split the document by pdf creator. it works but, the link 
> cannot work.
> Any suggestion?

Use Pdftk. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
It is much easier than using a pdf printer like PDF Creator, and the
output is much better.

Its usage is trivial:

- pdftk infile.pdf cat 1-20 output outfile.pdf
This command create a new file named outfile.pdf with the pages 1-20
from infile.pdf.

By default, the metadata is lost (bookmarks, authorname, title, password etc).
But you can use pdftk's "update_info" parameter to insert metadata on
a file. Google it if you need.


Take care,
---
Diego Queiroz


Re: how to separate pdf file?

2011-05-11 Thread Hady Ariwibowo Teguh
Hi all,
I have tried to split the document by pdf creator. it works but, the link 
cannot work.
Any suggestion?
Thanks
Teguh Hady Ariwibowo
CFD Engineer



--- On Tue, 5/10/11, Julien Rioux jri...@physics.utoronto.ca wrote:

From: Julien Rioux jri...@physics.utoronto.ca
Subject: Re: how to separate pdf file?
To: lyx-users@lists.lyx.org
Date: Tuesday, May 10, 2011, 6:24 PM

On 10/05/2011 6:07 AM, Paul Smith wrote:
 On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
 huget_te...@ymail.com  wrote:
 i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf 
 so on). but i dont know how to do it. Any body help me please.

 Teguh,

 Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

 Hope this helps you,

 Paul


Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.

-- 
Julien



Re: how to separate pdf file?

2011-05-11 Thread Hady Ariwibowo Teguh
Hi all,
I have tried to split the document by pdf creator. it works but, the link 
cannot work.
Any suggestion?
Thanks
Teguh Hady Ariwibowo
CFD Engineer



--- On Tue, 5/10/11, Julien Rioux jri...@physics.utoronto.ca wrote:

From: Julien Rioux jri...@physics.utoronto.ca
Subject: Re: how to separate pdf file?
To: lyx-users@lists.lyx.org
Date: Tuesday, May 10, 2011, 6:24 PM

On 10/05/2011 6:07 AM, Paul Smith wrote:
 On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
 huget_te...@ymail.com  wrote:
 i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf 
 so on). but i dont know how to do it. Any body help me please.

 Teguh,

 Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

 Hope this helps you,

 Paul


Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.

-- 
Julien



Re: how to separate pdf file?

2011-05-11 Thread Hady Ariwibowo Teguh
Hi all,
I have tried to split the document by pdf creator. it works but, the link 
cannot work.
Any suggestion?
Thanks
Teguh Hady Ariwibowo
CFD Engineer



--- On Tue, 5/10/11, Julien Rioux <jri...@physics.utoronto.ca> wrote:

From: Julien Rioux <jri...@physics.utoronto.ca>
Subject: Re: how to separate pdf file?
To: lyx-users@lists.lyx.org
Date: Tuesday, May 10, 2011, 6:24 PM

On 10/05/2011 6:07 AM, Paul Smith wrote:
> On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
> <huget_te...@ymail.com>  wrote:
>> i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf 
>> so on). but i dont know how to do it. Any body help me please.
>
> Teguh,
>
> Produce a single pdf file, and use pdftk to separate the pdf file by chapters.
>
> Hope this helps you,
>
> Paul
>

Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.

-- 
Julien



Re: how to separate pdf file?

2011-05-10 Thread Paul Smith
On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
huget_te...@ymail.com wrote:
 i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
 on). but i dont know how to do it. Any body help me please.

Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul


Re: how to separate pdf file?

2011-05-10 Thread Julien Rioux

On 10/05/2011 6:07 AM, Paul Smith wrote:

On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
huget_te...@ymail.com  wrote:

i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.


Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul



Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.


--
Julien



Re: how to separate pdf file?

2011-05-10 Thread Paul Smith
On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
huget_te...@ymail.com wrote:
 i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
 on). but i dont know how to do it. Any body help me please.

Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul


Re: how to separate pdf file?

2011-05-10 Thread Julien Rioux

On 10/05/2011 6:07 AM, Paul Smith wrote:

On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
huget_te...@ymail.com  wrote:

i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.


Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul



Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.


--
Julien



Re: how to separate pdf file?

2011-05-10 Thread Paul Smith
On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
 wrote:
> i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
> on). but i dont know how to do it. Any body help me please.

Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul


Re: how to separate pdf file?

2011-05-10 Thread Julien Rioux

On 10/05/2011 6:07 AM, Paul Smith wrote:

On Tue, May 10, 2011 at 4:20 AM, Hady Ariwibowo Teguh
  wrote:

i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.


Teguh,

Produce a single pdf file, and use pdftk to separate the pdf file by chapters.

Hope this helps you,

Paul



Just curious, will pdftk preserve links between chapters? This seems 
rather nontrivial.


--
Julien



how to separate pdf file?

2011-05-09 Thread Hady Ariwibowo Teguh
Dear all,
i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.
Thank you
Teguh
CFD Engineer



how to separate pdf file?

2011-05-09 Thread Hady Ariwibowo Teguh
Dear all,
i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.
Thank you
Teguh
CFD Engineer



how to separate pdf file?

2011-05-09 Thread Hady Ariwibowo Teguh
Dear all,
i wanna write thesis report in separate pdf file (ex. chap1.pdf, cover.pdf so 
on). but i dont know how to do it. Any body help me please.
Thank you
Teguh
CFD Engineer