How to replace pages in pdf with bookmarks?


up vote
0
down vote
favorite
I have a pdf-file pdf1
with bookmarks and I have another pdf-file pdf2
. I want to replace all (or part of) the pages of pdf1
with the pages of pdf2
so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...
command-line pdf pdftk master-pdf-editor
add a comment |Â
up vote
0
down vote
favorite
I have a pdf-file pdf1
with bookmarks and I have another pdf-file pdf2
. I want to replace all (or part of) the pages of pdf1
with the pages of pdf2
so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...
command-line pdf pdftk master-pdf-editor
I'm not sure, but did you triedpdfsam
?
â N0rbert
Jan 29 at 16:14
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a pdf-file pdf1
with bookmarks and I have another pdf-file pdf2
. I want to replace all (or part of) the pages of pdf1
with the pages of pdf2
so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...
command-line pdf pdftk master-pdf-editor
I have a pdf-file pdf1
with bookmarks and I have another pdf-file pdf2
. I want to replace all (or part of) the pages of pdf1
with the pages of pdf2
so that the bookmarks stay where they were. In Acrobat it's a trivial procedure, but how to do it in Unix? As I understand (or am I mistaken?), pdftk wipes off the bookmarks. Would be nice to do it in cli...
command-line pdf pdftk master-pdf-editor
command-line pdf pdftk master-pdf-editor
edited Jan 29 at 13:56
asked Jan 29 at 13:46
evb
1186
1186
I'm not sure, but did you triedpdfsam
?
â N0rbert
Jan 29 at 16:14
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00
add a comment |Â
I'm not sure, but did you triedpdfsam
?
â N0rbert
Jan 29 at 16:14
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00
I'm not sure, but did you tried
pdfsam
?â N0rbert
Jan 29 at 16:14
I'm not sure, but did you tried
pdfsam
?â N0rbert
Jan 29 at 16:14
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001002%2fhow-to-replace-pages-in-pdf-with-bookmarks%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I'm not sure, but did you tried
pdfsam
?â N0rbert
Jan 29 at 16:14
@N0rbert I would prefer a cli, but anyway thanks! I'll take a look.
â evb
Jan 29 at 20:00