Take the 2-minute tour ×
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.

I have some PDF-files which I embed as graphic-objects into my latex-project. Those PDFs come from different sources. One I created in Powerpoint myself, then exported to PDF to make it vectorized and another one is cropped from a PDF usermanual.

Now I'm wondering what would be the best and easiest way (if there is one) to embed those PDFs into my latex document but somehow make the fonts in it being compiled by texify so that the fonts look the same as in my project. I assume there's a function to maybe put some "placeholders" into the pdf's I'd like to embed and replace them at compiling-time by some texts in the correct latex-font!?

Thanks in advance

Okay to clarify: I have a PDF with vectorized figures in it and texts on the axis, a title and so on... I'm looking for ANY way to embed this PDF into my latex document with rewriting the texts in the PDF in the font being used in my latex document so that the ensemble looks nice.

My first edit was (which works by manually using the overpic-package): Manually doing it works like this: 1. Open the PDF in any PDF-editor and delete all the text-objects (so that only the graphical part remains in the PDF), save it 2. Include the PDF in your latex document using the overpic-package with the rgid option 3. Now put texts (or even math-formulas possible) OVER the embedded graphical object (which comes from the PDF-file). The texts will therefore obviously look like any other text in your document (similar in style / font etc.) (Some more informations on overpic: How can I superimpose LaTeX / TeX output over a PDF file?)

EDIT2: As stated below in the comment:
If you put this out of hold, I'll post my own answer as solution to the question below which would, as you say Charles, be worth mentioning just to record the solution which is really a nice one. Easy to do and very very nice in the final output.

share|improve this question
3  
No, you can't replace the fonts of included PDFs. –  Martin Schröder Jan 16 at 9:20
1  
Okay I found an answer myself... thanks for putting it on hold without any real reason, that must have got to do anything with profile neurosis of the admins here...! But to state the solution: Open the pdf file in inkscape (free) and export it to pdf with the option to exclude fonts in the pdf file while generating an addition tex-file (which will then hold the texts). So it works nicely... –  tim Jan 17 at 11:43
2  
Putting a question "on hold" just mean the community does not really get your question, and that we are waiting for you to clarify it before we can answer. Once you clarify it, the question would be reopened. I don't even really understand your own answer… what I would have suggested (and what I think you did) is crop the PDFs and rewrite the text in TeX. –  ienissei Jan 17 at 12:11
1  
@ienissei - If I understand the Inkscape feature, it strips all text objects from the PDF without cropping. –  Charles Stewart Jan 17 at 12:25
2  
bjoern: Sorry it is somewhat bureaucratic, but this is the way we have learned to work with the site's tools. Could you pare down your post to a clear qn - your answer is well worth documenting? –  Charles Stewart Jan 17 at 12:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.