Tag Info

Hot answers tagged

45

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 ...


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} ...


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} ...


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


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 ...


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 ...


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

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

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 ...


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 ...


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. ...


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: ...


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


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

There is no theoretical problem with loading graphics and graphicx. At least, certainly a document will compile in this case. It is, of course, a Fairly Bad Idea. But that is a different matter. However, you are effectively trying to load the graphics support with different options: \usepackage[dvips]{graphicx} ... \usepackage{graphicx} Remove the first ...


1

Pandoc includes raw HTML only if the output format is HTML-like. From the web-site: The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous, DZSlides, EPUB, Markdown, and Textile output, and suppressed in other formats. In order to get images to work for both, HTML and PDF writer, you have to use pandoc's own format: ![la ...


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 ...



Only top voted, non community-wiki answers of a minimum length are eligible