Tag Info

New answers tagged

2

this works for me \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=1,trim=0 0 400 0, clip]{doc1.pdf} \includepdf[pages=1,trim=400 0 0 0, clip]{doc1.pdf} \end{document}


2

When the logo is stored as Vector Art in the pdf (The case in OP), you can use Inkscape to do the job: Import the pdf into inkscape. Select the object that appears, right-click and select "ungroup" as many times as needed to disentangle the bit you want from all the others. Delete everything except the desired graphic. Go into "Document Properties" and ...


2

The command \includegraphics[page=n,viewport=x y X Y,clip]{filename} extracts page n from filename.pdf and clips it to a rectangular viewport with corners at (x,y) and (X,Y). Coordinates are relative to the origin of the bounding box. Since the clipping is arbitrary, performing it by mere deletion of the objects in the input document would be impossible. A ...


53

The preflight tool of PDFBox validates against the PDF/A-1b standard, more than just PDF. The first errors regarding PDF/A-1b should be resolved by a recent pdfTeX, I do not get these errors with pdfTeX 1.40.16 (TeX Live). The last error 7.1 about MetaData comes from the requirement of PDF/A-1b to also embed the meta data in XMP format, see package ...


5

This is by no means a solution. It's just a really dirty workaround, but it might be good enough if you are in a hurry. \documentclass{article} \usepackage{graphicx} \usepackage{accsupp} \newcommand\squelchgraphics[2][]{% \BeginAccSupp{method=plain,ActualText={}}\includegraphics[#1]{#2}\EndAccSupp{}} \begin{document} ...


0

If you are using TeXStudio in Windows, Go to Options-> Configure TeXstudio->Commands->Ps2Pdf. In that field, just paste "ps2pdf.exe -dPDFSETTINGS#/prepress -dEmbedAllFonts#true -dMaxSubsetPct#100 -dCompatibilityLevel#1.3 %.ps". This will directly embed all fonts while compiling itself. You can manually do this from windows command prompt. In windows command ...


1

Can be solved by proper setting in TeXnicCenter: Go to menu: "Build"-> "Define Output Profiles." choose profile "LateX to PDF". Switch to "Viewer" tab Set-up parameters: "Executable path" should be something like (check, where have you installed Adobe Reader): C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe Parameters: ...


2

Christian Hupfer already gave an answer with the enhanced jigsaw option which is always preferable, if the box has some 0pt lines. For your special application, you can use empty as an alternative. This skin simply draws nothing. The black rule can be added by borderline west. This way, there should be no ghost line with any previewer. ...


2

Ok, this may sound stupid, but maybe there is a character or something in the ps files which gets lost during cat? Maybe something nonprintable or something? Instead of piping the files to stdin of ps2pdf, maybe you can use GhostScript directly? Below I add two commands doing this (invoking GhostScript via gs). Just for good measures (but likely ...


7

Use the enhanced jigsaw option. This improves the line drawing/suppression and the hidden frame parts are not visible in Acrobat, evince and FireFox preview. This does not mean, that there aren't any lines visible in other PDF viewers. I can't check for others. \documentclass{article} \usepackage[most]{tcolorbox} \usepackage{blindtext} ...


3

The book is Local Fields, by J. W. S. Cassels, Cambridge University Press, 1986 as testified by this preview in Google Books (the yellow bits are due to the search engine) This is a sample from page 3 At the time some publishers didn't want to afford big expenses for typesetting books with a small readers' base such as mathematics: the cost for ...


0

Assuming that you created the diagram with the powerpoint tools. 1) Draw the diagram 2) Right mouse extended select just you diagram, not the entire slide. 3) Left click INSIDE of one of the outlined pieces of the diagram. 4) Choose save to file as a *.png to the folder with the *.tex file. 5) Now just use \includegraphics{filename} and just the ...


1

In Lyx page, you can find Metafile to EPS Converter software. Once installed you can copy a figure from PowerPoint, paste into MetafiletoEPSConverter and obtain a perfectly cropped eps file. Later on with epstopdf, eps2pdf or imagemagick you can obtain the corresponding pdf file.


1

I would suggest to you to print to .pdf and then use a tool to select the area you need and cut it from the pdf. Then import the pdf to you latex


2

The comments contain useful information even if not responsible for the particular problem you asked about in this question. You will have fewer problems if you use the correct syntax and use something like geometry as an interface for setting up the page layout. Here is your code modified with some comments: \documentclass[12pt]{article}% LaTeX2e uses ...


4

You can remove white margins from a pdf file with pdfcrop, in the simplest version pdfcrop file.pdf which generates a maximally cropped output file named file-crop.pdf. You can also specify new own margins in points (default is zero), and name your output file as you want, as in pdfcrop --margins 10 input.pdf output.pdf


0

The correct FlashVar for setting the video source in StrobeMediaPlayback.swf is src=/filepath/file2.MP4 otherwise, the reported error occurs. The following MWE should work: \documentclass{beamer} \usepackage{media9} \begin{document} \begin{frame} \includemedia[ width=0.7\linewidth, height=0.5\linewidth, % activate=onclick, %this is default ...


1

Although this question was seemingly answered (by @Bettina) over a year ago, I think that the complexity of the question and answer is misleading. There are two potential problems in the proposed solution: If the landscape page is placed amongst other floats, it doesn't behave nicely If the landscape page has other headers/footers, it doesn't behave ...


-1

I had the same issue you're describing. I was only able to successfully embed the video when filepath is in the same directory as my beamer.tex file. This is particularly confusing because I'm not aware that this limitation is spelled out in the media9 documentation.



Top 50 recent answers are included