1

I have a pdf which has some transparent graphics and words. Like this:(of course it had more words )

origin pdf

then I use \includepdf command to insert this to a latex project .

\documentclass[10pt,a4paper]{article}
\usepackage{pdfpages}
\begin{document}
    \includepdf[pages={-}]{未转曲文件---删除多余图片1}
\end{document}

then I curve this pdf through ghostscript tool

gs -sDEVICE=pdfwrite -sProcessColorModel=DeviceCMYK -sColorConversionStrategyForImages=CMYK -sColorConversionStrategy=CMYK -o ./dest.pdf -f ./source.pdf

then it becomes like this: after \includepdf and curve

After using pdf-praser to analize it

/usr/bin/python pdf-parser.py  -o 67 document.pdf

, I found

\includepdf

command in latex makes pdf structure has changed a lot.

origin pdf has a /group which contains transparency information if I am not wrong : enter image description here

but then it just disappear.

I wonder the reason and it troubles me a week .

Hope for answer.

https://github.com/David553/latex.git

It's my test pdf files.

  • origin-file.pdf is origin pdf file;

  • delete-redundant-thing is the file which I delete redundant words and images to convenient test ;

  • after-includepdf.pdf is the file which I use \includepdf{} command in latex;

  • after-gs.pdf is the file which I use ghostscript line command to curve ;

11
  • 1
    Could you add a MWE that replicates your problem? and Welcome to TeX.Se Commented May 9, 2019 at 9:36
  • sorry , I don't understand the meaning of MWE. Commented May 9, 2019 at 9:59
  • 1
    We need something that we can use for tests. Commented May 9, 2019 at 11:18
  • I don't find a way to upload pdf ~ , maybe I can give you a github url github.com/David553/latex.git Commented May 9, 2019 at 12:09
  • 1
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Commented May 9, 2019 at 12:32

1 Answer 1

1

Use an PDF newly produced by adobe illustrator2019 and textLive 2019 solve this transparency problem.

thanks to

I cannot see it with an up-to-date TeXLive 2019 and ghostscript 9.26 – Red-Cloud May 9 at 12:26

AI software gives me a hint that pantone color with transparency and transform to print color such as CMYK may cause unexpected problem!

The AI software hint

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .