TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know of a way to use the command line in Linux to separate and merge layers (optional content, section 8.11 of ISO 32000:2008) from a PDF file?

I am mostly interested in files created with Adobe Illustrator - apologies if this is too far off-topic, I am quite desperate. I've posted this also to serverfault a while back, but no answers.

I have come across a reference to cslayer.dev in here but I cannot find any further documentation.

share|improve this question

closed as off topic by Werner, Joseph Wright Jan 5 '12 at 17:21

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – Torbjørn T. Jan 5 '12 at 7:01
There is currently no direct link to TeX in the question. I think that general PDF manipulation is OT for us. Can the question be phrased in a way closer to direct relevance to TeX? – Joseph Wright Jan 5 '12 at 8:53
@JosephWright: I agree; this should be migrated to stackoverflow.com – Martin Schröder Jan 5 '12 at 10:18
@JosephWright yes, I had a guilty feeling about ot-ness, and I have posted the same question to stackoverflow and serverfault. Martin's answer is the most spot-on I've seen until now. The other sites produced no answer nor does googling my fingers off – simone Jan 5 '12 at 10:53

I am not quite sure what are you trying to do but if it can be done most definitely you can use Pdftk to do it. There might be simpler solutions but I need more info before I suggest something.

share|improve this answer
He probably means optional content (section 8.11 of ISO 32000:2008). pdftk doesn't know about that and doesn't handle it. – Martin Schröder Jan 5 '12 at 7:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.