Adding PDF slides to a Latex document (portrait) - formatting

I want to add a PDF generated from google slides to my Appendix section but in a specific way.
I would like many slides to be scaled down on a multiple portrait page (so there will be around 3 slides per page) but when I try doing this, it keeps making the page landscape, and I can not seem to fix this. I would like the pages to be portrait.
My code is:
\includepdf[pages=-, scale=0.5,portrait=true, pagecommand={\section*{Appendix: Slides}, \thispagestyle{empty}}, fitpaper=true]{slides.pdf}
Can anyone help?

Related

Obscuring a bottom part of the screen by a "curtain" while displaying a pdf file

Is there a way to obscure a bottom part of the screen by a "curtain" while displaying a pdf file? I would like to be able to do that while using a classroom lcd projector, so that I can make students focus on the upper part of a page and ask questions before showing the rest of the page. The curtain should be easily movable up and down, like a blank page covering part of display in the old style overhead projectors.
Obviously, the "curtain" program could be independent of pdf viewer, as long as it can work with a pdf viewer in the full screen mode.
(Anticipating comments: slide shows with layers eliminate need for a curtain, but 1. preparing them takes a lot more time and time if of the essence 2. I need to display certain pdf documents which are not slide shows.)

images getting cut off in flexslider carousel

I using the woothemes flexslider with the carousel below the slides and the when clicking on the next arrow, it seems like it is not moving over enough and will cut off the images. It worked fine when I only had 7 images, but once I added two more images this is when the issue appear. Is there something I need to do differently in my CSS?
http://dl.dropboxusercontent.com/u/2399619/walmart-careers/event-past-description.html
Thanks for any help anyone can give me.
Debbie

Rendering footer in abcpdf on different orientated pages

I am following the example to add a footer with the page number to a page “Headers and Footers Example” from the abcpdf documentation site.
The problem is that my pdf document has multiple pages with different orientations and different page sizes.
Mostly the pages are either portrait and A4 or landscape and A3 but there is a possibility the A3 could be in portrait.
Is there a way to easily put the footer in the correct part of the document for each of these pages, particularly given that once the document has been added it doesn’t seem that I am able to tell easily what orientation/page size is being used.
Currently I am building separate documents for each section and setting the orientation and then appending them to a master document.
I need to put the page number in the format "Page X of Y", I am able to get page numbers working correctly if I do it per sub document but I need it for the overall document
When you read the document / PDF you get access to properties such as pdf width and pdf height. the location to add an object on the header is x: 0, y:0 the footer is simply height of document - height of footer object with again a X of 0.
see this here : http://www.websupergoo.com/helppdf8net/source/2-getting_started/3-coordinates.htm
that's a good example of how to place your rect, inside your rect goes your text i.e Page 2 of 16
http://www.websupergoo.com/helppdf8net/default.htm?page=source%2F2-getting_started%2F3-coordinates.htm
cropbox is the way to get your actual size of the document, and therefore know what coordinates to enter for your rect that contains text.
however you will find it easier if you think in percentage, rather than fixed figures, 10% from the bottom is always 10% no matter what size the document is !!

Loading PDF's to an iPad split view

I'm working on a split view application that is used to view PDF files in a webView. Right now I am able to get three PDF's loaded to the app, and have their titles displayed in the table in the RootView. I'm able to select them and have them displayed to the DetailView, however the sizing the of PDF isn't what I want it to be.
My hope is that the PDF will take up the whole screen and will resize itself to fit the screen if it is too large or too small. One PDF I have is too large and I have to scroll left or right to view the sides of the file, another I have is too small, it isn't centered and instead pushed to the left side of the screen and the empty side on right is filled in with black.
How do I make it so that the PDF's size themselves correctly to fit the whole screen and have even margins on the sides?
Thanks in advance!
Lots of PDF questions on SO today. Sounds like you may have to abandon the webview and go to a tiledlayer CGPDFDocument route. Check out the answer I just posted at Reading text and images from a pdf document in iOS

Superimposing PDF pages

I am trying to superimpose two pdf pages; one on top of the other. I am using Cocoa and the PDFKit framework. When I superimpose the second page onto the first, the second page covers the content of the first page entirely (so the first page is no longer visible). Is there a way to change the transparency of the second page so that its background is fully transparent so that the page underneath it is visible?
Thanks.
EDIT: Here is my method. Create a subclass of PDFPage that holds an instance of another PDFPage and in the following method of the PDFPage class, draw the superimposed page.
- (void)drawWithBox:(PDFDisplayBox)box
{
[super drawWithBox:box];
[overlayedPage drawWithBox:box];
}
Your code may be fine.
It can be caused by the PDF itself if it does have a non-transparent (white) background.
I would first try to operate with 2 PDFs that have "known good" (transparent) backgrounds, like most PDFs have.
You can easily check enable Acrobat Reader to show transparent background as a non-white raster. Use the settings dialog to achieve this:
This page has a background that is transparent. However, the white box's background is... white.
If your page background is non-transparent and white, the Reader would display all the page background in white.
You might want to try rendering the PDF into a bitmap to be displayed in a Core Animation layer. Then you can set the transparency of the layers to whatever you need.